Changeset 690 for trunk/inc/player.php
- Timestamp:
- Mar 19, 2010, 9:22:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/player.php
r685 r690 14 14 private function Msg($text, $err) 15 15 { 16 if($err == 0) echo('<img src="imgs/inc/on.gif"> <font color="#234303" size="4">'.$text.'</font><br />'); 17 else echo('<img src="imgs/inc/off.gif"> <font color="#990000" size="4\">'.$text.'</font><br />'); 16 global $html; 17 18 if($err == 0) echo('<img src="'.$html->Link('/imgs/inc/on.gif').'"> <font color="#234303" size="4">'.$text.'</font><br />'); 19 else echo('<img src="'.$html->Link('imgs/inc/off.gif').'"> <font color="#990000" size="4\">'.$text.'</font><br />'); 18 20 } 19 21 … … 31 33 ' VALUES (NULL , "'.$acc_name.'", "'.$sha_pass.'", 0, NULL , NULL , NULL , "'.$email.'", CURRENT_TIMESTAMP , "'.$_SERVER['REMOTE_ADDR'].'", 0, 0, "0000-00-00 00:00:00", 0, "'.$tbc.'", 0, 0)'); 32 34 $this->Msg('Účet založen úspěšně', 0); 33 echo('<meta http-equiv="refresh" content="0; ?page=acc">');35 echo('<meta http-equiv="refresh" content="0;'.$html->Link('/ucet/').'">'); 34 36 } else 35 37 { … … 80 82 public function LoginForm() 81 83 { 82 echo('<form method="post" action="?page=acc">'. 84 global $html; 85 86 echo('<form method="post" action="'.$html->Link('/ucet/').'">'. 83 87 '<table>'. 84 88 '<tr>'. … … 94 98 </form> 95 99 <div align="left"> 96 <a href=" ?page=register">Registrace</a><br />'. //<a href="?page=lostpass">Obnova hesla</a>100 <a href="'.$html->Link('/registrace/').'">Registrace</a><br />'. //<a href="?page=lostpass">Obnova hesla</a> 97 101 '</div>'); 98 102 }
Note:
See TracChangeset
for help on using the changeset viewer.