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 2014 (this month) Next Month >

Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
1
Labor Day ...
Withdraw (...
Withdraw (...
Financial ...
Second Hal... 2
Withdraw (...
Withdraw (...
Second Hal... 3
Withdraw (...
Withdraw (...
Second Hal... 4
Withdraw (...
Withdraw (...
Second Hal... 5
Withdraw (...
Withdraw (...
Second Hal... 6
Withdraw (...
Withdraw (...
Second Hal...
7
Withdraw (...
Withdraw (...
Second Hal... 8
Withdraw (...
Withdraw (...
Refunds wi...
Second Hal... 9
Withdraw (...
Withdraw (...
Second Hal... 10
Midpoint f...
Withdraw (...
Withdraw (...
Second Hal... 11
Withdraw (...
Withdraw (...
Second Hal... 12
Withdraw (...
Withdraw (...
Second Hal... 13
Withdraw (...
Withdraw (...
Second Hal...
14
Withdraw (...
Withdraw (...
Second Hal... 15
Withdraw (...
Withdraw (...
Second Hal... 16
Withdraw (...
Withdraw (...
Second Hal... 17
Withdraw (...
Withdraw (...
Second Hal... 18
Withdraw (...
Withdraw (...
Second Hal... 19
Deadline t...
Withdraw (...
Withdraw (...
Second Hal... 20
Withdraw (...
Withdraw (...
Second Hal...
21
Withdraw (...
Withdraw (...
Second Hal... 22
Withdraw (...
Withdraw (...
Second Hal...
Second Hal... 23
Withdraw (...
Withdraw (...
Second Hal... 24
Withdraw (...
Withdraw (...
Second Hal... 25
Withdraw (...
Second Hal... 26
Withdraw (...
Second Hal... 27
Withdraw (...
Second Hal...
28
Withdraw (...
Second Hal... 29
Withdraw (...
Second Hal... 30
Withdraw (...
Second Hal...        

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

Top of Page

Creating a Large Calendar with Full Descriptions


Example:

Printable Version
< Prev Month September 2014 (this month) Next Month >

Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
1
Labor Day Holiday

The college is closed.

Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Financial Aid available for use in the bookstore
For eligible students financial aid will be available for use in the bookstore during this period.
Second Half Registration Continues
Registration is re-opened for second half courses. 2
Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 3
Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 4
Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 5
Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 6
Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses.
7
Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 8
Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Refunds will be available
Refunds will be available to students starting this day.
Second Half Registration Continues
Registration is re-opened for second half courses. 9
Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 10
Midpoint for First Half Term Classes

Withdraw (W) - First Half Classes

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

Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 11
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 12
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 13
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses.
14
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 15
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 16
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 17
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 18
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 19
Deadline to Petition for In-state Tuition for Fall 2014

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

Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 20
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses.
21
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 22
Withdraw (W) - Full Term Classes

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

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

Second Half Application Deadline
- To be admitted for the second half please ensure all necessary documents are submitted by this date.
Second Half Registration Continues
Registration is re-opened for second half courses. 23
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 24
Withdraw (W) - Full Term Classes

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

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

Second Half Registration Continues
Registration is re-opened for second half courses. 25
Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 26
Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 27
Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses.
28
Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 29
Withdraw (W) - Full Term Classes

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

Second Half Registration Continues
Registration is re-opened for second half courses. 30
Withdraw (W) - Full Term Classes

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

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

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

Top of Page

Creating a Small Calendar


Example:

<< September 2014 >>

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

Top of Page

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

Top of Page

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

Top of Page