02.06.2013 Views

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

*<br />

* Include necessary files<br />

*/<br />

include_once '../sys/core/init.inc.php';<br />

/*<br />

* Output the header<br />

*/<br />

$page_title = "View Event";<br />

$css_files = array("style.css");<br />

include_once 'assets/common/header.inc.php';<br />

/*<br />

* Load the calendar<br />

*/<br />

$cal = new Calendar($dbo);<br />

?><br />

<br />

<br />

&laquo; Back to the calendar<br />

<br />

<br />

CHAPTER 4 ■ BUILD AN EVENTS CALENDAR<br />

Test this file <strong>by</strong> going back to the main calendar <strong>and</strong> clicking an event title. The view.php file loads<br />

<strong>and</strong> displays the event information in a format that matches the calendar (see Figure 4-8).<br />

165

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!