GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/escort-advertising.php

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


<? include "includes/header_top.php";?>
<!--<link rel="stylesheet"  href="css/elements.css" />
<script src="js/my_js.js"></script>	-->
				
<!--<script type="text/javascript">
    var popup;
    function SelectName() {
        popup = window.open("Popup.htm", "Popup", "width=300,height=100");
        popup.focus();
        return false
    }
</script>
    <link href="assets/bootstrap.min.css" rel="stylesheet">
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
	<script src="assets/bootstrap.min.js"></script>-->
    <script>
		$(document).ready(function () {
			$("input#submit").click(function(){
				$.ajax({
					type: "POST",
					url: "process.php", // 
					data: $('form.contact').serialize(),
					success: function(msg){
						$("#thanks").html(msg)
						$("#form-content").modal('hide');	
					},
					error: function(){
						alert("failure");
					}
				});
			});
		});
    </script>

	<!--<style type="text/css">
		body {background: url(assets/bglight.png); }
		.well { background: #fff; text-align: center; }
		.modal { text-align: left; }
	</style>-->
<script language="javascript">

function openc(str)

{
if (str=="")
  {

  document.getElementById("form-content").innerHTML="";
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari

  xmlhttp=new XMLHttpRequest();
  }else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
	   document.getElementById("form-content").innerHTML=xmlhttp.responseText;
    }
  }


		xmlhttp.open("GET","getupopup.php?q="+str,true);
		xmlhttp.send();
}


</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;">Advertising on </span> Escortservice.org
                    </div>
                    <div class="stdtls_midder">
                    	<div style="height:10px;"></div>
                    	<div style=" width:980px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                        	<div class="advertisebanner">
                            	<div class="advbannertop">
                                	<?
										$sql_standbanner="SELECT * FROM header_text WHERE status='a' ORDER BY RAND() LIMIT 0,1";
										$res_standbanner=execute_query($sql_standbanner);
										while($row_standbanner=mysql_fetch_array($res_standbanner))
										{
									?>
                                	<div style="width:498px; height:257px; float:left; margin-left:3px; margin-right:3px; margin-bottom:5px; margin-top:5px;">
                                    	<img src="ads/<?=$row_standbanner['header_img']?>" style="width:492px; height:257px;" />
                                    </div>
                                    <? }?>
                                    <!--<div style="width:160px; float:left; margin-left:3px; margin-right:3px; margin-bottom:5px;">
                                    	<img src="ads/1403872943www.jpg" style="width:160px; height:100px;" />
                                    </div>
                                    <div style="width:160px; float:left;margin-left:3px; margin-right:3px; margin-bottom:5px;">
                                    	<img src="ads/1403872943www.jpg" style="width:160px; height:100px;" />
                                    </div>-->
                                   
                                   
                                    
                                    
                                </div>
                                <div class="advbannerbot"></div>
                            
                            
                            </div>
                            
                            <div class="adpostprice">
                            	<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
                                 <tr style="background:url(images/esthd.jpg) 0 0 repeat-x; border-radius:3px 3px 0 0; height:36px;">
                                 	<th class="stpost">Standard Post</th>
                                    <th class="thborder"></th>
                                    <th class="stpost">Banner</th>
                                    <th class="thborder"></th>
                                    <th class="stpost">Vip</th>
                                  
                                 	
                                 </tr>
                                	
                                </table>
                                <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
                                	<tr>
                                    	<td class="stpost22">Free</td>
                                        <td class="stpost22">$50.00 30 days</td>
                                        <td class="stpost22">$4.99 / 7 days</td>
                                        
                                    </tr>
                                    <tr height="15">
                                    		<td></td>
                                        <td></td>
                                        <td></td>
                                         
                                    
                                    </tr>
                                    <tr>
                                    	<td class="stpost22">------</td>
                                        <td class="stpost22">$100.00 90 days</td>
                                        <td class="stpost22">$14.99 / 30 days</td>
                                        
                                    </tr>
                                    <tr height="15">
                                    	<td></td>
                                        <td></td>
                                        <td></td>
                                        
                                    </tr>
                                    <tr>
                                    	<td class="stpost22"  style="background:#999;">Includes</td>
                                        <td class="stpost22"  style="background:#999;">Includes</td>
                                        <td class="stpost22"  style="background:#999;">Includes</td>
                                        
                                    </tr>
                                     <tr>
                                    	<td class="stpost22">Posting up to 4 photos. Visible on Desktop & Mobile Versions.</td>
                                        <td class="stpost22">Upload a banner.Banner can be displayed by State, City or Sitewide.</td>
                                        <td class="stpost22">Posting up to 8 photos. Visible on Desktop & Mobile Versions. VIP Badge and VIP placement.</td>
                                       
                                    </tr>
                                    <tr height="28"></tr>
                                    
                                    	<tr>
                                    	<td class="stpost22"> 
										<? if($_SESSION['userlogin']=="true")
											{
												if($_SESSION['acctype']=='agency')
												{
												?>
                                       			<a href="agency-escorts.php"><img src="images/getstarted.png" /></a>
                                              <? }
												 else
												  {		
												 
													 $sql_postad="select * from escort_details where user_id='".$_SESSION['userid']."'";
													 $res_postad=execute_query($sql_postad);
													 $num_postad=mysql_num_rows($res_postad);
													 $row_postad=mysql_fetch_array($res_postad);
														if($num_postad>0)
														{
																								
															?>
															<a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/getstarted.png" /></a>
														<?    
														 }  else
														 { ?>
															 <a href="#"><img src="images/getstarted.png" /></a>
														<? }
                                                    
                                                   } 
                                        	
											
											
											 }
											 
											 else{ ?>
                                             	<a href="login.php?advinfo=1"><img src="images/getstarted.png" /></a>
                                             <? } ?>
                                         </td>
                                        <td class="stpost22">
                                         <? if($_SESSION['userlogin']=="true")
											{?>
                                       			<a href="advertise-banner.php"><img src="images/getstarted.png" /></a>
                                        	<? }
											 
											 else{ ?>
                                             	<a href="login.php?advinfo=1"><img src="images/getstarted.png" /></a>
                                             <? } ?>
                                                     
                                        </td>
                                        <td class="stpost22">
                                        
                                        	<? if($_SESSION['userlogin']=="true")
											{
												if($_SESSION['acctype']=='agency')
												{
												?>
                                       			<a href="agency-escorts.php"><img src="images/getstarted.png" /></a>
                                              <? }
												 else
												  {		
												 
													 $sql_postad="select * from escort_details where user_id='".$_SESSION['userid']."'";
													 $res_postad=execute_query($sql_postad);
													 $num_postad=mysql_num_rows($res_postad);
													 $row_postad=mysql_fetch_array($res_postad);
														if($num_postad>0)
														{
																								
															?>
															<a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/getstarted.png" /></a>
														<?    
														 }  else
														 { ?>
															 <a href="#"><img src="images/getstarted.png" /></a>
														<? }
                                                    
                                                   } 
                                        	
											
											
											 }
											 
											 else{ ?>
                                             	<a href="login.php?advinfo=1"><img src="images/getstarted.png" /></a>
                                             <? } ?>
                                        
                                       </td>
                                       
                                    </tr>
                                    
                                    
                                </table>
                                
                                <br/><br/>
                            
                            
                            </div>
                            <br class="spacer" />
                          			
                        </div>
                        
                        <br/>
                        <div class="pdtbreakdown">
                        	<h1>Product Breakdown</h1>
                        	<?
								$sql_info="SELECT * FROM advertising_info WHERE status='a' order by id desc";
								$res_info=execute_query($sql_info);
								while($row_info=mysql_fetch_array($res_info))
								{
							   ?>
                            
                                <div style="width:965px; margin:0 auto; margin-top:10px; border-bottom:1px solid #666;">
                                    <p class="infotitle"><?=stripslashes($row_info['name'])?></p>
                                    <p class="infodetails"><?=stripslashes($row_info['contain'])?></p>
                                    <br/>
                                    <p class="infopreview"><a data-toggle="modal" onClick="openc(<?=$row_info['id']?>)" data-index="<?=$row_info['id']?>" href="#form-content" >See Preview</a></p>
                                    
                                 <br/>
                                
                                </div>
                               
                               <!--<div id="form-content" class="modal hide fade in" style="display: none;">
                                    <div class="modal-header">
                                        <a class="close" data-dismiss="modal">×</a>
                                        <h3>Send me a message<?=stripslashes($row_info['name'])?></h3>
                                    </div>
                                    <div class="modal-body">
                                        <?
											$sql_img="select * from advertising_info where id='".$row_info['id']."'";
											$res_img=execute_query($sql_img);
											$row_img=mysql_fetch_array($res_img);
											echo $row_img['name'];
											
										
										?>
                                    </div>
                                    <div class="modal-footer">
                                        <input class="btn btn-success" type="submit" value="Send!" id="submit">
                                        <a href="#" class="btn" data-dismiss="modal">Nah.</a>
                                    </div>
                                </div>-->
                                
                           <? } ?>
                        
                        </div>
                      
                    
                    </div>
                    <div class="stdtls_footer"></div>
            </div>
              <div id="form-content" class="modal hide fade in" style="display: none;">
                        	
        
       		 </div>
            
        </div>
     <br/>
 </div>


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

./BlackJoker Mini Shell 1.0