-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.php
140 lines (93 loc) · 4.25 KB
/
signup.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?php
$customer = New customer;
$res = $customer->single_customer($_SESSION['CUSID']);
?>
<h3>Your Account</h3>
<form class="form-horizontal span6" action="customer/controller.php?action=edit" onsubmit="return personalInfo();" name="personal" method="POST" enctype="multipart/form-data">
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<div class="col-md-12">
<label class="col-md-4 control-label" for=
"FNAME">First Name:</label>
<div class="col-md-8">
<input class="form-control input-sm" id="FNAME" name="FNAME" placeholder=
"First Name" type="text" value="<?php echo $res->FNAME; ?>">
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<div class="col-md-12">
<label class="col-md-4 control-label" for=
"LNAME">Last Name:</label>
<div class="col-md-8">
<input class="form-control input-sm" id="LNAME" name="LNAME" placeholder=
"Last Name" type="text" value="<?php echo $res->LNAME; ?>">
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<div class="col-md-12">
<label class="col-md-4 control-label" for=
"CITYADD">Municipality/City:</label>
<div class="col-md-8">
<input class="form-control input-sm" id="CITYADD" name="CITYADD" placeholder=
"Municipality/City Address" type="text" value="<?php echo $res->CITYADD; ?>">
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<div class="col-md-12">
<label class="col-md-4 control-label" for=
"PHONE">Contact#:</label>
<div class="col-md-8">
<input class="form-control input-sm" id="PHONE" name="PHONE" placeholder=
"Contact Number" type="text" value="<?php echo $res->PHONE; ?>">
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<div class="col-md-12">
<label class="col-md-4 control-label" for=
"CUSUNAME">Username:</label>
<div class="col-md-8">
<input class="form-control input-sm" id="CUSUNAME" name="CUSUNAME" placeholder=
"Username" type="text" value="<?php echo $res->CUSUNAME; ?>">
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<div class="col-md-12">
<label class="col-md-4 control-label" for=
"GENDER">Gender:</label>
<div class="col-lg-8">
<input id="GENDER" name="GENDER" type="radio" <?php echo ($res->GENDER=='Male') ? 'CHECKED' : '' ; ?> value="Male" /><b> Male </b>
<input id="GENDER" name="GENDER" type="radio" <?php echo ($res->GENDER=='Female') ? 'CHECKED' : '' ; ?> value="Female" /> <b> Female </b>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<div class="col-md-12">
<label class="col-md-4" align = "right"for=
"btn"></label>
<div class="col-md-8">
<input type="submit" name="save" value="Save" class="submit btn btn-primary btn-lg" />
</div>
</div>
</div>
</div>
</form>
</form>