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/includes/global.php

    r231 r233  
    9090    <tr>
    9191      <td width="150" valign="top">
    92       <br />
    93       <b>Odkazy:</b><br />
    9492      <a href="index.php">Domù</a><br />
    9593      <a href="http://wow.zdechov.net/forum/viewforum.php?f=22">Forum projektu</a><br />
     
    9896      <a href="Options.php" Title="Nastavení u¾ivatele">Nastavení</a><br />
    9997      <a href="statistic.php">Statistika</a><br />
    100       <a Title="Slovník wow výrazù" href="javascript: window.open(\'dictionary.php\', \'Slovník\', \'width=400, height=400\'); blur()">Slovníèek</a><br />
     98      <a Title="Slovník wow výrazù" href="javascript: window.open(\'dictionary.php\', \'Slovník\', \'width=400, height=412\'); blur()">Slovníèek</a><br />
    10199      <a href="export.php" Title="Zdes i mù¾ete stáhnout pøelo¾ené texty">Download</a><br />
    102100      <br />
     
    115113     
    116114      echo '<br /><form action="action.php" method="get">
    117 <input type="text" name="search" size="13"><br>
     115<input type="text" name="search" size="8">
    118116<input type="submit" value="Hledat">
    119117</form>
     
    121119     
    122120if (Licence(0)) {
    123   echo 'Jste pøihlá¹en jako: <b>'.$_SESSION['User'].'</b> <a href="index.php?Logout">Odhlásit</a>';
     121 // echo 'Jste pøihlá¹en jako: <b>'.$_SESSION['User'].'</b> <a href="index.php?Logout">Odhlásit</a>';
    124122} else {
    125123  echo '   
     
    140138  ';
    141139}
    142   echo '<br /><br />Online u¾ivatelé:<br />';
     140 
     141  echo '<p style="  overflow: auto;  width: 100%; height: 200px;">
     142  <b>Shoutbox: </b><a href="action.php?shoutbox">Vlo¾it</a>
     143  <table border="1"  cellpadding="1" cellspacing="0">';
     144    $ID = $Database->SQLCommand("SELECT * FROM shoutbox ORDER BY ID DESC LIMIT 10");
     145      while ($Line = mysql_fetch_array($ID))
     146        echo '<tr><td><small><b>'.$Line['user'].'</b>: '.$Line['text'].'</small></td></tr>';
     147  echo '</table>
     148  </p>
     149  ';
     150
     151  echo 'Online u¾ivatelé:<br />';
    143152  $ID = $Database->SQLCommand("SELECT user FROM `user` WHERE LastLogin >= Now()-300");
    144153      while ($Line = mysql_fetch_array($ID))
     
    159168      </td>     
    160169    </tr>
    161     <tr><td></td><td>  <span style="color: grey">Program naprogramoval maron (maron2@cetrum.cz)</span> </td></tr>
     170    <tr>
     171    <td></td><td>  <span style="color: grey">Program naprogramoval maron (maron2@cetrum.cz)</span>';
     172if (Licence(0))
     173  echo '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jste pøihlá¹en jako: <b>'.$_SESSION['User'].'</b> <a href="index.php?Logout">Odhlásit</a>';
     174    echo ' </td></tr>
    162175  </table>
    163176  </body>
Note: See TracChangeset for help on using the changeset viewer.