Location: PHPKode > projects > OrangeDeals > orangedeals_v1.2/http/register_for_include.php
<?php 
$config=config();
if (!$config[3][1]) msg($lang['regClosed']);
$cities=cities();
$_SESSION["code"]=rand(1000, 9999);
?>
<?php include "header.php"; ?>
<title><?php echo $title; ?> - <?php echo $lang['register'] ?></title>
 <?php echo "<link rel='stylesheet' type='text/css' href='core_templates/".$imgs."default.css'>"; ?>
<script src="func.js" type="text/javascript"></script>
<div id="help_contentarea" style="position:absolute;
                           left:200;
                           visibility:visible; 
                           width:50%; 
                           height:0px; 
                           layer-backgroundcolor:#FFFFCC; 
                           border:1px none #000000; 
                           z-index:1"></div>
						   
						   
						   <form name="form1" method="post" action="register_.php">
<table >
	<tr>
	  <td ><label><?php echo $lang['username'] ?></label></td>
      <td ><input class='textbox' type="text" name="name" /></td>
  </tr>
	<tr>
	  <td ><?php echo $lang['password'] ?></td>
      <td ><input class='textbox' type="password" name="pass" /></td>
  </tr>
	<tr>
	  <td ><?php echo $lang['retypePass'] ?></td>
      <td ><input class='textbox' type="password" name="pass_" /></td>
  </tr>
	<tr>
	  <td ><?php echo $lang['validEmail'] ?></td>
      <td ><input class='textbox' type="text" name="email" /></td>
  </tr>
  	<tr>
	  <td ><?php echo $lang['retypeEmail'] ?></td>
      <td ><input class='textbox' type="text" name="email2" /></td>
  </tr>
    	<tr>
	  <td colspan="2"><font class="explain_text">(<?php echo $lang['you_will_have_to_confirm_email'] ?>)</font></td>
  </tr>
	<tr>
	  <td ><?php echo $lang['your_city'] ?></td>
      <td nowrap="nowrap"><select class='dropdown' name="city">
	  
	    <option value="-1" selected="selected"><?php echo $lang['selectcity1_required']?></option>
        <?php 
		
			for ($i=0; $i<count($cities); $i++) echo "<option value='".$i."'>".$cities[$i][1]."</option>";
		
		 ?>
      </select><a class='q_link' href="javascript:ajaxpage('help_msg.php?id=1', 'help_contentarea');">?</a><br> <select class='dropdown' name="city1">
	   <option value="-1" selected="selected"><?php echo $lang['selectcity2']?></option>
	  
        <?php 
		
			for ($i=0; $i<count($cities); $i++) echo "<option value='".$i."'>".$cities[$i][1]."</option>";
		
		 ?>
      </select><br> <select class='dropdown' name="city2">
	  
	    <option value="-1" selected="selected"><?php echo $lang['selectcity3']?></option>
        <?php 
		
			for ($i=0; $i<count($cities); $i++) echo "<option value='".$i."'>".$cities[$i][1]."</option>";
		
		 ?>
      </select></td>
    <tr>
      <td colspan="2" ><font class="explain_text">(<?php echo $lang['choose_city_explain'] ?>)</font></td>
    <tr><td colspan="2"></tr>
  </tr>
	<tr>
	  <td nowrap="nowrap"><?php echo $lang['typeCode'] ?>'<?php echo $_SESSION["code"];?>'	 	  </td>
      <td ><input  type="hidden" name="code_" value="<?php echo $_SESSION["code"];?>"/><input class='textbox' type="text" name="code" /></td>
  </tr>
	<tr>
	  <td ><input class='button' type="submit" name="reg" value="<?php echo $lang['submit'] ?>" /></td>
	  <td >&nbsp;</td>
  </tr>
</table>

</form>
Return current item: OrangeDeals