Location: PHPKode > projects > OpenDomains > template/opendomains/register.php
<?
// Security
if(define("opendomains", false)) die("Hacking System");

// Register <-- please dont edit any thing of you don't know PHP Language.
?>
<h3><?=$lang["check_availability"]?></h3>
<center><p align=center > 

<form action='check.php' method='post' target='ajax' name="fcheck" id="fcheck">
  <p>
    <?=$lang["account"]?> 
    <input type='text' name='txt1' value='<?=$_POST['txt1']?>'>
    .
    <select name='txt2'>
      <?=exedns();?>
    </select>
      <br>
      <b><a href="Javascript:document.getElementById('fcheck').action='check.php';loginz('fcheck');">[ 
      <?=$lang["check_it"]?> 
      ] </a> &nbsp;&nbsp;&nbsp;
      <a href="Javascript:document.getElementById('fcheck').action='whois.php';loginz('fcheck');"> [ Whois ]  </a>      </b></p>
<?=$lang["help24"]?>
</form>
</p></center>

<div id='dv' name='dv' style="visibility:hidden;">
<h3><?=$lang["your_account"]?></h3>
<p align=left >
<?=$lang["Please_complete_all_form_to_create_your_account_!"]?>
<form action='check.php' method='post' target='ajax' name='frm' id='frm'>
<input type='hidden' name='txtreg' value=''>
<input type='hidden' name='txt1' value=''>
<input type='hidden' name='txt2' value=''>
<table width='100%' cellspacing=0 cellpadding=2 border=0 >
<tr><td width=10 ><img src='images/checkbox.png' bordre=0 height=100% ></td>
<td valign=center align=left width=35% >
<b><?=$lang["full_name"]?></b>
</td>
<td align=left valign=center  >
<input type='text' name='txtname' value='' class="tbox" >
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ><img src='images/checkbox.png' bordre=0 height=100% ></td>
<td valign=center align=left >
<b><?=$lang["email"]?></b>
</td>
<td align=left valign=center >
<input type='text' name='txtemail' value='' class="tbox" >
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ><img src='images/checkbox.png' bordre=0 height=100% ></td>
<td valign=center align=left >
<b><?=$lang["password"]?></b>
</td>
<td align=left valign=center >
<input type='password' name='txtpass1' value='' class="tbox" >
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ><img src='images/checkbox.png' bordre=0 height=100% ></td>
<td valign=center align=left >
<b><?=$lang["confirm_pass"]?></b>
</td>
<td align=left valign=center >
<input type='password' name='txtpass2' value='' class="tbox" >
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ><img src='images/checkbox.png' bordre=0 height=100% ></td>
<td valign=center align=left >
<b><?=$lang["country"]?></b>
</td>
<td align=left valign=center >
<?
include("include/country.php");
echo $country;
?>
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr>
<td colspan=10 ><?=$lang["web_info"]?></td>
</tr>
<tr><td width=10 ></td>
<td valign=center align=left >
<b><?=$lang["web_title"]?></b>
</td>
<td align=left valign=center >
<input type='text' name='txttitle' value='' class="tbox">
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ></td>
<td valign=center align=left >
<b><?=$lang["web_key"]?></b>
</td>
<td align=left valign=center >
<input type='text' name='txtkey' value='' class="tbox">
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ></td>
<td valign=center align=left >
<b><?=$lang["web_des"]?></b>
</td>
<td align=left valign=center >
<input type='text' name='txtdes' value='' class="tbox">
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ><img src='images/checkbox.png' bordre=0 height=100% ></td>
<td valign=center align=left >
<b><?=$lang["target_url"]?></b>
</td>
<td align=left valign=center >
<input type='text' name='txturl' value='http://' class="tbox" >
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ><img src='images/checkbox.png' bordre=0 height=100% ></td>
<td valign=center align=left >
<b><?=$lang["web_cloak"]?></b>
</td>
<td align=left valign=center >
<Select name='txtcloak'>
<option value='1'>Yes</option>
<option value='0'>No</option>
</Select> 
</td>
<td width=10 >&nbsp;</td>
</tr>
<tr><td width=10 ></td>
<td colspan=10 ><?=$lang["cloak_no"]?>
</td>
</tr>

<tr><td width=10 ></td>
<td valign=center align=left >
<b><?=$lang["web_fav"]?></b>
</td>
<td align=left valign=center >
<input type='text' name='txtfav' value='http://' class="tbox">
</td>
<td width=10 >&nbsp;</td>
</tr>
<?
$kt=0;
$addi=false;
for($i=1;$i<=4;$i++) {

	eval("if(\$web[config][cus".$i."]<>'') { \$addi=true; \$name=\$web[config][cus".$i."]; } else { \$addi=false; }");
	
	if($addi==true) {
		if($kt==0) {
			echo "<tr>
<td colspan=10 >".$lang["add_info"]."</td></tr>";
			$kt=1;
		}
		
	echo "
	<tr><td width=10 ></td>
	<td valign=center align=left >
	<b>$name:</b>
	</td>
	<td align=left valign=center >
	<input type='text' name='txtcus".$i."' value='' class='tbox'>
	</td>
	<td width=10 >&nbsp;</td>
	</tr>		
	";
	}
	
	
}

?>
<tr><td width=10 ><img src='images/checkbox.png' bordre=0 height=100% ></td>
<td valign=center align=left >
<?=$lang["security_code"]?> <b><?=$config[scode]?></b>
</td>
<td align=left valign=center >
<input type='text' name='txtcode' value='<?=substr($config[scode],0,3)?>' class="tbox">
</td>
<td width=10 >&nbsp;</td>
</tr>

<tr>
<td colspan=10  ><input type='checkbox' name='ch' value='checked' >  <?=$lang["read_terms"]?> 
</td></tr>
<tr><td width=10 ></td>
<td valign=center align=left >
</td>
<td align=left valign=center >
<b><a href="Javascript:loginz('frm');">[ <?=$lang["sign_up"]?> ]</a></b>

</td>
<td width=10 >&nbsp;</td>
</tr>

</table>
</p><br><br>
</form>

</div>
<?
// check domain from Home Page -> Register
if(($_POST['txt1'])and($_POST['txt2'])) {
	$txt1=str_replace("'","",$_POST['txt1']);
	$txt2=str_replace("'","",$_POST['txt2']);	
	?>
	<script language="javascript">
	document.fcheck.txt1.value='<?=$txt1?>';
	document.fcheck.txt2.value='<?=$txt2?>';
	document.fcheck.submit();
	</script>
	<? 
}
?>
Return current item: OpenDomains