-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathevents.php
More file actions
136 lines (115 loc) · 4.99 KB
/
events.php
File metadata and controls
136 lines (115 loc) · 4.99 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
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
<!doctype html>
<html class="no-js" lang="zxx">
<head>
<!-- Meta Tags -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="Chronus, Project, Management, Charity">
<meta name="description" content="">
<meta name='copyright' content='Chronus Solutions'>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Title -->
<title>Chronus Solutions - Your Projects' Professionals</title>
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="favicon.ico">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Poppins:200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap" rel="stylesheet">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Nice Select CSS -->
<link rel="stylesheet" href="css/nice-select.css">
<!-- Font Awesome CSS -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- icofont CSS -->
<link rel="stylesheet" href="css/icofont.css">
<!-- Slicknav -->
<link rel="stylesheet" href="css/slicknav.min.css">
<!-- Owl Carousel CSS -->
<link rel="stylesheet" href="css/owl-carousel.css">
<!-- Datepicker CSS -->
<link rel="stylesheet" href="css/datepicker.css">
<!-- Animate CSS -->
<link rel="stylesheet" href="css/animate.min.css">
<!-- Magnific Popup CSS -->
<link rel="stylesheet" href="css/magnific-popup.css">
<!-- CSS -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="css/responsive.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link rel="stylesheet" href="form.css">
<script src="form.js"></script>
</head>
<body class="is-preload">
<!-- Preloader -->
<div class="preloader">
<div class="loader">
<div class="loader-outter"></div>
<div class="loader-inner"></div>
<div class="indicator">
<svg width="24px" height="24px">
<polyline id="back" points="12,2 8,8 2,12 8,16 12,22 15,16 22,12 15,7 12,2"></polyline>
<polyline id="front" points="12,2 8,8 2,12 8,16 12,22 15,16 22,12 15,7 12,2"></polyline>
</svg>
</div>
</div>
</div>
<?php include 'inc/header.php'; ?>
<!-- Breadcrumbs -->
<div class="breadcrumbs overlay">
<div class="container">
<div class="bread-inner">
<div class="row">
<div class="col-12">
<h2>Events</h2>
<ul class="bread-list">
<li><a href="index.php">Home</a></li>
<li><i class="icofont-simple-right"></i></li>
<li class="active">Events</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- End Breadcrumbs -->
<!-- Start Projects Details Area -->
<?php
$events = include __DIR__ . '/inc/events-data.php';
?>
<section class="events-list section">
<div class="container">
<div class="row">
<div class="col-lg-8 col-12">
<?php for ($i = 0; $i < count($events); $i++): $e = $events[$i]; ?>
<div class="card mb-4">
<div class="card-body">
<h3 class="card-title"><a href="#"><?= htmlspecialchars($e['title']); ?></a></h3>
<p class="text-muted"><i class="fa fa-clock-o"></i> <?= htmlspecialchars($e['date']); ?> | <i class="fa fa-map-marker"></i> <?= htmlspecialchars($e['location']); ?></p>
<p><?= htmlspecialchars($e['summary']); ?></p>
<p class="small text-secondary"><?= htmlspecialchars($e['details']); ?></p>
<div class="mt-3">
<a href="events/register.php?event=<?= $i ?>" class="btn btn-primary">Register</a>
<a href="#" class="btn btn-outline-secondary">Learn More</a>
</div>
</div>
</div>
<?php endfor; ?>
</div>
<div class="col-lg-4 col-12">
<div class="sidebar">
<h4>Upcoming Events</h4>
<ul class="list-unstyled">
<?php for ($j = 0; $j < min(5, count($events)); $j++): ?>
<li class="mb-2"><strong><?= htmlspecialchars($events[$j]['title']); ?></strong><br/><small class="text-muted"><?= htmlspecialchars($events[$j]['date']); ?> — <?= htmlspecialchars($events[$j]['location']); ?></small></li>
<?php endfor; ?>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- End Events Area -->
</section>
<!-- End Projects Details Area -->
<?php include 'ft.html'; ?>