Changeset 694
- Timestamp:
- Mar 20, 2010, 8:49:48 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/alert/index.php
r690 r694 10 10 11 11 echo('SERVERALERT:'."\n"); 12 $DbResult = $db->query('SELECT * FROM Article WHERE Time > DATE_SUB(NOW(), INTERVAL 7DAY) ORDER BY Time DESC LIMIT 5');12 $DbResult = $db->query('SELECT * FROM Article WHERE Time > DATE_SUB(NOW(), INTERVAL 30 DAY) ORDER BY Time DESC LIMIT 5'); 13 13 while($Article = $DbResult->fetch_assoc()) 14 14 { 15 echo('> '.$Html->HumanDate($Article['Time']).' '.$Article['Title']."\n".strip_tags($Article['Content'])."\n\n");15 echo('> '.$Html->HumanDate($Article['Time']).' '.$Article['Title']."\n".strip_tags($Article['Content'])."\n\n"); 16 16 } 17 17 -
trunk/index.php
r693 r694 90 90 $RealmMenuItems = array( 91 91 array('link' => $html->Link('/online-hraci/'), 'Text' => 'Online hráči'), 92 array('link' => '#', 'Text' => 'Mapa hráčů', 'OnClick' => "popup('".$html->Link("/minimanager/ pomm/pomm.php?realmid=".$_COOKIE['RealmIndex'])."', 1000, 800); return false;"),92 array('link' => '#', 'Text' => 'Mapa hráčů', 'OnClick' => "popup('".$html->Link("/minimanager/map/?r_id=".$_COOKIE['RealmIndex'])."', 1000, 800); return false;"), 93 93 array('link' => $html->Link('/nej-hraci/'), 'Text' => 'Nej hráči'), 94 94 array('link' => $html->Link('/spolky/'), 'Text' => 'Spolky'),
Note:
See TracChangeset
for help on using the changeset viewer.