Changeset 211 for quests/ListQuests.php
- Timestamp:
- Jan 12, 2008, 12:35:24 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/ListQuests.php
r210 r211 3 3 4 4 if(array_key_exists('Translate', $_GET)) { 5 $ID = $Database->SQLCommand("SELECT ID,entry,Title,Vote, (SELECT user.user FROM user WHERE user.id = quests.user) as User FROM5 $ID = $Database->SQLCommand("SELECT *, (SELECT user.user FROM user WHERE user.id = quests.user) as User FROM 6 6 quests WHERE quests.Language = '1' AND quests.Complete = '1' order by 2"); 7 7 echo '<table border="1" cellpadding="2" cellspacing="0"> 8 <tr><th>Poøadové èíslo</th><th>ID questu</th><th>Název Questu</th><th>U¾ivatel</th><th>Známka</th>< /tr>';8 <tr><th>Poøadové èíslo</th><th>ID questu</th><th>Název Questu</th><th>U¾ivatel</th><th>Známka</th><th>Poèet hlasování</th></tr>'; 9 9 while ($Line = mysql_fetch_array($ID)) { 10 10 echo '<tr><td><a href="form.php?ID='.$Line['ID'].'">'.$Line['ID'].'</a></td> … … 12 12 <td>'.$Line['Title'].'</td> 13 13 <td>'.$Line['User'].'</td> 14 <td>'.$Line['Vote'].'</td></tr>'; 14 <td>'.$Line['Vote'].'</td> 15 <td>'.$Line['CountVote'].'</td></tr>'; 15 16 } 16 17 echo '</table>';
Note:
See TracChangeset
for help on using the changeset viewer.