Вот код страницы скрипта статитсики. Извиняюсь за то, что выложил его здесь. Как сюда вставить favicon?
<?php
error_reporting( E_ALL&~E_NOTICE );
define( "ISCNSTATS", "1" );
if ( is_file( "./install/install.php" ) || !is_file( "./config.php" ) ) {
header( "Cache-Control: no-cache, must-revalidate" );
header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
if ( is_file( "version.txt" ) ) {
$_98dd4acc = file( "version.txt" );
$_bf1cd3c3 = trim( $_98dd4acc[0] );
} else{
$_bf1cd3c3 = "CNStats";
}
if ( strpos( $_SERVER["HTTP_ACCEPT_LANGUAGE"], "ru" ) !== false )print"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"><HTML><META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=windows-1251\"><HEAD><TITLE></TITLE></HEAD><BODY><P>It is necessary to fullfill the following steps to install : </P><OL><LI>Run the script "<B>./install/index.php</B>". You may do this by clicking <a href='./install/'>this</a> link. </LI><LI>Delete the directory "<b>./install/</b>" !!!</LI></OL><HR size=1><P>Для установки системы на ваш сервер вам необходимо выполнить следующие действия: </P><OL><LI>Выполнить скрипт "<B>./install/index.php</B>". Это можно сделать перейдя по <a href=./install/>этой</a> ссылке. </LI><LI>Удалить каталог "<b>./install/</b>" !!! </LI></OL></BODY></HTML>";
else print"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"><HTML><HEAD><TITLE></TITLE></HEAD><BODY><P>It is necessary to fullfill the following steps to install : </P><OL><LI>Run the script "<B>./install/index.php</B>". You may do this by clicking <a href='./install/'>this</a> link. </LI><LI>Delete the directory "<b>./install/</b>" !!!</LI></OL></BODY></HTML>";
exit;
}
$SKIN = Array();
if ( empty( $STATS_CONF["skin"] ) ) $STATS_CONF["skin"] = "default";
if ( !preg_match( "/^([a-zA-Z0-9]+)$/", $STATS_CONF["skin"] ) )$STATS_CONF["skin"] = "default";
if ( is_dir( "./skins/" . $STATS_CONF["skin"] ) ) {
$SKINDIR = "./skins/" . $STATS_CONF["skin"] . "/";
require$SKINDIR . "strings.php";
}
include dirname( __FILE__ ) . "/includes/functions.php";
session_start();
session_register( "DATA" );
include dirname( __FILE__ ) . "/includes/db.php";
$GLOBALS["cnstats_db"]->_74cff91f( $STATS_CONF["sqlhost"], $STATS_CONF["sqluser"], $STATS_CONF["sqlpassword"], $STATS_CONF["dbname"] );
_0e5ea304();
$_125fdbbd = 0;
if ( $_SERVER["REQUEST_METHOD"] == "GET" ) {
if ( $_GET["action"] == "language" ) {
setcookie( "CNSLANGUAGE", $_GET["language"], time() + 86400 * 30 );
_548b5f52( "./index.php", $LANG["redirect_language"] );
exit;
}
}
if ( $_SERVER["REQUEST_METHOD"] == "POST" ) {
$_aa08cb10 = $GLOBALS["cnstats_db"]->_25e8b08e( _6b85cf5a( $_POST["login"] ) );
$_35c246d5 = $GLOBALS["cnstats_db"]->_25e8b08e( _6b85cf5a( $_POST["password"] ) );
$_6c09ff9d = $GLOBALS["cnstats_db"]->_24bdb5eb( "SELECT user_id,enable FROM " . $STATS_CONF["sqlprefix"] . "users WHERE login='$_aa08cb10' AND password=PASSWORD('$_35c246d5');" );
if ( $_6c09ff9d ) {
if ( $GLOBALS["cnstats_db"]->_3bf5fd4f( $_6c09ff9d ) == 1 ) {
$_e8b7be43 = $GLOBALS["cnstats_db"]->_ef336f8e( $_6c09ff9d );
if ( $_e8b7be43["enable"] == "yes" ) {
$_d1b862b8 = md5( microtime() . $_POST["login"] . $_POST["password"] . $STATS_CONF["blowfish"] );
$GLOBALS["cnstats_db"]->_24bdb5eb( "DELETE FROM " . $STATS_CONF["sqlprefix"] . "users_sessions WHERE last<NOW()-INTERVAL 1 MONTH;" );
$GLOBALS["cnstats_db"]->_24bdb5eb( "INSERT INTO " . $STATS_CONF["sqlprefix"] . "users_sessions SET id_user='" . $GLOBALS["cnstats_db"]->_25e8b08e( $_e8b7be43["user_id"] ) . "', hash='" . $_d1b862b8 . "', last=NOW();" );
$GLOBALS["cnstats_db"]->_24bdb5eb( "DELETE FROM " . $STATS_CONF["sqlprefix"] . "restorepassword WHERE d_create<NOW()-86400;" );
if ( $_POST["store"] == "on" )setcookie( "CNSSESSION", $_d1b862b8, time() + 86400 * 30 );
else setcookie( "CNSSESSION", $_d1b862b8 );
_548b5f52( "./index.php?rnd=" . time(), $LANG["redirect_login"] );
exit;
} else$_125fdbbd = 2;
} else$_125fdbbd = 1;
} else$_125fdbbd = 1;
}
$_b3948513 = _7c8375c6();
$_6c09ff9d = $GLOBALS["cnstats_db"]->_24bdb5eb( "SELECT * FROM " . $STATS_CONF["sqlprefix"] . "config" );
if ( !$_6c09ff9d )return;
$_2472e8fa = $GLOBALS["cnstats_db"]->_ef336f8e( $_6c09ff9d );
_6354eb79();
$_4f2c71cf = true;
if ( $LANG["charset"] == "windows-1251" )$_4f2c71cf = false;
if ( $_4f2c71cf )unset( $_6194cadc[5] );
if ( substr( $STATS_CONF["cnsoftwaredomain"], 0, 4 ) == "www." ) $STATS_CONF["cnsoftwaredomain"] = substr( $STATS_CONF["cnsoftwaredomain"], 4 );
if ( substr( $_SERVER["HTTP_HOST"], 0, 4 ) == "www." ) {
$_SERVER["HTTP_HOST"] = substr( $_SERVER["HTTP_HOST"], 4 );
$STATS_CONF["cnsoftwarelinkdomain"] = "www." . $STATS_CONF["cnsoftwaredomain"];
} else$STATS_CONF["cnsoftwarelinkdomain"] = $STATS_CONF["cnsoftwaredomain"];
if ( $COUNTER["disablepassword"] != "yes" ) {
if ( !$_b3948513 ) {
if ( !isset( $LANG["html direction"] ) )$LANG["html direction"] = "ltr";
print"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n";
print"<html dir=\"" . $LANG["html direction"] . "\">\n";
print"<head>\n";
print"<title>";
if ( isset( $STATS_CONF["cnsoftwaredomain"] ) )print" / " . $LANG["site statistics"] . " "" . $STATS_CONF["cnsoftwaredomain"] . """;
print"</title>\n";
print"<meta http-equiv=\"Content-Type\" CONTENT=\"text/html; charset=" . $LANG["charset"] . "\" />\n";
print"<style type=\"text/css\">\n";
print"select,input,body,td {font-size:11px;font-family:tahoma;color:#38464b;}\n";
print"input {height:24px;padding:3px 0 0 5px;}\n";
print"</style>\n";
print"</head>\n";
print"<body>\n";
print"<table style=\"width:100%;height:100%\"><tr><td>\n";
print"<table style=\"table-layout:fixed;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" width=\"335\">\n";
print"<tr><td class=\"logo\">";
print"</td></tr>";
print"<tr><td>";
print"<table style=\"table-layout:fixed;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\"><tr>\n";
print"<td style=\"padding-top:35px;padding-bottom:10px;\" width=\"100%\">\n";
print"<form style=\"margin:0;\" action=\"./index.php\" method=\"post\" name=\"web\">\n";
print"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">\n";
print"<tr><td nowrap=\"nowrap\">Language:</td>\n";
print"<td>\n";
print"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
print"<tr><td width=\"100%\"><select id=\"selectlang\" name=\"language\" style=\"width:100%\" onChange=\"document.location='./?action=language&language='+document.getElementById('selectlang').value;\">\n";
$_98dd4acc = dir( realpath( "./lang/" ) );
while ( $_2b219d70 = $_98dd4acc->read() ) {
if ( substr( $_2b219d70, 0, 4 ) == "lang" ) {
$_31098462 = substr( $_2b219d70, 5, -4 );
if ( $_31098462 != $LANG["lng"] )print"<option value=\"" . urlencode( $_31098462 ) . "\">" . $_31098462 . "</option>\n";
else print"<option selected=\"selected\" value=\"" . urlencode( $_31098462 ) . "\">" . $_31098462 . "</option>\n";
}
}
print"</select></td>\n";
print"<td><input type=\"button\" value=\"" . $LANG["go"] . "\" OnClick=\"document.location='./?action=language&language='+document.getElementById('selectlang').value;\" style=\"padding:0;margin-left:4px;width:80px;\" /></td>\n";
print"</tr>\n";
print"</table>";
if ( $_125fdbbd == 1 )print"<tr><td colspan=\"2\"><div class=\"error_box\"><font color=\"red\">" . $LANG["incorrect login or password"] . "</font></div></td></tr>\n";
if ( $_125fdbbd == 2 )print"<tr><td colspan=\"2\"><div class=\"error_box\"><font color=\"red\">" . $LANG["account disabled"] . "</font></div></td></tr>\n";
print"<tr><td nowrap=\"nowrap\">" . $LANG["login"] . ": </td><td width='100%'><input style='width:100%' type='text' name='login' id=\"login\"></td></tr>\n";
print"<tr><td>" . $LANG["password"] . ": </td><td><input type='password' name='password' style=\"width:100%\"></td></tr>\n";
print"<tr><td> </td><td valign=\"top\">\n";
print"\n";
print"<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td><input style=\"margin:0px;\" id=\"store\" type=\"checkbox\" name=\"store\"></td><td><label for=\"store\"> " . $LANG["store password"] . "</label></td></tr>";
print"<tr><td> </td><td> <a href=\"./restore-password.php\">" . $LANG["restore_password"] . "</a></td></tr>";
print"</table>\n";
print"\n";
print"</td></tr>\n";
print"<tr><td colspan=\"2\" align=\"right\"><input type=\"submit\" value=\"" . $LANG["submit"] . "\" style=\"padding:0;width:80px;\" /></td></tr>\n";
print"</table>\n";
print"<input type='hidden' name='action' value='enter'>\n";
print"</form>\n";
print"</td><td width=\"20\"> </td><td bgcolor=\"#9bc871\" width=\"0\"></td></tr>";
print"<tr><td colspan=\"3\" bgcolor=\"#9bc871\" style=\"height:0px;\"></td></tr>";
print"</table>";
print"</td></tr>";
print"</table>";
print"<div align=\"center\"><br />" . $STATS_CONF["hello string"] . "</div>";
print"</td></tr><tr><td valign=\"bottom\" align=\"center\">\n";
print"<a href='http://www.nulled.ws/' target='_blank'>Перейти на главную</a>\n";
print"</td></tr></table>\n";
if ( $_91160261 ) {
print"\n<!--" . $CNSKEY["keyhash"] . "-->\n";
}
print"<script type='text/javascript'>\n";
print" var e=document.getElementById('login');\n";
print" if (e) e.focus();\n";
print"</script>";
print"</body>\n";
print"</html>\n";
exit;
}
}
$_5960467e = true;
if ( $_5960467e ) {
$_c5d85c28 = "";
if ( isset( $STATS_CONF["cookiedomain"] ) ) {
$_508edb76 = false;
$_efda7a5a = explode( ".", $STATS_CONF["cnsoftwaredomain"] );
for( $_e66c3671 = 0;$_e66c3671 < count( $_efda7a5a )-1;$_e66c3671++ ) {
$_6b643b84 = "";
for( $_7f6567cb = $_e66c3671;$_7f6567cb < count( $_efda7a5a )-1;$_7f6567cb++ ) {
$_6b643b84 .= "." . $_efda7a5a[$_7f6567cb];
}
if ( $STATS_CONF["cookiedomain"] == $_6b643b84 . "." . $_efda7a5a[count( $_efda7a5a )-1] ) {
$_508edb76 = true;
break;
}
}
if ( !$_508edb76 ) {
$_5960467e = false;
$_c5d85c28 = "&action=wrongcookiedomain";
}
}
}
_35877304();
$_9f79558f = intval( $_GET["start"] );
$_12a38def = $_GET["st"];
if ( isset( $_POST["st"] ) )$_12a38def = $_POST["st"];
if ( empty( $_12a38def ) )$_12a38def = "attendance";
if ( !file_exists( "reports/" . $_12a38def . ".php" ) )$_12a38def = "attendance";
if ( isset( $_GET["sd"] ) ) {
$_d1a6ae0c = strtotime( $_GET["sd"] );
$_cb4bcf97 = strtotime( $_GET["fd"] );
if ( intval( $_GET["slide"] ) != 0 ) {
if ( $_cb4bcf97 > time() + $COUNTER["timeoffset"] )$_GET["ftm"] = $_POST["ftm"] = $_cb4bcf97 = time() + $COUNTER["timeoffset"];
}
} else {
$_d1a6ae0c = intval( $_GET["stm"] );
$_cb4bcf97 = intval( $_GET["ftm"] );
if ( $_d1a6ae0c == 0 ) {
$_d1a6ae0c = mktime( 0, 0, 0, date( "m" ), date( "d" ), date( "Y" ) );
$_cb4bcf97 = mktime( 23, 59, 59, date( "m" ), date( "d" ), date( "Y" ) );
}
}
$_eb9e3126 = date( "Y-m-d H:i:s", intval( $_d1a6ae0c ) );
$_9174ebfd = date( "Y-m-d H:i:s", intval( $_cb4bcf97 ) );
if ( isset( $_POST["filter"] ) )$_7fc45f1d = intval( $_POST["filter"] );
else$_7fc45f1d = intval( $_GET["filter"] );
if ( $_7fc45f1d == -778 ) {
$_289de0c2 = $GLOBALS["cnstats_db"]->_24bdb5eb( "SELECT max(filter_id) FROM " . $STATS_CONF["sqlprefix"] . "filterlist;" );
if ( $_289de0c2 ) {
$_62f818ac = $GLOBALS["cnstats_db"]->_35acb628( $_6c09ff9d );
$_7fc45f1d = $_62f818ac[0];
unset( $_62f818ac );
$GLOBALS["cnstats_db"]->_d8902be8( $_289de0c2 );
}
}
if ( isset( $_POST["robots"] ) )$_GET["robots"] = $_POST["robots"];
if ( isset( $_POST["filter"] ) )$_GET["filter"] = $_POST["filter"];
if ( isset( $_POST["slide"] ) )$_GET["slide"] = $_POST["slide"];
if ( isset( $_GET["slide"] ) )if ( intval( $_GET["slide"] ) != 0 )$_2a618ef1 = "&slide=" . intval( $_GET["slide"] );
else$_2a618ef1 = "";
if ( isset( $_GET["filter"] ) )if ( intval( $_GET["filter"] ) != 0 )$_2d3bff0e = "&filter=" . intval( $_GET["filter"] );
else$_2d3bff0e = "";
if ( isset( $_GET["robots"] ) ) {
$_a897d92c = "&robots=" . intval( $_GET["robots"] );
$_bcb1c214 = intval( $_GET["robots"] );
} else {
$_a897d92c = "";
switch ( $_2472e8fa["robots_or_users"] ) {
case "robots":$_bcb1c214 = 2;
$_a897d92c = "&robots=2";
break;
case "users":$_bcb1c214 = 1;
$_a897d92c = "&robots=1";
break;
default:$_bcb1c214 = 0;
$_a897d92c = "";
break;
}
}
$_0cf85b32 = "";
$_0cf85b32 .= "&stm=" . $_d1a6ae0c;
$_0cf85b32 .= "&ftm=" . $_cb4bcf97;
$_0cf85b32 .= $_2d3bff0e;
$_0cf85b32 .= $_a897d92c;
$_0cf85b32 .= $_2a618ef1;
if ( $_GET["nowrap"] == 1 || $_POST["nowrap"] == 1 ) {
if ( $_GET["ajax"] == 1 ) {
ob_start();
}
if ( preg_match( "/^([a-zA-Z0-9_]+)$/", $_12a38def ) )include"./reports/" . $_12a38def . ".php";
if ( $_GET["ajax"] == 1 ) {
$_98dd4acc = ob_get_contents();
ob_end_clean();
print _42f90b36( $_98dd4acc );
}
exit;
}
$_dd5afb87 = intval( $_GET["slide"] );
if ( $_12a38def != "filters" && $_12a38def != "filtersitems" && $_12a38def != "exportimport" && $_12a38def != "dbsize" && $_12a38def != "dbmanage" && $_12a38def != "config" && $_12a38def != "confmail" && $_12a38def != "confaccess" && $_12a38def != "openstat_config" && $_12a38def != "advert_config" && $_12a38def != "getcode" && $_12a38def != "datafiles" && $_12a38def != "registration" && $_12a38def != "geo_rebuild" && $_12a38def != "rss_history" && $_12a38def != "who_history" ) {
if ( $_dd5afb87 != 0 ) {
$_6c09ff9d = $GLOBALS["cnstats_db"]->_24bdb5eb( "SELECT UNIX_TIMESTAMP(date_start) as date_start, UNIX_TIMESTAMP(date_end) as date_end FROM " . $STATS_CONF["sqlprefix"] . "slides WHERE slide_id='$_dd5afb87';" );
if ( $_6c09ff9d ) {
$_e8b7be43 = $GLOBALS["cnstats_db"]->_ef336f8e( $_6c09ff9d );
$GLOBALS["cnstats_db"]->_d8902be8( $_6c09ff9d );
} else$_e8b7be43 = Array();
if ( !( $_d1a6ae0c >= $_e8b7be43["date_start"] && $_cb4bcf97 <= $_e8b7be43["date_end"] ) ) {
header( "Location: ./index.php?st=slide&op=update&returnst=" . urlencode( $_GET["st"] ) . "&nowrap=1&ftm=" . $_cb4bcf97 . "&stm=" . $_d1a6ae0c . "&" . _60060e45( $_GET, Array( "ftm", "stm", "sd", "fd", "st", "returnst" ), true ) );
exit;
}
}
}
if ( !isset( $LANG["html direction"] ) )$LANG["html direction"] = "ltr";
$skintitle = $_e27fb514;
if ( isset( $STATS_CONF["cnsoftwaredomain"] ) )$skintitle .= " / " . $LANG["site statistics"] . " "" . $STATS_CONF["cnsoftwaredomain"] . """;
$skin_filtermenu = "";
foreach( $_6194cadc as$_e66c3671 => $_6b643b84 ) {
if ( $_e66c3671 != 4 ) {
$skin_filtermenu .= "<option value=''> </option>\n";
for( $_7f6567cb = 0;$_7f6567cb < count( $_4b90d727 );$_7f6567cb += 5 ) {
if ( $_4b90d727[$_7f6567cb] == $_e66c3671 ) {
$_320ed901 = true;
if ( $_f691ecd2 == "guest" && !$_2215f6a3[$_4b90d727[$_7f6567cb + 2]] )$_320ed901 = false;
if ( $_320ed901 )$skin_filtermenu .= "<option value='" . $_4b90d727[$_7f6567cb + 2] . "'>" . $_4b90d727[$_7f6567cb + 4] . "</option>\n";
}
}
}
}
$SKIN["stm"] = $_d1a6ae0c;
$SKIN["ftm"] = $_cb4bcf97;
require$SKINDIR . "header.php";
if ( $_2472e8fa["logout_on_top"] ) {
_e8bc3251( "" );
printf( $SKIN["menutop"], $_b7ecdfa5, "99999" );
printf( $SKIN["menubit_active"], ( ( $_SERVER["HTTPS"] == "on" || $_SERVER["SERVER_PORT"] == 443 )?"https://":"http://" ) . $STATS_CONF["cnsoftwarelinkdomain"] . "/" . $_741e06d5 . "/index.php?st=logout&nowrap=1" . $_0cf85b32, $LANG["logout"] );
print$SKIN["menubottom"];
}
foreach( $_6194cadc as$_e66c3671 => $_6b643b84 ) {
ob_start();
_e8bc3251( $_6194cadc[$_e66c3671], true, $_e66c3671 );
if ( $_COOKIE["cnstats_mn" . $_e66c3671] == "hidden" )$_b7ecdfa5 = "vis1";
else$_b7ecdfa5 = "vis0";
printf( $SKIN["menutop"], $_b7ecdfa5, $_e66c3671 );
$_0cd15d37 = false;
for( $_7f6567cb = 0;$_7f6567cb < count( $_4b90d727 );$_7f6567cb += 5 ) {
if ( $_4b90d727[$_7f6567cb] == $_e66c3671 ) {
if ( $_12a38def == $_4b90d727[$_7f6567cb + 2] ) {
printf( $SKIN["menubit_inactive"], $_4b90d727[$_7f6567cb + 4] );
$_0cd15d37 = true;
} else {
$_320ed901 = true;
if ( $_f691ecd2 == "guest" && !$_2215f6a3[$_4b90d727[$_7f6567cb + 2]] )$_320ed901 = false;
if ( $_4b90d727[$_7f6567cb + 2] == "logout&nowrap=1" )$_320ed901 = true;
if ( $_320ed901 ) {
$_0cd15d37 = true;
if ( $_741e06d5 != "" )printf( $SKIN["menubit_active"], ( ( $_SERVER["HTTPS"] == "on" || $_SERVER["SERVER_PORT"] == 443 )?"https://":"http://" ) . $STATS_CONF["cnsoftwarelinkdomain"] . "/" . $_741e06d5 . "/index.php?st=" . $_4b90d727[$_7f6567cb + 2] . $_0cf85b32, $_4b90d727[$_7f6567cb + 4] );
else printf( $SKIN["menubit_active"], ( ( $_SERVER["HTTPS"] == "on" || $_SERVER["SERVER_PORT"] == 443 )?"https://":"http://" ) . $STATS_CONF["cnsoftwarelinkdomain"] . "/index.php?st=" . $_4b90d727[$_7f6567cb + 2] . $_0cf85b32, $_4b90d727[$_7f6567cb + 4] );
}
}
}
}
print$SKIN["menubottom"];
$_98dd4acc = ob_get_contents();
ob_end_clean();
if ( $_0cd15d37 )print$_98dd4acc;
}
if ( is_file( dirname( __FILE__ ) . "/includes/dbupdate.php" ) )include dirname( __FILE__ ) . "/includes/dbupdate.php";
require ($SKINDIR . "middle1.php");
$_d26d3c99 = false;
if ( $_GET["dateoff"] != 1 && $_12a38def != "attendance" && $_12a38def != "filters" && $_12a38def != "filtersitems" && $_12a38def != "exportimport" && $_12a38def != "dbsize" && $_12a38def != "dbmanage" && $_12a38def != "config" && $_12a38def != "confmail" && $_12a38def != "confaccess" && $_12a38def != "advert_config" && $_12a38def != "getcode" && $_12a38def != "datafiles" && $_12a38def != "geo_rebuild" && $_12a38def != "registration" && $_12a38def != "now" && $_12a38def != "rss_history" && $_12a38def != "who_history" )$_d26d3c99 = true;
if ( $_d26d3c99 ) {
printf( $SKIN["reportdescription_top"], $LANG["filter icon"], $LANG["filter icon"] );
if ( isset( $LANG["reports"][$_12a38def] ) )print$LANG["reports"][$_12a38def];
else for( $_7f6567cb = 0;$_7f6567cb < count( $_4b90d727 );$_7f6567cb += 5 )if ( $_12a38def == $_4b90d727[$_7f6567cb + 2] )printf( $SKIN["reportdescription_title"], $_4b90d727[$_7f6567cb + 4] );
if ( $_7fc45f1d == -777 )$_02878b94 = $LANG["filters temporary"];
elseif ( $_7fc45f1d > 0 ) {
$_6c09ff9d = $GLOBALS["cnstats_db"]->_24bdb5eb( "SELECT title FROM " . $STATS_CONF["sqlprefix"] . "filterlist WHERE filter_id='$_7fc45f1d';" );
if ( $_6c09ff9d ) {
$_97c1b827 = $GLOBALS["cnstats_db"]->_35acb628( $_6c09ff9d );
$_02878b94 = $_97c1b827[0];
unset( $_97c1b827 );
$GLOBALS["cnstats_db"]->_d8902be8( $_6c09ff9d );
} else$_02878b94 = "";
} else if ( isset( $LANG["filter datafiles " . $_7fc45f1d] ) )$_02878b94 = $LANG["filter datafiles " . $_7fc45f1d];
if ( !empty( $_02878b94 ) )printf( $SKIN["reportdescription_filter"], $LANG["filter"], $_02878b94, _e1d34981( "filter", str_replace( "&", "&", $_SERVER["QUERY_STRING"] ) ), $LANG["filters disable"] );
if ( $_dd5afb87 != 0 ) {
printf( $SKIN["reportdescription_slide"], $LANG["slide"] );
$_6c09ff9d = $GLOBALS["cnstats_db"]->_24bdb5eb( "SELECT f.title, s.date_start, s.date_end, s.id_filter FROM " . $STATS_CONF["sqlprefix"] . "slides s LEFT JOIN " . $STATS_CONF["sqlprefix"] . "filterlist f ON s.id_filter=f.filter_id WHERE s.slide_id='$_dd5afb87';" );
if ( $_6c09ff9d ) {
$_e8b7be43 = $GLOBALS["cnstats_db"]->_ef336f8e( $_6c09ff9d );
$GLOBALS["cnstats_db"]->_d8902be8( $_6c09ff9d );
}
print htmlspecialchars( $_e8b7be43["title"] );
printf( $SKIN["reportdescription_slide_disable"], _e1d34981( "slide", str_replace( "&", "&", $_SERVER["QUERY_STRING"] ) ), $LANG["slides disable"] );
}
print$SKIN["reportdescription_period"];
print$LANG["report for period from"] . " " . date( $_2472e8fa["datetime_format"], strtotime( $_eb9e3126 ) ) . " " . $LANG["till"] . " " . date( $_2472e8fa["datetime_format"], strtotime( $_9174ebfd ) );
print$SKIN["reportdescription_footer"];
}
unset( $_25f99522 );
$_b2618ed8 = $_7c61e449 = "";
$_d588331e = 0;
$_f3a3978a = 0;
$_1faf6a02 = false;
$_3de55b9f = true;
if ( $_f691ecd2 == "guest" && !$_2215f6a3[$_12a38def] ) {
require$SKINDIR . "access_denied.php";
$_3de55b9f = false;
}
if ( $_3de55b9f ) {
$_f525202d = _32b0dc64();
if ( preg_match( "/^([a-zA-Z0-9_]+)$/", $_12a38def ) )include"./reports/" . $_12a38def . ".php";
$_365e0470 = _32b0dc64();
$_95cc2cae = $_365e0470 - $_f525202d;
if ( $_d588331e == 0 )_3e4a11a4( $_7fc45f1d );
if ( $_d9ecb894 ) $_d26d3c99 = true;
$GLOBALS["cnstats_db"]->close();
require $SKINDIR . "middle2.php";
if ( !empty( $_7c61e449 ) ) {
_1a3c821f( $LANG["right additional_0"] );
print$SKIN["menublock_header"];
print$_7c61e449;
print$SKIN["menublock_footer"];
}
if ( !empty( $_b2618ed8 ) ) {
_1a3c821f( $LANG["right additional"] );
print$SKIN["menublock_header"];
print$_b2618ed8;
print$SKIN["menublock_footer"];
}
if ( $_d26d3c99 ) {
$_d2045652 = time() + $COUNTER["timeoffset"];
_1a3c821f( $LANG["right bydates"] );
print$SKIN["menublock_header"];
print"<form class=\"m0\" action=\"index.php\" method=\"get\">";
print"<table cellspacing=\"0\" cellpadding=\"1\" border=\"0\" class=\"calendar_table\">\n";
print"<tr><td colspan=\"2\">" . $LANG["right startdate"] . ":</td></tr>\n";
print"<tr><td><input id=\"date1\" class=\"text\" type=\"text\" value=\"" . $_eb9e3126 . "\" name=\"sd\" /><br />\n";
print"<div id=\"sdate1\" style=\"visibility:hidden;background-color:white;z-index:9999;width:10px;border: solid 1px #34783E; position:absolute;\"></div>\n";
print"</td><td><a href=\"javascript:ShowCalendarE('sdate1','date1',0);\"><img src=\"" . $SKINDIR . "img/calendar.gif\" title=\"" . $LANG["selectdate"] . "\" alt=\"" . $LANG["selectdate"] . "\" width=\"13\" height=\"18\" border=\"0\" /></a></td></tr><tr><td colspan=\"2\"></td></tr>\n";
print"<tr><td colspan=\"2\">" . $LANG["right enddate"] . ":</td></tr>\n";
print"<tr><td><input id=\"date2\" class=\"text\" type=\"text\" value=\"" . $_9174ebfd . "\" name=\"fd\" /><br />";
print"<div id=\"sdate2\" style=\"visibility:hidden;background-color:white;z-index:9998;width:10px;border: solid 1px #34783E; position:absolute;\"></div>\n";
print"</td><td><a href=\"javascript:ShowCalendarE('sdate2','date2',0);\"><img src=\"" . $SKINDIR . "img/calendar.gif\" alt=\"" . $LANG["selectdate"] . "\" title=\"" . $LANG["selectdate"] . "\" width=\"13\" height=\"18\" border=\"0\" /></a></td></tr>\n";
print"<tr><td align=\"center\" colspan=\"2\"><input type=\"submit\" class=\"submit\" value=\"" . $LANG["right show"] . "\" /></td></tr>\n";
print"</table>\n";
print"<input type=\"hidden\" name=\"st\" value=\"" . urlencode( $_12a38def ) . "\" />\n";
print _55752ecc( $_0cf85b32, Array( "ftm", "stm" ) );
print"</form>\n";
print$SKIN["menublock_footer"];
_1a3c821f( $LANG["right bydays"] );
print$SKIN["menublock_header"];
$_f611e42c = _e1d34981( "ftm", _e1d34981( "stm", $_0cf85b32 ) );
print"<ul class=\"menu\">";
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( time()-300 + $COUNTER["timeoffset"] ) . "&ftm=" . ( time() + $COUNTER["timeoffset"] ) . $_f611e42c . "\">" . $LANG["last 5minutes"] . "</a></li>\n";
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( time()-3600 + $COUNTER["timeoffset"] ) . "&ftm=" . ( time() + $COUNTER["timeoffset"] ) . $_f611e42c . "\">" . $LANG["last hour"] . "</a></li>\n";
print"<li class=\"spaced\"><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( time()-86400 + $COUNTER["timeoffset"] ) . "&ftm=" . ( time() + $COUNTER["timeoffset"] ) . $_f611e42c . "\">" . $LANG["last day"] . "</a></li>\n";
if ( intval( $_dd5afb87 ) == 0 ) {
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( mktime( 0, 0, 0, date( "m", $_d2045652 ), date( "d", $_d2045652 ), date( "Y", $_d2045652 ) ) ) . "&ftm=" . ( mktime( 23, 59, 59, date( "m", $_d2045652 ), date( "d", $_d2045652 ), date( "Y", $_d2045652 ) ) ) . $_f611e42c . "\">" . $LANG["today"] . "</a></li>\n";
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( mktime( 0, 0, 0, date( "m", $_d2045652 ), date( "d", $_d2045652 )-1, date( "Y", $_d2045652 ) ) ) . "&ftm=" . ( mktime( 23, 59, 59, date( "m", $_d2045652 ), date( "d", $_d2045652 )-1, date( "Y", $_d2045652 ) ) ) . $_f611e42c . "\">" . $LANG["yesterday"] . "</a></li>\n";
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( mktime( 0, 0, 0, date( "m", $_d2045652 ), date( "d", $_d2045652 )-7, date( "Y", $_d2045652 ) ) ) . "&ftm=" . ( mktime( 23, 59, 59, date( "m", $_d2045652 ), date( "d", $_d2045652 ), date( "Y", $_d2045652 ) ) ) . $_f611e42c . "\">" . $LANG["7 days"] . "</a></li>\n";
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( mktime( 0, 0, 0, date( "m", $_d2045652 ), date( "d", $_d2045652 )-30, date( "Y", $_d2045652 ) ) ) . "&ftm=" . ( mktime( 23, 59, 59, date( "m", $_d2045652 ), date( "d", $_d2045652 ), date( "Y", $_d2045652 ) ) ) . $_f611e42c . "\">" . $LANG["30 days"] . "</a></li>\n";
} else {
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( mktime( 0, 0, 0, date( "m", $_d2045652 ), date( "d", $_d2045652 ), date( "Y", $_d2045652 ) ) ) . "&ftm=" . ( time() + $_2472e8fa["timeoffset"] ) . $_f611e42c . "\">" . $LANG["today"] . "</a> <span class=\"hint\" title=\"" . $LANG["slide today description"] . "\">*</span></li>\n";
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( mktime( 0, 0, 0, date( "m", $_d2045652 ), date( "d", $_d2045652 )-1, date( "Y", $_d2045652 ) ) ) . "&ftm=" . ( mktime( 23, 59, 59, date( "m", $_d2045652 ), date( "d", $_d2045652 )-1, date( "Y", $_d2045652 ) ) ) . $_f611e42c . "\">" . $LANG["yesterday"] . "</a></li>\n";
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( mktime( 0, 0, 0, date( "m", $_d2045652 ), date( "d", $_d2045652 )-7, date( "Y", $_d2045652 ) ) ) . "&ftm=" . ( time() + $_2472e8fa["timeoffset"] ) . $_f611e42c . "\">" . $LANG["7 days"] . "</a> <span class=\"hint\" title=\"" . $LANG["slide today description"] . "\">*</span></li>\n";
print"<li><a href=\"index.php?st=" . $_12a38def . "&stm=" . ( mktime( 0, 0, 0, date( "m", $_d2045652 ), date( "d", $_d2045652 )-30, date( "Y", $_d2045652 ) ) ) . "&ftm=" . ( time() + $_2472e8fa["timeoffset"] ) . $_f611e42c . "\">" . $LANG["30 days"] . "</a> <span class=\"hint\" title=\"" . $LANG["slide today description"] . "\">*</span></li>\n";
}
print"</ul>\n";
print$SKIN["menublock_footer"];
}
if ( $_12a38def != "who_history" && $_16fdae17 != 1 ) {
_1a3c821f( $LANG["robots"] );
print$SKIN["menublock_header"];
print"<ul class=\"menu\">";
if ( $_bcb1c214 != 0 )print"<li><a href=\"index.php?st=" . $_12a38def . _e1d34981( "robots", $_0cf85b32 ) . "&robots=0\">" . $LANG["robots all"] . "</a>\n";
else print"<li>" . $LANG["robots all"] . "</li>\n";
if ( $_bcb1c214 != 1 )print"<li><a href=\"index.php?st=" . $_12a38def . _e1d34981( "robots", $_0cf85b32 ) . "&robots=1\">" . $LANG["robots users"] . "</a>\n";
else print"<li>" . $LANG["robots users"] . "</li>\n";
if ( $_bcb1c214 != 2 )print"<li><a href=\"index.php?st=" . $_12a38def . _e1d34981( "robots", $_0cf85b32 ) . "&robots=2\">" . $LANG["robots robots"] . "</a>\n";
else print"<li>" . $LANG["robots robots"] . "</li>\n";
print"</ul>\n";
print$SKIN["menublock_footer"];
}
if ( $_12a38def != "getcode" && $_12a38def != "confmail" && $_12a38def != "config" && $_12a38def != "ipinfo" && $_12a38def != "who_history" ) {
_1a3c821f( $LANG["manual"] );
print$SKIN["menublock_header"];
print"<ul class=\"menu\">";
print"</ul>\n";
print$SKIN["menublock_footer"];
}
if ( $_f3a3978a == 1 ) {
_1a3c821f( $LANG["export"] );
print$SKIN["menublock_header"];
$_98dd4acc = dir( "./export" );
while ( false !== ( $_2b219d70 = $_98dd4acc->read() ) ) {
if ( substr( $_2b219d70, 0, 6 ) == "exp_t_" || substr( $_2b219d70, 0, 6 ) == "exp_n_" ) {
$_deba72df = substr( $_2b219d70, 6, -4 );
$_93b1868e = substr( $_2b219d70, 0, 6 );
print"<a" . ( $_93b1868e == "exp_n_"?" target=\"_blank\"":"" ) . " href=\"./export/" . $_93b1868e . str_replace( "+", "%20", urlencode( $_deba72df ) ) . ".php?" . _60060e45( $_GET ) . "\"><img src=\"" . $SKINDIR . "img/export_" . urlencode( str_replace( " ", "_", $_deba72df ) ) . ".gif\" class=\"export_image\" border=\"0\" alt=\"" . strtoupper( $_deba72df ) . "\" title=\"" . strtoupper( $_deba72df ) . "\" /></a> ";
}
}
$_98dd4acc->close();
print$SKIN["menublock_footer"];
}
}
_1a3c821f( $LANG["right time"] );
print$SKIN["menublock_header"];
printf( "<div style=\"margin-bottom:3px;\">" . $LANG["current time"] . ":<br />" . date( $_2472e8fa["datetime_format"], time() + $COUNTER["timeoffset"] ) . "</div>" . $LANG["report was generated"] . ":<br />%.2f " . $LANG["sec"] . "<br />", $_95cc2cae );
print$SKIN["menublock_footer"];
require$SKINDIR . "footer.php";
if ( $STATS_CONF["debug"] == "yes" ) {
$GLOBALS["cnstats_db"]->_ed77e17f();
}
?>
_____________
www.godbook.cc.ua —
Новый Завет!