Calendar Functions - Using PHP






Categories of events in calendar

To create any type of calendar, you need to specify the category whose events should be shown. Here is a current list of categories available (although not all will have events available yet).

Available Categories:
  • All
  • Academic
  • Alumni
  • Athletic
  • Community Events
  • Cont Ed
  • Fine Arts
  • General
  • HR Fac Staff
  • HR Students
  • International Education
  • Scholarship
  • Student Activities


Note: The category can be any one or combination (separated by commas) of the categories listed above. Please make sure the spelling is correct.

Locations of events in calendar

You also have the option of specifying the location whose events should be shown. Here is a current list of locations available

Available Locations:
  • All
  • College-Wide
  • Off-Campus
  • Alpharetta
  • Clarkston
  • Decatur
  • Dunwoody
  • Newton


GPC groups of people interested in events:

You also have the option of specifying the people whose events should be shown. Below is a current list of groups of people available.

Available GPC groups:
  • All
  • Current Student
  • Faculty / Staff
  • Future Student
  • Visitors / Friends



Creating a Large Calendar with Abbreviated Descriptions


Example:

 
< Prev Month October 2013 (11 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
Refund Sch...
Withdraw (...
2
Last Day f...
Refund Sch...
Withdraw (...
3
Final Exam...
Refund Sch...
Withdraw (...
4
Final Exam...
Refund Sch...
Withdraw (...
5
Final Exam...
Refund Sch...
Withdraw (...
6
Final Exam...
Refund Sch...
Withdraw (...
7
Final Exam...
Refund Sch...
Withdraw (...
8
Refund Sch...
Student St...
Withdraw (...
9
Grades due...
Refund Sch...
Withdraw (...
10
Refund Sch...
Withdraw (...
11
Refund Sch...
Withdraw (...
12
Refund Sch...
Withdraw (...
13
Refund Sch...
Withdraw (...
14
No Show At...
Refund Sch...
Second Hal...
Withdraw (...
15
No Show At...
Midpoint f...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
16
No Show At...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
17
No Show At...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
18
No Show At...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
19
No Show At...
Newton Cam...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
20
No Show At...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
21
No Show At...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
22
No Show At...
Alpharetta...
Decatur Ca...
Refund Sch...
Withdraw (...
Withdraw (...
23
Faculty Re...
Dunwoody C...
Refund Sch...
Withdraw (...
Withdraw (...
24
Faculty Re...
Clarkston ...
Refund Sch...
Withdraw (...
Withdraw (...
25
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
26
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
27
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
28
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
29
Faculty Re...
Refund Sch...
Withdraw (...
Withdraw (...
30
Refund Sch...
Withdraw (...
Withdraw (...
31
Refund Sch...
Withdraw (...
Withdraw (...
   


To create a large calendar with abbreviated descriptions, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

$calendar_category="academic";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="all";  // view details about this line
$calendar_width=540;  // optional line - values can be between 1 and 540
include "php_classes/calendar.php3";  // required line
echo $cal->get_calendar_grid();  // required line



Creating a Large Calendar with Full Descriptions


Example:

Printable Version
< Prev Month October 2013 (11 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
2
Last Day for First Half Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
3
Final Exams for First Half Term Classes
Fin al Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
4
Final Exams for First Half Term Classes
Fin al Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
5
Final Exams for First Half Term Classes
Fin al Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
6
Final Exams for First Half Term Classes
Fin al Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
7
Final Exams for First Half Term Classes
Fin al Exam Schedule
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
8
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Student Study Day

The college is open. No classes held.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
9
Grades due for First Half Term Classes

Grades are due by 12:00 noon EDT.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
10
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
11
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
12
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
13
Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
14
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Second Half Term Classes Begin

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
15
No Show Attendance Period for Second Half Term Classes

Midpoint for Full Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy
16
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
17
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
18
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
19
No Show Attendance Period for Second Half Term Classes

Newton Campus - Open House

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 10:00 am to 1:00 pm
Location: Building 2N, Lawn

Please RSVP:
Sign up now!

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
20
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
21
No Show Attendance Period for Second Half Term Classes

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
22
No Show Attendance Period for Second Half Term Classes

Alpharetta Center - Open House

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 5:00 pm to 7:00 pm
Location: Lobby

Please RSVP:
Sign up now!

Decatur Campus - Open House

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 5:00 pm to 7:00 pm
Location: Building SF, Lobby

Please RSVP:
Sign up now!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
23
Faculty Report No Shows

The SIS will be available for reporting no shows from October 23 to October 29 at 8:00 pm EDT.

Dunwoody Campus - Open House

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 5:00 pm to 7:00 pm
Location: Building NB (Student Center), Lobby

Please RSVP:
Sign up now!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
24
Faculty Report No Shows

The SIS will be available for reporting no shows from October 23 to October 29 at 8:00 pm EDT.

Clarkston Campus - Open House

Applicants and prospective applicants can meet GPC faculty, staff, and students, submit admission applications and documents, and tour the campus.

Time: 5:00 pm to 7:00 pm
Location: Building CN (College Center), Lobby

Please RSVP:
Sign up now!

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
25
Faculty Report No Shows

The SIS will be available for reporting no shows from October 23 to October 29 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
26
Faculty Report No Shows

The SIS will be available for reporting no shows from October 23 to October 29 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
27
Faculty Report No Shows

The SIS will be available for reporting no shows from October 23 to October 29 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
28
Faculty Report No Shows

The SIS will be available for reporting no shows from October 23 to October 29 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
29
Faculty Report No Shows

The SIS will be available for reporting no shows from October 23 to October 29 at 8:00 pm EDT.

Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
30
Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
31
Refund Schedule - Second Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Withdraw (W) - Second Half Classes

Students must withdraw between October 15 and November 6 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (WF) - Full Term Classes

Students must withdraw between October 16 and November 25 to receive a 'WF' for the class.
Withdrawal Policy

November 25 is the last day to withdraw from Full Term Classes
   


To create a large calendar with full descriptions, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

$calendar_category="academic";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="all";  // view details about this line
$calendar_width=540;  // optional line - values can be between 1 and 540
$long_descriptions=true;  // required line
include "php_classes/calendar.php3";  // required line
echo $cal->get_calendar_grid();  // required line



Creating a Small Calendar


Example:

<<October 2013>>
S M T W T F S
    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    


To create a small calendar, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

$calendar_category="academic";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="all";  // view details about this line
include "php_classes/calendar.php3";  // required line
echo $cal->get_small_calendar();  // required line



Creating a List of Events


Example:

Please list valid category name(s)

Wed., Aug. 20 thru
Tue., Sep. 30

Second Half Registration Continues
Registration is re-opened for second half courses.

Wed., Aug. 20 thru
Tue., Oct. 14

Withdraw (W) - Full Term Classes

Students must withdraw between August 20 and October 14 to receive a 'W' for the class.
Withdrawal Policy

Thu., Sep. 11 thru
Wed., Sep. 24

Withdraw (WF) - First Half Classes

Students must withdraw between September 11 and September 24 to receive a 'WF' for the class.
Withdrawal Policy

September 24 is the last day to withdraw from First Half Term Classes

Mon., Sep. 15 thru
Mon., Dec. 8

NURSING SEMINARS
Fall 2014 Schedule - 12 PM - These Dates: Mon., Sept. 15 Clarkston I 1700 Fri., Sept. 26 Dunwoody A 2200 Mon., Oct. 13 Clarkston I 1700 Wed., Oct. 29 Decatur F 2100 Mon., Nov. 3 Clarkston I 1700 Fri., Nov. 4 Newton N13140 Mon., Dec. 8 Clarkston I 1700 Check for changes @ GPC Nursing. Seminars start promptly, 12 PM & last about 1.5 hours.


To create a list of events, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

$calendar_category="40th anniversary";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="all";  // view details about this line
$calendar_list_number=4;  // optional line - specifies number of events shown (will default to 3 if not specified)
$no_description=false;  // optional line - by default, $no_description is false and the event description is shown (if $no_description is set to true, the event description will not be shown)
include "php_classes/calendar.php3";  // required line
echo $cal->get_calendar_list();  // Option 1 (All Events)
Use Option 1 or 2
echo $cal->get_calendar_list_noacad();  // Option 2 (All with No Academic Events)
Use Option 1 or 2



Creating a Scrollbox of Events


Example:



To create a scrollbox of events, place these lines of code anywhere on your page between the StartGPC() and EndGPC() lines and between PHP tags (<? and ?>):

Note: any page that contains a scrollbox of events will NOT display the "GPC Main Menu" dropdown on the top banner of the GPC Look & Feel.

$calendar_category="academic";  // view details about this line
$calendar_campus="all";  // view details about this line
$people="Current Student";  // view details about this line
$calendar_width=150;  // optional line - values can be between 1 and 540
$scrollbox_delay=4000;  // optional line - values are in milliseconds
include "php_classes/calendar.php3";  // required line
echo $cal->get_scrollbox();  // required line