-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.php
78 lines (74 loc) · 2.84 KB
/
home.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Manager Portal</title>
<link rel="stylesheet" href="hw2.css"/>
<?session_start()?>
</head>
<body>
<h1><a href="http://tinyurl.com/mstgdqk"><img src="http://tinyurl.com/on58dwh" alt=" photo Untitled_zps8bfcff57.jpg"/></a></h1>
<?if($_SESSION['account'] == "manager"){print '
<h4>Welcome '.$_SESSION['name'].' <form method="post" action="signout.php"><input type="submit" value="Logout" /></form></h4>
<hr/>
<h2>Home Screen</h2>
<div id="nav">
<h3>Navigation - Manager Portal</h3>
<form name="form1" method="post" action="hw2.php">
<div>
<select name="page">
<option value="home">Home</option>
<option value="order">New Order Form</option>
<option value="edit">Edit Order Form</option>
<option value="customer">New Customer Form</option>
<option value="edit_customer">Edit Customer</option>
<option value="manage">Management Access Only</option>
<option value="report">Itemized Sales Report</option>
<option value="performance">Performance Report</option>
<option value="business">Business Report</option>
</select>
<input type="hidden" name="acct" value="manager"/>
</div>
<p><input type="submit" value="Submit" /></p>
</form>
8:00 a.m. BIT 4444<br/>
Group 6 Team Members:<br/>
Minahm Kim<br/>
Andrew Knittle<br/>
Nathan Egbert<br/>
Last Modified: 10/27/2014
</div>';}
else{print '
<h4>Welcome '.$_SESSION['name'].' <form method="post" action="signout.php"><input type="submit" value="Logout" /></form><br /></h4>
<hr/>
<h2>Home Screen</h2>
<div id="nav">
<h3>Navigation - Employee Portal</h3>
<form name="form1" method="post" action="hw2.php">
<div>
<select name="page">
<option value="home">Home</option>
<option value="order">New Order Form</option>
<option value="edit">Edit Order</option>
<option value="customer">New Customer Form</option>
<option value="edit_customer">Edit Customer</option>
<option value="item">Itemize sales report</option>
</select>
<input type="hidden" name="acct" value="user"/>
</div>
<p><input type="submit" value="Submit" /></p>
</form>
8:00 a.m. BIT 4444:<br/>
Group 6 Team Members:<br/>
Minahm Kim<br/>
Andrew Knittle<br/>
Nathan Egbert<br/>
Last Modified: 10/27/2014
</div>';}?>
<div id="section">
Building a web based decision support system (DSS) to assist managers and sales staff at Piedmont Furnishings with sale orders, customer forms,
itemized sales report, and performance/business analysis reports. This web based DSS is designed to help the day-to-day activities at Piedmont
Furnishings be more organized and streamline sales for the managers and sales staff to prevent errors and increase customer’s satisfaction.
</div>
</body>
</html>