Changeset 209 for quests/form.php
- Timestamp:
- Jan 11, 2008, 10:51:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/form.php
r208 r209 14 14 15 15 $User = @$_SESSION['User']; 16 $ID = $Database->SQLCommand("SELECT * FROM user Where user='$User'"); 17 $LineUser = mysql_fetch_array($ID); 18 if ($LineUser['gm'] == -1) { //zatím vypnuto 19 echo ' <form action="Action.php" method="get"> 20 <input type="submit" value="Zkontrolováno" name="inspect"> 21 <input type="hidden" name="entry" value="'.$Line['entry'].'"> 22 <input type="hidden" name="user" value="'.$Line['User'].'"> 23 </form>'; 24 } 16 $IDUser = $Database->SQLCommand("SELECT * FROM user Where id = '".$Line['User']."'"); 17 $LineUser = mysql_fetch_array($IDUser); 25 18 26 19 … … 29 22 30 23 echo ' 31 <form action="action.php" method="get"> 32 <a style="color: Red" title="Hlasovat pro tento Quest" href="action.php?vote=1&ID='.$QuestID.'">Hlasovat pro</a> 24 <form action="action.php" method="get">'; 25 26 if ($Line['Language'] <> '0') echo '<b>Pøelo¾il: '.$LineUser['user'].'</b> '; 27 28 echo '<a style="color: Red" title="Hlasovat pro tento Quest" href="action.php?vote=1&ID='.$QuestID.'">Hlasovat pro</a> 33 29 <a style="color: Red" title="Hlasovat proti tomuto Questu" href="action.php?vote=-1&ID='.$QuestID.'">Hlasovat proti</a>'; 34 30
Note:
See TracChangeset
for help on using the changeset viewer.