Beispiel #1
0
        msg_info("<b>" . $l->g(5001) . "</b><br><br>" . implode('<br><hr>', $_SESSION['OCS']['SQL_DEBUG']));
    }
    echo "<hr/>";
    echo "<div align=center>VAR POST</div>";
    if (isset($protectedPost)) {
        print_r_V2($protectedPost);
    }
    echo "<hr/>";
    echo "<div align=center>VAR SESSION</div>";
    foreach ($_SESSION['OCS'] as $key => $value) {
        if ($key != "fichLang" and $key != "LANGUAGE_FILE" and $key != "mac" and $key != "writeServer" and $key != "readServer") {
            $tab_session[$key] = $value;
        }
    }
    if (isset($tab_session)) {
        print_r_V2($tab_session);
    }
}
echo "<br></div><table class='headfoot'>";
echo "<tr height=25px><td align='center'>&nbsp;";
if (function_exists("getmicrotime")) {
    $fin = getmicrotime();
    if ($_SESSION['OCS']["DEBUG"] == "ON") {
        echo "<b>CACHE:&nbsp;<font color='" . ($_SESSION['OCS']["usecache"] ? "green'><b>ON</b>" : "red'><b>OFF</b>") . "</font>&nbsp;&nbsp;&nbsp;<font color='black'><b>" . round($fin - $debut, 3) . " secondes</b></font>&nbsp;&nbsp;&nbsp;";
        echo "<script language='javascript'>document.getElementById(\"tps\").innerHTML=\"<font color='black'><b>" . round($fin - $debut, 3) . " secondes</b></font>\"</script>";
    }
    if (isset($span_wait)) {
        echo "<script language='javascript'>wait(0);</script>";
    }
}
echo "</td></tr></table>";
function p($array)
{
    print_r_V2($array);
}