-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdisplay-event-details.php
More file actions
45 lines (31 loc) · 1.22 KB
/
display-event-details.php
File metadata and controls
45 lines (31 loc) · 1.22 KB
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
<?php
include_once('connection.php');
$id = $_GET['id'];
$sql = "SELECT * FROM reservation WHERE ID ='$id'";
$result = mysqli_query($conn,$sql);
$row = mysqli_fetch_array($result);
echo '</div>
<div class="col-md-6 displayDetails">
<h3 class="alert alert-success">Details of Event</h3>
<div class="row">
<div class="col-md-7">
<label>Event Name: </label> '.$row["ENAME"].'<br/>
<label>Event Date: </label> '.$row["EDATE"].'<br/>
<label>Date Submitted: </label> '.$row["CHARDATE"].'<br/>
<label>Price Total: </label> P'.$row["TOTALPRICE"].'<br/>
<label>Status: </label> '.$row["STATUS"].'<br/>';
if ($row["STATUS"] == "DISAPPROVED") {
echo '<label>Reasons: </label> '.$row["ADMINREMARKS"].'<br/>';
}
echo '</div>
<div class="col-md-5">
<label class="review"><a href="client-review-contract.php?id='.$row["ID"].'"><i class="fa fa-get-pocket"></i> Review Contract </a></label>
<label class="review"><a href="client-print-summary-order.php?id='.$row["ID"].'"><i class="fa fa-get-pocket"></i> Print Summary Order </a></label>
</div>
</div>
<hr/>
<div class="overflowDiv">
'.$row["PACKAGE"].'
</div><!-- overflow -->
</div>';
?>