-
Notifications
You must be signed in to change notification settings - Fork 51
/
register.php
167 lines (89 loc) · 3.13 KB
/
register.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<?php
include("functions/functions.php");
include("includes/db.php");
include ('header.php');
?>
<div class="crumb_navigation"> Navigation: <span class="current">Home</span>
<?php
if(isset($_GET['cat'])){
$get_id = $_GET['cat'];
$query = "select cat_title from categories where cat_id='$get_id'";
$run_query = mysqli_query($con,$query);
$row = mysqli_fetch_array($run_query);
$cat = $row['cat_title'];
echo"<span class=current>>$cat</span>";
}
?>
</div>
<div class="left_content">
<div class="title_box">Categories</div>
<ul class="left_menu">
<?php
getcats();
?>
</ul>
<div class="title_box">Manufacturers</div>
<ul class="left_menu">
<?php getbrands(); ?>
</ul>
<br>
<br>
<div class="banner_adds"> <a href="#"><img src="images/bann2.jpg" alt="" border="0" /></a> </div>
<br>
<br>
<br>
<?php
special();
?>
</div>
<!-- end of left content -->
<div class="center_content">
<div id="form">
<div class="formbox1" >
<h1>Register</h1>
<form action="includes/signup.php" method="POST">
<p><input id="text2" name="name" type="text" placeholder=" Name" required/></p>
<p><input id="text2" name="e_mail" type="text" placeholder=" E-Mail" required/></p>
<p><input id="text2" name="password1" type="text" placeholder=" Enter Password" required/></p>
<p><input id="text2" name="password2"type="text" placeholder=" Confirm Password" required/></p>
<p><input id="text2" name="gender" type="text" placeholder=" Gender" required/></p>
<p><input id="text2" name="mobile_no" type="text" placeholder=" Mobile No." required/></p>
<!--<p><strong class="pi">Upload Your Image:</strong></p>
<p><input type="file" id="text2" name="image" required/></p>-->
<p><input id="btn1" type="submit" name="submit" value="Sign Up  ";/>
</form>
</div>
</div>
</div>
<!-- end of center content -->
<div class="right_content">
<div class="shopping_cart">
<div class="cart_title"><i>Welcome Guest!</i><br>Shopping cart</div>
<div class="cart_details"><font color="blue"><?php total_items(); ?></font> item(s) <br />
<span class="border_cart"></span> Total:<span class="price"><?php total_price(); ?> </span> </div>
<div class="cart_icon"><a href="cart.php" title="header=[Checkout] body=[ ] fade=[on]"><img src="images/shoppingcart.png" alt="" width="48" height="48" border="0" /></a></div>
</div>
<br>
<?php
special();
?>
<br>
<?php
special();
?>
<br>
<?php
special();
?>
<br>
<?php
special();
?>
<!-- end of right content -->
</div>
<?php
include("footer.php");
?>
</div>
</body>
</html>