Просмотр файла wwphpmaster2.00_released/www.phpedited.com/tmpl/func.php
Размер файла: 2.71Kb
<?php
////////////////////////////////////////////////////////////////////////////
// -_- W|W PHP-master -_- //
// //
// Copyright 2008 MyIE //
// Create and Design by -_- MyIE //
// Site (web) -_- http://www.phpedited.com //
// Site (wap) -_- http://wap.phpedited.com //
// E-mail (MyIE) -_- [email protected] //
// ICQ (MyIE) -_- 952-11-78 //
// //
// Вы не имеете право убирать копирайт //
// оффициального сайта! //
//This program is free software: you can redistribute it and/or modify //
//it under the terms of the GNU General Public License as published by //
//the Free Software Foundation, either version 3 of the License, or //
//(at your option) any later version. //
// //
//This program is distributed in the hope that it will be useful, //
//but WITHOUT ANY WARRANTY; without even the implied warranty of //
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
//GNU General Public License for more details. //
// //
//You should have received a copy of the GNU General Public License //
//along with this program. If not, see <http://www.gnu.org/licenses/>. //
////////////////////////////////////////////////////////////////////////////
$prov=$_SERVER['PHP_SELF'];
$igor=$_SERVER['DOCUMENT_ROOT'];
$file_array = file("$igor$prov");
if(!$file_array)
{
echo("Ошибка открытия файла");
}
$err=0;
for ($i=0;$i<count($file_array);$i++)
{
$file_array[$i] = trim($file_array[$i]);
if ($file_array[$i]=="decoder();")
{
$err=$err+1;
continue;
}
}
if ($err==0)
{
$str_one = "PGJyPjxiPlBhcnNlIGVycm9yPC9iPjogcGFyc2UgZXJyb3IsIG5vbiBlc3QgaW52ZW50dXMgImRlY29kZXIoKSIgaW4gPGI+";
$str_two = "b24gbGluZSA=";
$str_one = base64_decode($str_one);
$str_two = base64_decode($str_two);
echo "$str_one$igor$prov$str_two$i";
exit;
}
function decoder()
{
$str = 'PGNlbnRlcj5DcmVhdGVkIGJ5IDxhIGhyZWY9Imh0dHA6Ly93d3cucGhwZWRpdGVkLmNvbSIgY2xhc3M9c3M+V3xXIFBIUC1tYXN0ZXI8L2E+PC9jZW50ZXI+PGJyPg==';
$str = base64_decode($str);
echo $str;
}
?>