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
  • 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 January 2013 (4 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
Winter Hol...
2
Employee (...
On Campus ...
Web Regist...
3
Employee (...
On Campus ...
Web Regist...
4
Employee (...
On Campus ...
Web Regist...
5
Web Regist...
6
Web Regist...
7
No Show At...
Full Term ...
Schedule A...
Web Regist...
8
No Show At...
Schedule A...
Web Regist...
9
No Show At...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
10
No Show At...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
11
No Show At...
Last Day f...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
12
No Show At...
Refund Sch...
Refund Sch...
Saturday/S...
Withdraw (...
Withdraw (...
13
No Show At...
Refund Sch...
Refund Sch...
Saturday/S...
Withdraw (...
Withdraw (...
14
Faculty Re...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
15
Faculty Re...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
16
Faculty Re...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
17
Faculty Re...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
18
Faculty Re...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
19
Faculty Re...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
20
Faculty Re...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
21
Martin Lut...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
22
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
23
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
24
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
25
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
26
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
27
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
28
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
29
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
30
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
31
Midpoint f...
Refund Sch...
Web Regist...
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 January 2013 (4 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
    1
Winter Holiday

The college is closed.
2
Employee (TAP) Registration

On Campus Advisement and Registration Assistance

Advisement and registration assistance is available on campuses (Weds/Thurs: 9 am-7 pm and Friday 9 am-5 pm).

Web Registration open for Spring 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Tuesday, January 8, 2013.
3
Employee (TAP) Registration

On Campus Advisement and Registration Assistance

Advisement and registration assistance is available on campuses (Weds/Thurs: 9 am-7 pm and Friday 9 am-5 pm).

Web Registration open for Spring 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Tuesday, January 8, 2013.
4
Employee (TAP) Registration

On Campus Advisement and Registration Assistance

Advisement and registration assistance is available on campuses (Weds/Thurs: 9 am-7 pm and Friday 9 am-5 pm).

Web Registration open for Spring 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Tuesday, January 8, 2013.
5
Web Registration open for Spring 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Tuesday, January 8, 2013.
6
Web Registration open for Spring 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Tuesday, January 8, 2013.
7
No Show Attendance Period for Full and First Half Term Classes

Full Term and First Half Term Classes Begin

Schedule Adjustment Available

Schedule adjustment is available for currently enrolled students. Advisement and registration assistance is available on campuses from 9:00 am to 7:00 pm.

Web Registration open for Spring 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Tuesday, January 8, 2013.
8
No Show Attendance Period for Full and First Half Term Classes

Schedule Adjustment Available

Schedule adjustment is available for currently enrolled students. Advisement and registration assistance is available on campuses from 9:00 am to 7:00 pm.

Web Registration open for Spring 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Tuesday, January 8, 2013.
9
No Show Attendance Period for Full and First Half Term Classes

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
10
No Show Attendance Period for Full and First Half Term Classes

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
11
No Show Attendance Period for Full and First Half Term Classes

Last Day for Financial Aid Appeals

The last day that students may submit financial aid appeals for the Spring Semester 2013 is Friday, January 11, 2013. Any appeals submitted after this date will be considered for the Summer Session 2013.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
12
No Show Attendance Period for Full and First Half Term Classes

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Saturday/Sun day Classes Begin

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
13
No Show Attendance Period for Full and First Half Term Classes

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Saturday/Sun day Classes Begin

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
14
Faculty Report No Shows

The SIS will be available for reporting no shows from January 14 to January 20 at 8:00 pm EST.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
15
Faculty Report No Shows

The SIS will be available for reporting no shows from January 14 to January 20 at 8:00 pm EST.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
16
Faculty Report No Shows

The SIS will be available for reporting no shows from January 14 to January 20 at 8:00 pm EST.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
17
Faculty Report No Shows

The SIS will be available for reporting no shows from January 14 to January 20 at 8:00 pm EST.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
18
Faculty Report No Shows

The SIS will be available for reporting no shows from January 14 to January 20 at 8:00 pm EST.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
19
Faculty Report No Shows

The SIS will be available for reporting no shows from January 14 to January 20 at 8:00 pm EST.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
20
Faculty Report No Shows

The SIS will be available for reporting no shows from January 14 to January 20 at 8:00 pm EST.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
21
Martin Luther King, Jr. Day Holiday

The college is closed.

Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
22
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

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) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
23
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
24
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
25
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
26
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
27
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
28
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
29
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
30
Refund Schedule - First Half Classes Only

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Refund Schedule - Full Term Classes or any Combination Thereof

Refer to the
Refund Schedule

Students must withdraw from all classes to receive a refund.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
31
Midpoint 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.

Web Registration for Second Half Classes

Web registration is available for Second Half term classes only.

Withdraw (W) - First Half Classes

Students must withdraw between January 9 and January 31 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between January 9 and February 28 to receive a 'W' for the class.
Withdrawal Policy
   


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:

<<January 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., May. 22 thru
Fri., May. 24

On Campus Advisement and Registration Assistance

Advisement and registration assistance is available on campuses (Weds/Thurs: 9 am-7 pm and Friday 9 am-5 pm). New students must sign up in advance.
Sign up now!

Wed., May. 22 thru
Fri., May. 24

Employee (TAP) Registration

Wed., May. 22 thru
Thu., May. 30

Web Registration open for Summer 2013 Final Registration and Schedule Adjustment

Web registration will end at 7:00 pm EST on Thursday, May 30, 2013.

Fri., May. 24

Last Day to Register for Full Term and First Half Online Courses

Registration for Online full-term and first-half courses will end at 1:00 pm EST on May 24, 2013.


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