-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevent.php
69 lines (65 loc) · 2.21 KB
/
event.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
<?php
include("db.php");
// include("loadDump.php");
include 'header.php';
?>
<?php
$url = $_SERVER['REQUEST_URI'];
parse_str(parse_url($url)['query'], $params);
$event_id = $params['id'];
$sqlFetchEvent = "SELECT * FROM events where eventId=$event_id";
$result = $conn->query($sqlFetchEvent);
if ($result->num_rows > 0)
$row = $result->fetch_assoc();
?>
<link rel="stylesheet" href="css/faculty_personal.css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<!-- <link href="https://netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"> -->
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<section class="bg-grey p-3">
<div class="container">
<div class="row">
<p style="font-size: 25px;">
<u>TITLE</u> : <?php echo $row['eventTitle'] ?>
</p>
<br>
<br>
<br>
<p style="font-size: 25px;"><u>ABSTRACT</u> : </p>
<p style="font-size: 20px;">
<?php echo $row['eventAbstract'] ?>
</p>
<br>
<br>
<br>
<p style="font-size: 25px;"><u>MEETING DETAILS</u> : </p>
<?php
if($row['eventLink'] != '')
{
echo '<p style="font-size: 20px;"> <b>Joining Link: </b>'.
$row['eventLink'].'
</p>
';
}
if($row['eventVenue'] != '')
{
echo '<p style="font-size: 20px;"> <b>Venue: </b>'.
$row['eventVenue'].'
</p>
';
}
if($row['eventDateTime'] != '')
{
echo '<p style="font-size: 20px;"> <b>Date and Time: </b>'.
$row['eventDateTime'].'
</p>
';
}
?>
</div>
</div>
</section>
<?php
include 'footer.php';
?>