Changeset 282 for trunk/registrace.php
- Timestamp:
- Sep 4, 2009, 1:27:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/registrace.php
r198 r282 20 20 $Line = mysql_fetch_row($Database->SQLCommand('SELECT * FROM user WHERE user = "'.$User.'"')); 21 21 if(!$Line) 22 22 { 23 23 $Address = $_SERVER['REMOTE_ADDR']; 24 24 $Database->SQLCommand('INSERT INTO `user` (`user` , `pass` , `LastIP` , `LastLogin` , `Email` , `Language` , `team` , `NeedUpdate` ) … … 36 36 // echo $Database->id_connection; 37 37 } else 38 38 { 39 39 echo('Uživatel s touto přezdívkou již existuje. <a href="?">Zpět</a>'); 40 40 } 41 41 } else 42 42 { 43 43 echo('Hesla se neshodují. <a href="?">Zpět</a>'); 44 44 } 45 45 } else … … 70 70 </tr> 71 71 <tr> 72 <tr>73 72 <td>Patřím do týmu: </td> 74 73 <td><select name="Team"><option value="0">Žádného</option> 75 74 '); 76 77 75 $ID = $Database->SQLCommand('SELECT name,ID FROM team'); 76 while($Line = mysql_fetch_assoc($ID)) 78 77 { 79 80 78 echo('<option value="0'.$Line['ID'].'">'.$Line['name'].'</option>'); 79 } 81 80 echo('</select></td> 82 81 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.