Ejemplo n.º 1
0
        $_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;
    if ($_settings->_array[19][1] == 0) {
        $_template->_user01 = "sites_time/null.php";