GIF89a;
| Direktori : /home/serb/public_html/m/ |
| Current File : /home/serb/public_html/m/create-hobbyistaccount.php |
<?
session_start();
if(!$_SESSION['reg_email'])
{
?>
<script language="javascript">
location.href="join.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 - Premiere Escort Listings,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>
<script language="javascript">
function validate()
{
if(document.f1.avt_image.value=="")
{
alert("Select Your Profile Image");
document.f1.avt_image.focus();
return false;
}
if(document.f1.aboutme.value=="")
{
alert("Describe something about you");
document.f1.aboutme.focus();
return false;
}
if(document.getElementById("visitor_country").value =='US')
{
if (document.getElementById("state_dropdown").value==-1 )
{
alert("Select Your State");
document.getElementById("state_dropdown").focus()
return false;
}
if (document.getElementById("city_dropdown").value==-1 )
{
alert("Select Your City");
document.getElementById("city_dropdown").focus()
return false;
}
}
else
{
if (document.f1.visitor_city.value=="" )
{
alert("Select Your City");
document.f1.visitor_city.focus();
return false;
}
}
/*if(document.f1.check.checked!=true)
{
alert("You need to check your age.");
return false;
}*/
}
</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">Create Hobbyist Account</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>-->
<form action="hobbyistprofile-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="file">Picture:</label>
<input name="avt_image" id="file1" type="file">
<h3 id="termconditionpost">Contact Info</h3>
<label for="txt-cfpassword">Email:</label>
<input type="text" name="email" id="txt-cfpassword" value="<?=$_SESSION['reg_email']?>">
<label for="txt-cfpassword">Skype:</label>
<input type="text" name="skype" id="txt-cfpassword" >
<label for="txt-cfpassword">MSN:</label>
<input type="text" name="msn" 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"></textarea>
<h3 id="termconditionpost">Location</h3>
<label for="txt-password">Working Country:</label>
<select name="visitor_country" id="visitor_country" visible="1" onChange="openmobilecareer(this.value)">
<option value="" selected="selected">Select Country</option>
<?
$sql_country="select * from countries";
$country_res=execute_query($sql_country);
while($country_row=mysql_fetch_array($country_res)){
?>
<option value="<?=$country_row['ccode']?>" <? if($country_row['ccode']=='US'){ ?> selected="selected"<? } ?> ><?=$country_row['country']?></option>
<? }?>
</select>
<div id="openus">
<label for="txt-password">Working State:</label>
<select name="prlState" id="state_dropdown" onChange="selectState(this.options[this.selectedIndex].value)">
<option value="" selected="selected">Select state...</option>
<?
$sql_state="SELECT * FROM states ORDER BY name";
$res_state=execute_query($sql_state);
while($row_state=mysql_fetch_array($res_state))
{
?>
<option value="<?=$row_state['id'] ?>"><?=$row_state['name'] ?></option>
<? } ?>
</select>
<label for="txt-password">Working City:</label>
<select name="prlCities" id="city_dropdown">
<option value="" selected="selected">Select city...</option>
<option value="-1" name="cityname"></option>
</select>
</div>
<div style=" display:none;" id="openother">
<label for="txt-cfpassword">Wosking City:</label>
<input type="text" name="visitor_city" id="txt-cfpassword">
</div>
<br/>
<input type="image" src="continue.png" style="height:35px; margin-top:10px;">
<input type="hidden" name="userName" value="<?=$_SESSION['reg_username']?>" />
<input type="hidden" name="emailAddrs" value="<?=$_SESSION['reg_email']?>" />
<input type="hidden" name="passWord" value="<?=$_SESSION['reg_pass']?>" />
<input type="hidden" name="acctype" value="<?=$_SESSION['reg_acctype']?>" />
<input type="hidden" name="dob" value="<?=$_SESSION['DOB']?>" />
<input type="hidden" name="dobmonth" value="<?=$_SESSION['dob_month']?>" />
</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>