-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomepage.php
202 lines (156 loc) · 7.24 KB
/
homepage.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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?php
$name = "";
if (isset($_COOKIE["name"]) && ($_COOKIE["name"] != "") && isset($_COOKIE["pass"]) && ($_COOKIE["pass"] == "true")) {
$name = $_COOKIE["name"];
?>
<!-- templatemo 385 floral shop -->
<!--
Floral Shop Template
http://www.templatemo.com/preview/templatemo_385_floral_shop
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>About - Spice It Up - About</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/orman.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "templatemo_menu", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
function clearText(field)
{
if (field.defaultValue == field.value) field.value = '';
else if (field.value == '') field.value = field.defaultValue;
}
</script>
</head>
<body>
<div id="templatemo_wrapper_sp">
<div id="templatemo_header_wsp">
<div id="templatemo_header" class="header_subpage">
<div id="site_title"><a href="#">Spice It Up</a></div>
<label> <font size="+2"><FONT FACE="courier">Spice up your life today!</FONT></font></label>
<div id="templatemo_menu" class="ddsmoothmenu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="products.html">Products</a>
<!--
<ul>
<li><a href="#subpage1">Sub Page One</a></li>
<li><a href="#subpage2">Sub Page Two</a></li>
<li><a href="#subpage3">Sub Page Three</a></li>
<li><a href="#subpage4">Sub Page Four</a></li>
<li><a href="#subpage5">Sub Page Five</a></li>
</ul> -->
</li>
<li><a href="checkout.html">Checkout</a></li>
<!-- <li><a href="contact.html">Contact</a></li> -->
<li><a href="Login.php">Log In</a></li>
<li><a href="Register.php">Register</a></li>
<li><a href="contact.php">Contact Us</a></li>
<li><a href="homepage.php" class="selected">Member Home Page</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
<!--
<div id="templatemo_search">
<form action="#" method="get">
<input type="text" value="Site Search" name="keyword" id="keyword" title="keyword"
onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value="" alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div> -->
<br style="clear: left" />
</div> <!-- end of templatemo_menu -->
</div> <!-- END of header -->
</div> <!-- END of header wrapper -->
<div id="templatemo_wrapper_sp">
<div id="templatemo_header_wsp">
<div id="templatemo_header" class="header_subpage">
<h2>Welcome, <?php echo $name ?>!</h2>
<p> </p>
<div class="cleaner h20"></div>
<center>
<h3>Authentic Global Cuisine Right in Your Pantry</h3>
<div class="cleaner"></div>
<div class="cleaner h20"></div>
<blockquote>Thank you so much for being a registered member of Spice It Up! Here, we have a variety of recipes for you to try with each spice. You could go savory, sweet, salty, or more, with our exclusive set of recipes that brings together cultures of all worlds! This is a member-only feature in order to show our spicy customers how much we appreciate their support. We are always here if you have any questions - don't hesitate to reach out at [email protected]!
</blockquote>
</center>
</br></br>
<div style="text-align: center" class="blank_box"> <span class="center"></span>
<center>
<div class="product_box">
<a href="productdetail.html"><img src="images/product/07.jpg" alt="Mitmita" /></a>
<h3>Salad Recipes</h3>
</div>
<div class="product_box">
<a href="productdetail.html"><img src="images/product/07.jpg" alt="Mitmita" /></a>
<h3>Salad Recipes</h3>
</div>
<div class="product_box">
<a href="productdetail.html"><img src="images/product/07.jpg" alt="Mitmita" /></a>
<h3>Salad Recipes</h3>
</div>
<div class="product_box">
<a href="productdetail.html"><img src="images/product/07.jpg" alt="Mitmita" /></a>
<h3>Salad Recipes</h3>
</div>
<div class="product_box">
<a href="productdetail.html"><img src="images/product/07.jpg" alt="Mitmita" /></a>
<h3>Salad Recipes</h3>
</div>
</center>
</div>
<div class="cleaner h70"></div>
<!-- <form>
<input type="button" value="Sign Up!" onclick="window.location.href='file:///C:/School/ecommerce-master/contact.html'"/>
</form> -->
</div>
<div class="cleaner"></div>
</div> <!-- END of main -->
</div> <!-- END of main wrapper -->
<div id="templatemo_footer_wrapper">
<div id="templatemo_footer">
<div class="footer_left">
<!--
<a href="#"><img src="images/1311260370_paypal-straight.png" alt="Paypal" /></a>
<a href="#"><img src="images/1311260374_mastercard-straight.png" alt="Master" /></a>
<a href="#"><img src="images/1311260374_visa-straight.png" alt="Visa" /></a> -->
<a href="#"><img src="images/bitpay-straight.png" alt="BitPay" /></a>
</div>
<div class="footer_right">
<!-- <p><a href="index.html">Home</a> | <a href="products.html">Products</a> | <a href="about.html">About</a> | <a href="faqs.html">FAQs</a> | <a href="checkout.html">Checkout</a> | <a href="contact.html">Contact</a></p> -->
<p>Copyright © 2017 <a href="#">Spice It Up</a></p>
</div>
<div class="cleaner"></div>
</div> <!-- END of footer -->
</div> <!-- END of footer wrapper -->
</div>
</body>
</html>
<?php
}
else {
header("Location: login.php");
die();
}
?>