forked from vaishnavi17/thevector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tutoring.php
188 lines (177 loc) · 5.83 KB
/
tutoring.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
179
180
181
182
183
184
185
186
187
188
<?php
$page_id = 'tutoring';
include "header.php";
?>
<!DOCTYPE html>
<head>
<link rel="stylesheet" href="css/style.css">
</head>
<body class="inner-page">
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #000099;
text-align: center;
padding: 8px;
width: 300px;
}
thead {
background-color: #dddddd;
}
</style>
<div id="fh5co-hero">
<a href="#fh5co-main" class="smoothscroll fh5co-arrow to-animate hero-animate-4"><i class="ti-angle-down"></i></a>
<!-- End fh5co-arrow -->
<div class="container">
<div class="col-md-8 col-md-offset-2">
<div class="fh5co-hero-wrap">
<div class="fh5co-hero-intro">
<h1 class="to-animate hero-animate-1">Tutoring</h1>
<h2 class="to-animate hero-animate-2">We'd love to help you out.</h2>
</div>
</div>
</div>
</div>
</div>
<div id="fh5co-main">
<div class="container">
<div>
<div class="col-md-8">
<form action="tutoring_mailer.php" method="POST">
<?php
if (!isset($_SESSION['LoggedIn'])) {
print "<p style = 'color: red'>You need to be logged in first!</p>";
}
?>
<table>
<thead>
<tr>
<th></th>
<th> 1 </th>
<th> 2 </th>
<th> 3 </th>
<th> 4 </th>
<th> 5 </th>
<th> 6 </th>
<th> 7 </th>
<th> 8 </th>
<th> 9 </th>
<th> 10 </th>
<th> Stayback (2:30 to 3:30) </th>
</tr>
</thead>
<tbody>
<tr>
<td>Monday</td>
<td><input type="checkbox" name = "mon1"/></td>
<td><input type="checkbox" name = "mon2"/></td>
<td><input type="checkbox" name = "mon3"/></td>
<td><input type="checkbox" name = "mon4"/></td>
<td><input type="checkbox" name = "mon5"/></td>
<td><input type="checkbox" name = "mon6"/></td>
<td><input type="checkbox" name = "mon7"/></td>
<td><input type="checkbox" name = "mon8"/></td>
<td><input type="checkbox" name = "mon9"/></td>
<td><input type="checkbox" name = "mon10"/></td>
<td>N/A</td>
</tr>
<tr>
<td>Tuesday</td>
<td><input type="checkbox" name = "tue1"/></td>
<td><input type="checkbox" name = "tue2"/></td>
<td><input type="checkbox" name = "tue3"/></td>
<td><input type="checkbox" name = "tue4"/></td>
<td><input type="checkbox" name = "tue5"/></td>
<td><input type="checkbox" name = "tue6"/></td>
<td><input type="checkbox" name = "tue7"/></td>
<td><input type="checkbox" name = "tue8"/></td>
<td><input type="checkbox" name = "tue9"/></td>
<td><input type="checkbox" name = "tue10"/></td>
<td><input type="checkbox" name = "stayback"/></td>
</tr>
<tr>
<td>Wednesday</td>
<td><input type="checkbox" name = "wed1"/></td>
<td><input type="checkbox" name = "wed2"/></td>
<td><input type="checkbox" name = "wed3"/></td>
<td><input type="checkbox" name = "wed4"/></td>
<td><input type="checkbox" name = "wed5"/></td>
<td><input type="checkbox" name = "wed6"/></td>
<td><input type="checkbox" name = "wed7"/></td>
<td><input type="checkbox" name = "wed8"/></td>
<td><input type="checkbox" name = "wed9"/></td>
<td><input type="checkbox" name = "wed10"/></td>
<td>N/A</td>
</tr>
<tr>
<td>Thursday</td>
<td><input type="checkbox" name = "thur1"/></td>
<td><input type="checkbox" name = "thur2"/></td>
<td><input type="checkbox" name = "thur3"/></td>
<td><input type="checkbox" name = "thur4"/></td>
<td><input type="checkbox" name = "thur5"/></td>
<td><input type="checkbox" name = "thur6"/></td>
<td><input type="checkbox" name = "thur7"/></td>
<td><input type="checkbox" name = "thur8"/></td>
<td><input type="checkbox" name = "thur9"/></td>
<td><input type="checkbox" name = "thur10"/></td>
<td>N/A</td>
</tr>
<tr>
<td>Friday</td>
<td><input type="checkbox" name = "fri1"/></td>
<td><input type="checkbox" name = "fri2"/></td>
<td><input type="checkbox" name = "fri3"/></td>
<td><input type="checkbox" name = "fri4"/></td>
<td><input type="checkbox" name = "fri5"/></td>
<td><input type="checkbox" name = "fri6"/></td>
<td><input type="checkbox" name = "fri7"/></td>
<td><input type="checkbox" name = "fri8"/></td>
<td><input type="checkbox" name = "fri9"/></td>
<td><input type="checkbox" name = "fri10"/></td>
<td>N/A</td>
</tr>
</tbody>
</table>
</br>
<div>
<div class="form-group">
<input
<?php
if (!isset($_SESSION['LoggedIn'])) {
echo " disabled=true ";
}
?>
type="submit" class="btn btn-primary btn-lg " value="Send">
</div>
</div>
</form>
<?php
if (isset($_SESSION["Message"])) {
$message = $_SESSION["Message"];
echo "<p>$message</p>";
unset($_SESSION["Message"]);
}
?>
</div>
<div class="col-md-4">
<h3>Need Help?</h3>
<p> Select your free periods in the week and we'll try our best to assign you an available tutor!</p>
<p>
<a href="#">[email protected]</a>
</p>
</div>
<div class="fh5co-spacer fh5co-spacer-md"></div>
</div>
</div>
</div>
<!-- END fhtco-main -->
<?php
include "footer.php";
?>
</body>
</html>