Index page for calendar
<?
session_start();
require("config.php");
require("./lang/lang." . LANGUAGE_CODE . ".php");
require("functions.php");
$month = (int) $HTTP_GET_VARS['month'];
$year = (int) $HTTP_GET_VARS['year'];
// 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;
$scrollback = scrollback($m, $y);
$scrollfoward = scrollfoward($m, $y);
$auth = auth();
require("./templates/" . TEMPLATE_NAME . ".php");
?>
CSS file
a{
font-family:arial, helvetica;
color:#00F;
text-decoration:underline;}
span{
font-family:arial, helvetica;}
td {
font-family:arial, helvetica;}
.date_header{
font-size:16px;
font-family:arial, helvetica;
font-weight:bold;}
.day_cell{
background-color:#EDECD8;
height:80px;
width: 105px;
border: solid 1px black;}
.empty_day_cell{
background-color:#EEEEEE;
height:80px;
width: 105px;
border: solid 1px black;}
.today_cell{
background-color:#9aa968;
height:80px;
width: 105px;
border: solid 1px black;}
.day_number{
font-size:10px;
font-family:verdana, arial, helvetica;
color:#000000;}
.title_txt{
font-size:10px;
font-family:verdana, arial, helvetica;
color:#000000;}
.title_txt a:link, .title_txt a:active, .title_txt a:visited, .title_txt a:visited{
color:#00F;
text-decoration:underline;}
.time_str{
font-size:9px;
font-family:arial, helvetica;}
.column_header{
background-color:#9aa968;
font-size:13px;
font-family:arial, helvetica;
color:#FFFFFF;
font-weight:bold;
border: solid 1px black;}
.footprint{
font-size:10px;
font-weight:bold;
font-family:verdana, arial, helvetica;
color:#000;
text-align: center;}
.footprint a{
font-size:10px;
font-family:verdana, arial, helvetica;
color:#00F;
font-weight:bold;}
If you need other codes please let me know I don't want to spam the page with stuff you don't need.