Пример #1
0
<?php

session_start();
include_once 'class/class.pagebuild.php';
$page = new pageBuild();
$title = "New Car Scrimmage - Account";
$page->defaultHead($title);
// Start any script or style customizations
$page->startBody();
$page->navBar();
$_SESSION['userInfo'] = $_POST;
if (isset($_GET['err'])) {
    if ($_GET['err'] == "wrongpassword") {
        $page->dialog('Login Incorrect');
    } elseif ($_GET['err'] == 'logout') {
        $page->dialog('Successfully logged out');
    }
}
if (isset($_GET['mess'])) {
    if ($_GET['mess'] === 'login') {
        $page->dialog('Successfully logged in');
    }
}
?>
<h2>Create an Account</h2>
<p>Please create a username and password combination.  This will be used to access your central control panel where you can view information about your deals, read offers, and compare them against other local deals.</p>
<form class="form-horizontal" method="POST" action="utils/signup.php">
<fieldset>

<!-- Form Name -->
<legend></legend>
Пример #2
0
<?php

session_start();
include_once 'class/class.pagebuild.php';
$page = new pageBuild();
$title = "New Car Scrimmage - About You";
$page->defaultHead($title);
// Start any script or style customizations
$page->startBody();
$page->navBar();
?>
<h2>Dealer Sign Up</h2>
<p>By signing up, you'll be able to find potential buyers in your area.  You'll be notified of new buyers who are searching for vehicles that match your inventory and be able to send them offers.</p>

<!-- Form Name -->
<legend></legend>

<form class="form-horizontal" action="utils/signup.php" method="POST">
<fieldset>

<!-- Text input-->
<div class="form-group">
  <label class="col-md-4 control-label" for="username">Username</label>  
  <div class="col-md-4">
  <input id="username" name="username" type="text" placeholder="" class="form-control input-md" required="">
  </div>
</div>

<!-- Password input-->
<div class="form-group">
  <label class="col-md-4 control-label" for="password">Password</label>