$runroot = 0; error_reporting(E_ALL ^ E_NOTICE); ignore_user_abort(0); require("settings.php"); import_request_variables("cgp"); if ($mysqlserver) { $link = mysql_connect($mysqlserver, $mysqllogin, $mysqlpassword); mysql_select_db($mysqldb); } $uri = str_replace($_SERVER["SCRIPT_NAME"], "", $_SERVER["REQUEST_URI"]); $base = $_SERVER["SCRIPT_NAME"]; if ($runroot) $base = ""; $addlink = "Add Your Site"; $searchbox = '
'; function getindex($cat) { global $pagenames, $pext; if ($pagenames == "1") { return str_replace(" ", "_", $cat); } elseif ($pagenames == "2") { return "index"; } } function maill($d,$s,$b,$f) { global $esi; mail($d, $s, "$b\n\n\n----\n$esi", $f); } function message($fir,$las) { echo "$fir