View file head.php

File size: 1.58Kb
<?php include('session.php'); include('configure.php'); $js = @file_get_contents('js.txt'); $filter=array('<','>','document.write','php','script','html','<head>');

include ('money_system.php'); if(isset($_GET["cleardata"])){
echo '';
$on=fopen("online_list.txt","w+"); fwrite($on,''); fclose($on);
$f=fopen("rooms/room1.data","w+"); fwrite($f,""); fclose($f); $e=fopen("rooms/room2.data","w+"); fwrite($e,""); fclose($e);
$v=fopen

("rooms/room3.data","w+"); fwrite($v,""); fclose($v); $x=fopen("rooms/room4.data","w+"); fwrite($x,""); fclose($x); $z=fopen

("rooms/room5.data","w+"); fwrite($z,""); fclose($z); }
if(isset($_GET["user"])) { include("user_settings/".$_GET["user"].".php");
}
if

($js=="no"){ $old = file_get_contents("popup.php"); $relnew = str_replace($_SESSION["userName"],'*',$old); $x8x = fopen

("popup.php","w+"); fwrite($x8x,$relnew); fclose($x8x); }
if($js=="No"){ $old = file_get_contents("popup.php"); $relnew = str_replace

($_SESSION["userName"],'*',$old); $x8x = fopen("popup.php","w+"); fwrite($x8x,$relnew); fclose($x8x); }
echo '<html><head>';
if(isset

($_GET["user"])) { include("user_settings/".$_GET["user"].".php"); } else {
if(isset($_COOKIE["customstyle"])) {$cs =

file_get_contents("style/".$_COOKIE["customstyle"].".css"); echo "<style type=\"text/css\">$cs</style>"; } else { echo "<link

rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\"/>"; } }
echo '<head><title>'.$title.'</title><meta http-equiv="cache-

control" content="no-cache"/><body>';
$js = @file_get_contents('js.txt'); if($js=="no") { } else { include "popup.php"; } ?>