-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix_match.php
106 lines (95 loc) · 2.74 KB
/
mix_match.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
<?php session_start();?>
<html>
<head>
<title>Mix & Match</title>
<link rel="stylesheet" href="./css.css">
<link rel="stylesheet" href="./mix&match.css">
</head>
<body>
<ul>
<li>
<a class="logo" href="index.php">
<b>
<font size="4">Mixthy</font>
</b>
</a>
</li>
<li class="auth">
<?php
if(isset($_SESSION["click"])){?>
<div>
<span class="logo">
<b>
<font size="4">
<?php echo $_SESSION["Username"];?>
</font>
</b>
</span>
<a class="logo" href="logout.php">
<b>
<font size="4">Log out</font>
</b>
</a>
</div>
<?php
}
else{?>
<a class="logo" href="login.php">
<b>
<font size="4">LogIn</font>
</b>
</a>
<?php
}
?>
</li>
</ul>
<div class="w3-content w3-section" >
<img class="mySlides" src="./img/slide.jpg" style="width:100%;height:25%">
<img class="mySlides" src="./img/slide9.jpg" style="width:100%;height:25%">
<img class="mySlides" src="./img/slide7.jpg" style="width:100%;height:25%">
</div>
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {
myIndex = 1
}
x[myIndex - 1].style.display = "block";
setTimeout(carousel, 2000); // Change image every 2 seconds
}
</script>
<ul class="menu">
<li>
<a class="logo" href="index.php">
<b>Top vote</b>
</a>
</li>
<li>
<a class="active logo" href="mix&match.php">
<b>Mix & Match</b>
</a>
</li>
<li>
<a class="logo" href="add.php">
<b>Add</b>
</a>
</li>
</ul>
<div class="content">
<h1><b>Mix&Match</b></h1>
</div>
<div class="box">
<?php //session_start(); ?>
<a href="menmnm.php" class="button-men"><b>MEN</b></a>
<a href="womenmnm.php" class="button-women"><b>WOMEN</b></a>
</div>
</body>
</html>