window.location='install/install.php';"; exit; } $Object= new admin_info_class; // creating object of class $bool=$Object->check_bannedip($ip); if($bool=='1') { header("Location: bannedip.php"); exit; } $pageid=$Object->get_defaultpage(); header("Location: site.php?q=$pageid&tcID=$pageid");?>