- Timestamp:
- Jan 31, 2009, 9:09:40 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/action.php
r49 r51 78 78 setTimeout("parent.location.href=\'index.php\'",1000) 79 79 </script>'); 80 81 80 } 82 81 } -
trunk/includes/global.php
r50 r51 26 26 global $Database; 27 27 28 echo('<strong>Shoutbox: </strong><a href="action.php? shoutbox">Vložit</a>28 echo('<strong>Shoutbox: </strong><a href="action.php?action=shoutbox">Vložit</a> 29 29 <div class="box"> 30 30 <table>'); 31 31 $ID = $Database->SQLCommand("SELECT * FROM shoutbox ORDER BY ID DESC LIMIT 10"); 32 while($Line = mysql_fetch_a rray($ID))32 while($Line = mysql_fetch_assoc($ID)) 33 33 echo('<tr><td><strong>'.$Line['user'].'</strong>: '.$Line['text'].'</td></tr>'); 34 34 echo('</table></div>'); … … 120 120 echo('Online uživatelé:<br />'); 121 121 $ID = $Database->SQLCommand("SELECT user, GM, ID FROM `user` WHERE LastLogin >= Now() - 300"); 122 while ($Line = mysql_fetch_a rray($ID))122 while ($Line = mysql_fetch_assoc($ID)) 123 123 { 124 124 if(Licence(LICENCE_MODERATOR)) $Name = '<a href="user.php?user='.$Line['ID'].'">'.$Line['user'].'</a>';
Note:
See TracChangeset
for help on using the changeset viewer.