//
// ------------------------------------------------------------------------- //
// Original Author: Nobse, Bama
// Author Website : http://www.e-xoops.de, http://service.bama-webdesign.de
// License Type : GPL: See /manual/LICENSES/GPL.txt
// ------------------------------------------------------------------------- //
include("header.php");
include("cache/config.php");
if ($xoopsUser) {
$group = $xoopsUser->groups();
}else{
$group[] = 3;
}
$anno = explode("|", $anoevent);
$is = array_intersect ($group, $anno);
if (count($is) > 0) {
include(XOOPS_ROOT_PATH."/header.php");
$mytree = new XoopsTree($db->prefix('ecal_cat'), "cid", "pid");
global $xoopsUser, $db, $myts, $mytree;
$month = isset($monat) ? $monat : $month;
$year = isset($jahr) ? $jahr : $year;
$heure = isset($heure) ? $heure : 9;
$minute = isset($minute) ? $minute : 0;
$heureend = isset($heureend) ? $heureend : 19;
$minuteend = isset($minuteend) ? $minuteend : 0;
echo "";
If (!$month && !$lastday && !$year) {
if ($xoopsUser) {
$useroffset = $xoopsUser->getVar("timezone_offset");
} else {
$useroffset = $bcoosConfig['default_TZ'];
}
$usertimevent = (time() + (($useroffset - ($bcoosConfig['server_TZ'] - date('I'))) * 3600));
$day = date("j", $usertimevent);
$month = date("m", $usertimevent);
$year = date("Y", $usertimevent);
}
$query1 = $db->query("SELECT lid, location FROM ".$db->prefix("ecal_location")." ORDER BY location ASC");
OpenTable();
$lastday = 1;
while (checkdate($month,$lastday,$year)) {
$lastday++;
}
if ($moderat == '1') {
echo ""._ADDN."