Changeset 211 for quests/ListQuests.php


Ignore:
Timestamp:
Jan 12, 2008, 12:35:24 AM (17 years ago)
Author:
maron
Message:

Počet hlasování, a kontrola známek

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/ListQuests.php

    r210 r211  
    33
    44  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 FROM
     5      $ID = $Database->SQLCommand("SELECT *, (SELECT user.user FROM user WHERE user.id = quests.user) as User FROM
    66      quests WHERE quests.Language = '1' AND quests.Complete = '1' order by 2");
    77      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>';
    99      while ($Line = mysql_fetch_array($ID)) {
    1010        echo '<tr><td><a href="form.php?ID='.$Line['ID'].'">'.$Line['ID'].'</a></td>
     
    1212        <td>'.$Line['Title'].'</td>
    1313        <td>'.$Line['User'].'</td>
    14         <td>'.$Line['Vote'].'</td></tr>';
     14        <td>'.$Line['Vote'].'</td>
     15        <td>'.$Line['CountVote'].'</td></tr>';
    1516       }
    1617      echo '</table>';
Note: See TracChangeset for help on using the changeset viewer.