Changeset 245 for quests/ListQuests.php


Ignore:
Timestamp:
Jan 18, 2008, 4:07:44 PM (17 years ago)
Author:
maron
Message:

struktura, statistika, oprava zobrazení prioritních questů

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/ListQuests.php

    r243 r245  
    5454            if ($address == 'selection') echo '<td>'.$Line['CountQuest'].'</td>'; else
    5555            if ($address <> 'limitx') echo '<td>'.@$Line['User'].'</td>
    56             <td>'.$Line['Vote'].'</td>
     56            <td>'.substr($Line['Vote'], 0, 4).'</td>
    5757            <td>'.$Line['CountVote'].'</td>';
    5858            echo '</tr>';
     
    6464        if(array_key_exists('selection', $_GET)) {             
    6565               
    66                 echo '<table border="1" cellpadding="10"><tr><td>
     66                echo '<table border="1" cellspacing="0" cellpadding="10"><tr><td>
    6767          <br /><b>Prioritnì by jste mìli pøekládat tyto questy:</b><br /><br />';
    6868               
    69                 WriteQuests("SELECT * FROM quests, quests_status
     69                WriteQuests("SELECT quests.ID,entry,Title,CountQuest FROM quests, quests_status
    7070          WHERE quests.language = 0 AND quests.entry = quests_status.questentry ORDER BY quests_status.CountQuest DESC", 18, 'selection');
    7171         
Note: See TracChangeset for help on using the changeset viewer.