12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- session_start();
- if(isset($_SESSION['hostz-user']) && isset($_SESSION['hostz-passwd'])) { header("Location: ctrl.php"); }
- //$header = file_get_contents("header.txt");
- //echo $header;
- //$page_title = "Drive";
- //$indir = "true";
- //include_once("../data/header.php");
- include("config.php");
- include_once("header.php");
- if(isset($_GET['error']))
- {
- echo "<div class='ptitle'>$title: $desc</div>\n";
- $error = $_GET['error'];
- if($error=="1") { echo "Error: No username provided."; }
- if($error=="2") { echo "Error: No password provided."; }
- if($error=="3") { echo "Error: Passwords provided did not mach."; }
- if($error=="4") { echo "Error: Username in use."; }
- //if($error=="5") { echo "Error: Invalid validation code"; }
- if($error=="6") { echo "Error: No email provided."; }
- if($error=="7") { echo "Error: Not a valid email address."; }
- if($error=="8") { echo "Error: Register form not completely filled out."; }
- if($error=="9") { echo "Error: VPS package not available at this time."; }
- if($error=="10") { echo "Error: The provided email has already been registered with EEZE Host."; }
- }
- else
- {
- echo "<div class='ptitle'>$title: $desc ~ register</div>\n";
- print <<<EOD
- <div class="form">
- <form method="post" action="create.php">
- <table>
- <tr>
- <td>Username:</td>
- <td><input type="text" name="filezusername"></td>
- </tr>
- <tr>
- <td>Password:</td>
- <td><input type="password" name="filezpassword"></td>
- </tr>
- <tr>
- <td>Confirm Password:</td>
- <td><input type="password" name="filezpasswordagain"></td>
- </tr>
- <tr>
- <td>Terms Of Service:</td>
- <td>By signing up for this service, you are <br>agreeing to the <a href='terms.php'>Terms Of Service</a></td>
- </tr>
- <tr>
- <td>Go!</td>
- <td><input type="submit" value="Get Your Webspace"></td>
- </tr>
- </table>
- </form>
- </div>
- EOD;
- }
- //include_once("../data/footer.php");
- $footer = file_get_contents("footer.txt");
- echo $footer;
- ?>
|