GIF89a;
| Direktori : /home/serb/public_html/m/ |
| Current File : /home/serb/public_html/m/agency-account.php |
<?
session_start();
//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 language="javascript">
function openmobilecareer(ctname)
{
if(ctname=='US')
{
document.getElementById('openus').style.display="block";
document.getElementById('openother').style.display="none";
}
else
{
document.getElementById('openother').style.display="block";
document.getElementById('openus').style.display="none";
}
}
</script>
<script type="text/javascript">
function selectCity(country_id){
if(country_id!="-1"){
loadData('state',country_id);
$("#city_dropdown").html("<option value='-1'>Select city</option>");
}else{
$("#state_dropdown").html("<option value='-1'>Select state</option>");
$("#city_dropdown").html("<option value='-1'>Select city</option>");
}
}
function selectState(state_id){
if(state_id!="-1"){
loadData('city',state_id);
}else{
$("#city_dropdown").html("<option value='-1'>Select city</option>");
}
}
function loadData(loadType,loadId){
var dataString = 'loadType='+ loadType +'&loadId='+ loadId;
$("#"+loadType+"_loader").show();
$("#"+loadType+"_loader").fadeIn(400).html('Please wait...');
$.ajax({
type: "POST",
url: "loadData.php",
data: dataString,
cache: false,
success: function(result){
$("#"+loadType+"_loader").hide();
$("#"+loadType+"_dropdown").html("<option value='-1'>Select "+loadType+"</option>");
$("#"+loadType+"_dropdown").append(result);
}
});
}
</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">
<div data-role="fieldcontain" id="ser" data-iconpos="right">
<input type="search" name="search-2" id="search-2" value="" />
</div>
</div>-->
<div data-role="content">
<h2 id="loginheadertext">Update Agency Account</h2>
<? if($_GET['msg']==1)
{?>
<p id="loginalertmsg">Your account has been Updated successfully.</p>
<? }?>
<!--<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>-->
<?
$sql_email="SELECT * FROM user_info WHERE userid='".$_SESSION['userid']."'";
$res_email=execute_query($sql_email);
$row_email=mysql_fetch_array($res_email);
?>
<form action="agency-insert.php" method="post" name="f1" data-ajax="false" enctype="multipart/form-data" onSubmit="return validate();">
<input name="submit_form" value="1" type="hidden">
<label for="txt-email">Agency Name:<span id="starcolor">*</span></label>
<input type="text" name="agencyName" id="txt-email" value="<?=$row_email['agency_name']?>">
<label for="file">Agency Logo:</label>
<img id="imgprvw" src="profile_pic/<?=$row_email['pic']?>" style="width:120px; height:150px; vertical-align:middle; border:1px solid #D4D3D3;"/>
<input type="hidden" name="agencylogo" value="<?=$row_email['pic']?>" >
<input name="avt_image" id="file1" type="file">
<h3 id="termconditionpost">Contact Info</h3>
<label for="txt-cfpassword">Phone Number:</label>
<input type="text" name="phnumber" id="txt-cfpassword" value="<?=$row_email['agency_ph']?>">
<input type="checkbox" name="updtphonetour" id="checkbox-1" <? if($row_email['up_phone_tour']=='Yes') { ?> checked="checked" <? } ?> class="custom" />
<label for="checkbox-1">Update phone number for all tours</label>
<input type="checkbox" name="updtphoneescort" <? if($row_email['up_phone_escort']=='Yes') { ?> checked="checked" <? } ?> id="checkbox-2" class="custom" />
<label for="checkbox-2">Update phone number for all Escorts</label>
<label for="txt-password">Instructions:</label>
<select name="instruction" id="instruction" visible="1">
<option value="" selected="selected">Please select...</option>
<option name="PhoneText" value="SMSCalls" <? if($row_email['instruction']=='SMSCalls'){ ?> selected="selected"<? } ?>>SMS & Calls</option>
<option name="PhoneText" value="SMS only" <? if($row_email['instruction']=='SMS only'){ ?> selected="selected"<? } ?>>SMS only</option>
<option name="PhoneText" value="Calls only" <? if($row_email['instruction']=='Calls only'){ ?> selected="selected"<? } ?>>Calls only</option>
</select>
<input type="checkbox" name="hiddennumber" id="checkbox-3" class="custom" value="" />
<label for="checkbox-3">No Hidden Numbers</label>
<label for="txt-cfpassword">Email:</label>
<input type="text" name="email" id="txt-cfpassword" value="<?=$row_email['email']?>">
<input type="checkbox" name="updateemail" id="checkbox-4" <? if($row_email['email_up']=='Yes') { ?> checked="checked" <? } ?> class="custom" />
<label for="checkbox-4">Update E-mail address in all tour</label>
<label for="txt-cfpassword">Webpage:</label>
<input type="text" name="webpage" value="<?=$row_email['webpage']?>" id="txt-cfpassword">
<label for="txt-cfpassword">Skype:</label>
<input type="text" name="skype" value="<?=$row_email['skype']?>" id="txt-cfpassword" >
<h3 id="termconditionpost">About Me</h3>
<label for="txt-cfpassword">Tell us more about you:</label>
<textarea cols="40" rows="8" name="aboutme" id="txt-cfpassword"><?=stripslashes($row_email['agency_about'])?></textarea>
<h3 id="termconditionpost">Location</h3>
<label for="txt-password">Working Location(You can add multiple location):</label>
<textarea cols="40" rows="8" name="wrkcountry" id="txt-cfpassword"><?=stripslashes($row_email['wrk_location'])?></textarea>
<br/>
<input type="image" src="continue.png" style="height:35px; margin-top:10px;">
</form>
<!-- <fieldset data-role="controlgroup">
<input type="checkbox" name="chck-rememberme" id="chck-rememberme" checked="">
<label for="chck-rememberme">Remember me</label>
</fieldset>-->
<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>