require_once $homedir . "modules/Topic.php"; $program = new Topic($db); $program->setHome(dirname(__FILE__)); $label = $program->label(); $style = "topics.css"; } else { if (isset($_GET['clanok'])) { require_once $homedir . "modules/Article_manager.php"; $program = new Article_manager($db, dirname(__FILE__)); $label = $program->label(); $style = "articles.css"; } else { if (isset($_GET['rozne'])) { if (!strcmp($_GET['rozne'], "herna")) { require_once $homedir . "modules/GameCenter.php"; $program = new GameCenter(); $label = $program->label(); $style = "games.css"; } } else { require_once $homedir . "modules/Intro.php"; $program = new Intro(); $style = "intro.css"; } } } /* $label=""; $type=""; $module=null;
require_once $homedir . "modules/Topic.php"; $program = new Topic($db); $program->setHome(dirname(__FILE__)); $label = $program->label(); $style = "topics.css"; } else { if (isset($_GET['clanok'])) { require_once $homedir . "modules/Article_manager.php"; $program = new Article_manager($db, dirname(__FILE__)); $label = $program->label(); $style = "articles.css"; } else { if (isset($_GET['rozne'])) { if (!strcmp($_GET['rozne'], "herna")) { require_once $homedir . "modules/GameCenter.php"; $program = new GameCenter(); $label = $program->label(); $style = "games.css"; } } } } /* $label=""; $type=""; $module=null; if(isset($_GET['typ'])) $type=$db->escape_string($_GET['typ']); switch($type){