Changeset 233 for quests/statistic.php


Ignore:
Timestamp:
Jan 15, 2008, 5:25:15 PM (17 years ago)
Author:
maron
Message:

Statistika, oprava global.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/statistic.php

    r231 r233  
    77<b>Statistika pøelo¾ených questù:</b><br>
    88 <img alt="quests" src="quests_statistic.php" title="statistika pøekladu úkolù">
    9 
     9<br />
     10<br />
     11<b>Seznam u¾ivatelù: </b>
     12<table border="1" cellpadding="1" cellspacing="0">
     13<tr><th>Jméno</th><th>Poèet pøelo¾ených</th><th>Poslední pøipojení</th></tr>
    1014<?php 
     15  $ID = $Database->SQLCommand("SELECT user,Email,LastLogin,(SELECT count(*) FROM `quests` WHERE User = user.id AND User <> 0) as NumberTranslate FROM `user` ORDER BY NumberTranslate DESC");
     16      while ($Line = mysql_fetch_array($ID))
     17        echo '<tr><td>'.$Line['user'].'</td><td>'.$Line['NumberTranslate'].'</td><td>'.$Line['LastLogin'].'</td></tr>';
     18         
     19         
     20  echo '</table>';
    1121         
    1222  ShowFooter();     
Note: See TracChangeset for help on using the changeset viewer.