ob_start(); session_start(); include("includes/dbconfig.php"); ?> if($_REQUEST['user_id']=='') { $userid=$_SESSION['user_id']; } else { $userid=$_REQUEST['user_id']; } $sql="select * from pro_users where user_id='".$userid."'"; $exec_sql=mysql_query($sql); $results=mysql_fetch_array($exec_sql); $name=$results['fname'].' '.$results['lname']; $sql_image=mysql_query("select * from pro_users_samples where user_id='".$userid."'"); $imagename=mysql_fetch_array($sql_image); $link='http://rajesh/profolios/viewsamples.php?user_id='.$results[user_id].'&type='.$_POST[profession].'&name='.$results[fname].' '.$results[lname].''; $Urllink = "loungesearch.php?profile_id=$results[user_id]&request=addbiz&link=".urlencode($link).""; //echo $_SESSION['loungeotherParams'];exit; $sql_image_personal1=mysql_query("select * from pro_users where user_id='".$userid."' and (image_personal1<>'' or image_personal2<>'' or image_personal3<>'' or image_personal4<>'' or image_personal5<>'')"); $imagename_personal1=mysql_fetch_array($sql_image_personal1); $cnt=mysql_num_rows($sql_image_personal1); if($imagename_personal1['default_personalimage']=='1') { $pers_image=$imagename_personal1['image_personal1']; } if($imagename_personal1['default_personalimage']=='2') { $pers_image=$imagename_personal1['image_personal2']; } if($imagename_personal1['default_personalimage']=='3') { $pers_image=$imagename_personal1['image_personal3']; } if($imagename_personal1['default_personalimage']=='4') { $pers_image=$imagename_personal1['image_personal4']; } if($imagename_personal1['default_personalimage']=='5') { $pers_image=$imagename_personal1['image_personal5']; } //echo $pers_image;exit; ?>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|