-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.php
81 lines (70 loc) · 1.95 KB
/
index.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
<?php
// Include MySQL class
//require_once('inc/mysql.class.php');
// Include database connection
//require_once('inc/global.inc.php');
// Include functions
require_once('inc/functions.inc.php');
// Start the session
session_start();
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Shoppers Stop</title>
<link rel="stylesheet" href="css/styles.css" />
<link rel="stylesheet" type="text/css" href="css/b1.css">
<script type="text/javascript">
function changeImage()
{
var img = document.getElementById("img");
img.src = images[x];
x++;
if(x >= images.length){
x = 0;
}
fadeImg(img, 100, true);
setTimeout("changeImage()", 1500);
}
function fadeImg(el, val, fade){
if(fade === true){
val--;
}else{
val ++;
}
if(val > 0 && val < 100){
el.style.opacity = val / 100;
setTimeout(function(){fadeImg(el, val, fade);}, 10);
}
}
var images = new Array(),
x = 0;
images[0] = "images/26.jpg";
images[1] = "images/27.jpg";
images[2] = "images/28.jpg";
images[3] = "images/25.jpg";
setTimeout("changeImage()", 2500);
</script>
</head>
<img src="images/logo.jpg" />
<a href="cart.php" ><img src="images/ccart.png" /></a> <a href="signin.php" id="current">Sign In</a> <a href="signout.php" id="current">Sign Out</a>
<a href="signup.php" id="current">Sign Up</a>
<div class="menu">
<ul>
<li><a href="index.php" >Home</a></li>
<li><a href="mens.php" id="current">Mens</a></li>
<li><a href="womens.php" id="current">Womens</a></li>
<li><a href="contactus.php" id="current">Contact Us</a></li>
<li><a href="aboutus.php" id="current">About Us</a></li>
</li>
</ul>
</div>
<body background="images/ba.jpg">
<img src="images/25.jpg" id="img"/>
<br>
<br>
<br>
<br>
<img src="images/main.jpg" />
</div>
</body>
</html>