//AVIABLE? ?> //AVIABLE? ?> include("config.php"); ?> // Hablog Situations $a = chr(60); $b = chr(62); // Site Ban? $mysession = getenv( REMOTE_ADDR ); $host = "site_bans/$mysession.txt"; if (file_exists($host)) { $read = file_get_contents("siteban.php"); echo "$read"; exit; } else { } // Site Ban? // Logged in? $mysession = getenv( REMOTE_ADDR ); $user = "$database/logged/lang/$mysession.txt"; if (file_exists($user)) { } else { //Create Files (/language.txt) { $mysession = getenv( REMOTE_ADDR ); $filename = "$database/logged/lang/$mysession.txt"; } // hard code the variable from flash $langget = "EN"; $somecontents = "$langget"; // If the file doesn't exist, attempt to create it // and open it for writing // anything already writen will be replaced if (!$handle = fopen($filename, 'w')) { exit; } // Write $somecontents to the opened file. if (fwrite($handle, $somecontents) === FALSE) { exit; } // close the file fclose($handle); //Create Files (/language.txt) } // Logged in? // Maintenance? if ($maintenance == "1") { include("maintenance.php"); exit; } else { } // Maintenance? // Hablog Situations ?> // HABLOG WEB 2.0 $mysession = getenv( REMOTE_ADDR ); $langfile = file_get_contents("$database/logged/lang/$mysession.txt"); include("locales/$langfile.php"); // HABLOG WEB 2.0 ?>