include_once "configuration.php"; include_once "logincheck.php"; include_once "right_panel_profile.php"; if(isset($_REQUEST["pid"]) && ($_REQUEST["pid"]<>"")) { $pid=$_REQUEST["pid"]; checkProfileExists($pid); } else { header("Location: index.php"); die(); } function main() { $conn = db(); global $pid, $config; $info=$GLOBALS["info"]->userInfo($pid); foreach($info as $key=>$val) { $info[$key]=stripslashes($val); } $showAge=$GLOBALS["info"]->showAge($pid); if(count($info)==0) { header("location: index.php"); die(); } ?>
|