Changeset 219 for quests/ListQuests.php
- Timestamp:
- Jan 12, 2008, 11:52:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/ListQuests.php
r215 r219 65 65 echo '<br /><b>Prioritnì by jste mìli pøekládat tyto questy:</b><br />'; 66 66 67 $ID = $Database->SQLCommand("SELECT * FROM `quests_status` ORDER BY CountQuest DESC ");67 $ID = $Database->SQLCommand("SELECT * FROM `quests_status` ORDER BY CountQuest DESC LIMIT 10"); 68 68 echo '<table border="1" cellpadding="2" cellspacing="0"> 69 69 <tr><th>Poøadové èíslo</th><th>ID questu</th><th>Název Questu</th><th>Poèet splnìní na serveru</th></tr>'; 70 $i = 0;71 70 while ($Line = mysql_fetch_array($ID)) { 72 if ($i < '6') {73 $LineTranslate = mysql_fetch_array($Database->SQLCommand("SELECT * FROM quests WHERE Language <> 0 AND entry = '".$Line['QuestEntry']."'"));74 if (!$LineTranslate) {75 71 $LineAJQuest = mysql_fetch_array($Database->SQLCommand("SELECT * FROM quests WHERE Language = 0 AND entry = '".$Line['QuestEntry']."'")); 76 72 echo '<tr><td><a href="form.php?ID='.$Line['ID'].'">'.$Line['ID'].'</a></td> … … 78 74 <td>'.$LineAJQuest['Title'].'</td> 79 75 <td>'.$Line['CountQuest'].'</td></tr>'; 80 $i = $i +1;81 }82 }83 76 } 84 77
Note:
See TracChangeset
for help on using the changeset viewer.