ob_start(); session_start(); $_SESSION['userid_profile']=$_REQUEST['user_id']; $_SESSION['type']=$_REQUEST['type']; $_SESSION['profolio_name']=$_REQUEST['name']; include("includes/dbconfig.php"); $qGetalerts = "SELECT profile_alerts FROM pro_users where user_id='".$_SESSION['userid_profile']."' "; $resalerts = getSqlQuery($qGetalerts); $count_alerts=mysql_num_rows($resalerts); $count_alerts=$count_alerts+1; $update_alerts=mysql_query("Update pro_users set profile_alerts='$count_alerts' where user_id='".$_SESSION['userid_profile']."' "); //echo $count_alerts;exit; $qGetsamples = "SELECT * FROM pro_users where user_id='".$_SESSION['userid_profile']."' and (image_personal1!=0 or image_personal2!=0 or image_personal3!=0 or image_personal4!=0 or image_personal5!=0)"; $ressamples = getSqlQuery($qGetsamples); //echo $resrec;exit; $total_samples=getSqlNumber($qGetsamples); //echo $total_samples;exit; /* if($total_samples==0) { header("location:professional_details.php?user_id=$_SESSION[userid_profile]&page=results_search"); } */ $count=0; //echo $_SERVER['REQUEST_URI'];exit; $url="http://".''. $_SERVER['HTTP_HOST'] .''. $_SERVER['REQUEST_URI']; $_SESSION['link']=$url; //echo $_SESSION['loungeotherParams']; ?>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|