- Timestamp:
- Jan 18, 2008, 4:07:44 PM (17 years ago)
- Location:
- quests
- Files:
-
- 8 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/ListQuests.php
r243 r245 54 54 if ($address == 'selection') echo '<td>'.$Line['CountQuest'].'</td>'; else 55 55 if ($address <> 'limitx') echo '<td>'.@$Line['User'].'</td> 56 <td>'. $Line['Vote'].'</td>56 <td>'.substr($Line['Vote'], 0, 4).'</td> 57 57 <td>'.$Line['CountVote'].'</td>'; 58 58 echo '</tr>'; … … 64 64 if(array_key_exists('selection', $_GET)) { 65 65 66 echo '<table border="1" cell padding="10"><tr><td>66 echo '<table border="1" cellspacing="0" cellpadding="10"><tr><td> 67 67 <br /><b>Prioritnì by jste mìli pøekládat tyto questy:</b><br /><br />'; 68 68 69 WriteQuests("SELECT *FROM quests, quests_status69 WriteQuests("SELECT quests.ID,entry,Title,CountQuest FROM quests, quests_status 70 70 WHERE quests.language = 0 AND quests.entry = quests_status.questentry ORDER BY quests_status.CountQuest DESC", 18, 'selection'); 71 71 -
quests/TODO.txt
r244 r245 16 16 - V exportu filtr jenom od urèitých uivatelù hotovo 17 17 - omezení poètu pøeloených Q na stránce hotovo 18 - va statistice moderátory hotovo 19 - struktura tabulek do souboru hotovo 18 20 - Rozdìlení pomocí ras 19 21 - import 20 22 - u slovníku pouze ruit odkaz, ne na pozadí 21 23 - jiné texty ne questy - hlavní texty 22 (npc_text, page_text, quest_end_scripts, quest_start_scripts) 24 - search mono order by 25 (npc_text, page_text, - prioritnì quest_end_scripts, quest_start_scripts) -
quests/export.php
r244 r245 197 197 $ID = $Database->SQLCommand("SELECT user,ID FROM `user`"); 198 198 while ($Line = mysql_fetch_array($ID)) 199 echo '<option selected="selected"value="'.$Line['ID'].'">'.$Line['user'].'</option>';199 echo '<option value="'.$Line['ID'].'">'.$Line['user'].'</option>'; 200 200 201 201 ?> -
quests/form.php
r244 r245 61 61 <input type="hidden" name="user" value="<?php echo $User ?>"> 62 62 <input type="hidden" name="ID" value="<?php echo $QuestID ?>"> 63 <table border="1" >63 <table border="1" cellpadding="1" cellspacing="0"> 64 64 <tr> 65 65 <th>Èíslo Q.: <?php echo $LineAJ['entry'];?></th> -
quests/quests_statistic.php
r231 r245 18 18 19 19 $Percent = ($NumberTranslate/$NumberAJQuests)*100; 20 $Percent = substr($Percent, 0, 5); 20 21 21 22 $PercentBar = $Percent*4; -
quests/statistic.php
r243 r245 18 18 </b><br /><br /> 19 19 <b>Seznam u¾ivatelù: </b> 20 <table border="1" cellpadding=" 1" cellspacing="0">20 <table border="1" cellpadding="2" cellspacing="0"> 21 21 <?php 22 22 … … 32 32 33 33 echo '<tr><th><a href="statistic.php?order=user&desc='.$desc.'">Jméno</a></th> 34 <th><a href="statistic.php?order=NumberTranslate&desc='.$desc.'">Poèet pøelo¾ených</a></th> 34 <th><a href="statistic.php?order=NumberTranslate&desc='.$desc.'" Title="Poèet pøelo¾ených questù">Pøelo¾ených</a></th> 35 <th><a href="statistic.php?order=vote&desc='.$desc.'" Title="Prùmìrná známka questù">Známka</a></th> 36 <th><a href="statistic.php?order=GM&desc='.$desc.'">Oprávnìní</a></th> 35 37 <th><a href="statistic.php?order=LastLogin&desc='.$desc.'">Poslední pøipojení</a></th></tr>'; 36 38 37 $ID = $Database->SQLCommand("SELECT user,Email,LastLogin,(SELECT count(*) FROM `quests` WHERE User = user.id AND User <> 0) as NumberTranslate FROM `user` ORDER BY $order $desc"); 39 $ID = $Database->SQLCommand("SELECT user,Email,LastLogin,GM, 40 (SELECT count(*) FROM `quests` WHERE User = user.id AND User <> 0) as NumberTranslate, 41 (SELECT avg(vote) FROM `quests` WHERE User = user.id AND Complete = 1) as vote 42 FROM `user` ORDER BY $order $desc"); 38 43 while ($Line = mysql_fetch_array($ID)) 39 echo '<tr><td>'.$Line['user'].'</td><td>'.$Line['NumberTranslate'].'</td><td>'.$Line['LastLogin'].'</td></tr>'; 44 echo '<tr><td>'.$Line['user'].'</td> 45 <td>'.$Line['NumberTranslate'].'</td> 46 <td>'.substr($Line['vote'], 0, 4).'</td> 47 <td>'.$Moderators[$Line['GM']].'</td> 48 <td>'.$Line['LastLogin'].'</td></tr>'; 40 49 41 50
Note:
See TracChangeset
for help on using the changeset viewer.