Changeset 694 for trunk


Ignore:
Timestamp:
Mar 20, 2010, 8:49:48 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Zobrazování novinek z webu ve hře.
Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/alert/index.php

    r690 r694  
    1010
    1111echo('SERVERALERT:'."\n");
    12 $DbResult = $db->query('SELECT * FROM Article WHERE Time > DATE_SUB(NOW(), INTERVAL 7 DAY) 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');
    1313while($Article = $DbResult->fetch_assoc())
    1414{
    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");
    1616}
    1717
  • trunk/index.php

    r693 r694  
    9090$RealmMenuItems = array(
    9191  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;"),
    9393  array('link' => $html->Link('/nej-hraci/'), 'Text' => 'Nej hráči'),
    9494  array('link' => $html->Link('/spolky/'), 'Text' => 'Spolky'),
Note: See TracChangeset for help on using the changeset viewer.