".$graph."", "".$graph.""); } else { $h1=S_SELECT_GRAPH_TO_DISPLAY; } $h1=S_GRAPHS_BIG.nbsp(" / ").$h1; $h2=""; if(isset($_GET["fullscreen"])) { $h2=""; } if(isset($_GET["graphid"])&&($_GET["graphid"]==0)) { unset($_GET["graphid"]); } $h2=$h2.""; show_header2($h1,$h2,"
","
"); } ?> "; echo ""; echo ""; if(isset($_GET["graphid"])) { echo ""; } else { echo "..."; } echo ""; echo ""; echo ""; if(isset($_GET["graphid"])/*&&(!isset($_GET["fullscreen"]))*/) { // BEGIN - IGMI - just another way of navigation echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
"; echo "
"; echo "".S_PERIOD.": "; $hour=3600; $a=array(S_1H=>3600,S_2H=>2*3600,S_4H=>4*3600,S_8H=>8*3600,S_12H=>12*3600, S_24H=>24*3600,S_WEEK_SMALL=>7*24*3600,S_MONTH_SMALL=>31*24*3600,S_YEAR_SMALL=>365*24*3600); foreach($a as $label=>$sec) { echo "["; if($_GET["period"]>$sec) { $tmp=$_GET["period"]-$sec; echo("-"); } else { echo "-"; } echo(""); echo($label.""); $tmp=$_GET["period"]+$sec; echo("+"); echo "] "; } echo("
"); echo "
"; echo "".nbsp(S_KEEP_PERIOD).": "; if($_GET["keep"] == 1) { echo("[".S_ON_C."]"); } else { echo("[".S_OFF_C."]"); } echo "
"; if(isset($_GET["stime"])) { echo "
" ; echo "".S_MOVE.": " ; $day=24; // $a already defined $a=array("1h"=>1,"2h"=>2,"4h"=>4,"8h"=>8,"12h"=>12, "24h"=>24,"week"=>7*24,"month"=>31*24,"year"=>365*24); foreach($a as $label=>$hours) { echo "["; $stime=$_GET["stime"]; $tmp=mktime(substr($stime,8,2),substr($stime,10,2),0,substr($stime,4,2),substr($stime,6,2),substr($stime,0,4)); $tmp=$tmp-3600*$hours; $tmp=date("YmdHi",$tmp); echo("-"); echo($label); $stime=$_GET["stime"]; $tmp=mktime(substr($stime,8,2),substr($stime,10,2),0,substr($stime,4,2),substr($stime,6,2),substr($stime,0,4)); $tmp=$tmp+3600*$hours; $tmp=date("YmdHi",$tmp); echo("+"); echo "] "; } echo("
"); } else { echo "
"; echo "".S_MOVE.": "; $day=24; // $a already defined $a=array("1h"=>1,"2h"=>2,"4h"=>4,"8h"=>8,"12h"=>12, "24h"=>24,"week"=>7*24,"month"=>31*24,"year"=>365*24); foreach($a as $label=>$hours) { echo "["; $tmp=$_GET["from"]+$hours; echo("-"); echo($label); if($_GET["from"]>=$hours) { $tmp=$_GET["from"]-$hours; echo("+"); } else { echo "+"; } echo "] "; } echo("
"); } echo "
"; // echo("
"); echo "
"; echo ""; echo ""; if(isset($_GET["stime"])) { echo ""; } else { echo ""; } echo " "; echo ""; echo "
"; // echo("
"); echo "
"; // END - IGMI - just another way of navigation } ?>