Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 3 | Revision 79 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?
        require("libs/Smarty.class.php");
        $smarty=new Smarty();
        $mode=addslashes((isset($_POST["mode"])?$_POST["mode"]:""));
        $type=addslashes((isset($_POST["type"])?$_POST["type"]:""));
        $year=intval((isset($_POST["year"])?$_POST["year"]:0));
        $g_anz=intval((isset($_POST["g_anz"])?$_POST["g_anz"]:0));
        $t_anz=intval((isset($_POST["t_anz"])?$_POST["t_anz"]:0));
        $smarty->assign("type", $type);
        $smarty->assign("year", $year);
        $smarty->assign("step", substr($mode,4,strlen($mode)-4));
        switch ($mode)
        {
                case "step2":
                        $smarty->display("install2.tpl");
                        break;
                case "step3":
                        $smarty->display("install3.tpl");
                        break;
                default:
                        $smarty->display("install.tpl");
                        break;
        }
?>