} else {
            $bg = $bga;
            $bi = $bia;
        }
        $row++;
        $hint = "";
        $time = date($datfmt, $m[2]);
        $fd = str_replace(" ", "%20", date("m/d/Y H:i:s", $m[2]));
        $usrc = rawurlencode($m[3]);
        echo "<tr bgcolor=#{$bg}><th bgcolor={$bi}><a href=Monitoring-Messages.php?ina=level&opa==&sta={$m['1']}>\n";
        echo "<img src=img/16/" . $mico[$m[1]] . ".png title=\"" . $mlvl[$m[1]] . "\" border=0></a></th>\n";
        echo "<td><a href=Monitoring-Messages.php?ina=time&opa==&sta={$fd}>{$time}</a></td><th>\n";
        echo "<a href=Monitoring-Messages.php?ina=source&opa==&sta={$usrc}>{$m['3']}</a></th><td>{$m['4']}</td></tr>\n";
    }
    @DbFreeResult($res);
} else {
    print @DbError($link);
}
?>
</table>
</th></tr></table>
<?php 
TopoTable($reg, $cty, $bld);
if (!$cty) {
    TopoCities();
} elseif (!$bld) {
    TopoBuilds($reg, $cty);
} else {
    TopoFloors($reg, $cty, $bld);
}
include_once "inc/footer.php";
Ejemplo n.º 2
0
?>
 & <?php 
echo $mlvl[250];
?>
 <?php 
echo $tim['t'];
?>
</h2>
<?php 
Events($_SESSION['lim'], array('level', 'time', 'location'), array('>=', '>', 'like'), array(200, $firstmsg, $loc), array('AND', 'AND'), 3);
TopoTable($reg, $cty, $bld);
if (count($dreg) == 1) {
    $reg = array_pop(array_keys($dreg));
    if (count($dcity[$reg]) == 1) {
        $cty = array_pop(array_keys($dcity[$reg]));
    }
}
if (!$reg and count($dreg) > 1) {
    TopoRegs(1);
} elseif (!$cty) {
    TopoCities($reg, 1);
} elseif (!$bld) {
    TopoBuilds($reg, $cty, 1);
} else {
    TopoFloors($reg, $cty, $bld, 1);
}
?>

</tr></table>
</body>