GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/ad-viewdetails.php

<?  session_start();

	include("lib/globals.php");

 	include("lib/common.php");

 	include("lib/functions.php");	

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

<!--<script language="javascript">

	function validate()

	{
		if(document.f23.Men.checked!=true && document.f23.Women.checked!=true && document.f23.Couples.checked!=true)

		{

			alert("You need to check atleast one checkbox for Available.");

			return false;

		}
		
		if(document.f23.Incall.checked!=true && document.f23.Incall.checked!=true)

		{

			alert("You need to check atleast one checkbox between Incall and Outcall.");

			return false;

		}

		if(document.f23.ageDtls.value=="")

		{

			alert("Enter your Age");

			document.f23.ageDtls.focus();

			return false;

		}
		
		if(document.f23.nameAd.value=="")

		{

			alert("Enter your Ad Name");

			document.f23.nameAd.focus();

			return false;

		}
		if(document.f23.introDuction.value=="")

		{

			alert("Enter your Ad Introduction");

			document.f23.introDuction.focus();

			return false;

		}
		if(document.f23.adText.value=="")

		{

			alert("Enter your Ad Details");

			document.f23.adText.focus();

			return false;

		}
		if((document.f23.emailAddress.value.indexOf('@',0)<1)||(document.f23.emailAddress.value.indexOf('.',0)<1))
		{
			alert("Enter any valid email address");
			document.f23.emailAddress.focus();
			return false;
		}	

		if(document.f23.phoneNumber.value=="")

		{

			alert("Email not match.");			
			document.f23.phoneNumber.focus();
			return false;

		}		

		

		

		

		
		if(document.f23.sex[0].value==false || document.f23.sex[1].value==false)

		{

			alert("You need to choose your sex.");

			return false;

		}		

		

	}

</script>--> 
<?

if($_POST)
{
	$date=date('Y-m-d');
	$avl="";
	if($_POST['Men'])
	{
		$avl=$_POST['Men'].",";
	}
	if($_POST['Women'])
	{
		$avl=$avl.$_POST['Women'].",";
	}
	if($_POST['Couples'])
	{
		$avl=$avl.$_POST['Couples'].",";
	}
	$inoutcal="";
	if($_POST['Incall'])
	{
		$inoutcal=$_POST['Incall'].",";
	}
	if($_POST['Outcall'])
	{
		$inoutcal=$inoutcal.$_POST['Outcall'].",";
	}
	$fetish="";
	if($_POST['Dominant'])
	{
		$fetish=$_POST['Dominant'].",";
	}
	if($_POST['Submissive'])
	{
		$fetish=$fetish.$_POST['Submissive'].",";
	}
	if($_POST['Switch'])
	{
		$fetish=$fetish.$_POST['Switch'].",";
	}
	$higt=$_POST['heightFt'].'Ft'.$_POST['height_inches'].'Inc';
	$catagory=$_POST['escort_type'];
	$state=$_POST['escort_state'];
	$city=$_POST['escort_city'];
	$desc=addslashes($_POST['adText']);
	
	if($_FILES['avt_image']['tmp_name'])
		{
			$manu_imagename1=time().$_FILES['avt_image']['name'];
			move_uploaded_file($_FILES['avt_image']['tmp_name'],'avtar/'.$manu_imagename1);
		}
		else

		{
	
			$manu_imagename1=$_POST['img1'];
	
		}
		
		/*$sql="INSERT INTO post_ad( 	id,ad_name,ad_catagory,state_id,city_id,available,incall,outcall,visiting,address,gfexp,fetish,age,ethnicity,language,height,weight,eyecolor,haircolor,build,mesurment,cupsize,kitty,pornstar,pregnant,ad_intro,ad_dtls,email_adds,rcv_email,phoneno,website,creaditcard,picture,createdate,status,userid) VALUES ('',
		'".$_POST['nameAd']."','$catagory','$state','$city','$avl','".$_POST['Incall']."','".$_POST['Outcall']."','".$_POST['visiting']."','".$_POST['locDtls']."','".$_POST['GFE']."','$fetish','".$_POST['ageDtls']."','".$_POST['ethniCity']."','".$_POST['lanGuage']."','$higt','".$_POST['weiGht']."','".$_POST['eyeColor']."','".$_POST['hairColor']."','".$_POST['build']."','','".$_POST['cupSize']."','".$_POST['kitty']."','".$_POST['pornStar']."','".$_POST['pregNant']."','".$_POST['introDuction']."','$desc','".$_POST['emailAddress']."','".$_POST['rcvEmail']."','".$_POST['phoneNumber']."','".$_POST['webSite']."','".$_POST['creditcard']."','$manu_imagename1','$date','u','".$_SESSION['userid']."')";*/
	
	$sql="UPDATE post_ad SET ad_name='".$_POST['nameAd']."', available='$avl',incall='".$_POST['Incall']."',outcall='".$_POST['Outcall']."',incal_charge='".$_POST['incCharg']."',outcall_charge='".$_POST['outCharg']."',visiting='".$_POST['visiting']."',address='".$_POST['locDtls']."',gfexp='".$_POST['GFE']."',fetish='$fetish',age='".$_POST['ageDtls']."',ethnicity='".$_POST['ethniCity']."',language='".$_POST['lanGuage']."',height='$higt',weight='".$_POST['weiGht']."',eyecolor='".$_POST['eyeColor']."',haircolor='".$_POST['hairColor']."',build='".$_POST['build']."',cupsize='".$_POST['cupSize']."',kitty='".$_POST['kitty']."',pornstar='".$_POST['pornStar']."',pregnant='".$_POST['pregNant']."',ad_intro='".$_POST['introDuction']."',ad_dtls='$desc',email_adds='".$_POST['emailAddress']."',rcv_email='".$_POST['rcvEmail']."',phoneno='".$_POST['phoneNumber']."',website='".$_POST['webSite']."',picture='$manu_imagename1',creaditcard='".$_POST['creditcard']."' WHERE id='".$_GET['postad_id']."'";
	execute_query($sql);
	
	$sql_pis="SELECT * FROM estservice_photo WHERE postid='".$_GET['postad_id']."'";
	$res_pics=execute_query($sql_pis);
	$num_pics=mysql_num_rows($res_pics);
	if($num_pics>0)
	 {
		 $count=0;
		 while($row_pics=mysql_fetch_array($res_pics))
		 {
			 $count=$count+1;
			 if($count==1)
			  {
				 
				  if($_FILES['avt_image1']['tmp_name'])
						 {
							$manu_imagename11=time().$_FILES['avt_image1']['name'];
							move_uploaded_file($_FILES['avt_image1']['tmp_name'],'avtar/'.$manu_imagename11);
						 }
					else
			
					{
				
						$manu_imagename11=$_POST['img2'];
				
					}
					 $sql="UPDATE estservice_photo SET picture='$manu_imagename11' WHERE id='".$row_pics['id']."'";
					execute_query($sql);
					
					
			  }
			  else if($count==2)
			  {
				  if($_FILES['avt_image2']['tmp_name'])
						 {
							$manu_imagename12=time().$_FILES['avt_image2']['name'];
							move_uploaded_file($_FILES['avt_image2']['tmp_name'],'avtar/'.$manu_imagename12);
						 }
					else
			
					{
				
						$manu_imagename12=$_POST['img3'];
				
					}
					$sql="UPDATE estservice_photo SET picture='$manu_imagename12' WHERE id='".$row_pics['id']."'";
					execute_query($sql);
					
			  }
			  else if($count==3)
			  {
				  if($_FILES['avt_image3']['tmp_name'])
						 {
							$manu_imagename13=time().$_FILES['avt_image3']['name'];
							move_uploaded_file($_FILES['avt_image3']['tmp_name'],'avtar/'.$manu_imagename13);
						 }
					else
			
					{
				
						$manu_imagename13=$_POST['img4'];
				
					}
					$sql="UPDATE estservice_photo SET picture='$manu_imagename13' WHERE id='".$row_pics['id']."'";
					execute_query($sql);
					
			  }
			  
		 }
	 }
	 
	
?>
<script language="javascript">
	alert('Your Profile Updated Successfully');
    	location.href="my-ad.php";
</script>
<?
}?>
<body>


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

<div class="wrapper">

  <div class="middle_postadd">
   <div class="account_menu">   
    <ul>
      <? if($_SESSION['userlogin']=="true"){?>
      		<li><a href="my-account.php">My Account</a></li>
      <? } else{ ?>
            <li><a href="#">My Account</a></li>
      <? } ?>
      
      <? if($_SESSION['userlogin']=="true"){?>
      		<li><a href="my-ad.php"  class="active">My Ad</a></li>
      <? } else{ ?>
            <li><a href="#">My Ad</a></li>
      <? } ?>
      
      <? if($_SESSION['userlogin']=="true"){?>
      		<li><a href="change-password.php">Change Password</a></li>
      <? } else{ ?>
            <li><a href="forgot-password.php">Forgot Password</a></li>
      <? } ?>      
         
    </ul>
   </div>

    <br/>

   <div class="div_boddy">    
    <? 
		$sqlData="SELECT * FROM post_ad WHERE id='".$_GET['postad_id']."'";
		$res_event=execute_query($sqlData);
		$row_event=mysql_fetch_array($res_event);
		
	
	?>
      <div class="est_left">View And Edit Your Ad</div>

      <div class="est_mid">
      	<form action="<?=$_SERVER['PHP_SELF']?>?postad_id=<?=$_GET['postad_id']?>" enctype="multipart/form-data"   method="post" name="f23" style="padding: 5px;" onSubmit="return validate();" >

      <input name="submit_form" value="1" type="hidden">

      	<table class="join_table" border="0" cellpadding="0" cellspacing="0">
        <tr>         	
            <td colspan="3" class="text_fnt">Ad Name<br/><img src="images/post_ad_divider.png"/></td>
         </tr>
         <tr>

          <td class="name_align">Name :</td>

          <td><?=$row_event['ad_name']?></td>

          <td></td>

         </tr>
         <tr>

          <td class="name_align">Category :</td>

          <td><?=$row_event['ad_catagory']?></td>

          <td></td>

         </tr>
        
         <tr>
         	
            <td colspan="3" class="text_fnt">Your Availability<br/><img src="images/post_ad_divider.png"/></td>
         </tr>

         <tr>
			<?
                $sql_men="select * from post_ad WHERE id='".$_GET['postad_id']."' AND available like '%Men%'" ;
			 	$res_men=execute_query($sql_men);
				$num_men=mysql_num_rows($res_men);
			?>	
          <td class="name_align"><img src="images/star.png"/>&nbsp;Available To :</td>

          <td><p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="Men" value="Men" <? if($num_men>0){ ?> checked="checked" <? } ?>>&nbsp;Men</p>
				<?
                $sql_wmen="select * from post_ad WHERE id='".$_GET['postad_id']."' AND available like '%Women%'" ;
			 	$res_wmen=execute_query($sql_wmen);
				$num_wmen=mysql_num_rows($res_wmen);
			?>
              <p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="Women" value="Women" <? if($num_wmen>0){ ?> checked="checked" <? } ?>>&nbsp;Women</p>
			<?
                $sql_coup="select * from post_ad WHERE id='".$_GET['postad_id']."' AND available like '%Couples%'" ;
			 	$res_coup=execute_query($sql_coup);
				$num_coup=mysql_num_rows($res_coup);
			?>
              <p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="Couples" <? if($num_coup>0){ ?> checked="checked" <? } ?> value="Couples">&nbsp;Couples</p><br/>

          

          </td>

          <td></td>

         </tr>

         <tr>

          <td class="name_align"><img src="images/star.png"/>&nbsp;Incall/OutCall :</td>

          <td>

          	<p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="Incall" value="Incall" <? if($row_event['incall']=='Incall'){ ?> checked="checked" <? } ?>>&nbsp;Incall</p>

              <p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="Outcall" value="Outcall" <? if($row_event['outcall']=='Outcall'){ ?> checked="checked" <? } ?>>&nbsp;Outcall</p>

          </td>

          <td></td>

         </tr>
         <tr>

          <td class="name_align">Incall Charge :</td>

          <td><input name="incCharg" id="incCharg" class="main_input" value="<?=$row_event['incal_charge']?>"   type="text"></td>

          <td></td>

         </tr>

		<tr>

          <td class="name_align">Outcall Charge :</td>

          <td><input name="outCharg" id="outCharg" class="main_input" value="<?=$row_event['outcall_charge']?>" type="text"></td>

          <td></td>

         </tr>


         <tr>

          <td class="name_align">Visiting? :</td>

          <td><p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="visiting" value="1" <? if($row_event['visiting']=='1'){ ?> checked="checked" <? } ?>>&nbsp;Yes, You are visiting this location.</p></td>

          <td></td>

         </tr>

         <tr>

          <td class="name_align">Location Details :</td>

          <td><input name="locDtls" id="locdtls" class="main_input" value="<?=$row_event['address']?>"   type="text"></td>

          <td></td>

         </tr>

         <tr>

          <td class="name_align">Do you offer GFE :</td>

          <td><p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="GFE" value="1" <? if($row_event['gfexp']=='1'){ ?> checked="checked" <? } ?>>&nbsp;Yes, I offer Girlfriend Experience.</p></td>

          <td></td>

         </tr>

         <tr>

          <td class="name_align">Fetish Session Activities :</td>
           <?
                $sql_dom="select * from post_ad WHERE id='".$_GET['postad_id']."' AND fetish like '%Dominant%'" ;
			 	$res_dom=execute_query($sql_dom);
				$num_dom=mysql_num_rows($res_dom);
			?>	

          <td><p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="Dominant" value="Dominant" <? if($num_dom>0){ ?> checked="checked" <? } ?>>&nbsp;Dominant</p>
          <?
                $sql_sub="select * from post_ad WHERE id='".$_GET['postad_id']."' AND fetish like '%Submissive%'" ;
			 	$res_sub=execute_query($sql_sub);
				$num_sub=mysql_num_rows($res_sub);
			?>

          <p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="Submissive" value="Submissive" <? if($num_sub>0){ ?> checked="checked" <? } ?>>&nbsp;Submissive</p>
			<?
                $sql_switch="select * from post_ad WHERE id='".$_GET['postad_id']."' AND fetish like '%Switch%'" ;
			 	$res_switch=execute_query($sql_switch);
				$num_switch=mysql_num_rows($res_switch);
			?>
          <p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="Switch" value="Switch" <? if($num_switch>0){ ?> checked="checked" <? } ?>>&nbsp;Switch</p></td>

          <td></td>

         </tr>
         <tr>
         	<td></td>
            <td></td>
            <td></td>
         </tr>
          <tr>
         	
            <td colspan="3" class="text_fnt">What You Look Like<br/><br/><img src="images/post_ad_divider.png"/></td>
         </tr>    
         

         <tr>

          <td class="name_align"><img src="images/star.png"/>&nbsp;Age :</td>

          <td><input name="ageDtls" id="age" class="main_input" value="<?=$row_event['age']?>"   type="text"></td>

          <td></td>

         </tr>

         <tr>

          <td class="name_align">Ethnicity :</td>

          <td> <select name="ethniCity" class="drp_img2">

                   <option value="0" selected="selected">Select</option>

                   <option value="asian" <? if($row_event['ethnicity']=='asian'){ ?> selected="selected" <? } ?> >Asian</option>

                   <option value="black" <? if($row_event['ethnicity']=='black'){ ?> selected="selected" <? } ?> >Black</option>

                   <option value="white" <? if($row_event['ethnicity']=='white'){ ?> selected="selected" <? } ?> >White</option>

                   <option value="east indian" <? if($row_event['ethnicity']=='east indian'){ ?> selected="selected" <? } ?> >East Indian</option>

                   <option value="hispanic" <? if($row_event['ethnicity']=='hispanic'){ ?> selected="selected" <? } ?> >Hispanic</option>

                   <option value="middle east" <? if($row_event['ethnicity']=='middle east'){ ?> selected="selected" <? } ?> >Middle East</option>

                   <option value="Mixed" <? if($row_event['ethnicity']=='Mixed'){ ?> selected="selected" <? } ?> >Mixed</option>                   

                  </select></td>

          <td></td>

         </tr>

         <tr>

          <td class="name_align">Language :</td>

          <td> <select name="lanGuage" class="drp_img2">

                   <option value="Albanian" <? if($row_event['language']=='Albanian'){ ?> selected="selected" <? } ?>>Albanian</option>

                   <option value="Arabic" <? if($row_event['language']=='Arabic'){ ?> selected="selected" <? } ?>>Arabic</option>

                   <option value="Armenian" <? if($row_event['language']=='Armenian'){ ?> selected="selected" <? } ?>>Armenian</option>

                   <option value="Belarusian" <? if($row_event['language']=='Belarusian'){ ?> selected="selected" <? } ?>>Belarusian</option>

                   <option value="Bosnian" <? if($row_event['language']=='Bosnian'){ ?> selected="selected" <? } ?>>Bosnian</option>

                   <option value="Celtic" <? if($row_event['language']=='Celtic'){ ?> selected="selected" <? } ?>>Celtic</option>

                   <option value="Chinese" <? if($row_event['language']=='Chinese'){ ?> selected="selected" <? } ?>>Chinese (Simplified)</option>

                   <option value="Chinese" <? if($row_event['language']=='Chinese'){ ?> selected="selected" <? } ?>>Chinese (Traditional)</option>

                   <option value="Croatian" <? if($row_event['language']=='Croatian'){ ?> selected="selected" <? } ?>>Croatian</option>

                   <option value="Czech" <? if($row_event['language']=='Czech'){ ?> selected="selected" <? } ?>>Czech</option>

                   <option value="Danish" <? if($row_event['language']=='Danish'){ ?> selected="selected" <? } ?>>Danish</option>

                   <option value="Dutch" <? if($row_event['language']=='Dutch'){ ?> selected="selected" <? } ?>>Dutch</option>

                   <option value="English" <? if($row_event['language']=='English'){ ?> selected="selected" <? } ?>>English</option>

                   <option value="Finnish" <? if($row_event['language']=='Finnish'){ ?> selected="selected" <? } ?>>Finnish</option>

                   <option value="French" <? if($row_event['language']=='French'){ ?> selected="selected" <? } ?>>French</option>

                   <option value="German" <? if($row_event['language']=='German'){ ?> selected="selected" <? } ?>>German</option>

                   <option value="Greek" <? if($row_event['language']=='Greek'){ ?> selected="selected" <? } ?>>Greek</option>

                   <option value="Italian" <? if($row_event['language']=='Italian'){ ?> selected="selected" <? } ?>>Italian</option>

                   <option value="Japanese" <? if($row_event['language']=='Japanese'){ ?> selected="selected" <? } ?>>Japanese</option>

                   <option value="Korean" <? if($row_event['language']=='Korean'){ ?> selected="selected" <? } ?>>Korean</option>

                   <option value="Lao" <? if($row_event['language']=='Lao'){ ?> selected="selected" <? } ?>>Lao</option>

                   <option value="Latvian" <? if($row_event['language']=='Latvian'){ ?> selected="selected" <? } ?>>Latvian</option>

                   <option value="Lithuanian" <? if($row_event['language']=='Lithuanian'){ ?> selected="selected" <? } ?>>Lithuanian</option>

                   <option value="Persian" <? if($row_event['language']=='Persian'){ ?> selected="selected" <? } ?>>Persian</option>

                   <option value="Polish" <? if($row_event['language']=='Polish'){ ?> selected="selected" <? } ?>>Polish</option>

                   <option value="Portuguese" <? if($row_event['language']=='Portuguese'){ ?> selected="selected" <? } ?>>Portuguese</option>

                   <option value="Norwegian" <? if($row_event['language']=='Norwegian'){ ?> selected="selected" <? } ?>>Norwegian</option>

                   <option value="Russian" <? if($row_event['language']=='Russian'){ ?> selected="selected" <? } ?>>Russian</option>

                   <option value="Serbian" <? if($row_event['language']=='Serbian'){ ?> selected="selected" <? } ?>>Serbian</option>

                   <option value="Spanish" <? if($row_event['language']=='Spanish'){ ?> selected="selected" <? } ?>>Spanish</option>

                   <option value="Swedish" <? if($row_event['language']=='Swedish'){ ?> selected="selected" <? } ?>>Swedish</option>

                   <option value="Thai" <? if($row_event['language']=='Thai'){ ?> selected="selected" <? } ?> >Thai</option>

                   <option value="Turkish" <? if($row_event['language']=='Turkish'){ ?> selected="selected" <? } ?>>Turkish</option>

                   <option value="Ukranian" <? if($row_event['language']=='Ukranian'){ ?> selected="selected" <? } ?>>Ukranian</option>

                   <option value="Vietnamese" <? if($row_event['language']=='Vietnamese'){ ?> selected="selected" <? } ?>>Vietnamese</option>

				</select></td>

          <td></td>

         </tr>

         <tr>

          <td class="name_align">Height :</td>

          <td> <select name="heightFt" class="drp_img2" style="width:60px;">

                  	<?
                    	$height=explode('Ft',$row_event['height']);
						$ft=$height[0];
						$inch=explode('Inc',$height[1]);
						$inc=$inch[0];
					?>

					<option value="">---</option>

                    <option value="2" <? if($ft=='2'){ ?> selected="selected" <? } ?>>2</option>

                    <option value="3" <? if($ft=='3'){ ?> selected="selected" <? } ?>>3</option>

                    <option value="4" <? if($ft=='4'){ ?> selected="selected" <? } ?>>4</option>

                    <option value="5" <? if($ft=='5'){ ?> selected="selected" <? } ?>>5</option>

                    <option value="6" <? if($ft=='6'){ ?> selected="selected" <? } ?>>6</option>

                    <option value="7" <? if($ft=='7'){ ?> selected="selected" <? } ?>>7</option>

         		 </select>

          		Feet    <select name="height_inches" class="drp_img2" style="width:60px;">

							<option value="">---</option>

                            <option value="1" <? if($inc=='1'){ ?> selected="selected" <? } ?>>1</option>

                            <option value="2" <? if($inc=='2'){ ?> selected="selected" <? } ?>>2</option>

                            <option value="3" <? if($inc=='3'){ ?> selected="selected" <? } ?>>3</option

                            ><option value="4" <? if($inc=='4'){ ?> selected="selected" <? } ?>>4</option>

                            <option value="5" <? if($inc=='5'){ ?> selected="selected" <? } ?>>5</option>

                            <option value="6" <? if($inc=='6'){ ?> selected="selected" <? } ?>>6</option>

                            <option value="7" <? if($inc=='7'){ ?> selected="selected" <? } ?>>7</option>

                            <option value="8" <? if($inc=='8'){ ?> selected="selected" <? } ?>>8</option>

                            <option value="9" <? if($inc=='9'){ ?> selected="selected" <? } ?>>9</option>

                            <option value="10" <? if($inc=='10'){ ?> selected="selected" <? } ?>>10</option>

                            <option value="11" <? if($inc=='11'){ ?> selected="selected" <? } ?>>11</option>

          			</select>

         			 Inches</td>

          <td></td>

         <tr>

          <td class="name_align">Weight :</td>

          <td><input name="weiGht" id="weight" class="main_input" value="<?=$row_event['weight']?>"   type="text"></td>

          <td></td>

         </tr>

          <tr>

          <td class="name_align">Eye Color :</td>

          <td> <select name="eyeColor" class="drp_img2">

                   <option value="0" selected="selected">Select</option>

                   <option value="black" <? if($row_event['eyecolor']=='black'){ ?> selected="selected" <? } ?> >Black</option>

                   <option value="blue" <? if($row_event['eyecolor']=='blue'){ ?> selected="selected" <? } ?> >Blue</option>

                   <option value="brown" <? if($row_event['eyecolor']=='brown'){ ?> selected="selected" <? } ?> >Brown</option>

                   <option value="gray" <? if($row_event['eyecolor']=='gray'){ ?> selected="selected" <? } ?> >Gray</option>

                   <option value="green" <? if($row_event['eyecolor']=='green'){ ?> selected="selected" <? } ?> >Green</option>

                   <option value="hazel" <? if($row_event['eyecolor']=='hazel'){ ?> selected="selected" <? } ?> >Hazel</option>                 

                    

                  </select></td>

          <td></td>

         </tr>

          <tr>

          <td class="name_align">Hair Color :</td>

          <td> <select name="hairColor" class="drp_img2">

                   <option value="0" selected="selected">Select</option>

                   <option value="Blonde" <? if($row_event['haircolor']=='Blonde'){ ?> selected="selected" <? } ?>>Blonde</option>

                   <option value="Light Brown" <? if($row_event['haircolor']=='Light Brown'){ ?> selected="selected" <? } ?>>Light Brown</option>

                   <option value="Dark Brown" <? if($row_event['haircolor']=='Dark Brown'){ ?> selected="selected" <? } ?>>Dark Brown</option>

                   <option value="Auburn/Red" <? if($row_event['haircolor']=='Auburn/Red'){ ?> selected="selected" <? } ?>>Auburn/Red</option>

                   <option value="Black" <? if($row_event['haircolor']=='Black'){ ?> selected="selected" <? } ?>>Black</option>

                   <option value="Gray/White" <? if($row_event['haircolor']=='Gray/White'){ ?> selected="selected" <? } ?>>Gray/White</option>

                   <option value="Wild" <? if($row_event['haircolor']=='Wild'){ ?> selected="selected" <? } ?>>Wild</option>                 

                    

                  </select></td>

          <td></td>

         </tr>

          <tr>

          <td class="name_align">Build :</td>

          <td> <select name="build" class="drp_img2">

                   <option value="0" selected="selected">Select</option>

                   <option value="Tiny" <? if($row_event['build']=='Tiny'){ ?> selected="selected" <? } ?>>Tiny</option>

                   <option value="Slim/Slender" <? if($row_event['build']=='Slim/Slender'){ ?> selected="selected" <? } ?>>Slim/Slender</option>

                   <option value="Athletic" <? if($row_event['build']=='Athletic'){ ?> selected="selected" <? } ?>>Athletic</option>

                   <option value="Average" <? if($row_event['build']=='Average'){ ?> selected="selected" <? } ?>>Average</option>

                   <option value="Curvy" <? if($row_event['build']=='Curvy'){ ?> selected="selected" <? } ?>>Curvy</option>

                   <option value="BBW" <? if($row_event['build']=='BBW'){ ?> selected="selected" <? } ?>>BBWe</option>                                

                    

                  </select></td>

          <td></td>

         </tr>

         <!--<tr>

          <td>

          Measurements :</td>

          <td><input name="meserMnt1" id="mnt1" style="width:50px;"  type="text">-<input name="meserMnt2" id="mnt3" style="width:50px;"  type="text">-<input name="meserMnt3" id="mnt3" style="width:50px;"  type="text">(inches)</td>

          <td></td>

         </tr>-->

         <tr>

          <td class="name_align">Cup Size :</td>

          <td> <select name="cupSize" class="drp_img2">

                   <option value="0" selected="selected">Select</option>

                   <option value="A" <? if($row_event['cupsize']=='A'){ ?> selected="selected" <? } ?>>A</option>

                   <option value="B" <? if($row_event['cupsize']=='B'){ ?> selected="selected" <? } ?>>B</option>

                   <option value="C" <? if($row_event['cupsize']=='C'){ ?> selected="selected" <? } ?>>C</option>

                   <option value="D" <? if($row_event['cupsize']=='D'){ ?> selected="selected" <? } ?>>D</option>

                   <option value="DD" <? if($row_event['cupsize']=='DD'){ ?> selected="selected" <? } ?>>DD</option>

                   <option value="DDD" <? if($row_event['cupsize']=='DDD'){ ?> selected="selected" <? } ?>>DDD</option>

                   <option value="Just Plan Huge" <? if($row_event['cupsize']=='Just Plan Huge'){ ?> selected="selected" <? } ?>>Just Plan Huge</option>                                

                    

                  </select></td>

          <td></td>

         </tr>

         <tr>

          <td class="name_align">Kitty :</td>

          <td> <select name="kitty" class="drp_img2">

                   <option value="0" selected="selected">Select</option>

                   <option value="Bald" <? if($row_event['kitty']=='Bald'){ ?> selected="selected" <? } ?>>Bald</option>

                   <option value="Partially Shaved" <? if($row_event['kitty']=='Partially Shaved'){ ?> selected="selected" <? } ?>>Partially Shaved </option>

                   <option value="Trimmed" <? if($row_event['kitty']=='Trimmed'){ ?> selected="selected" <? } ?>>Trimmed</option>

                   <option value="Natural" <? if($row_event['kitty']=='Natural'){ ?> selected="selected" <? } ?>>Natural</option>                                      

                    

                  </select></td>

          <td></td>

         </tr>

          <tr>

          <td class="name_align">Are you a pornstar? :</td>

          <td><p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="pornStar" value="1" <? if($row_event['pornstar']=='1'){ ?> checked="checked"<? } ?>>&nbsp;Yes, I am.</p></td>         

          <td></td>

         </tr>

          <tr>

          <td class="name_align">Currently Pregnant? :</td>

          <td><p style="float:left; margin-right:5px; padding:0px;"><input type="checkbox" name="pregNant" value="1" <? if($row_event['pregnant']=='1'){ ?> checked="checked"<? } ?>>&nbsp;Yes, I am.</p> </td>        

          <td></td>

         </tr>

          <tr>

          <td></td>

          <td>         

          <td></td>

         </tr>

         <tr>
         	<td></td>
            <td></td>
            <td></td>
         </tr>
          <tr>
         	
            <td colspan="3" class="text_fnt">About You<br/><br/><img src="images/post_ad_divider.png"/></td>
         </tr>  

         <tr>

          <td class="name_align"><img src="images/star.png"/>&nbsp;Name On Ad :</td>

          <td><input name="nameAd" id="adname" class="main_input" value="<?=$row_event['ad_name']?>" type="text"></td>        

          <td></td>

         </tr>

         <tr>

          <td class="name_align"><img src="images/star.png"/>&nbsp;Introduction :</td>

          <td><input name="introDuction" id="introduction" class="main_input"  value="<?=$row_event['ad_intro']?>"  type="text"></td>        

          <td></td>

         </tr>

         <tr>

          <td class="name_align"><img src="images/star.png"/>&nbsp;Ad Text :</td>

          <td><textarea name="adText" style="width:350px; height:300;"><?=$row_event['ad_dtls']?></textarea></td>        

          <td></td>

         </tr>         

         <tr>

          <td></td>

          <td>         

          <td></td>

         </tr>

          <tr>
         	<td></td>
            <td></td>
            <td></td>
         </tr>
          <tr>
         	
            <td colspan="3" class="text_fnt">Contact Info For Your Ad<br/><br/><img src="images/post_ad_divider.png"/></td>
         </tr>  

         <tr>

          <td class="name_align"><img src="images/star.png"/>&nbsp;Email Address :</td>

          <td><input name="emailAddress" id="emladd" class="main_input" value="<?=$row_event['email_adds']?>"   type="text"></td>        

          <td></td>

         </tr>

         <tr>

          <td class="name_align"><img src="images/star.png"/>&nbsp;Receive Email? :</td>

          <td> <select name="rcvEmail" class="drp_img2">

                   <option value="0" selected="selected">Select</option>

                   <option value="Yes" <? if($row_event['rcv_email']=='Yes'){ ?> selected="selected"<? } ?>>Yes</option>                   

                   <option value="No" <? if($row_event['rcv_email']=='No'){ ?> selected="selected"<? } ?>>No</option>                  

                  </select></td>        

          <td></td>

         </tr>

         <tr>

          <td class="name_align"><img src="images/star.png"/>&nbsp;Phone Number :</td>

          <td><input name="phoneNumber" id="phno" class="main_input" value="<?=$row_event['phoneno']?>"   type="text"></td>        

          <td></td>

         </tr>

         <tr>

          <td class="name_align">Your Website :</td>

          <td><input name="webSite" id="webst" class="main_input"  value="<?=$row_event['website']?>"  type="text"></td>        

          <td></td>

         </tr>

         <tr>

          <td class="name_align"> Credit Cards:</td>

          <td><input type="radio" name="creditcard" value="1" <? if($row_event['creaditcard']=='1'){ ?> checked="checked"<? } ?>>&nbsp;Visa/Master Card <input type="radio" name="creditcard" value="2" <? if($row_event['creaditcard']=='2'){ ?> checked="checked"<? } ?>>&nbsp;American Express <input type="radio" name="creditcard" value="3" <? if($row_event['creaditcard']=='3'){ ?> checked="checked"<? } ?>>&nbsp;Discover Card</td>

          <td></td>

         </tr>
         <tr>
         	<td></td>
            <td></td>
            <td></td>
         </tr>
          <tr>
         	
            <td colspan="3" class="text_fnt">Upload Your Photo<br/><br/><img src="images/post_ad_divider.png"/></td>
         </tr>  
			<tr>

          <td class="name_align"></td>

          <td><img src="avtar/<?=$row_event['picture'] ?>" style="width:130px; height:100px; border:1px solid #666;" /></td>

          <td></td>

         </tr>

          <tr>

          <td class="name_align">Change Picture :</td>

          <td><input type="file" name="avt_image" style="border:1px solid #999; width:200px; margin-bottom:5px; background-color:#fff;" /></td>

          <td><input type="hidden" name="img1" value="<?=$row_event['picture'] ?>" /></td>

         </tr>
         
         
			<? 
			    $sql_escortpis="SELECT * FROM estservice_photo WHERE postid='".$_GET['postad_id']."'";
				$res_escortpics=execute_query($sql_escortpis);
				$num_pics=mysql_num_rows($res_escortpics);
				$count2=0;
				while($row_escortpics=mysql_fetch_array($res_escortpics))
				{
					$count2=$count2+1;
					if($count2==1)
					 { ?>
							<tr>
                            	<td class="name_align"></td>
                                <td><img src="avtar/<?=$row_escortpics['picture'] ?>" style="width:130px; height:100px; border:1px solid #666;" /></td>
                                <td></td>
                            
                            </tr>
                        	<tr>

                                  <td class="name_align">Picture2 :</td>
                                  <td><input type="file" name="avt_image1" style="border:1px solid #999; width:200px; margin-bottom:5px; background-color:#fff;" /></td>
                                  <td><input type="hidden" name="img2" value="<?=$row_escortpics['picture'] ?>" /></td>
                                             
                    
                             </tr>
                        
                         
					 <? }
				}
			?>
			
			<? 
				$sql_escortpis2="SELECT * FROM estservice_photo WHERE postid='".$_GET['postad_id']."'";
				$res_escortpics2=execute_query($sql_escortpis2);
				
				$count3=0;
				while($row_escortpics2=mysql_fetch_array($res_escortpics2))
				{
					$count3=$count3+1;
					if($count3==2)
					 { ?>
							<tr>
                            	<td class="name_align"></td>
                                <td><img src="avtar/<?=$row_escortpics2['picture'] ?>" style="width:130px; height:100px; border:1px solid #666;" /></td>
                                <td></td>
                            
                            </tr>
                        	<tr>
                              <td class="name_align">Picture3 :</td>
                              <td><input type="file" name="avt_image2" style="border:1px solid #999; width:200px; margin-bottom:5px; background-color:#fff;" /></td>
                              <td><input type="hidden" name="img3" value="<?=$row_escortpics2['picture'] ?>" /></td>
                    
                    

        					 </tr>
                        
                         
					 <? }
				}
			?>
		

				<? 
				$sql_escortpis3="SELECT * FROM estservice_photo WHERE postid='".$_GET['postad_id']."'";
				$res_escortpics3=execute_query($sql_escortpis3);
				
				$count4=0;
				while($row_escortpics3=mysql_fetch_array($res_escortpics3))
				{
					$count4=$count4+1;
					if($count4==3)
					 { ?>
						
                        	<tr>
                            	<td class="name_align"></td>
                                <td><img src="avtar/<?=$row_escortpics3['picture'] ?>" style="width:130px; height:100px; border:1px solid #666;" /></td>
                                <td></td>
                            
                            </tr>
                            
                            <tr>

                              <td class="name_align">Picture4 :</td>
                              <td><input type="file" name="avt_image3" style="border:1px solid #999; width:200px; margin-bottom:5px; background-color:#fff;" /></td>
                              <td><input type="hidden" name="img4" value="<?=$row_escortpics3['picture'] ?>" /></td>
         					</tr>
                        
                         
					 <? }
				}
			?>
		
         

         


         <tr>

          <td></td>

          <td></td>

          <td></td>

         </tr>

         <tr>         

          <td></td>

          <td>

          	
           	<input src="images/agree_btn.png" type="image"  height="32" style="margin-left:20px;"/>

          </td>

          <td></td>

         </tr>

         <tr>

          <td></td>

          <td></td>

          <td></td>

         </tr>

        </table>

        </form>
      	
      </div>

      <div class="est_right"></div>

      <br class="spacer"/>

   </div> 

  </div>



</div>

<br class="spacer" />



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

./BlackJoker Mini Shell 1.0