|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /var/www/html/pathumthani_community_plan/phpEventCalendar/ |
Upload File : |
<?php
require("config.php");
require("./lang/lang." . LANGUAGE_CODE . ".php");
require("functions.php");
# testing whether var set necessary to suppress notices when E_NOTICES on
$month =
(isset($_GET['month'])) ? (int) $_GET['month'] : null;
$year =
(isset($_GET['year'])) ? (int) $_GET['year'] : null;
# set month and year to present if month
# and year not received from query string
$m = (!$month) ? date("n") : $month;
$y = (!$year) ? date("Y") : $year;
$scrollarrows = scrollArrows($m, $y);
$auth = auth();
require("./templates/" . TEMPLATE_NAME . ".php");
?>