GIF89a;
| Direktori : /home/serb/public_html/m/ |
| Current File : /home/serb/public_html/m/add-mytour.php |
<?
session_start();
if(!($_SESSION['islogin']))
{
?>
<script language="javascript">
location.href="index.php";
</script>
<? }
//include("config.php");
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
/*$sql="SELECT * FROM page_content WHERE id='45'";
$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>Escort 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>
<script>
$('#frm').validate({
rules: {
userName: {
required: true
},
emailAddrs: {
required: true
}
},
messages: {
userName: {
required: "Please enter your first name."
},
emailAddrs: {
required: "Please enter your email."
}
},
errorPlacement: function (error, element) {
error.appendTo(element.parent().prev());
},
submitHandler: function (form) {
$(':mobile-pagecontainer').pagecontainer('change', '#success', {
reload: false
});
return false;
}
});
</script>
<script>
function del_record(id,name,page)
{
var msg="Sure to delete your tour with all it's references ? ";
var choice=confirm(msg);
if(choice)
{
var target="delete_tour.php?id="+id;
//alert(target);
window.location.href=target;
}
}
</script>
</head>
<body>
<div data-role="page" id="page" data-theme="d" data-transition="flip">
<div id="headerTop"></div>
<? include "includes/header.php";?>
<div data-role="content" id="searchboxx">
<span style="float:left !important; margin-top:-5px !important;"><a style="float:left;" href="index.php" class="ui-btn ui-shadow ui-corner-all ui-icon-home ui-btn-icon-notext" data-iconpos="right" title="Go Home">Home</a></span>
<span style="float:right !important; margin-top:-5px !important;"><a style="float:right;" href="my-account.php" class="ui-btn ui-shadow ui-corner-all ui-icon-back ui-btn-icon-notext" data-iconpos="right" title="Go Dashboard">back</a></span>
</div>
<div data-role="content">
<!--<p id="alsignup">Already signed up? <a href="login.php" data-transition="flip" id="loginnow">Login Now</a></p>-->
<h2 id="loginheadertext">My Tour List</h2>
<!--<p id="alsignup">Do you have a promo code? <a href="#" data-transition="flip" id="loginnow">Redeem it now, before you register!</a></p>-->
<!-- <p id="loginalertmsg">
Please use your EscortService username and password to login bellow.
</p>
<p id="loginalertmsg">
Need to Register? <a href="join.html" id="jointextcolor" data-transition="flip" data-prefetch>Get Started Now!</a>
</p>-->
<p>
<a href="createtour.php" data-ajax="false"><img src="images/newtour.png" /></a>
</p>
<p>
<?
// $date=date('Y-m-d');
// $ntexpiry = date("Y-m-d", time() - 30*24*60*60 );
$sql="SELECT * FROM escort_tours WHERE userid='".$_SESSION['userid']."' ORDER BY id DESC";
$res=execute_query($sql);
$num=mysql_num_rows($res);
?>
<table data-role="table" class="ui-responsive">
<thead>
<tr>
<th>Country</th>
<th>City</th>
<th>CityArea</th>
<th>Phone</th>
<th>Start Date</th>
<th>End Date</th>
<th>Email</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<?
while($row=mysql_fetch_array($res))
{
?>
<tr>
<td><?=$row['country']?></td>
<td><?=$row['city']?></td>
<td><?=$row['city_place']?></td>
<td><?=$row['phone']?></td>
<td><?=$row['start_date']?></td>
<td><?=$row['end_date']?></td>
<td> <?=$row['email']?></td>
<td><a href="#" onClick="del_record('<?=$row['id']?>');"><img src="images/bDrop.png" /></a></td>
</tr>
<tr style="border-bottom:1px solid #F0D7E2;"></tr>
<? } ?>
</tbody>
</table>
</p>
<!--<a href="#dlg-invalid-credentials" data-rel="popup" data-transition="pop" data-position-to="window" id="btn-submit" ><img src="continue.png" style="height:35px; margin-top:10px;"></a>-->
<div data-role="popup" id="dlg-invalid-credentials" data-dismissible="false" style="max-width:400px;">
<div role="main" class="ui-content">
<h3 class="mc-text-danger">Login Failed</h3>
<p>Did you enter the right credentials?</p>
<div class="mc-text-center"><a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-b mc-top-margin-1-5">OK</a></div>
</div>
</div>
</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>