-
Notifications
You must be signed in to change notification settings - Fork 0
/
createaccount.php
84 lines (67 loc) · 2.44 KB
/
createaccount.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
session_start();
include "../../../connection_string.php";
?>
<!DOCTYPE html>
<html>
<head>
<title>ZUMBA AIR</title>
<link rel="stylesheet" type="text/css" href="zumbacss.css">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+KR|Pacifico" rel="stylesheet">
</head>
<div>
<?php
echo '
<div id="banner">
<div class="logoimg">
<img src="zumbaairlogo.png" height="140px" width="140px";>
</div>
<div class="logobrand">
<p>THE PRIDE OF AIR TRAVEL</p>
</div>
</div>
<div class="transition"><a href="logout.php"><input type="button" value="Logout"></a></div>';
?>
<?php
echo'<div id = "notes">' ;
echo "<ul style='list-style-type:none;'>";
echo'<li><form action="createaccount.php" method="GET">
<button class="button" type="submit" name="createaccount">Create Account </button>
</form> </li>' ;
echo'<li><form action="viewaccount.php" method="GET">
<button class="button" type="submit" name="viewaccount">View Account </button>
</form> </li>' ;
echo "</ul>";
echo "<br><br><br><br><br><br><br>";
echo "</div>";
?>
<?php
echo'<div id = "welcomepage">' ;
echo "<p class='welcomenote'>Welcome ".$_SESSION['username']."</p>";
echo'<form action="accountconfirmation.php" method="GET">
<center><b>Create-Account to access ZUMBA AIR\'s Meal Requisition form </b><br>
<b>Fields Marked With <span style="color:red">*</span> Are Required</b></center><br>
<div class="labeldiv">
<label><span style="color:red" >*</span>Company ID:</label>
<input type="int" name="comid" maxlength="4"><br><br>
<label><span style="color:red">*</span>First Name:</label>
<input type="fname" name="fname"><br><br>
<label><span style="color:red">*</span>Last Name:</label>
<input type="lname" name="lname"><br><br>
<label><span style="color:red">*</span>Email:</label>
<input type="email" name="email"><br><br>
<label><span style="color:red">*</span>Phone#:</label>
<input type="int" name="phone" maxlength="10"><br><br>
<label><span style="color:red">*</span>Password:</label>
<input type="password" name="password" minlength="5" maxlength="15"><br><br>
<center><button class="button" type="submit" name="createbutton">Create-Account</button>
</div>
' ;
echo "<br> <br>";
?>
</div>
<div id="footer">
</br>
<b>© Zumba Air| [email protected] | </b></div>
</body>
</html>