- Timestamp:
- Oct 12, 2008, 7:58:44 PM (16 years ago)
- Location:
- branches/3
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3/config.php
-
Property ignore
set to
svn:ignore
-
Property ignore
set to
-
branches/3/functions.php
r25 r26 1 1 <?php 2 3 function GetRemoteAddress()4 {5 if(array_key_exists('HTTP_X_FORWARDED_FOR',$_SERVER)) $IP = $_SERVER['HTTP_X_FORWARDED_FOR'] ;6 else $IP = $_SERVER['REMOTE_ADDR'];7 //if($IP == '127.0.0.1')8 return($IP);9 }10 2 11 3 function ShowHeader() 12 4 { // BEGIN function ShowHeader 13 global $Config,$menu ;5 global $Config,$menu,$User; 14 6 echo '<?xml version="1.0" encoding="'.$Config['Charset'].'"?\> 15 7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> … … 37 29 }; 38 30 39 echo '</ul> 31 echo '</ul>'; 32 echo ' 40 33 </div> 41 34 </div> -
branches/3/global.php
r25 r26 14 14 $Database->Prefix = $Config['Database']['Prefix']; 15 15 $Database->charset($Config['Database']['Charset']); 16 $User = new User($Database); 16 17 17 18 include('events.php'); -
branches/3/index.php
r25 r26 3 3 include('global.php'); 4 4 ShowHeader(); 5 6 echo HOME_PAGE; 7 5 6 if (array_key_exists('user', $_GET)) $User->WriteRegistration(); else 7 echo HOME_PAGE; 8 8 9 ShowFoodter() 9 10 ?> -
branches/3/language_cz.php
r25 r26 52 52 '); 53 53 54 define('REGISTRATION_PAGE_NAME', 'Jméno:'); 55 define('REGISTRATION_PAGE_PASS', 'Heslo:'); 56 define('REGISTRATION_PAGE_PASS2', 'Potvrzení Hesla:'); 57 define('REGISTRATION_PAGE_EMAIL', 'Email: '); 58 define('REGISTRATION_PAGE_FULLNAME', 'Celé jméno:'); 59 define('REGISTRATION_PAGE_LANGUAGE', 'Defaultní jazyk:'); 60 define('REGISTRATION_PAGE_BUTTON', 'Registrovat'); 61 define('REGISTRATION_PAGE_TITLE', 'Registrace'); 62 63 54 64 //menu 55 65 56 $menu = array( 57 array('Hlavní strana','Hlavní strana, s pokyny pro překladatele a bannery','index.php'), 58 array('Registrace','Zde si můžete vytvořit nový účet','?user=new'), 59 array('Forum projektu','Diskuze okolo překladu WoW','/forum'), 60 61 ); 62 66 $menu[0] = array('Hlavní strana','Hlavní strana, s pokyny pro překladatele a bannery','index.php'); 67 $menu[1] = array('Forum projektu','Diskuze okolo překladu WoW','http://wow.zdechov.net/forum/viewforum.php?f=22'); 68 $menu[2] = array('Registrace','Zde si můžete vytvořit nový účet','?user=new'); 63 69 ?> -
branches/3/style.css
r25 r26 137 137 138 138 /**************** form *******************/ 139 input, textarea {139 input, textarea, select { 140 140 background-color: #E8E8E8; 141 141 border: thin #c43300 solid;
Note:
See TracChangeset
for help on using the changeset viewer.