<?php include 'inc/sqlinf.php';

?>
<html>
<head>
<title>Hosting Order Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include 'inc/apple.inc'; ?>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<div align="center"> <br>
  <table border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
	  <td width="17" bgcolor="#333333" background="img/tl.jpg"></td>
	  <td height="17" background="img/shgt.jpg"></td>
	  <td width="7" bgcolor="#333333" background="img/tr.jpg"></td>
	</tr>
	<tr> 
	  <td width="7" background="img/svgl.jpg"></td>
	  <td bgcolor="#FFFFFF"> 
		<table border="5" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" width="100%">
		  <tr> 
			<td valign="top" bgcolor="#FFFFFF"> 
			  <div align="center"><b>Your Hosting Company</b><br>
				Package &amp; Account Details </div>
			</td>
			<td valign="top">&nbsp; </td>
		  </tr>
		</table>
	  </td>
	  <td width="17" background="img/svgr.jpg"></td>
	</tr>
	<tr> 
	  <td width="7" bgcolor="#333333" background="img/bl.jpg"></td>
	  <td height="17" background="img/shg.jpg"></td>
	  <td width="7" bgcolor="#333333" background="img/br.jpg"></td>
	</tr>
  </table>
</div>
<form name="form1" action="order2.php" method="post">
  <table border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
	  <td width="17" bgcolor="#333333" background="img/tl.jpg"></td>
	  <td height="17" background="img/shgt.jpg"></td>
	  <td width="7" bgcolor="#333333" background="img/tr.jpg"></td>
	</tr>
	<tr> 
	  <td width="7" background="img/svgl.jpg"></td>
	  <td bgcolor="#FFFFFF"> 
		<table border="5" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
		  <tr> 
			<td valign="top" bgcolor="#FFFFFF"> 
			  <table border="5" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC" bordercolor="#FFFFFF" align="center" background="img/g.jpg">
				<tr valign="middle" bgcolor="#FFFFFF"> 
				  <td bgcolor="#F9F9F9"> 
					<div align="left"><font color="#000000"><b>PACKAGE</b></font></div>
				  </td>
				</tr>
				<tr bgcolor="#F9F9F9" valign="middle"> 
				  <td bgcolor="#FFFFFF"> 
					<div align="left"> <b>
					  <select name="hp">
						<?PHP

$SQL = "SELECT * from FREEHOSTING";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) ) {
include 'admin/query.php'; }

if ($free == 'NO'){

$SQL = "SELECT * from HOSTINGPACKAGES";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) ) {
include 'admin/query.php';

?>
						<option > 
						<?php echo $name; ?>
						</option>
						<?php }} else { 

$SQL = "SELECT * from FREEHOSTING";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) ) {
include 'admin/query.php'; }

?>
						<option > 
						<?php echo $name; ?>
						</option>
						<?php }?>
					  </select>
					  </b></div>
				  </td>
				</tr>
			  </table>
			</td>
			<td valign="top"> 
			  <table border="5" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC" bordercolor="#FFFFFF" align="center" background="img/g.jpg">
				<tr bgcolor="#F9F9F9" valign="middle"> 
				  <td bgcolor="#F9F9F9" height="0"><font color="#000000"> Username</font></td>
				  <td bgcolor="#FFFFFF" height="0"><b> 
					<input type="text" name="un" maxlength="8" value="<?php echo $un; ?>">
					</b></td>
				</tr>
				<tr bgcolor="#F9F9F9" valign="middle"> 
				  <td bgcolor="#F9F9F9" height="0"><font color="#000000"> Password 
					</font></td>
				  <td bgcolor="#FFFFFF" height="0"><b> 
					<input type="text" name="pw" maxlength="8" value="<?php echo $pw; ?>">
					</b></td>
				</tr>
				<tr bgcolor="#F9F9F9" valign="middle"> 
				  <td bgcolor="#F9F9F9" height="0"><font color="#000000"> Confirm 
					Password<font color="#F9F9F9">-</font></font></td>
				  <td bgcolor="#FFFFFF" height="0"><b> 
					<input type="text" name="confirmpassword" maxlength="8" value="<?php echo $confirmpassword; ?>">
					</b></td>
				</tr>
				<tr bgcolor="#F9F9F9" valign="middle"> 
				  <td bgcolor="#F9F9F9" height="0"><font color="#000000"> Email 
					Address</font></td>
				  <td bgcolor="#FFFFFF" height="0"><b> 
					<input type="text" name="email" value="<?php echo $email; ?>">
					</b></td>
				</tr>
				<tr bgcolor="#F9F9F9" valign="middle"> 
				  <td bgcolor="#F9F9F9" height="0"><font color="#000000"> Confirm 
					Email</font></td>
				  <td bgcolor="#FFFFFF" height="0"><b> 
					<input type="text" name="confirmemail" value="<?php echo $confirmemail; ?>">
					</b></td>
				</tr>
			  </table>
			</td>
		  </tr>
		</table>
		<table border="5" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" width="100%">
		  <tr> 
			<td valign="top" bgcolor="#FFFFFF"> 
			  <table border="5" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC" bordercolor="#FFFFFF" background="img/g.jpg" width="100%">
				<tr bgcolor="#F9F9F9" valign="middle"> 
				  <td bgcolor="#F9F9F9"> 
					<div align="center"><font color="#000000"> 
					  <?php

$SQL = "SELECT * from FREEHOSTING";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) ) {
include 'admin/query.php'; }

if ($syn == 'YES') {echo 'Subdomain Name';}else{echo 'Your Domain Name';}
?>
					  </font></div>
				  </td>
				  <td bgcolor="#FFFFFF"> 
					<div align="right">www. 
					  <input type="text" name="domain" value="<?php echo $domain; ?>">
					</div>
				  </td>
				</tr>
				<tr bgcolor="#F9F9F9" valign="middle"> 
				  <td bgcolor="#FFFFFF" width="50%"> 
					<div align="center"><font color="#000000"> 
					  <?php
if ($syn == NO) {
$SQL = "SELECT * from SETTINGS";
$result = mysql_query( $SQL );
while( $row = mysql_fetch_array( $result ) ) {
include 'admin/query.php'; }
echo "<a href=\"$dnr\" target=\"_blank\">Need a domain name?</a>"; } ELSE {echo "(.$sub)";}
?>
					  </font></div>
				  </td>
				  <td bgcolor="#FFFFFF" width="50%"> 
					<div align="right"><font color="#FFFFFF"><b> <br>
					  <input type="submit" style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 10px; background-color: #FCFCFC;" name="Next" value="&raquo; Next">
					  </b></font></div>
				  </td>
				</tr>
			  </table>
			</td>
		  </tr>
		</table>
	  </td>
	  <td width="17" background="img/svgr.jpg"></td>
	</tr>
	<tr> 
	  <td width="7" bgcolor="#333333" background="img/bl.jpg"></td>
	  <td height="17" background="img/shg.jpg"></td>
	  <td width="7" bgcolor="#333333" background="img/br.jpg"></td>
	</tr>
  </table>
  <div align="right"><font color="#CCCCCC"><br>
	<br>
	<font color="#cccccc">Powered by <font color="#cccccc">Auto-Host 
	2 </font></font></font></div>
  <div align="center"> 
	<p> 
  </div>
</form>
</body>
</html>
