$ta1_set = is_numeric($time_allow1); $ta2_set = is_numeric($time_allow2); $show_not_allow = isset($_REQUEST["sna"]) ? $_REQUEST["sna"] : true; $auto_submit = isset($_REQUEST["aut"]) ? $_REQUEST["aut"] : false; $form_name = isset($_REQUEST["frm"]) ? $_REQUEST["frm"] : ""; $target_url = isset($_REQUEST["tar"]) ? $_REQUEST["tar"] : ""; $show_input = isset($_REQUEST["inp"]) ? $_REQUEST["inp"] : true; $date_format = isset($_REQUEST["fmt"]) ? $_REQUEST["fmt"] : DATE_FORMAT; //format of date shown in panel if $show_input is false $dsb_txt = isset($_REQUEST["dis"]) ? $_REQUEST["dis"] : ""; $date_pair1 = isset($_REQUEST["pr1"]) ? $_REQUEST["pr1"] : ""; $date_pair2 = isset($_REQUEST["pr2"]) ? $_REQUEST["pr2"] : ""; $date_pair_value = isset($_REQUEST["prv"]) ? $_REQUEST["prv"] : ""; $path = isset($_REQUEST["pth"]) ? $_REQUEST["pth"] : ""; $hl = isset($_REQUEST["hl"]) ? $_REQUEST["hl"] : 'en_US'; $sp_dates = isset($_REQUEST["spd"]) ? @tc_calendar::check_json_decode($_REQUEST["spd"]) : array(array(), array(), array()); $sp_type = isset($_REQUEST["spt"]) ? $_REQUEST["spt"] : 0; $tc_onchanged = isset($_REQUEST["och"]) ? $_REQUEST["och"] : ""; //check year to be select in case of date_allow is set if (!$show_not_allow) { if ($ta1_set) { $year_start = date('Y', $time_allow1); } if ($ta2_set) { $year_end = date('Y', $time_allow2); } } if (isset($_REQUEST["m"])) { $m = $_REQUEST["m"]; } else { if ($slm) {
$time_allow1 = getParameter("da1"); $time_allow2 = getParameter("da2"); $ta1_set = $time_allow1 != "" && $cdate->validDate($time_allow1) ? true : false; $ta2_set = $time_allow2 != "" && $cdate->validDate($time_allow2) ? true : false; $show_not_allow = getParameter("sna", "boolean", true); $auto_submit = getParameter("aut", "boolean", false); $form_name = getParameter("frm"); $target_url = getParameter("tar"); $show_input = getParameter("inp", "boolean", true); $date_format = getParameter("fmt", "text", DATE_FORMAT); $dsb_txt = getParameter("dis"); $date_pair1 = getParameter("pr1"); $date_pair2 = getParameter("pr2"); $date_pair_value = getParameter("prv"); $path = getParameter("pth"); $sp_dates = isset($_REQUEST["spd"]) ? @tc_calendar::check_json_decode(htmlspecialchars_decode($_REQUEST["spd"], ENT_QUOTES)) : array(array(), array(), array()); $sp_type = getParameter("spt", "number", 0); $tc_onchanged = getParameter("och"); $rtl = getParameter("rtl", "boolean", RTL); $show_weeks = getParameter("wks", "boolean", false); $interval = getParameter("int", "number", 1); $auto_hide = getParameter("hid", "number", 0); $auto_hide_time = getParameter("hdt", "number", 1000); $hl = getParameter("hl", "text", "en_US"); //Digitizer $dig = getParameter("dig", "boolean", false); $theme = getParameter("thm"); //check year to be select in case of date_allow is set if (!$show_not_allow) { if ($ta1_set && $cdate->validDate($time_allow1)) { $year_start = $cdate->getDate('Y', $time_allow1);
$date_pair_value = isset($_REQUEST["prv"]) ? $_REQUEST["prv"] : ""; $path = isset($_REQUEST["pth"]) ? $_REQUEST["pth"] : ""; $sp_dates = isset($_REQUEST["spd"]) ? @tc_calendar::check_json_decode($_REQUEST["spd"]) : array(array(), array(), array()); $sp_type = isset($_REQUEST["spt"]) ? $_REQUEST["spt"] : 0; $tc_onchanged = isset($_REQUEST["och"]) ? $_REQUEST["och"] : ""; $rtl = isset($_REQUEST["rtl"]) ? $_REQUEST["rtl"] : RTL; $show_weeks = isset($_REQUEST["wks"]) ? $_REQUEST["wks"] : false; $interval = isset($_REQUEST["int"]) ? $_REQUEST["int"] : 1; $auto_hide = isset($_REQUEST["hid"]) ? $_REQUEST["hid"] : 0; $auto_hide_time = isset($_REQUEST["hdt"]) ? $_REQUEST["hdt"] : 1000; $hl = isset($_REQUEST["hl"]) ? $_REQUEST["hl"] : 'en_US'; //Digitizer $dig = isset($_REQUEST["dig"]) ? $_REQUEST["dig"] : 0; //Tooltips $tt_dates = isset($_REQUEST["ttd"]) ? @tc_calendar::check_json_decode($_REQUEST["ttd"]) : array(array(), array(), array()); $tt_tooltips = isset($_REQUEST["ttt"]) ? @tc_calendar::check_json_decode(urldecode($_REQUEST["ttt"])) : array(array(), array(), array()); //check year to be select in case of date_allow is set if (!$show_not_allow) { if ($ta1_set) { $year_start = $cdate->getDateFromTimestamp($time_allow1, 'Y'); } if ($ta2_set) { $year_end = $cdate->getDateFromTimestamp($time_allow2, 'Y'); } } if (isset($_REQUEST["m"])) { $m = $_REQUEST["m"]; } else { if ($slm) { $m = $slm; } else {