SCRIPT_START_TIME: ".SCRIPT_START_TIME); // magic_quotes_gpc needs to be "on" if(!get_magic_quotes_gpc()) { $_GET = ms_addslashes($_GET); $_POST = ms_addslashes($_POST); $_COOKIE = ms_addslashes($_COOKIE); } else { $_GET = ms_trim($_GET); $_POST = ms_trim($_POST); $_COOKIE = ms_trim($_COOKIE); } import_request_variables('gp'); // magic_quotes_runtime needs to be "off" if(get_magic_quotes_runtime()) { set_magic_quotes_runtime(0); } // load plugins if ($handle = opendir(SITE_FS_PATH.'/'.PLUGINS_DIR)) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $curr_dir = SITE_FS_PATH.'/'.PLUGINS_DIR.'/'.$file; if(is_dir($curr_dir)) { if(file_exists($curr_dir.'/midas_plugin.php')) { require_once($curr_dir.'/midas_plugin.php'); } } } } closedir($handle); } // Protect admin pages $PHP_SELF = $_SERVER['PHP_SELF']; $admin_pos = strpos($PHP_SELF, '/admin/'); if($admin_pos !== false) { // Remove following comment to enable admin login check //protect_admin_page(); } // Set variable $NO_CON to anything if DB connection is not needed in file if(!isset($NO_CON)) { connect_db(); // Opening DB connection } ?> Riveroil
 
Sign Up Form
Field marked with * are compulsory
*Username:
*Password:
*Full Name:
*Email:
*Address:
*City:
*State:
*Zip:
*Country:
*Phone