| Line 1... |
Line 1... |
| 1 |
<?php
|
1 |
<?php
|
| - |
|
2 |
// Include Session Handling
|
| - |
|
3 |
require_once('includes/session.php');
|
| - |
|
4 |
|
| 2 |
// Include config & login validate file
|
5 |
// Include config & login validate file
|
| 3 |
require_once 'includes/validateUser.php';
|
6 |
require_once 'includes/validateUser.php';
|
| 4 |
|
7 |
|
| 5 |
if(isset($_SESSION['signup_post_data'])){
|
8 |
if(isset($_SESSION['signup_post_data'])){
|
| 6 |
// Get not submitted form data from session
|
9 |
// Get not submitted form data from session
|
| Line 26... |
Line 29... |
| 26 |
<!--head-->
|
29 |
<!--head-->
|
| 27 |
<?php include_once 'elements/head.php'; ?>
|
30 |
<?php include_once 'elements/head.php'; ?>
|
| 28 |
<!--//head-->
|
31 |
<!--//head-->
|
| 29 |
</head>
|
32 |
</head>
|
| 30 |
<body>
|
33 |
<body>
|
| 31 |
<div class="container">
|
34 |
<div class="container-fluid">
|
| 32 |
<!--header-->
|
35 |
<!--header-->
|
| 33 |
<?php include_once 'elements/header.php'; ?>
|
36 |
<?php include_once 'elements/header.php'; ?>
|
| 34 |
<!--//header-->
|
37 |
<!--//header-->
|
| 35 |
|
38 |
|
| 36 |
<!--main-->
|
39 |
<!--main-->
|
| Line 43... |
Line 46... |
| 43 |
<div class="frm-input <?php echo !empty($fieldError['first_name'])?'error':''; ?>">
|
46 |
<div class="frm-input <?php echo !empty($fieldError['first_name'])?'error':''; ?>">
|
| 44 |
<input type="text" name="first_name" class="user-in" placeholder="First name" value="<?php echo !empty($signup_post_data['first_name'])?$signup_post_data['first_name']:''; ?>" required="">
|
47 |
<input type="text" name="first_name" class="user-in" placeholder="First name" value="<?php echo !empty($signup_post_data['first_name'])?$signup_post_data['first_name']:''; ?>" required="">
|
| 45 |
<?php echo !empty($fieldError['first_name'])?'<p>'.$fieldError['first_name'].'</p>':''; ?>
|
48 |
<?php echo !empty($fieldError['first_name'])?'<p>'.$fieldError['first_name'].'</p>':''; ?>
|
| 46 |
</div>
|
49 |
</div>
|
| 47 |
<div class="frm-input <?php echo !empty($fieldError['last_name'])?'error':''; ?>">
|
50 |
<div class="frm-input <?php echo !empty($fieldError['last_name'])?'error':''; ?>">
|
| 48 |
<input type="text" name="last_name" class="user-in" placeholder="Last name" value="<?php echo !empty($signup_post_data['last_name'])?$signup_post_data['last_name']:''; ?>" required="">
|
51 |
<input type="text" name="last_name" class="user-in" placeholder="Last name" value="<?php echo !empty($signup_post_data['last_name'])?$signup_post_data['last_name']:''; ?>">
|
| 49 |
<?php echo !empty($fieldError['last_name'])?'<p>'.$fieldError['last_name'].'</p>':''; ?>
|
52 |
<?php echo !empty($fieldError['last_name'])?'<p>'.$fieldError['last_name'].'</p>':''; ?>
|
| 50 |
</div>
|
53 |
</div>
|
| 51 |
<div class="frm-input">
|
54 |
<div class="frm-input">
|
| 52 |
<input type="text" name="zip" class="addr-in" placeholder="Zip" value="<?php echo !empty($signup_post_data['zip'])?$signup_post_data['zip']:''; ?>">
|
55 |
<input type="text" name="zip" class="addr-in" placeholder="Zip" value="<?php echo !empty($signup_post_data['zip'])?$signup_post_data['zip']:''; ?>">
|
| 53 |
</div>
|
56 |
</div>
|