This repository was archived by the owner on Feb 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomepage.php
85 lines (66 loc) · 1.51 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
<?php
session_start(); /// initialise session
include("redChickens.php");
check_logged();
?>
<?php
if (isset($_POST["home"]))
{
header("Location: homepage.php");
}
?>
<?php
if (isset($_POST["about"]))
{
header("Location: about.php");
}
?>
<?php
if (isset($_POST["feedback"]))
{
header("Location: feedback.php");
}
?>
<?php
if (isset($_POST["logout"]))
{
header("Location: logout.php");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel = "stylesheet" type ="text/css" href = "index.css" />
<title> Control Panel </title>
</head>
<fancyLogo><br /></fancyLogo>
<body>
<div id = "content">
<div id = "main-top"><!-- Leave this empty --></div>
<div id = "main-center">
<div class ="info">
<br />
<br />
<br />
<br />
<br />
<p> Welcome to the homepage for the Zebra Home Automation System! </p>
<p> This page lists the options available to you, the user. </p>
<form method=post><button name="home" value="home" class="IR"
id="IRbutton1"><em></em>Home</button>
<form method=post><button name="feedback" value="feedback" class="IR"
id="IRbutton3"><em></em>Feedback</button>
<form method=post><button name="about" value="about" class="IR"
id="IRbutton4"><em></em>About</button>
<form method=post><button name="logout" value="logout" class="IR"
id="IRbutton2"><em></em>Logout</button>
</div>
</div>
<div id ="main-bottom"><!--Leave this empty --></div>
<div id = "footer">
<div class="copyright">
</div>
</div>
</div>
</body>
</html>