-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
178 lines (167 loc) · 9.05 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html>
<head>
<?php
/*
* index.php
* Homepage
* Contains Search form to search for college, department, professor or course.
* Also contains information on how to use search functionality and add reviews.
*/
?>
<meta charset="utf-8"/>
<title>Rate My Professor</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<script src="js/jquery.min.js"></script>
<!-- bootstrap Javascript flie -->
<script src="js/bootstrap.min.js"></script>
<?php
include_once('links.html');
?>
</head>
<body>
<?php
include_once('nav.php');
?>
<div class="jumbotron" style="background: url('img/background2.jpg')">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8"><b><h1 style="text-align: center; color: dodgerblue; text-shadow: 4px 4px 6px #cbb;">Read Reviews and Share Your Experiences</h1></b></div>
<div class="col-md-2"></div>
</div>
<div class="container" style="padding-top: 20px">
<ul class="nav nav-tabs nav-justified" style="font-size: 14pt">
<li class="active"><a data-toggle="tab" href="#prof">Search Professor</a></li>
<li><a data-toggle="tab" href="#college">Search College</a></li>
<li><a data-toggle="tab" href="#dept">Search Department</a></li>
<li><a data-toggle="tab" href="#course">Search Course</a></li>
</ul>
<div class="tab-content" align='center' style="text-align: center">
<div id="prof" class="tab-pane fade in active" >
<form class="navbar-form" action="Search.php" method="POST">
<div class="form-group" style="padding-top: 30px">
<div class="input-group input-group-lg">
<input type="hidden" name="professorOnly" value="true">
<input type="text" name="query" class="form-control" style="height: 60px; width: 100%; border-radius:25px; font-size: x-large" placeholder="Professor's Name"></td>
<hr style="height:30pt; visibility:hidden;" />
<button type="submit" class="btn btn-default" >Search</button>
</div>
</div>
</form>
</div>
<div id="college" class="tab-pane fade">
<h4>Search by Name</h4>
<form class="form-group" method="POST" action="Search.php">
<div class="form-group">
<input type="hidden" name="collegeOnly" value="true">
<input type="text" name="query" class="form-control " placeholder="College Name">
</div>
<button type="submit" class="btn btn-default">Search</button>
</form>
<h4>Search by State</h4>
<form class="form-group" method="POST" action="Search.php">
<input type="hidden" name="collegeOnly" value="true">
<select class="form-control" name="state">
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="DC">District Of Columbia</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
<input type="submit" class="btn btn-default" value="Search">
</form>
</div>
<div id="dept" class="tab-pane fade" align='center' style="text-align: center">
<form class="navbar-form" action="Search.php" method="POST">
<div class="form-group" style="padding-top: 30px">
<div class="input-group input-group-lg">
<input type="text" name="College" class="form-control" style="height: 50px; width: 100%; border-radius:25px; font-size: larger" placeholder="College">
<input type="text" name="Department" class="form-control" style="height: 50px; width: 100%; border-radius:25px; font-size: larger" placeholder="Department">
<hr style="height:60pt; visibility:hidden;"/>
<button type="submit" class="btn btn-default">Search</button>
</div>
</div>
</form>
</div>
<div id="course" class="tab-pane fade" align='center'>
<form class="navbar-form" action="Search.php" method="POST">
<div class="form-group" style="padding-top: 30px">
<div class="input-group input-group-lg">
<input type="text" name="College" class="form-control" style="height: 50px; width: 100%; border-radius:25px; font-size: larger" placeholder="College">
<input type="text" name="Course" class="form-control" style="height: 50px; width: 100%; border-radius:25px; font-size: larger" placeholder="Course">
<hr style="height:60pt; visibility:hidden;"/>
<button type="submit" class="btn btn-default">Search</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="jumbotron" style="background: url('img/background3.jpg')">
<h1 align="center" style="font-family: SansSerif; color: dodgerblue">How it works</h1>
<h2 align="center" style="font-family: SansSerif; color: dodgerblue">Read Reviews</h2>
<div class="jumbotron" align='center' style="background: url('img/instruct.gif') no-repeat center center; background-size: 80% 600px;">
<div style="height: 600px"></div>
</div>
<h2 align="center" style="font-family: SansSerif; color: dodgerblue">Rate professor/course</h2>
<div class="jumbotron" style="background: url('img/write.gif') no-repeat center center; background-size: 80% 700px;">
<div style="height: 700px"></div>
</div>
</div>
<div class="footer col-md-12">
<hr class="carved">
<div class="container-fluid">
<p>Rate My Professor © 2016
</p>
</div>
</div>
</body>
</html>