GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/m/
Upload File :
Current File : /home/serb/public_html/m/create-agencyaccount.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.agencyName.value=="")
		{
			alert("Enter your Agency Name");
			document.f1.agencyName.focus();
			return false;
		}
		if(document.f1.phnumber.value=="")
		{
			alert("Enter your Contact number");
			document.f1.phnumber.focus();
			return false;
		}
		if(document.f1.phnumber.value.match(/^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/))
		{
			
		}
		else  
		 {  
			alert("Not a valid Phone Number");
			document.f1.phnumber.focus();  
			return false;  
		 } 
		 
		if((document.f1.email.value.indexOf('@',0)<1)||(document.f1.email.value.indexOf('.',0)<1))
		{
			alert("Enter any valid email address");
			document.f1.email.focus();
			return false;
		} 
		 
		 
		if(document.f1.aboutme.value=="")
		{
			alert("Describe something about your Agency");
			document.f1.aboutme.focus();
			return false;
		}
		
		
			
		/*if((document.f2.acctype[0].checked == false) &&(document.f2.acctype[1].checked == false) && (document.f2.acctype[2].checked == false)  && (document.f2.acctype[3].checked == false)  && (document.f2.acctype[4].checked == false))

		{
			
			alert("Select Your Account Type");
			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 Agency 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="agencyprofile-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="">
             
             <label for="file">Agency Logo:</label>
			   <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="">
             
                <input type="checkbox" name="updtphonetour" id="checkbox-1" class="custom"  />
			    <label for="checkbox-1">Update phone number for all tours</label>
                
                <input type="checkbox" name="updtphoneescort" 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_postad['instruction']=='SMSCalls'){ ?> selected="selected"<? } ?>>SMS & Calls</option>
                     <option name="PhoneText" value="SMS only" <? if($row_postad['instruction']=='SMS only'){ ?> selected="selected"<? } ?>>SMS only</option>
                     <option name="PhoneText" value="Calls only" <? if($row_postad['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="<?=$_SESSION['reg_email']?>">
                
               <input type="checkbox" name="updateemail" id="checkbox-4" class="custom" value="" />
			     <label for="checkbox-4">Update E-mail address in all tour</label>
             
             	<label for="txt-cfpassword">Webpage:</label>
                <input type="text" name="webpage" id="txt-cfpassword">
                
                <label for="txt-cfpassword">Skype:</label>
                <input type="text" name="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"></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"></textarea>
              
               <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="usercountry" value="<?=$_SESSION['countryname']?>" />
               <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>

./BlackJoker Mini Shell 1.0