} } $_template->_user02 = "sites_user/user02_cal.php"; $_template->_user03 = "sites_user/user03_stat.php"; break; case "design": $_template->_user02 = "sites_user/user02_cal.php"; $_template->_user04 = "sites_user/user04_design.php"; $_template->_user03 = "sites_user/user03_stat.php"; break; case "setdesign": $_design = $_GET['designname']; setcookie("designname", $_design, time() + 2592000); $_template = NULL; unset($_template); $_template = new time_template("index.php"); $_template->set_templatepfad($_design); $_template->set_user02("sites_user/user02_cal.php"); $_template->set_user03("sites_user/user03_stat.php"); $_template->set_user04("sites_user/user04_design.php"); break; default: setLoginForm(); break; } // ---------------------------------------------------------------------------- // Logion - Formular darstellen // ---------------------------------------------------------------------------- function setLoginForm() { global $_template, $_settings;
check_htaccess_pdf($_user->_ordnerpfad); $_jahr = date("Y", time()); $_monat = date("n", time()); $_tag = date("j", time()); erstelle_neu(0); $_template->_user02 = "sites_admin/admin02_user_cal.php"; $_template->_user04 = "sites_user/user04_pdf_show.php"; break; case "design": $_infotext = getinfotext("Design auswählen", "td_background_top"); $_template->_user02 = "sites_admin/admin02.php"; $_template->_user04 = "sites_user/user04_design.php"; break; case "setdesign": $_infotext = getinfotext("<table><tr><td><img src='images/icons/error.png' border=0></td><td>Neues Design gewählt</td></tr></table>", "td_background_heute"); $_template = new time_template("index.php"); $_template->set_templatepfad($_GET['designname']); $_template->_plugin = "modules/sites_plugin/plugin.php"; $_template->_user01 = "sites_admin/admin01.php"; $_template->_user02 = "sites_admin/admin02.php"; $_template->_user03 = "sites_admin/admin03.php"; $_template->_user04 = "sites_user/user04_design.php"; header('Location: admin.php?action=design'); break; case "show_admin": $_template->_user01 = "sites_admin/admin01.php"; $_template->_user02 = "sites_login/login_mehr_02.php"; $_template->_user04 = "sites_login/login_mehr_04.php"; $_template->_user03 = "sites_admin/admin03.php"; break; case "user_einstellungen":