Файл: manager1/adminka/1.php
Строк: 51
<?
//==========================================
//Powered by Siriys 798-43-98
//==========================================
require_once"../../template/start.php";
require_once"../../template/regglobals.php";
require_once"../../template/config.php";
require_once"../../template/functions.php";
require_once"../../template/antidos.php";
require_once"../../template/cookies.php";
require_once"../../template/gzip.php";
require_once"../../template/header.php";
require_once"../../template/referer.php";
include_once"../../themes/$config_themes/index.php";
include_once"../../template/isset.php";
echo'<b><center>*Football MANAGER*ADMIN PANEL*</center></b><br><br>';
if ($dostup==101)
{
if(isset($_GET['go'])){
$instr=$_POST['instr'];
$instr2=$_POST['instr2'];
$log = file("../clubs.dat");
$text = implode("",$log);
$text = str_replace($instr,$instr2,$text);
$f = fopen("../clubs.dat", "w+");
fwrite($f, "$text");
fflush($f);
fclose($f);
echo"Замена прошла успешно!<br>";
echo '<a href="http://vip-wap.net/manager1/adminka">В админку</a><br>';
}else{
echo "<form action="1.php?go=res" method="post"><div>n";
echo "Кого увольняем:<br/>n";
echo "<input name="instr"/><br/>n";
echo "Кого нанимаем::<br/>n";
echo "<input name="instr2"/><br/>n";
echo "<input type="submit" value="Отправить"/></div></form>n";
echo '<a href="/manager1/adminka"> <- В админку</a><br>';
}
}
else{ echo 'СОСАТЬ ХУЙ ТВОЕ ПРИЗВАНИЕ МУДАК!!!! xD<br>'; }
include_once"../../themes/$config_themes/foot.php";
?>