load_account($DN); if (sizeof($result) > 0) { echo $_SESSION['header']; echo "\n"; echo "\n"; echo "\n"; for ($i=0; $i\n"; echo "\n"; die(); } } // new account else if (count($_POST)==0) { $type = str_replace("\\'", '', $_GET['type']); if ($_GET['type'] == $type) $type = str_replace("'", '',$_GET['type']); $_SESSION['account'] = new accountContainer($type, 'account'); $_SESSION['account']->new_account(); } // remove double slashes if magic quotes are on if (get_magic_quotes_gpc() == 1) { $postKeys = array_keys($_POST); for ($i = 0; $i < sizeof($postKeys); $i++) { if (is_string($_POST[$postKeys[$i]])) $_POST[$postKeys[$i]] = stripslashes($_POST[$postKeys[$i]]); } } // show account page $_SESSION['account']->continue_main(); ?>