root/website/lib/view/IndexForm.class.php @ 1719

Revision 1719, 1.1 kB (checked in by kop-labs, 6 years ago)

Changes directory strucute

Line 
1<?
2require_once(dirname(__FILE__) . "../ConfigUtil.class.php");
3$cfg = new ConfigUtil();
4$cfg->load("views.Servlet");
5
6class IndexForm extends Servlet{
7    function doGet(){
8        $this->loadTemplate("index");
9        $this->setTitle('UMIT v0.1 | ');
10        $top               = 'template_top.html';
11        $template_menu     = 'template_menu.html';
12        $template_ad       = 'template_ad_small.html';
13        $template_download = '';
14        $active            = ($_GET['active']?$_GET['active']:'home');
15        $template_page     = 'page_'.$active.'.html';
16        $template_footer   = 'template_footer.html';
17        $ad_728x90         = 'ad_728x90.html';
18        $ad_200x200        = 'ad_200x200.html';
19        $site_name         = 'site_name.html';
20        $site_slogan       = 'site_slogan.html';
21        $site_copyright    = 'site_copyright.html';
22        $link_xhtml        = 'link_xhtml.html';
23        $link_rss          = 'link_rss.html';
24        $link_css          = 'link_css.html';
25        $link_language     = 'link_language.html';
26        $link_powerdby     = 'link_powerdby.html';
27       
28    }
29}
30?>
Note: See TracBrowser for help on using the browser.