/*========================================================================= pwl_cal.php copyleft Franck "romarin" (2001) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. =*=======================================================================*/ include ("cal_conf.php"); include ($G_PATH."/include/header.inc.php"); include ("include/cal_big_inc.php"); include ("include/cal_func_inc.php"); ///////////////////////////////////////////////////////////////////////////// // Initialize month //////////////////////////////////////////////////////////////////////////// if (!$month) { $day = date("d", time()); $month = date("m", time()); $year = date("Y", time()); } ///////////////////////////////////////////////////////////////////////////// // Header ///////////////////////////////////////////////////////////////////////////// $VAR["Heading"] = "Event Horizon"; ///////////////////////////////////////////////////////////////////////////// // Goto form ///////////////////////////////////////////////////////////////////////////// $VAR["Content"] = "
". C_buildGotoForm($month, $year) ." | "; ///////////////////////////////////////////////////////////////////////////// // Link for posting Event ///////////////////////////////////////////////////////////////////////////// $clink = C_linkToPost($day, $month, $year ); if (!empty($clink)) { $VAR["Content"] .= "". $clink . " | "; } $VAR["Content"] .= "