GIF89a;
| Direktori : /home/serb/public_html/m/ |
| Current File : /home/serb/public_html/m/advertise-vipmember.php |
<?
session_start();
//include("config.php");
if(!($_SESSION['islogin']))
{
?>
<script language="javascript">
location.href="index.php";
</script>
<? }
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
$sql="SELECT * FROM page_content WHERE id='55'";
$res=execute_query($sql);
$row=mysql_fetch_array($res);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>Advertise-VIPEscort Service-Escorts,Female Escorts,Models,Call Girls,GEF,Companions</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="themes/escserve.css" />
<link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />
<link rel="stylesheet" href="jMobile.css" />
<script src="jquery.min.js"></script>
<script src="jqueryMobile.js"></script>
</head>
<script>
function makeonle(str) {
//alert(str);
if (str == "") {
document.getElementById("txtHint").innerHTML = "";
return;
} else {
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("txtHint").innerHTML = xmlhttp.responseText;
}
}
xmlhttp.open("GET","getuserid.php?q="+str,true);
xmlhttp.send();
}
}
</script>
<body>
<div data-role="page" id="page" data-theme="d" data-transition="flip">
<div id="headerTop"></div>
<? include "includes/header.php";?>
<?
$sql_estdt="select * from escort_details where user_id='".$_SESSION['userid']."'";
$res_estdt=execute_query($sql_estdt);
$row_postad=mysql_fetch_array($res_estdt);
?>
<div data-role="content">
<? if($_GET['msg']==2){ ?>
<p id="loginalertmsg">Your payment has been done successfully for VIP Members</p>
<? } ?>
<?
if($row_postad['ft_ad_status']=='Yes')
{
$todaydate=date('Y-m-d');
$exp=$row_postad['ft_ad_expair'];
if($todaydate<$exp)
{
$diff=(strtotime($exp) - strtotime($todaydate)) / (24*60*60);
$diffday=explode('.',$diff)
?>
<p id="loginalertmsg">You have a current featured ad in progress and it can be renewed in <?=$diffday[0]?> amount of days. </p>
<? }
}?>
<p>
<h3 id="termconditionpost">Advertise Vip Membership</h3>
<form action="vippayment-process.php" method="post" name="f1" data-ajax="false" onSubmit="return validate();">
<input name="submit_form" value="1" type="hidden">
<fieldset data-role="controlgroup">
<?
$sql_ftprice="SELECT * FROM featured_ad_price";
$res_ftprice=execute_query($sql_ftprice);
$ct=1;
?>
<? while($row_ftprice=mysql_fetch_array($res_ftprice))
{
?>
<input type="radio" name="featadPrice" id="radio-choice-<?=$ct?>" value="<?=$row_ftprice['no_of_weeks'] ?>" />
<label for="radio-choice-<?=$ct?>">Add <?=$row_ftprice['no_of_weeks'] ?> of Featured Display-$<?=$row_ftprice['ad_price'] ?></label>
<?
$ct=$ct+1;
} ?>
<!-- <input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2" />
<label for="radio-choice-2">Dog</label>
<input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3" />
<label for="radio-choice-3">Hamster</label>
<input type="radio" name="radio-choice-1" id="radio-choice-4" value="choice-4" />
<label for="radio-choice-4">Lizard</label>-->
</fieldset>
<br/>
<input type="image" src="continue.png" style="height:35px; margin-top:10px;">
<input type="hidden" name="estid" value="<?=$row_postad['id']?>" />
</form>
</p>
</div>
<div data-role="panel" data-display="push" data-position="right" data-theme="d" id="navMenu">
<? include "includes/right-menubar.php";?>
</div><!-- /panel -->
<div data-role="footer" >
<div id="footerTop">
<? include "includes/footer.php";?>
</div>
<div id="footerBottom"><p>Copyright 2015 ESCORTSERVICE.ORG | All Rights reserved.</p></div>
</div>
</div>
</body>
</html>