-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
78 lines (59 loc) · 1.57 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
<!DOCTYPE html>
<!--
capstone
index.php
-->
<html lang="en">
<head>
<!-- establish correct base based on URI -->
<?php
if (substr($_SERVER['HTTP_HOST'],0,9) == 'localhost')
{
echo '<base href="http://localhost/CIS-440/capstone-project/">';
include('connect/local-connect.php');
}
else
echo '<base href="http://worduprede.apbdp5e3g7.us-west-2.elasticbeanstalk.com/">';
?>
<!-- Meta tag -->
<meta charset="utf-8" />
<meta name="robots" content="noindex,nofollow" />
<!-- Link tag for CSS -->
<link type="text/css" rel="stylesheet" href="stylesheets/postFormSS.css" />
<!-- favicon link -->
<link type="image/gif" rel="icon" href="images/cs.ico" />
<!-- Web Page Title -->
<title>CAPSTONE MOCKUP</title>
</head>
<body>
<div id="question">
<center>
<p>Please leave your feedback....</p>
</center>
</div>
<div id="wrapper">
<form id="postform" action="process/confirm.php" method="post">
<center>
<label for="name">Name:</label>
<input type="text" id="name" name="name"
autofocus
placeholder="optional..."
/>
<br />
<br />
<textarea type="text" id="post" name="post"
autofocus
required
></textarea>
<p class="submit">
<input type="submit" value="SUBMIT" />
<span class="reset">
<input type="reset" value="CLEAR" onclick="history.go(0)" />
</span>
</p>
</center>
</form>
<div id="prefooter"></div>
</div>
</body>
</html>