////////////////////////////////////////////////////////////////////////////
//// ����� �������: �������� ������� ��������� aka dimidrol //
//// E-mail: dima@trofimov.com.ru //
//// Home pages: http://www.trofimov.com.ru //
//// WAP SAIT: http://trofimov.com.ru/wap/ //
//// ������ �������: TROforum 0.2 //
////////////////////////////////////////////////////////////////////////////
include "config.inc.php";
if ($login != "$admin_login" && $password != "$admin_password") { print "
��������, ��������� ������ ����� � ������ ��� ����� � ����� ������!
"; exit; }
if ($password != "$admin_login" && $password != "$admin_password") { print " ��������, ��������� ������ ����� � ������ ��� ����� � ����� ������!
"; exit; }
switch($trofimov) :
case("dele") :
print"
��������, � ���������� ��� ����� ������� ���� ���, ������� ��� ����� � ����� Msg ��� ���������� ������.
��������, �������� ��� ������, ��� ��� ��� ���� �������� ��� �� ������������...
���� �� ������ �������� ���� ����������� ������ �� Ip �� ��� ����.
";
break;
case("odin") :
$fp = fopen("../tems.txt","w+");
print "��� �������";
break;
case("dva") :
$fp = fopen("../uzver.dat","w+");
print "��� �������";
break;
case("tri") :
$fp = fopen("ip.txt","w+");
print "��� �������";
break;
case("statistika") :
$statistic_subjs = @count(@file("../tems.txt"));
$statistic_bsize = @filesize("../tems.txt");
$xfile = @file("../tems.txt");
for ($i=0;$i";
print "���������� ��������� �� ������: $statistic_mess
";
print "������ ���� ���: $statistic_bsize ����
";
print "����� ������ ���� ������: $statistic_allsize ����
";
print "������ ������: $statistic_forumver
";
print "������ PHP ��������������: $statistic_phpver
";
break;
case("bloking") :
print"
��������, ��� �� ����������� ������������� �� �� IP ��� ���������� ������� �������� ���������. ���� �� ����� ������ �������������� �� ����� index.php � ��������������� �� forum.php. ����� �������� ��� ���� ������� ����������� ������������ ����� ���������� �� forum.php. � ������� ��� ������� ���� .htaccess, � ������� ���� ��� ����� �����: DirectoryIndex forum.php. � ������� ������ ������� � ��� �� ��������� ��������� ������ ������ forum.php �� ����� index.php.
";
break;
case("blok") :
if ($loh == "") {print "������� ip"; exit;}
if ($suka == "") {print "������� �� ��� �� ���������� �����."; exit;}
$text = "$loh::$suka";
print "���� ��� ������ ������������!";
$fp=fopen("ip.txt","a");
fputs($fp,"$text \r\n");
fclose($fp);
break;
case("update") :
print "�� ����������� �������, ������ ���� �� ���������� ���� ������. ��������, ��������� ��� �� ������������ �� ��� �� ���� ������, �.� ��������� www.trofimov.com.ru � �����, ��� ���������� ������� �� ���� ��� ������...";
break;
default :
print "Admin Panels ver 2.1
Admin Panels ver 2.1(beta) ���� ���-��� �������� :)
";
break;
endswitch;
?>