Exemple #1
0
function service_cmds_logs()
{
    $tpl = new templates();
    $t = $_GET["t"];
    $datas = service_logs_to_table("ressources/logs/web/haproxy.cmds");
    $html = "<div>\n{$datas}\n</div>\n<center style='margin:5px'><img src='img/loadingAnimation.gif'></center>\n<script>\n\tif(YahooWin4Open()){\n\t\tsetTimeout('service_cmds_popup_refresh{$t}()',10000);\n\t\t\n\t}\n</script>\n\n";
    echo $tpl->_ENGINE_parse_body($html);
}
Exemple #2
0
function kav_cmds_logs()
{
    $tpl = new templates();
    $datas = service_logs_to_table("ressources/logs/web/kav4proxy.services.txt");
    $html = "\n<div>\n{$datas}\n</div>\n<center style='margin:5px'><img src='img/loadingAnimation.gif'></center>\n<script>\n\tif(YahooWin4Open()){\n\t\tsetTimeout('kav_cmds_popup_refresh()',10000);\n\t\tKav4ProxyStatus();\n\t}\n</script>\n\n";
    echo $tpl->_ENGINE_parse_body($html);
}