forked from scottyallen/tutormatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcancel_request.php
29 lines (27 loc) · 884 Bytes
/
cancel_request.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
<?
$request_id=$_REQUEST["request_id"];
$request_info=request_info($request_id);
$student_info=student_info($request_info['student_id']);
?>
<div class=title>Cancel Tutoring Request</div>
<form method="post">
<input type="hidden" name="action" value="cancel_request">
<input type="hidden" name="page" value="student_home">
<input type="hidden" name="request_id" value="<? echo $request_id ?>">
<table>
<tr><td align="right">Student:</td>
<td><? echo $student_info['name'] ?></td>
</tr>
<tr><td align="right">Teacher:</td>
<td><? echo $request_info['teacher']?></td>
</tr>
<tr><td align="right">Subject:</td>
<td><? echo $request_info['subject']; ?></td>
</tr>
<tr><td align="right">Times per week:</td>
<td><? echo $request_info['times_per_week']?></td>
</tr>
</table>
<h2>Are you sure you want to cancel this request?</h2>
<input type="submit" value="Yes">
</form>