GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/myaccount.php

<?
  session_start();
   if(!($_SESSION['islogin']))
  {
	  ?>
      <script language="javascript">
	  location.href="index.php";
	  </script>
  <? }
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 ?>
<? include "includes/header_top.php";?>
<?
	if($_POST)
	 {
		if($_POST['tweet']=="")
		 {
			 ?>
				<script language="javascript">
					alert('Enter you Tweete.');		 
				    location.href="myaccount.php";
								
				</script>   
			<?
			 
		 }
		 else
		 {
			 $tweetdt=addslashes($_POST['tweet']);
			 $sql_tweet="INSERT INTO tweet(id,postid,userid,tweetcontain,city,gender)Values('','".$_POST['pid']."','".$_POST['uid']."','$tweetdt','".$_POST['estcity']."','".$_POST['gen']."')";
			 execute_query($sql_tweet);
			 ?>
				<script language="javascript">
						 
				    location.href="myaccount.php?msg=1";
								
				</script>   
			<?
		 }
		 
	 }

?>
<body>

<script type="text/javascript">
function selectCity(country_id){
	if(country_id!="-1"){
		loadData('state',country_id);
		$("#city_dropdown").html("<option value='-1'>Select city</option>");	
	}else{
		$("#state_dropdown").html("<option value='-1'>Select state</option>");
		$("#city_dropdown").html("<option value='-1'>Select city</option>");		
	}
}

function selectState(state_id){
	if(state_id!="-1"){
		loadData('city',state_id);
	}else{
		$("#city_dropdown").html("<option value='-1'>Select city</option>");		
	}
}

function loadData(loadType,loadId){
	var dataString = 'loadType='+ loadType +'&loadId='+ loadId;
	$("#"+loadType+"_loader").show();
    $("#"+loadType+"_loader").fadeIn(400).html('Please wait...');
	$.ajax({
		type: "POST",
		url: "loadData.php",
		data: dataString,
		cache: false,
		success: function(result){
			$("#"+loadType+"_loader").hide();
			$("#"+loadType+"_dropdown").html("<option value='-1'>Select "+loadType+"</option>");  
			$("#"+loadType+"_dropdown").append(result);  
		}
	});
}
</script>
<script language="javascript">

function showCity(str)

{

if (str=="")

  {

  document.getElementById("visitor_city").innerHTML="";

  return;

  }

if (window.XMLHttpRequest)

  {// code for IE7+, Firefox, Chrome, Opera, Safari

  xmlhttp=new XMLHttpRequest();

  }

else

  {// code for IE6, IE5

  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");

  }

xmlhttp.onreadystatechange=function()

  {

  if (xmlhttp.readyState==4 && xmlhttp.status==200)

    {

    document.getElementById("visitor_city").innerHTML=xmlhttp.responseText;

    }

  }

xmlhttp.open("GET","getucity.php?c="+str,true);

xmlhttp.send();

}

</script>
<link rel="stylesheet"  href="css/elements.css" />
<script src="js/my_js.js"></script>	
 <?
	$sql_gen="select * from escort_details where user_id='".$_SESSION['userid']."'";
	$res_gen=execute_query($sql_gen);	
	$row_gen=mysql_fetch_array($res_gen);
	if($row_gen['gender']=='Male')
	{
		include "includes/boys-header.php";
 		
        
        } else
        {
        	include "includes/header.php";
        }
	  ?>  
	    
    <div class="main_bg">
   
 		<div style="height:32px;"></div>
        <div  style="width:1000px; margin:0 auto;">
        	
            <div class="statedetails">
                	<div class="stdtls_header">
                    	<span style="color:#000;">Home/My Account
                    </div>
                    <div class="stdtls_midder">
                    	<div style="height:10px;"></div>
                        	<?
							 $sql_postad="select * from escort_details where user_id='".$_SESSION['userid']."' AND status='a'";
							 $res_postad=execute_query($sql_postad);
							 $num_postad=mysql_num_rows($res_postad);
							 $row_postad=mysql_fetch_array($res_postad);
							?>
                    	<div class="left_containmain"> 
                        	<div style=" width:980px; margin:0 auto; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                          	<table border="0" cellpadding="0" cellspacing="0">
                            	<tr>
                               <?
									$sql_pstad="select * from escort_details where user_id='".$_SESSION['userid']."' ";
									 $res_pstad=execute_query($sql_pstad);
									 $num_pstad=mysql_num_rows($res_pstad);
									 $row_pstad=mysql_fetch_array($res_pstad);
									
									
									 if($num_pstad>0)
										{
											if($row_pstad['status']=='a')
											{
								
												?>
                                			<td class="updatehdrstyle23"><a href="myaccount.php"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</a></td>
                                            <? }
											
											else
											{?>
                                            	<td class="updatehdrstyle23"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</td>
												
											<? }
                                            
                                            
                                            
                                     } else
									
									{ ?>
                                    <td class="updatehdrstyle23"><a href="userpostad.php"><img src="images/add_escort.png" style="vertical-align:middle;" /><br/>Post ad</a></td>
                                    
                                    <? } ?>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="escortimages.php"><img src="images/my_photo.png" style="width:52px; height:52px; vertical-align:middle" /><br/>My Photos</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="add-myvideos.php"><img src="images/my_videos.png" style="width:55px; height:55px; vertical-align:middle" /><br/>My Videos</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="verifyimage.php"><img src="images/verifyimage.png" style="width:55px; height:55px; vertical-align:middle" /><br/> 100% verify</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="add-mytours.php?pid=<?=$row_postad['id']?>"><img src="images/my_tour.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Tours</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><img src="images/my_reviews.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Reviews</td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="blacklist.php"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Black List</a></td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <?
									if( $num_postad>0)
									 {
										 if($row_postad['ft_ad_status']=='Yes')
										  {
											  	$todaydate=date('Y-m-d');
												$exp=$row_postad['ft_ad_expair'];
												if($todaydate>$exp)
												   {?>
                                                 	<td class="updatehdrstyle23"><a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</a></td>
                                                 <? }
											    else
												 { ?>
													 <td class="updatehdrstyle23"><img src="images/premium.png" onclick ="div_show()" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td>  
												<? }
												
												
										 
                                        }
									   
									    else
									    	{?>                                   
                                    
                                    		<td class="updatehdrstyle23"><a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</a></td>
                                        <? } ?>
                                        
                                    <? } 
									else
									{?>
                                    
                                  	<td class="updatehdrstyle23"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td>  
                                  <? } ?>
                                    
                                
                                </tr>
                                <tr height="8"></tr>
                                <tr>
                                	<td class="updatehdrstyle23"><a href="escort-harrasment.php"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Report Harrasers</a></td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="contact_us.php"><img src="images/support.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Support</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="password-setting.php"><img src="images/settings.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Settings</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                     <td class="updatehdrstyle23"><a href="view-own-ad.php?name=<?=$row_postad['nickname']?>&phone=<?=$row_postad['tel_national']?>"><img src="images/viewad.png" style="width:55px; height:55px; vertical-align:middle" /><br/>View Ad</a></td>
                                      <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                     <td class="updatehdrstyle23"><a href="remove-account.php"><img src="images/removeacc.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Remove Account/AD</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="logout.php"><img src="images/logout.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Logout</a></td>
                                
                                </tr>
                            	
                            </table>
            						
						
                        	</div>
                           <br/>
                           <div class="tweeter">
                           		<div style="width:750px; margin:0 auto; margin-top:10px; height:80px;">
                                <form action=<?=$_SERVER['PHP_SELF']?> method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();">
                             <input name="submit_form" value="1" type="hidden">
                                <table border="0" cellpadding="0" cellspacing="0">
                                	<tr height="20">
                                    	<? if($_GET['msg']==1){ ?>
                                            <p class="passwordmsg">Your Flirt has been posted successfully.</p>
                                        <? } ?>
                                    </tr>
                                    <tr>
                                    	<td class="tweettext">Send Flirt:</td>
                                        <td><input type="text" name="tweet" class="main_input" maxlength="100" onBlur="if(this.value==''){this.value='Flirt'}" onClick="if(this.value=='Flirt'){this.value=''}" value="Flirt" style="width:520px !important;" /></td>
                                        <td width="20"></td>
                                        <td>
                                        <input type="image" src="images/submit.png" />
                                        <input type="hidden" name="pid" value="<?=$row_postad['id']?>" />
                                        <input type="hidden" name="uid" value="<?=$row_postad['user_id']?>" />
                                        <input type="hidden" name="estcity" value="<?=$row_postad['escort_city']?>" />
                                        <input type="hidden" name="gen" value="<?=$row_postad['gender']?>" />
                                        </td>
                                    </tr>
                                </table>
                                </form>
                                
                                </div>
                                <div id="abc">
                                     <div id="popupContact"> 
                                        
                                        <div class="contactin" >    	
                                        <!--<form action="sendmail-process.php" method="post" id="form11" name="f1" onSubmit="return validate();" >-->                      		                                             
                                        <div class="deliveredmsg" id="avt25">
                                            <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">
                                                <tr>
                                                    <td class="wanttext"> 
                                                   <? $todaydate=date('Y-m-d');
												      $exp=$row_postad['ft_ad_expair'];
													  $diff=(strtotime($exp) - strtotime($todaydate)) / (60 * 60 * 24);
													 $diffday=explode('.',$diff)
													  
													?>                         
                                                         <span class="messagetext">You have a current featured ad in progress and it can be renewed in <?=$diffday[0]?> amount of days. </span>
                                                    </td>
                                                </tr>
                                                <tr height="10"></tr>
                                                <tr>
                                                    <td>
                                                        <div style="height:35px;">
                                                        
                                                        </div>
                                                    
                                                    </td>
                                                
                                                </tr>
                                                <tr height="10"></tr>
                                                <tr>
                                                    <td align="center">
                                                        <a href="myaccount.php"><img src="images/close.png" /></a>
                                                    </td>
                                                
                                                </tr>
                                                <tr height="20">
                                                    <td></td>
                                                </tr>
                                            </table>
                                        
                                        
                                        </div>
                                        
                                              
                                    
                                      
                                      </div>
                                                                    
                                    
                                   </div>
                              </div>
                           </div>
                           
                           <div style=" width:960px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                          		<form action="myaccountprocess.php" method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();">
                                 <input name="submit_form" value="1" type="hidden">
                               	<div class="postadpagebody">
                                	<h1>My Profile</h1>
                                    <div class="srv_infodtlssss">
                                    	 <table border="0" cellspacing="0" cellspacing="0" style="margin:o auto; width:100%;">
                                    		<tr height="5"></tr>
                                                <tr>
                                                	<td colspan="2">Main<br/><img src="images/post_ad_divider.png" /></td>
                                                </tr>
                                                <tr height="10"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;* Nickname :</td>
                                    				<td><input name="nickname" id="nickname" class="main_input" value="<?=$row_postad['nickname']?>"   type="text"></td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; Slogan :</td>
                                    				<td><input name="slogan" id="username" class="main_input" value="<?=$row_postad['slogan']?>"   type="text"></td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;* Gender :</td>
                                    				<td><select name="gender" class="drp_img2">
                                                    	<option value="">Select</option>
                                                        <option value="Female" <? if($row_postad['gender']=='Female'){?> selected="selected"<? } ?>>FeMale</option>
                                                        <option value="Male" <? if($row_postad['gender']=='Male'){?> selected="selected"<? } ?>>Male</option>
                                                        <option value="Trans" <? if($row_postad['gender']=='Trans'){?> selected="selected"<? } ?>>Trans</option>
                                                    </select>		
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; Orientation :</td>
                                    				<td>
                                                    <select  id="orientation" class="drp_img2" name="orientation">
                                                        <option value="">- Select -</option>
                                                          <option value="Asexual" <? if($row_postad['orientation']=='Asexual'){ ?> selected="selected"<? }  ?>>Asexual</option>
                                                          <option value="Bisexual" <? if($row_postad['orientation']=='Bisexual'){ ?> selected="selected"<? } ?>>Bisexual</option>
                                                           <option value="Heterosexual" <? if($row_postad['orientation']=='Heterosexual'){ ?> selected="selected"<? } ?>>Heterosexual</option>
                                                            <option value="Homosexual" <? if($row_postad['orientation']=='Homosexual'){ ?> selected="selected"<? } ?>>Homosexual</option>
                                                      </select>   		
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                 <tr>
                                                	<td class="jointext222">&nbsp;*Age :</td>                                            
                                            		<td><input name="ageDtls" id="age" class="main_input"   type="text" value="<?=$row_postad['age'];?>">
                                           			 </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; Ethnicity :</td>
                                    				<td>
                                                    <select  id="ethnicity" class="drp_img2" name="ethnicity">
                                                        <option value="">- Select -</option>
                                                		<option value="Asian" <? if($row_postad['ethencity']=='Asian'){ ?> selected="selected"<? }  ?>>Asian</option>
                                               			 <option value="Black" <? if($row_postad['ethencity']=='Black'){ ?> selected="selected"<? }  ?>>Black</option>
                                               			 <option value="Caucasian" <? if($row_postad['ethencity']=='Caucasian'){ ?> selected="selected"<? } ?>>Caucasian</option>
                                                		<option value="European" <? if($row_postad['ethencity']=='European'){ ?> selected="selected"<? }  ?>>European</option>
                                                		<option value="Hispanic" <? if($row_postad['ethencity']=='Hispanic'){ ?> selected="selected"<? } ?>>Hispanic</option>
                                                		<option value="Indian" <? if($row_postad['ethencity']=='Indian'){ ?> selected="selected"<? } ?>>Indian</option>
                                               			 <option value="Middle Eastern" <? if($row_postad['ethencity']=='Middle Eastern'){ ?> selected="selected"<? } ?>>Middle Eastern</option>
                                                			<option value="Mixed Race" <? if($row_postad['ethencity']=='Mixed Race'){ ?> selected="selected"<? } ?>>Mixed Race</option>
                                               		 		<option value="Native American" <? if($row_postad['ethencity']=='Native American'){ ?> selected="selected"<? }  ?>>Native American</option>
                                               			 <option value="Other" <? if($row_postad['ethencity']=='Other'){ ?> selected="selected"<? } ?>>Other</option>
                                                      </select>   		
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; Nationality :</td>
                                    				<td>
                                                    <select  id="nationality" class="drp_img2" name="nationality">
                                                        <option value="">Select</option>
                                                        <option value="Albanian" <? if($row_postad['nationality']=='Albanian'){ ?> selected="selected"<? } ?>>Albanian</option>
                                                        <option value="American" <? if($row_postad['nationality']=='American'){ ?> selected="selected"<? } ?>>American</option>
                                                        <option value="Argentinian" <? if($row_postad['nationality']=='Argentinian'){ ?> selected="selected"<? } ?>>Argentinian</option>
                                                        <option value="Australian" <? if($row_postad['nationality']=='Australian'){ ?> selected="selected"<? } ?>>Australian</option>
                                                        <option value="Austrian" <? if($row_postad['nationality']=='Austrian'){ ?> selected="selected"<? } ?>>Austrian</option>
                                                        <option value="Belarussian" <? if($row_postad['nationality']=='Belarussian'){ ?> selected="selected"<? } ?>>Belarussian</option>
                                                        <option value="Belgian" <? if($row_postad['nationality']=='Belgian'){ ?> selected="selected"<? } ?>>Belgian</option>
                                                        <option value="British" <? if($row_postad['nationality']=='British'){ ?> selected="selected"<? } ?>>British</option>
                                                        <option value="Brazilian" <? if($row_postad['nationality']=='Brazilian'){ ?> selected="selected"<? } ?>>Brazilian</option>
                                                        <option value="Bulgarian" <? if($row_postad['nationality']=='Bulgarian'){ ?> selected="selected"<? } ?>>Bulgarian</option>
                                                        <option value="Canadian" <? if($row_postad['nationality']=='Canadian'){ ?> selected="selected"<? } ?>>Canadian</option>
                                                        <option value="Chinese" <? if($row_postad['nationality']=='Chinese'){ ?> selected="selected"<? } ?>>Chinese</option>
                                                        <option value="Colombian" <? if($row_postad['nationality']=='Colombian'){ ?> selected="selected"<? } ?>>Colombian</option>
                                                        <option value="Croatian" <? if($row_postad['nationality']=='Croatian'){ ?> selected="selected"<? } ?>>Croatian</option>
                                                        <option value="Cuban" <? if($row_postad['nationality']=='Cuban'){ ?> selected="selected"<? } ?>>Cuban</option>
                                                        <option value="Czech" <? if($row_postad['nationality']=='Czech'){ ?> selected="selected"<? } ?>>Czech</option>
                                                        <option value="Danish" <? if($row_postad['nationality']=='Danish'){ ?> selected="selected"<? } ?>>Danish</option>
                                                        <option value="Dutch" <? if($row_postad['nationality']=='Dutch'){ ?> selected="selected"<? } ?>>Dutch</option>
                                                        <option value="English" <? if($row_postad['nationality']=='English'){ ?> selected="selected"<? } ?>>English</option>
                                                        <option value="Estonian" <? if($row_postad['nationality']=='Estonian'){ ?> selected="selected"<? } ?>>Estonian</option>
                                                        <option value="Filipino" <? if($row_postad['nationality']=='Filipino'){ ?> selected="selected"<? } ?>>Filipino</option>
                                                        <option value="Finnish" <? if($row_postad['nationality']=='Finnish'){ ?> selected="selected"<? } ?>>Finnish</option>
                                                        <option value="French" <? if($row_postad['nationality']=='French'){ ?> selected="selected"<? } ?>>French</option>
                                                        <option value="German" <? if($row_postad['nationality']=='German'){ ?> selected="selected"<? } ?>>German</option>
                                                        <option value="Greek" <? if($row_postad['nationality']=='Greek'){ ?> selected="selected"<? } ?>>Greek</option>
                                                        <option value="Hungarian" <? if($row_postad['nationality']=='Hungarian'){ ?> selected="selected"<? } ?>>Hungarian</option>
                                                        <option value="Indian" <? if($row_postad['nationality']=='Indian'){ ?> selected="selected"<? } ?>>Indian</option>
                                                        <option value="Irish" <? if($row_postad['nationality']=='Irish'){ ?> selected="selected"<? } ?>>Irish</option>
                                                        <option value="Israeli" <? if($row_postad['nationality']=='Israeli'){ ?> selected="selected"<? } ?>>Israeli</option>
                                                        <option value="Italian" <? if($row_postad['nationality']=='Italian'){ ?> selected="selected"<? } ?>>Italian</option>
                                                        <option value="Jamaican" <? if($row_postad['nationality']=='Jamaican'){ ?> selected="selected"<? } ?>>Jamaican</option>
                                                        <option value="Japanese" <? if($row_postad['nationality']=='Japanese'){ ?> selected="selected"<? } ?>>Japanese</option>
                                                        <option value="Korean" <? if($row_postad['nationality']=='Korean'){ ?> selected="selected"<? } ?>>Korean</option>
                                                        <option value="Latvian" <? if($row_postad['nationality']=='Latvian'){ ?> selected="selected"<? } ?>>Latvian</option>
                                                        <option value="Lithuanian" <? if($row_postad['nationality']=='Lithuanian'){ ?> selected="selected"<? } ?>>Lithuanian</option>
                                                        <option value="Malaysian" <? if($row_postad['nationality']=='Malaysian'){ ?> selected="selected"<? } ?>>Malaysian</option>
                                                        <option value="Mexican" <? if($row_postad['nationality']=='Mexican'){ ?> selected="selected"<? } ?>>Mexican</option>
                                                        <option value="Moldovian" <? if($row_postad['nationality']=='Moldovian'){ ?> selected="selected"<? } ?>>Moldovian</option>
                                                        <option value="Montenegrian" <? if($row_postad['nationality']=='Montenegrian'){ ?> selected="selected"<? } ?>>Montenegrian</option>
                                                        <option value="Norwegian" <? if($row_postad['nationality']=='Norwegian'){ ?> selected="selected"<? } ?>>Norwegian</option>
                                                        <option value="Polish" <? if($row_postad['nationality']=='Polish'){ ?> selected="selected"<? } ?>>Polish</option>
                                                        <option value="Portuguese" <? if($row_postad['nationality']=='Portuguese'){ ?> selected="selected"<? } ?>>Portuguese</option>
                                                        <option value="Puerto Rican" <? if($row_postad['nationality']=='Puerto Rican'){ ?> selected="selected"<? } ?>>Puerto Rican</option>
                                                        <option value="Romanian" <? if($row_postad['nationality']=='Romanian'){ ?> selected="selected"<? } ?>>Romanian</option>
                                                        <option value="Russian" <? if($row_postad['nationality']=='Russian'){ ?> selected="selected"<? } ?>>Russian</option>
                                                        <option value="Serbian" <? if($row_postad['nationality']=='Serbian'){ ?> selected="selected"<? } ?>>Serbian</option>
                                                        <option value="Singaporean" <? if($row_postad['nationality']=='Singaporean'){ ?> selected="selected"<? } ?>>Singaporean</option>
                                                        <option value="Slovak" <? if($row_postad['nationality']=='Slovak'){ ?> selected="selected"<? } ?>>Slovak</option>
                                                        <option value="Slovenian" <? if($row_postad['nationality']=='Slovenian'){ ?> selected="selected"<? } ?>>Slovenian</option>
                                                        <option value="Spanish" <? if($row_postad['nationality']=='Spanish'){ ?> selected="selected"<? } ?>>Spanish</option>
                                                        <option value="Swedish" <? if($row_postad['nationality']=='Swedish'){ ?> selected="selected"<? } ?>>Swedish</option>
                                                        <option value="Swiss" <? if($row_postad['nationality']=='Swiss'){ ?> selected="selected"<? } ?>>Swiss</option>
                                                        <option value="Thai" <? if($row_postad['nationality']=='Thai'){ ?> selected="selected"<? } ?>>Thai</option>
                                                        <option value="Turkish" <? if($row_postad['nationality']=='Turkish'){ ?> selected="selected"<? } ?>>Turkish</option>
                                                        <option value="Ukrainian" <? if($row_postad['nationality']=='Ukrainian'){ ?> selected="selected"<? } ?>>Ukrainian</option>
                                                        <option value="Venezuelan" <? if($row_postad['nationality']=='Venezuelan'){ ?> selected="selected"<? } ?>>Venezuelan</option>
                                                        <option value="Vietnamese" <? if($row_postad['nationality']=='Vietnamese'){ ?> selected="selected"<? } ?>>Vietnamese</option>
                                                      </select>   		
                                                    </td>
                                                </tr>
                                                <tr height="10"></tr>
                                                <tr>
                                                	<td colspan="2">BIO<br/><img src="images/post_ad_divider.png" /></td>
                                                </tr>
                                                <tr height="10"></tr>
                                                 <tr>
                                                	<td class="jointext222">&nbsp; Hair :</td>
                                    				<td>
                                                    <select  id="hair_color" class="drp_img2" name="hair_color">
                                                    	<option value="">Select</option>
                                                        <option value="Blond" <? if($row_postad['hair_color']=='Blond'){ ?> selected="selected"<? } ?>>Blond</option>
                                                        <option value="Brown" <? if($row_postad['hair_color']=='Brown'){ ?> selected="selected"<? } ?>>Brown</option>
                                                        <option value="Black" <? if($row_postad['hair_color']=='Black'){ ?> selected="selected"<? } ?>>Black</option>
                                                        <option value="Red" <? if($row_postad['hair_color']=='Red'){ ?> selected="selected"<? } ?>>Red</option>
                                                        <option value="Other" <? if($row_postad['hair_color']=='Other'){ ?> selected="selected"<? } ?>>Other</option>
                                                     </select>
                                                    
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Eyes :</td>
                                    				<td>
                                                    <select  id="eye_color" class="drp_img2" name="eye_color">
                                                    	<option value="">Select</option>
                                                        <option value="Blue" <? if($row_postad['eye_color']=='Blue'){ ?> selected="selected"<? } ?>>Blue</option>
                                                        <option value="Green" <? if($row_postad['eye_color']=='Green'){ ?> selected="selected"<? } ?>>Green</option>
                                                        <option value="Brown" <? if($row_postad['eye_color']=='Brown'){ ?> selected="selected"<? } ?>>Brown</option>
                                                        <option value="Grey" <? if($row_postad['eye_color']=='Grey'){ ?> selected="selected"<? } ?>>Grey</option>
                                                        <option value="Hazel" <? if($row_postad['eye_color']=='Hazel'){ ?> selected="selected"<? } ?>>Hazel</option>
                                                     </select>
                                                     </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; Height :</td>
                                    				<td>
                                                    	<select  id="height" class="drp_img2" name="height">
               									<option value="">- Select -</option>
												<option value="122 cm"<? if($row_postad['height']=="122 cm"){?> selected<? }?>>4'0" (122 cm)</option>
				                    			<option value="125 cm"<? if($row_postad['height']=="125 cm"){?> selected<? }?>>4'1" (125 cm)</option>
				                 				<option value="127 cm"<? if($row_postad['height']=="127 cm"){?> selected<? }?>>4'2" (127 cm)</option>
				                  				<option value="130 cm"<? if($row_postad['height']=="130 cm"){?> selected<? }?>>4'3" (130 cm)</option>
				                  				<option value="133 cm"<? if($row_postad['height']=="133 cm"){?> selected<? }?>>4'4" (133 cm)</option>
				                    			<option value="135 cm"<? if($row_postad['height']=="135 cm"){?> selected<? }?>>4'5" (135 cm)</option>
				                    			<option value="138 cm"<? if($row_postad['height']=="138 cm"){?> selected<? }?>>4'6" (138 cm)</option>
				                    			<option value="140 cm"<? if($row_postad['height']=="140 cm"){?> selected<? }?>>4'7" (140 cm)</option>
				                   				<option value="143 cm"<? if($row_postad['height']=="143 cm"){?> selected<? }?>>4'8" (143 cm)</option>
				                  				<option value="145 cm"<? if($row_postad['height']=="145 cm"){?> selected<? }?>>4'9" (145 cm)</option>
				                   				<option value="148 cm"<? if($row_postad['height']=="148 cm"){?> selected<? }?>>4'10" (148 cm)</option>
				                  				<option value="150 cm"<? if($row_postad['height']=="150 cm"){?> selected<? }?>>4'11" (150 cm)</option>
				                  				<option value="153 cm"<? if($row_postad['height']=="153 cm"){?> selected<? }?>>5'0" (153 cm)</option>
				                   				<option value="155 cm"<? if($row_postad['height']=="155 cm"){?> selected<? }?>>5'1" (155 cm)</option>
				                   				<option value="158 cm"<? if($row_postad['height']=="158 cm"){?> selected<? }?>>5'2" (158 cm)</option>
				                   				<option value="161 cm"<? if($row_postad['height']=="161 cm"){?> selected<? }?>>5'3" (161 cm)</option>
				                    			<option value="163 cm"<? if($row_postad['height']=="163 cm"){?> selected<? }?>>5'4" (163 cm)</option>
				                    			<option value="166 cm"<? if($row_postad['height']=="166 cm"){?> selected<? }?>>5'5" (166 cm)</option>
				                    			<option value="168 cm"<? if($row_postad['height']=="168 cm"){?> selected<? }?>>5'6" (168 cm)</option>
				                  				<option value="171 cm"<? if($row_postad['height']=="171 cm"){?> selected<? }?>>5'7" (171 cm)</option>
				                    			<option value="173 cm"<? if($row_postad['height']=="173 cm"){?> selected<? }?>>5'8" (173 cm)</option>
				                  				<option value="176 cm"<? if($row_postad['height']=="176 cm"){?> selected<? }?>>5'9" (176 cm)</option>
				                   				<option value="178 cm"<? if($row_postad['height']=="178 cm"){?> selected<? }?>>5'10" (178 cm)</option>
				                    			<option value="181 cm"<? if($row_postad['height']=="181 cm"){?> selected<? }?>>5'11" (181 cm)</option>
				                  				<option value="183 cm"<? if($row_postad['height']=="183 cm"){?> selected<? }?>>6'0" (183 cm)</option>
				                   				<option value="186 cm"<? if($row_postad['height']=="186 cm"){?> selected<? }?>>6'1" (186 cm)</option>
				                    			<option value="188 cm"<? if($row_postad['height']=="188 cm"){?> selected<? }?>>6'2" (188 cm)</option>
				                    			<option value="191 cm"<? if($row_postad['height']=="191 cm"){?> selected<? }?>>6'3" (191 cm)</option>
				                    			<option value="194 cm"<? if($row_postad['height']=="194 cm"){?> selected<? }?>>6'4" (194 cm)</option>
				                   				<option value="196 cm"<? if($row_postad['height']=="196 cm"){?> selected<? }?>>6'5" (196 cm)</option>
				                    			<option value="199 cm"<? if($row_postad['height']=="199 cm"){?> selected<? }?>>6'6" (199 cm)</option>
				                  				<option value="201 cm"<? if($row_postad['height']=="201 cm"){?> selected<? }?>>6'7" (201 cm)</option>
				              					<option value="204 cm"<? if($row_postad['height']=="204 cm"){?> selected<? }?>>6'8" (204 cm)</option>
				                 				<option value="206 cm"<? if($row_postad['height']=="206 cm"){?> selected<? }?>>6'9" (206 cm)</option>
				                    			<option value="209 cm"<? if($row_postad['height']=="209 cm"){?> selected<? }?>>6'10" (209 cm)</option>
				                   				<option value="211 cm"<? if($row_postad['height']=="211 cm"){?> selected<? }?>>6'11" (211 cm)</option>
				                   				<option value="214 cm"<? if($row_postad['height']=="214 cm"){?> selected<? }?>>7'0" (214 cm)</option>
				                    </select> Height/CM
                                                    
                                                    
                                                    
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; Weight :</td>
                                    				<td><input name="weight" id="weight" class="main_input" value="<?=$row_postad['weight']?>" style="width:150px !important;"   type="text"  /> lb/Kg		
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; Tits :</td>
                                    				<td>
                                                    <select  id="tits" class="drp_img2" name="tits">
                                                        <option value="">Select</option>
                                                        <option value="A" <? if($row_postad['tits']=='A'){ ?> selected="selected"<? } ?>>A</option>
                                                        <option value="B" <? if($row_postad['tits']=='B'){ ?> selected="selected"<? } ?>>B</option>
                                                        <option value="C" <? if($row_postad['tits']=='C'){ ?> selected="selected"<? } ?>>C</option>
                                                        <option value="D" <? if($row_postad['tits']=='D'){ ?> selected="selected"<? } ?>>D</option>
                                                        <option value="DD" <? if($row_postad['tits']=='DD'){ ?> selected="selected"<? } ?>>DD</option>
                                                        <option value="F" <? if($row_postad['tits']=='F'){ ?> selected="selected"<? } ?>>F</option>
                                                        <option value="FF" <? if($row_postad['tits']=='FF'){ ?> selected="selected"<? } ?>>FF</option>
                                                        <option value="G" <? if($row_postad['tits']=='G'){ ?> selected="selected"<? } ?>>G</option>
                                                      </select>   		
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                 <tr>
                                                	<td class="jointext222">&nbsp;Pussy :</td>                                            
                                            		<td>
                                                    <select  id="tits" class="drp_img2" name="pussy">
                                                       <option value="">Select</option>
                                                        <option value="Shaved completely" <? if($row_postad['pussy']=='Shaved completely'){ ?> selected="selected"<? } ?>>Shaved completely</option>
                                                        <option value="Shaved mostly" <? if($row_postad['pussy']=='Shaved mostly'){ ?> selected="selected"<? } ?>>Shaved mostly</option>
                                                        <option value="Trimmed" <? if($row_postad['pussy']=='Trimmed'){ ?> selected="selected"<? } ?>>Trimmed</option>
                                                        <option value="All natural" <? if($row_postad['pussy']=='All natural'){ ?> selected="selected"<? } ?>>All natural</option>
                                                      </select>  
                                           			 </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Language :</td>
                                    				<td>
                                                    <select  id="Language" class="drp_img2" name="language">
                                                        <option value="">Select</option>
                                                        <option value="English" <? if($row_postad['language']=='English'){ ?> selected="selected"<? } ?>>English</option>
                                                        <option value="Afrikaans" <? if($row_postad['language']=='Afrikaans'){ ?> selected="selected"<? } ?>>Afrikaans</option>
                                                        <option value="Albanian" <? if($row_postad['language']=='Albanian'){ ?> selected="selected"<? } ?>>Albanian</option>
                                                        <option value="Amharic" <? if($row_postad['language']=='Amharic'){ ?> selected="selected"<? } ?>>Amharic</option>
                                                        <option value="Arabic" <? if($row_postad['language']=='Arabic'){ ?> selected="selected"<? } ?>>Arabic</option>
                                                        <option value="Armenian" <? if($row_postad['language']=='Armenian'){ ?> selected="selected"<? } ?>>Armenian</option>
                                                        <option value="Azerbaijani" <? if($row_postad['language']=='Azerbaijani'){ ?> selected="selected"<? } ?>>Azerbaijani</option>
                                                        <option value="Basque" <? if($row_postad['language']=='Basque'){ ?> selected="selected"<? } ?>>Basque</option>
                                                        <option value="Belarusian" <? if($row_postad['language']=='Belarusian'){ ?> selected="selected"<? } ?>>Belarusian</option>
                                                        <option value="Bengali" <? if($row_postad['language']=='Bengali'){ ?> selected="selected"<? } ?>>Bengali</option>
                                                        <option value="Bihari" <? if($row_postad['language']=='Bihari'){ ?> selected="selected"<? } ?>>Bihari</option>
                                                        <option value="Bosnian" <? if($row_postad['language']=='Bosnian'){ ?> selected="selected"<? } ?>>Bosnian</option>
                                                        <option value="Breton" <? if($row_postad['language']=='Breton'){ ?> selected="selected"<? } ?>>Breton</option>
                                                        <option value="Bulgarian" <? if($row_postad['language']=='Bulgarian'){ ?> selected="selected"<? } ?>>Bulgarian</option>
                                                        <option value="Catalan" <? if($row_postad['language']=='Catalan'){ ?> selected="selected"<? } ?>>Catalan</option>
                                                        <option value="Chinese" <? if($row_postad['language']=='Chinese'){ ?> selected="selected"<? } ?>>Chinese</option>
                                                        <option value="Croatian" <? if($row_postad['language']=='Croatian'){ ?> selected="selected"<? } ?>>Croatian</option>
                                                        <option value="Czech" <? if($row_postad['language']=='Czech'){ ?> selected="selected"<? } ?>>Czech</option>
                                                        <option value="Danish" <? if($row_postad['language']=='Danish'){ ?> selected="selected"<? } ?>>Danish</option>
                                                        <option value="Dutch" <? if($row_postad['language']=='Dutch'){ ?> selected="selected"<? } ?>>Dutch</option>
                                                        <option value="Esperanto" <? if($row_postad['language']=='Esperanto'){ ?> selected="selected"<? } ?>>Esperanto</option>
                                                        <option value="Estonian" <? if($row_postad['language']=='Estonian'){ ?> selected="selected"<? } ?>>Estonian</option>
                                                        <option value="Faroese" <? if($row_postad['language']=='Faroese'){ ?> selected="selected"<? } ?>>Faroese</option>
                                                        <option value="Filipino" <? if($row_postad['language']=='Filipino'){ ?> selected="selected"<? } ?>>Filipino</option>
                                                        <option value="Finnish" <? if($row_postad['language']=='Finnish'){ ?> selected="selected"<? } ?>>Finnish</option>
                                                        <option value="French" <? if($row_postad['language']=='French'){ ?> selected="selected"<? } ?>>French</option>
                                                        <option value="Frisian" <? if($row_postad['language']=='Frisian'){ ?> selected="selected"<? } ?>>Frisian</option>
                                                        <option value="Galician" <? if($row_postad['language']=='Galician'){ ?> selected="selected"<? } ?>>Galician</option>
                                                        <option value="Georgian" <? if($row_postad['language']=='Georgian'){ ?> selected="selected"<? } ?>>Georgian</option>
                                                        <option value="German" <? if($row_postad['language']=='German'){ ?> selected="selected"<? } ?>>German</option>
                                                        <option value="Greek" <? if($row_postad['language']=='Greek'){ ?> selected="selected"<? } ?>>Greek</option>
                                                        <option value="Guarani" <? if($row_postad['language']=='Guarani'){ ?> selected="selected"<? } ?>>Guarani</option>
                                                        <option value="Gujarati" <? if($row_postad['language']=='Gujarati'){ ?> selected="selected"<? } ?>>Gujarati</option>
                                                        <option value="Hebrew" <? if($row_postad['language']=='Hebrew'){ ?> selected="selected"<? } ?>>Hebrew</option>
                                                        <option value="Hindi" <? if($row_postad['language']=='Hindi'){ ?> selected="selected"<? } ?>>Hindi</option>
                                                        <option value="Hungarian" <? if($row_postad['language']=='Hungarian'){ ?> selected="selected"<? } ?>>Hungarian</option>
                                                        <option value="Icelandic" <? if($row_postad['language']=='Icelandic'){ ?> selected="selected"<? } ?>>Icelandic</option>
                                                        <option value="Indonesian" <? if($row_postad['language']=='Indonesian'){ ?> selected="selected"<? } ?>>Indonesian</option>
                                                        <option value="Interlingua" <? if($row_postad['language']=='Interlingua'){ ?> selected="selected"<? } ?>>Interlingua</option>
                                                        <option value="Irish" <? if($row_postad['language']=='Irish'){ ?> selected="selected"<? } ?>>Irish</option>
                                                        <option value="Italian" <? if($row_postad['language']=='Italian'){ ?> selected="selected"<? } ?>>Italian</option>
                                                        <option value="Japanese" <? if($row_postad['language']=='Japanese'){ ?> selected="selected"<? } ?>>Japanese</option>
                                                        <option value="Javanese" <? if($row_postad['language']=='Javanese'){ ?> selected="selected"<? } ?>>Javanese</option>
                                                        <option value="Kannada" <? if($row_postad['language']=='Kannada'){ ?> selected="selected"<? } ?>>Kannada</option>
                                                        <option value="Korean" <? if($row_postad['language']=='Korean'){ ?> selected="selected"<? } ?>>Korean</option>
                                                        <option value="Kurdish" <? if($row_postad['language']=='Kurdish'){ ?> selected="selected"<? } ?>>Kurdish</option>
                                                        <option value="Kyrgyz" <? if($row_postad['language']=='Kyrgyz'){ ?> selected="selected"<? } ?>>Kyrgyz</option>
                                                        <option value="Laothian" <? if($row_postad['language']=='Laothian'){ ?> selected="selected"<? } ?>>Laothian</option>
                                                        <option value="Latin" <? if($row_postad['language']=='Latin'){ ?> selected="selected"<? } ?>>Latin</option>
                                                        <option value="Latvian" <? if($row_postad['language']=='Latvian'){ ?> selected="selected"<? } ?>>Latvian</option>
                                                        <option value="Lithuanian" <? if($row_postad['language']=='Lithuanian'){ ?> selected="selected"<? } ?>>Lithuanian</option>
                                                        <option value="Macedonian" <? if($row_postad['language']=='Macedonian'){ ?> selected="selected"<? } ?>>Macedonian</option>
                                                        <option value="Malay" <? if($row_postad['language']=='Malay'){ ?> selected="selected"<? } ?>>Malay</option>
                                                        <option value="Malayalam" <? if($row_postad['language']=='Malayalam'){ ?> selected="selected"<? } ?>>Malayalam</option>
                                                        <option value="Maltese" <? if($row_postad['language']=='Maltese'){ ?> selected="selected"<? } ?>>Maltese</option>
                                                        <option value="Marathi" <? if($row_postad['language']=='Marathi'){ ?> selected="selected"<? } ?>>Marathi</option>
                                                        <option value="Mongolian" <? if($row_postad['language']=='Mongolian'){ ?> selected="selected"<? } ?>>Mongolian</option>
                                                        <option value="Nepali" <? if($row_postad['language']=='Nepali'){ ?> selected="selected"<? } ?>>Nepali</option>
                                                        <option value="Norwegian" <? if($row_postad['language']=='Norwegian'){ ?> selected="selected"<? } ?>>Norwegian</option>
                                                        <option value="Norwegian (Nynorsk)" <? if($row_postad['language']=='Norwegian (Nynorsk)'){ ?> selected="selected"<? } ?>>Norwegian (Nynorsk)</option>
                                                        <option value="Occitan" <? if($row_postad['language']=='AAAAAAA'){ ?> selected="selected"<? } ?>>Occitan</option>
                                                        <option value="Oriya" <? if($row_postad['language']=='AAAAAAA'){ ?> selected="selected"<? } ?>>Oriya</option>
                                                        <option value="Persian" <? if($row_postad['language']=='AAAAAAA'){ ?> selected="selected"<? } ?>>Persian</option>
                                                        <option value="Polish" <? if($row_postad['language']=='AAAAAAA'){ ?> selected="selected"<? } ?>>Polish</option>
                                                        <option value="Portuguese" <? if($row_postad['language']=='AAAAAAA'){ ?> selected="selected"<? } ?>>Portuguese</option>
                                                        <option value="Punjabi" <? if($row_postad['language']=='AAAAAAA'){ ?> selected="selected"<? } ?>>Punjabi</option>
                                                        <option value="Romanian" <? if($row_postad['language']=='AAAAAAA'){ ?> selected="selected"<? } ?>>Romanian</option>
                                                        <option value="Russian" <? if($row_postad['language']=='Russian'){ ?> selected="selected"<? } ?>>Russian</option>
                                                        <option value="Scots Gaelic" <? if($row_postad['language']=='Scots Gaelic'){ ?> selected="selected"<? } ?>>Scots Gaelic</option>
                                                        <option value="Serbian" <? if($row_postad['language']=='Serbian'){ ?> selected="selected"<? } ?>>Serbian</option>
                                                        <option value="Serbo-Croatian" <? if($row_postad['language']=='Serbo-Croatian'){ ?> selected="selected"<? } ?>>Serbo-Croatian</option>
                                                        <option value="Sesotho" <? if($row_postad['language']=='Sesotho'){ ?> selected="selected"<? } ?>>Sesotho</option>
                                                        <option value="Sindhi" <? if($row_postad['language']=='Sindhi'){ ?> selected="selected"<? } ?>>Sindhi</option>
                                                        <option value="Sinhalese" <? if($row_postad['language']=='Sinhalese'){ ?> selected="selected"<? } ?>>Sinhalese</option>
                                                        <option value="Slovak" <? if($row_postad['language']=='Slovak'){ ?> selected="selected"<? } ?>>Slovak</option>
                                                        <option value="Slovenian" <? if($row_postad['language']=='Slovenian'){ ?> selected="selected"<? } ?>>Slovenian</option>
                                                        <option value="Somali" <? if($row_postad['language']=='Somali'){ ?> selected="selected"<? } ?>>Somali</option>
                                                        <option value="Spanish" <? if($row_postad['language']=='Spanish'){ ?> selected="selected"<? } ?>>Spanish</option>
                                                        <option value="Sundanese" <? if($row_postad['language']=='Sundanese'){ ?> selected="selected"<? } ?>>Sundanese</option>
                                                        <option value="Swahili" <? if($row_postad['language']=='Swahili'){ ?> selected="selected"<? } ?>>Swahili</option>
                                                        <option value="Swedish" <? if($row_postad['language']=='Swedish'){ ?> selected="selected"<? } ?>>Swedish</option>
                                                        <option value="Tamil" <? if($row_postad['language']=='Tamil'){ ?> selected="selected"<? } ?>>Tamil</option>
                                                        <option value="Telugu" <? if($row_postad['language']=='Telugu'){ ?> selected="selected"<? } ?>>Telugu</option>
                                                        <option value="Thai" <? if($row_postad['language']=='Thai'){ ?> selected="selected"<? } ?>>Thai</option>
                                                        <option value="Tigrinya" <? if($row_postad['language']=='Tigrinya'){ ?> selected="selected"<? } ?>>Tigrinya</option>
                                                        <option value="Turkish" <? if($row_postad['language']=='Turkish'){ ?> selected="selected"<? } ?>>Turkish</option>
                                                        <option value="Turkmen" <? if($row_postad['language']=='Turkmen'){ ?> selected="selected"<? } ?>>Turkmen</option>
                                                        <option value="Twi" <? if($row_postad['language']=='Twi'){ ?> selected="selected"<? } ?>>Twi</option>
                                                        <option value="Uighur" <? if($row_postad['language']=='Uighur'){ ?> selected="selected"<? } ?>>Uighur</option>
                                                        <option value="Ukrainian" <? if($row_postad['language']=='Ukrainian'){ ?> selected="selected"<? } ?>>Ukrainian</option>
                                                        <option value="Urdu" <? if($row_postad['language']=='Urdu'){ ?> selected="selected"<? } ?>>Urdu</option>
                                                        <option value="Uzbek" <? if($row_postad['language']=='Uzbek'){ ?> selected="selected"<? } ?>>Uzbek</option>
                                                        <option value="Vietnamese" <? if($row_postad['language']=='Vietnamese'){ ?> selected="selected"<? } ?>>Vietnamese</option>
                                                        <option value="Welsh" <? if($row_postad['language']=='Welsh'){ ?> selected="selected"<? } ?>>Welsh</option>
                                                        <option value="Xhosa" <? if($row_postad['language']=='Xhosa'){ ?> selected="selected"<? } ?>>Xhosa</option>
                                                        <option value="Yiddish" <? if($row_postad['language']=='Yiddish'){ ?> selected="selected"<? } ?>>Yiddish</option>
                                                        <option value="Zulu" <? if($row_postad['language']=='Zulu'){ ?> selected="selected"<? } ?>>Zulu</option>
                                                        
                                                      </select>   		
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td colspan="2">Meeting<br/><img src="images/post_ad_divider.png" /></td>
                                                </tr>
                                                <tr height="10"></tr>
                                                 <tr>
                                                	<td class="jointext222">&nbsp;Meeting :</td>
                                    				<td>
                                                   		<input type="checkbox" name="meetingman" <? if($row_postad['meeting_men']=='Men'){ ?> checked="checked"<? } ?> value="Men" /> Men                                                    
                                                    </td>
                                                </tr>
                                                <tr>
                                                	<td class="jointext222"> </td>
                                    				<td>
                                                   		<input type="checkbox" name="meetingwm" <? if($row_postad['meeting_wm']=='Women'){ ?> checked="checked"<? } ?> value="Women" /> Women                                                    
                                                    </td>
                                                </tr>
                                                <tr>
                                                	<td class="jointext222"> </td>
                                    				<td>
                                                   		<input type="checkbox" name="meetingcup" <? if($row_postad['meeting_cup']=='Couples'){ ?> checked="checked" <? } ?> value="Couples" /> Couples                                                    
                                                    </td>
                                                </tr>
                                                <tr>
                                                	<td class="jointext222"></td>
                                    				<td>
                                                   		<input type="checkbox" name="meetingtrans" <? if($row_postad['meeting_trans']=='Trans'){ ?> checked="checked"<? } ?> value="Trans"  /> Trans                                                    
                                                    </td>
                                                </tr>
                                                <tr>
                                                	<td class="jointext222"> </td>
                                    				<td>
                                                   		<input type="checkbox" name="meetinggay" <? if($row_postad['meeting_gays']=='Gays'){ ?> checked="checked"<? } ?> value="Gays" /> Gays                                                    
                                                    </td>
                                                </tr>
                                                <tr>
                                                	<td class="jointext222"> </td>
                                    				<td>
                                                   		<input type="checkbox" name="meetingtwoplus" <? if($row_postad['meeting_two']=='twoplus'){ ?> checked="checked"<? } ?> value="twoplus" /> 2+                                                    
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td colspan="2">Contact Info <br/><img src="images/post_ad_divider.png" /></td>
                                                
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Phone Number :</td>
                                    				<td>
                                                    <input name="phnumber" id="weight" class="main_input" value="<?=$row_postad['tel_national']?>"  type="text"  />
                                                    
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222"></td>
                                    				<td>
                                                    	<input type="checkbox" name="updtphone" <? if($row_postad['update_tele']=='Yes'){ ?> checked="checked"<? } ?> /> Update phone number for all tours
                                                     </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222"></td>
                                    				<td>
                                                    	<input type="checkbox" name="viver" <? if($row_postad['viver']=='Yes'){ ?> checked="checked"<? } ?> /> Viver
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222"></td>
                                    				<td>
                                                    <input type="checkbox" name="whatsapp" <? if($row_postad['whatsapps']=='Yes'){ ?> checked="checked"<? } ?> /> WhatsApp
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Instructions :</td>
                                    				<td>
                                                    <select  id="ins" class="drp_img2" name="instruction">
                                                        <option name="PhoneText" value="SMSCalls" <? if($row_postad['instruction']=='SMSCalls'){ ?> selected="selected"<? } ?>>SMS & Calls</option>
                                                        <option name="PhoneText" value="SMS only" <? if($row_postad['instruction']=='SMS only'){ ?> selected="selected"<? } ?>>SMS only</option>
                                                        <option name="PhoneText" value="Calls only" <? if($row_postad['instruction']=='Calls only'){ ?> selected="selected"<? } ?>>Calls only</option>
                                                      </select>   		
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                 <tr>
                                                	<td class="jointext222"></td>                                            
                                            		<td>
                                                    	<input type="checkbox" name="hiddennumber"  <? if($row_postad['hidden_phone']=='Yes'){ ?> checked="checked"<? } ?>  /> No Hidden Numbers
                                           			 </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Email :</td>
                                    				<td>
                                                    	<?
															$sql_email="SELECT * FROM user_info WHERE userid='".$_SESSION['userid']."'";
															$res_email=execute_query($sql_email);
															$row_email=mysql_fetch_array($res_email);
														?>
                                                       		<input type="text" name="email" value="<?=$row_email['email']?>" class="main_input" />
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222"> </td>
                                    				<td>
                                                       		<input type="checkbox" name="updateemail" <? if($row_postad['update_email']=='Yes'){ ?> checked="checked"<? } ?>  /> Update E-mail address in all tour
                                                    </td>
                                                </tr>
                                                 <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;WebPage :</td>
                                    				<td>
                                                       		<input type="text" name="webpage" value="<?=$row_postad['website']?>"  class="main_input" />
                                                    </td>
                                                </tr>
                                                 <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Skype :</td>
                                    				<td>
                                                       		<input type="text" name="skype" value="<?=$row_postad['skype']?>" class="main_input" />
                                                    </td>
                                                </tr>
                                                 <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Receive Email :</td>
                                    				<td>
                                                       	<input name="receiveemail" type="checkbox" value="1" <? if($row_postad['receive_email']==1){ ?> checked="checked"<? } ?>  />Receive Email From Administrators.<br/>
                                                        <input name="receiveemail" type="checkbox" value="1" <? if($row_postad['receive_email']==1){ ?> checked="checked"<? } ?>  />Receive Email From Other Members.<br/>
                                                        
                                                    </td>
                                                </tr>
                                                <tr height="10"></tr>
                                                <tr>
                                                	<td colspan="2">About Me <br/><img src="images/post_ad_divider.png" /></td>
                                                </tr>
                                                <tr height="10"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; I'm Pornstar :</td>
                                    				<td>
                                                    <input name="pstar" type="checkbox" <? if($row_postad['pornstar']=='Yes'){ ?> checked="checked"<? } ?> />
                                                    
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Escort Name</td>
                                    				<td>
                                                    	<input type="text" name="pornName" value="<?=$row_postad['pornstar_name']?>" class="main_input" />
                                                     </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;I'm BDMS/ Fetish</td>
                                    				<td>
                                                    	<input type="checkbox" name="bdms" <? if($row_postad['bdms']=='Yes'){ ?> checked="checked"<? } ?>  /> 
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Available in duo</td>
                                    				<td>
                                                    <input type="checkbox" name="duoStatus" <? if($row_postad['duos']=='Yes'){ ?> checked="checked"<? } ?>  />
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp;Your Partner</td>
                                    				<td>
                                                    <input type="text" name="partnername"  class="main_input" />   		
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                 <tr>
                                                	<td class="jointext222">&nbsp;We are a Couple</td>                                            
                                            		<td>
                                                    	<input type="checkbox" name="couple"   /> 
                                           			 </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                <tr>
                                                	<td class="jointext222">&nbsp; I'm offering only massage</td>
                                    				<td>
                                                       		<input type="checkbox" name="massage" <? if($row_postad['massage']=='Yes'){ ?> checked="checked"<? } ?>   /> 
                                                    </td>
                                               	 </tr>
                                               
                                               		 <tr height="5"></tr>
                                                     <tr>
                                                     	<td colspan="2"></td>
                                                     
                                                     </tr>
                                                  <tr height="5"></tr>
                                                    <tr>
                                                        <td colspan="2" class="jointext222">&nbsp;Describe Something :</td>
                                                        
                                                    </tr>
                                                    <tr height="5"></tr>
                                                    <tr>
                                                        <td colspan="2" align="center"><textarea name="aboutme" class="main_input" style="width:300px !important; height:200px !important;"><?=stripslashes($row_postad['description'])?></textarea></td>
                                                        
                                                    </tr>
                                                     <tr height="5"></tr> 
                                                     <tr>
                                                     	<td colspan="2">Location<br/><img src="images/post_ad_divider.png" /></td>
                                                     </tr>
                                                      <tr height="5"></tr>
                                                          <tr>
                                                            <td class="jointext222">Current Location</td>
                                                            <td>
                                                                   <? 
																   	echo $row_postad['escort_city'].'  '. $row_postad['escort_state'].'  '.$row_postad['country_name'];
																   
																    ?>
                                                            </td>
                                                         </tr> 
                                                         <tr height="5"></tr>
                                                         <tr>
                                                            <td colspan="2" style="font-size:16px !important;">You Can change your location:</td>
                                                         </tr>
                                                         <tr height="5"></tr>
                                                         <tr>
                                                        <td class="jointext222">&nbsp;Working Country :</td>
                                                        <td>
                                                            <select class="drp_img2" id="visitor_country" name="visitor_country" onChange="openmobilecareer(this.value)">

                                                                <option value="">Select Country</option>
                                                
                                                                <?
                                                
                                                                $sql_country="select * from countries";
                                                
                                                                $country_res=execute_query($sql_country);
                                                
                                                                while($country_row=mysql_fetch_array($country_res)){
                                                
                                                                ?>
                                                
                                                                <option value="<?=$country_row['ccode']?>" ><?=$country_row['country']?></option>
                                                
                                                                <? }?>
                                                
                                                                </select>
                                                        
                                                        </td>
                                                    </tr>
                                                    <tr height="5"></tr>
                                                    <tr>
                                                    	<td colspan="2">
                                                        	<div style="display:none; width:100%; margin:0 auto;" id="openus">
                                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                            		<tr>
                                                                    	<td width="200">&nbsp;* Working State:</td>
                                                                        <td>
                                                                           <!--<input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />-->
                                                                             <select name="prlState" id="state_dropdown" class="drp_img2" onChange="selectState(this.options[this.selectedIndex].value)"> 
                                                                                <option value="-1">Select state</option>        
                                                                             <? 
                                                                                 $sql_state="SELECT * FROM states ORDER BY name";
                                                                                 $res_state=execute_query($sql_state);
                                                                                 while($row_state=mysql_fetch_array($res_state))
                                                                                  { 
                                                                                  ?>
                                                                                 <option value="<?=$row_state['id'] ?>"><?=$row_state['name'] ?></option>
                                                                               <? } ?>                              
                                                                      </select> 

                                                                         </td>
                                                                    </tr>
                                                                    <tr height="5"></tr>
                                                                    <tr>
                                                                        <td width="200">&nbsp;* Working City:</td>
                                                                        <td>
                                                                        <!--<input type="text" name="visitor_city" value="<?=$row_postad['escort_city']?>" class="main_input" />-->
                                                                            <select name="prlCities" id="city_dropdown" class="drp_img2">
                                                                                 <option value="-1"  name="cityname"></option>               
                                                                            </select> 
                                                                        </td>
                                                                    </tr>
                                                            	</table>
                                                            </div>
                                                        
                                                        
                                                        
                                                        </td>
                                                    
                                                    </tr>
                                                    <tr>
                                                    	<td colspan="2">
                                                        	<div style="width:100%; margin:0 auto;" id="openother">
                                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                            		<!--<tr>
                                                                    	<td width="200">&nbsp;Working State:</td>
                                                                        <td>
                                                                           <input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />
                                                                            
                                                                         </td>
                                                                    </tr>
                                                                    <tr height="5"></tr>-->
                                                                    <tr>
                                                                        <td width="200">&nbsp;* Working City:</td>
                                                                        <td>
                                                                        <input type="text" name="visitor_city"  class="main_input" />
                                                                            <!--<select class="drp_img2" id="visitor_city" name="visitor_city">
                                                                            </select>-->
                                                                        </td>
                                                                    </tr>
                                                            	</table>
                                                            </div>
                                                        
                                                        
                                                        
                                                        </td>
                                                    
                                                    </tr>
                                                    <tr height="5"></tr>
                                                         
                                                         
                                                                                                 
                                                     
                                                     <tr>
                                                     	<td colspan="2">Incall/Outcall<br/><img src="images/post_ad_divider.png" /></td>
                                                     </tr>
                                                      <tr height="5"></tr>
                                                   <?php /*?> <tr>
                                                        <td class="jointext222">&nbsp;Working Country :</td>
                                                        <td>
                                                            <select class="drp_img2" id="visitor_country" name="visitor_country" onChange="openmobilecareer(this.value)">

                                                                <option value="">Select Country</option>
                                                
                                                                <?
                                                
                                                                $sql_country="select * from countries";
                                                
                                                                $country_res=execute_query($sql_country);
                                                
                                                                while($country_row=mysql_fetch_array($country_res)){
                                                
                                                                ?>
                                                
                                                                <option value="<?=$country_row['ccode']?>" <? if($row_postad['country_name']==$country_row['ccode']){ ?> selected="selected"<? } ?> ><?=$country_row['country']?></option>
                                                
                                                                <? }?>
                                                
                                                                </select>
                                                        
                                                        </td>
                                                    </tr>
                                                    <tr height="5"></tr>
                                                    <? if($row_postad['country_name']=='US')
													{ ?>
                                                    <tr>
                                                    	<td colspan="2">
                                                        	<div style="width:100%; margin:0 auto;" id="openus">
                                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                            		<tr>
                                                                    	<td width="200">&nbsp;Working State:</td>
                                                                        <td>
                                                                           <!--<input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />-->
                                                                             <select name="prlState" id="state_dropdown" class="drp_img2" onChange="selectState(this.options[this.selectedIndex].value)"> 
                                                                                <option value="-1">Select state</option>        
                                                                             <? 
                                                                                 $sql_state="SELECT * FROM states ORDER BY name";
                                                                                 $res_state=execute_query($sql_state);
                                                                                 while($row_state=mysql_fetch_array($res_state))
                                                                                  { 
                                                                                  ?>
                                                                                 <option value="<?=$row_state['id'] ?>"  <? if($row_postad['escort_state']==$row_state['name']){ ?>selected="selected" <? } ?>><?=$row_state['name'] ?></option>
                                                                               <? } ?>                              
                                                                      </select> 
                                                                         </td>
                                                                    </tr>
                                                                    <tr height="5"></tr>
                                                                    
                                                                    <tr>
                                                                        <td width="200">&nbsp;Working City:</td>
                                                                        <td>
                                                                        <!--<input type="text" name="visitor_city" value="<?=$row_postad['escort_city']?>" class="main_input" />-->
                                                                            <select name="prlCities" id="city_dropdown" class="drp_img2">
                                                                                 <option value="-1"  name="cityname"></option>
                                                                                 <?
																					$sql_city="SELECT * FROM citys";
																					$res_city=execute_query($sql_city);
																					 while ($row_city=mysql_fetch_array($res_city))
																					 {?>
																						 <option value="<?=$row_city['name'] ?>" <? if($row_postad['escort_city']==$row_city['name']){ ?>selected="selected" <? }?>><?=$row_city['name'] ?></option>
																					<? }
																					
																					?>
                                                                                 
                                                                                 
                                                                                                
                                                                            </select> 
                                                                        </td>
                                                                    </tr>
                                                            	</table>
                                                            </div>
                                                        
                                                        
                                                        
                                                        </td>
                                                    
                                                    </tr>
                                                   <? } else{?>
                                                    <tr height="5"></tr>
                                                    <tr>
                                                    	<td colspan="2">
                                                        	<div style="width:100%; margin:0 auto;" id="openother">
                                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                            		<tr>
                                                                    	<td width="200">&nbsp;Working State:</td>
                                                                        <td>
                                                                           <input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />
                                                                             <!--<select class="drp_img2" id="visitor_state" name="visitor_state" >
                                                                             </select>-->
                                                                         </td>
                                                                    </tr>
                                                                    <tr height="5"></tr>
                                                                    <tr>
                                                                        <td width="200">&nbsp;Working City:</td>
                                                                        <td>
                                                                        <input type="text" name="visitor_city" value="<?=$row_postad['escort_city']?>" class="main_input" />
                                                                            <!--<select class="drp_img2" id="visitor_city" name="visitor_city">
                                                                            </select>-->
                                                                        </td>
                                                                    </tr>
                                                            	</table>
                                                            </div>
                                                        
                                                        
                                                        
                                                        </td>
                                                    
                                                    </tr>
                                                    
                                                    <? }?>
                                                    <tr height="5"></tr>
                                                    <tr>
                                                    	<td colspan="2">
                                                        	<div style=" display:none; width:100%; margin:0 auto;" id="openother">
                                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                            		<tr>
                                                                    	<td width="200">&nbsp;Working State:</td>
                                                                        <td>
                                                                          <input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />
                                                                             <!--<select class="drp_img2" id="visitor_state" name="visitor_state" >
                                                                             </select>-->
                                                                         </td>
                                                                    </tr>
                                                                    <tr height="5"></tr>
                                                                    <tr>
                                                                        <td width="200">&nbsp;Working City:</td>
                                                                        <td>
                                                                        <input type="text" name="visitor_city" value="<?=$row_postad['escort_city']?>" class="main_input" />
                                                                            <!--<select class="drp_img2" id="visitor_city" name="visitor_city">
                                                                            </select>-->
                                                                        </td>
                                                                    </tr>
                                                            	</table>
                                                            </div>
                                                        
                                                        
                                                        
                                                        </td>
                                                    
                                                    </tr>
                                                     <tr>
                                                    	<td colspan="2">
                                                        	<div style="display:none; width:100%; margin:0 auto;" id="openus">
                                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                            		<tr>
                                                                    	<td width="200">&nbsp;Working State:</td>
                                                                        <td>
                                                                           <!--<input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />-->
                                                                             <select name="prlState" id="state_dropdown" class="drp_img2" onChange="selectState(this.options[this.selectedIndex].value)"> 
                                                                                <option value="-1">Select state</option>        
                                                                             <? 
                                                                                 $sql_state="SELECT * FROM states ORDER BY name";
                                                                                 $res_state=execute_query($sql_state);
                                                                                 while($row_state=mysql_fetch_array($res_state))
                                                                                  { 
                                                                                  ?>
                                                                                 <option value="<?=$row_state['id'] ?>"  <? if($row_postad['escort_state']==$row_state['name']){ ?>selected="selected" <? } ?>><?=$row_state['name'] ?></option>
                                                                               <? } ?>                              
                                                                      </select> 
                                                                         </td>
                                                                    </tr>
                                                                    <tr height="5"></tr>
                                                                    
                                                                    <tr>
                                                                        <td width="200">&nbsp;Working City:</td>
                                                                        <td>
                                                                        <!--<input type="text" name="visitor_city" value="<?=$row_postad['escort_city']?>" class="main_input" />-->
                                                                            <select name="prlCities" id="city_dropdown" class="drp_img2">
                                                                                 <option value="-1"  name="cityname"></option>
                                                                                 <?
																					$sql_city="SELECT * FROM citys";
																					$res_city=execute_query($sql_city);
																					 while ($row_city=mysql_fetch_array($res_city))
																					 {?>
																						 <option value="<?=$row_city['name'] ?>" <? if($row_postad['escort_city']==$row_city['name']){ ?>selected="selected" <? }?>><?=$row_city['name'] ?></option>
																					<? }
																					
																					?>
                                                                                 
                                                                                 
                                                                                                
                                                                            </select> 
                                                                        </td>
                                                                    </tr>
                                                            	</table>
                                                            </div>
                                                        
                                                        
                                                        
                                                        </td>
                                                    
                                                    </tr><?php */?>
                                                    
                                                    
                                                    
                                                    
                                                    
                                                    
                                                    
                                                    
                                                    
                                                   <!-- <tr>
                                                        <td class="jointext222">&nbsp;Working State:</td>
                                                        <td>
                                                           <input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />                                                            
                                                         </td>
                                                    </tr>
                                                    <tr height="5"></tr>
                                                    <tr>
                                                        <td class="jointext222">&nbsp;Working City:</td>
                                                        <td>
                                                        <input type="text" name="visitor_city" value="<?=$row_postad['escort_city']?>" class="main_input" />
                                                          
                                                        </td>
                                                    </tr>-->
                                                    <tr height="5"></tr>
                                                    <tr>
                                                        <td class="jointext222">&nbsp;Incall</td>
                                                        <td>
                                                        <select name="incall" class="drp_img2">
                                                                <option value="">Select</option>
                                                                <option value="Yes" <? if($row_postad['incall']=='Yes'){ ?> selected="selected"<? } ?>>Yes</option>
                                                                <option value="No" <? if($row_postad['incall']=='No'){ ?> selected="selected"<? } ?>>No</option>
                                                            </select>
                                                        </td>
                                                    </tr>
                                                    <tr height="5"></tr>
                                                    <tr>
                                                        <td class="jointext222">&nbsp;Outcall</td>
                                                        <td>
                                                        <select name="outcall" class="drp_img2">
                                                                <option value="">Select</option>
                                                                <option value="Yes" <? if($row_postad['outcall']=='Yes'){ ?> selected="selected"<? } ?>>Yes</option>
                                                                <option value="No" <? if($row_postad['outcall']=='No'){ ?> selected="selected"<? } ?>>No</option>
                                                            </select>
                                                        </td>
                                                    </tr>
                                                    <tr height="5"></tr>
                                                     <tr>
                                                        <td class="jointext222">&nbsp;I can Travel</td>
                                                        <td>
                                                        <select name="travel" class="drp_img2">
                                                                <option value="">Select</option>
                                                                <option value="Yes" <? if($row_postad['travel']=='Yes'){ ?> selected="selected"<? } ?>>Yes</option>
                                                                <option value="No" <? if($row_postad['travel']=='No'){ ?> selected="selected"<? } ?>>No</option>
                                                            </select>
                                                        </td>
                                                    </tr>
                                                    <tr height="5"></tr>
                                                     <tr>
                                                        <td class="jointext222">&nbsp;Travel Area<br/>&nbsp;(If you want to Travel Then You Select Your Area)</td>
                                                        <td>
                                                        	<table border="0" cellpadding="0" cellspacing="0">
                                                             <tr>
                                                             <?
															$sql_men="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%USA%'" ;
															$res_men=execute_query($sql_men);
															$num_men=mysql_num_rows($res_men);
														?>	
                                                             	<td><input type="checkbox" name="usa" value="USA" <? if($num_men>0){ ?> checked="checked" <? } ?> /> USA &nbsp;&nbsp;</td>
                                                         <?
															$sql_cim="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%Scandinavia%'" ;
															$res_cim=execute_query($sql_cim);
															$num_cim=mysql_num_rows($res_cim);
														?>
                                                                <td><input type="checkbox" name="scandinavia" value="Scandinavia" <? if($num_cim>0){ ?> checked="checked" <? } ?> /> Scandinavia &nbsp;&nbsp;</td>
                                                             <?
															$sql_dom="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%Asia%'" ;
															$res_dom=execute_query($sql_dom);
															$num_dom=mysql_num_rows($res_dom);
															?>
                                                                <td><input type="checkbox" name="asia" value="Asia" <? if($num_dom>0){ ?> checked="checked" <? } ?> /> Asia</td>
                                                             </tr>
                                                             <tr>
                                                             <?
																$sql_cob="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%Canada%'" ;
																$res_cob=execute_query($sql_cob);
																$num_cob=mysql_num_rows($res_cob);
															?>
                                                             	<td><input type="checkbox" name="Canada" value="Canada" <? if($num_cob>0){ ?> checked="checked" <? } ?> /> Canada &nbsp;&nbsp;</td>
                                                                 <?
																$sql_we="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%Westerneurope%'" ;
																$res_we=execute_query($sql_we);
																$num_we=mysql_num_rows($res_we);
															?>
                                                                <td><input type="checkbox" name="westerneurope" value="Westerneurope" <? if($$num_we>0){ ?> checked="checked" <? } ?> /> Western Europe &nbsp;&nbsp;</td>
                                                           <?
															$sql_deep="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%Africa%'" ;
															$res_deep=execute_query($sql_deep);
															$num_deep=mysql_num_rows($res_deep);
														?>
                                                                <td><input type="checkbox" name="africa" value="Africa" <? if($num_deep>0){ ?> checked="checked" <? } ?> /> Africa &nbsp;&nbsp;</td>
                                                             </tr>
                                                             <tr>
                                                             <?
															$sql_facial="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%Caribbean%'" ;
															$res_facial=execute_query($sql_facial);
															$num_facial=mysql_num_rows($res_facial);
														?>
                                                             	<td><input type="checkbox" name="Caribbean" value="Caribbean"  <? if($num_facial>0){ ?> checked="checked" <? } ?>/> Caribbean &nbsp;&nbsp;</td>
                                                          <?
															$sql_foot="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%Eastern Europe%'" ;
															$res_foot=execute_query($sql_foot);
															$num_foot=mysql_num_rows($res_foot);
														?>
                                                                <td><input type="checkbox" name="easterneurope" value="Eastern Europe" <? if($num_foot>0){ ?> checked="checked" <? } ?> /> Eastern Europe &nbsp;&nbsp;</td>
                                                          <?
															$sql_french="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%Middle East%'" ;
															$res_french=execute_query($sql_french);
															$num_french=mysql_num_rows($res_french);
														?>
                                                                <td><input type="checkbox" name="Middleeast" value="Middle East" <? if($num_french>0){ ?> checked="checked" <? } ?> />Middle East</td>
                                                                
                                                             </tr>
                                                             <tr>
                                                             <?
															$sql_lap="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%latinamerica%'" ;
															$res_lap=execute_query($sql_lap);
															$num_lap=mysql_num_rows($res_lap);
														?>
                                                             	<td><input type="checkbox" name="latinamerica" value="latinamerica" <? if($num_lap>0){ ?> checked="checked" <? } ?> />Latin America&nbsp;&nbsp;</td>
                                                         <?
															$sql_masssage="select * from escort_details WHERE user_id='".$_SESSION['userid']."' AND travel_area like '%australia%'" ;
															$res_massage=execute_query($sql_masssage);
															$num_massage=mysql_num_rows($res_massage);
														?>
                                                                <td><input type="checkbox" name="australia" value="australia" <? if($num_massage>0){ ?> checked="checked" <? } ?> />Australia</td>
                                                             </tr>
                                                             
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr height="15"></tr>
                                                     <tr>
                                                     	<td colspan="2" style="text-align:center">
                                                        	<?
														if($num_postad>0)
														{?>
															
															<input type="image" src="images/update_profile.png"/>
															<input type="hidden" name="postid" value="<?=$row_postad['id']?>" />
                                                            
                                                             <input type="hidden" name="ptcity" value="<?=$row_postad['escort_city']?>" />
                                                            <input type="hidden" name="ptstate" value="<?=$row_postad['escort_state']?>" />
                                                            <input type="hidden" name="ptcountry" value="<?=$row_postad['country_name']?>" />
															
														<? } else
														
														{ ?>
														<input type="image" src="images/submit.png" />
														
														<? } ?>
                                                        
                                                        
                                                        </td>
                                                     
                                                     </tr> 
                                                     <tr height="20"></tr>
                                                
                                    
                                    
                                    	</table>
                                    </div>
                                
                                
                                </div>
                                
                                <br class="spacer" />
                               </form>
            						
						
                        	</div>
                        <br class="spacer" />
                        </div>
                        
                    </div>
                    <div class="stdtls_footer"></div>
                </div>
            
            <br class="spacer" />
            
        </div>
     
 </div>

<? include "includes/footer.php";?>

./BlackJoker Mini Shell 1.0