-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
69 lines (55 loc) · 1.29 KB
/
notes.txt
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
===================================================
Piper Project Pseudocode and Notes
===================================================
Left List
===================================================
<ul>
<?php
foreach “event” {
$counter = 0;
<li> Event Info Here </li>
foreach “person” {
$counter = $counter + 1;
<ul>
if people.foreign_key == event.event_id {
<li> Event Occupied [SQL.time_occupied>] </li>
}
}
for (int i = $counter; i <= [SQL.max_attendants]; i++ ) {
<li> Open Spot </li>
}
</ul>
}
?>
</ul>
Insert Event Code
===================================================
- Upload the .ics file.
- Parse the .ics file
- Form Fields for notes and attendees
- [Modal that has info and warning?]
- Submit to database
Sign-Up Code
===================================================
- AutoFill date selection form
- RegEx check for @denison.edu email
- Email Verification - verify.php with hash
Database Structure
===================================================
- TABLE ‘EVENT’
- EVENT_ID (PRIMARY KEY)
- DATE
- START_TIME
- END_TIME
- FOOD_TYPE
- LOCATION
- NOTES
- ATTENDANCE_LIMIT
- TABLE ‘PEOPLE’
- PERSON_ID (PRIMARY KEY)
- EVENT_ID (FOREIGN KEY)
- D_NUMBER
- EMAIL
- FNAME
- LNAME
- CLASS_YEAR