
18.10.2009, 09:49
|
|
Познавший АНТИЧАТ
Регистрация: 27.04.2007
Сообщений: 1,044
С нами:
10021597
Репутация:
905
|
|
2MOSYA
PHP код:
<?php
/* В строке ниже забит копирайт, убирая его, ты можешь распрощаться со своим трекером!;) WARNING: This file is protected by copyright! */
function mysql_modified_rows() {
$a_rows = mysql_affected_rows ();
$info_str = mysql_info ();
ereg ( "Rows matched: ([0-9]*)", $info_str, $r_matched );
return ($a_rows < 1) ? ($r_matched [1] ? $r_matched [1] : 0) : $a_rows;
}
function copyright() {
global $curversion;
$GLOBALS ["copyrightq231231212bjbndbsandbjwhgjq312"] = "sadd1fwe465465r5q65w46s31qwe513131515";
print ( "Copyright© <a href=\"http://bt-tracker.co.cc/\">CyBERhype Tracker v" . $curversion . "</a> by<br> CyberTeam Web-Developers® " . (date ( "Y" ) > 2008 ? "2008-" : "") . date ( "Y" ) );
}
function stdfoot() {
global $copyrightq231231212bjbndbsandbjwhgjq312, $ss_uri, $tracker_lang, $queries, $tstart, $query_stat, $querytime, $CURGROUP, $show_process, $curversion, $be_footer;
if ($be_footer)
return '';
else
$GLOBALS ['be_footer'] = 1;
require_once ("themes/" . $ss_uri . "/template.php");
require_once ("themes/" . $ss_uri . "/stdfoot.php");
if (count ( $query_stat ) && $CURGROUP ['can_viewdebug'] && $show_process == "yes") {
foreach ( $query_stat as $key => $value ) {
print ( "<div>[" . ($key + 1) . "] => <b>" . ($value ["seconds"] > 0.01 ? "<font color=\"red\" title=\"Рекомендуется оптимизировать запрос. Время исполнения превышает норму.\">" . $value ["seconds"] . "</font>" : "<font color=\"green\" title=\"Запрос не нуждается в оптимизации. Время исполнения допустимое.\">" . $value ["seconds"] . "</font>") . "</b> [$value[query]]</div>\n" );
}
print ( "<br />" );
}
if (! $curversion) {
?>
<font color="red" size=2><b>Необходимо указать версию продукта!</b></font>
<?
}
if ($copyrightq231231212bjbndbsandbjwhgjq312 != "sadd1fwe465465r5q65w46s31qwe513131515") {
?>
<font color="red" size=2><b>Копирайт на место!</b></font>
<?
}
}
?>
|
|
|