/[scire]/webgli/index.php
Gentoo

Contents of /webgli/index.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18 - (show annotations) (download)
Sat Apr 15 20:23:31 2006 UTC (11 years, 6 months ago) by codeman
File size: 563 byte(s)
adding initial files for configfiles screen
small updates to the other screens.


1 <?php
2
3 include('Smarty.class.php');
4 #require_once('Frodo.php');
5 #if(!isset($_SESSION['userid'])) {
6 #print "<h1>NO MATCH</h1>";
7 # header("Location: login.php");
8 #}
9 #else {
10 # print "Welcome $_SESSION[userid]<br>";
11 #}
12
13 $smarty = new Smarty;
14 #phpinfo();
15 $smarty->template_dir = './templates';
16 $smarty->compile_dir = './templates_c';
17 $smarty->cache_dir = './cache';
18 $smarty->config_dir = './configs';
19
20
21 $smarty->assign('advanced',True);
22 $smarty->display('index.tpl');
23
24
25 # print "Welcome to WebGLI. This is the index page. It has index-y stuff on it. ok?";
26
27
28
29
30
31 ?>

  ViewVC Help
Powered by ViewVC 1.1.20