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 September 2013 (12 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
1
Faculty Re...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
2
Labor Day ...
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
3
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
4
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
5
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
6
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
7
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
8
Refund Sch...
Refund Sch...
Withdraw (...
Withdraw (...
9
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
10
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
11
Midpoint f...
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
12
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
13
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
14
Refund Sch...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
15
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
16
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
17
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
18
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
19
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
20
Deadline t...
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
21
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
22
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
23
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
24
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
25
Refund Sch...
Web Regist...
Withdraw (...
Withdraw (...
26
Refund Sch...
Web Regist...
Withdraw (...
27
Refund Sch...
Web Regist...
Withdraw (...
28
Refund Sch...
Web Regist...
Withdraw (...
29
Refund Sch...
Web Regist...
Withdraw (...
30
Last Day f...
Refund Sch...
Web Regist...
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 September 2013 (12 months ago) Next Month >
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
1
Faculty Report No Shows

The SIS will be available for reporting no shows from August 26 to September 1 at 8:00 pm EDT.

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 August 21 and September 11 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
2
Labor 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 August 21 and September 11 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
3
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 August 21 and September 11 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
4
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 August 21 and September 11 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
5
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 August 21 and September 11 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
6
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 August 21 and September 11 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
7
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 August 21 and September 11 to receive a 'W' for the class.
Withdrawal Policy

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 - 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 August 21 and September 11 to receive a 'W' for the class.
Withdrawal Policy

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
9
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - First Half Classes

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

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 - 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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
11
Midpoint for 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.

Web Registration for Second Half Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - First Half Classes

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

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 - 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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
13
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
14
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
15
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
16
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
17
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
18
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
19
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
20
Deadline to Petition for In-state Tuition for Fall 2013

The petition for in-state tuition and all supporting documentation must be submitted by this date in order to be considered for Fall 2013.

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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
21
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
22
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
23
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
24
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
25
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

Withdraw (WF) - First Half Classes

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

September 25 is the last day to withdraw from First Half Term Classes
26
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
27
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
28
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 to receive a 'W' for the class.
Withdrawal Policy
29
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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

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

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 Term Classes

Web registration is available for Second Half Term classes only.

Withdraw (W) - Full Term Classes

Students must withdraw between August 21 and October 15 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:

<<September 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          


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
Wed., Sep. 10

Withdraw (W) - First Half Classes

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

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

Wed., Sep. 3

Understanding Credit
Understand your credit report and how to boost your credit score with Georgia United Credit Union and the GPC Alumni Association. Participants will have the chance to win a $200 Visa gift card. The event is free to attend. Must register for the drawing. 12 p.m.-1 p.m. Decatur Campus, SF2100 Register/more info


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