-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevents.php
More file actions
59 lines (50 loc) · 1.87 KB
/
events.php
File metadata and controls
59 lines (50 loc) · 1.87 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
<?php session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="style.css">
<title>EVENTS</title>
</head>
<body>
<div class="toolbar">
<a href="index.php">HOME</a>
<a href="aboutus.php">ABOUT US</a>
<a href="eboard.php">E-BOARD</a>
<a href="membersearch.php">MEMBER SEARCH</a>
<a href="debates.php">DEBATES</a>
<a class="active" href="events.php">EVENTS</a>
</div>
<h1 id="title">EVENTS</h1>
<!--Event_search(){
If(at least one of the parameters is not empty){
Return the events that satisfy the search parameters
}
}
Email_reminder(){
If(TodayÕs date + 1 == date of any event in the event database){
Emails[] = emails of all non alumni in the database
For all Events that are happening tomorrow:
Send an email to all email addresses in Emails[] with the event time and description
}
If(Info pulled from google calendar says there is a debate tomorrow){
Send an email to all email addresses in Emails[] with the debate time and location
}
}
Event_add(){
If(The admin is logged in){
If(there are no empty parameters){
Update the event database with the new event
}
}-->
<div class="events">
<p class="events2">There will be a search function for events. Users can search by event title or by date. If the user searches for any word that
is in an event title, the events with that word in their title will appear. For the date, there will
be a drop down calendar and the user can choose a date and events will appear that are on that date.
This search function is also helpful becuase it will allow e-board members to see how an
event went in the past if they are thinking about holding it again.
The day before an event, a reminder e-mail will automatically be sent to our users. This will be
done by running a cron that uses the PHP mail function.</p></div>
</body>
</html>