ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/WEBCONDDB/php_CondDB/index.php
Revision: 1.1
Committed: Fri Jun 29 07:53:09 2007 UTC (17 years, 10 months ago) by kdziedzi
Branch: MAIN
CVS Tags: V01-01-02, V01-01-01, V1_01_00, V01-01-00, V1_00_01, HEAD
Log Message:
Introducing new order in project

File Contents

# User Rev Content
1 kdziedzi 1.1 <?php
2     /*
3     * Created on Sep 18, 2006
4     * by Katarzyna Maria Dziedziniewicz
5     * Contains:
6     * Index file for CondWeb
7     * Login-in page
8     */
9    
10     session_start();
11     require('utils/header.php');
12     // $menuV = new menuViewer;
13     // $menuV->parse();
14     $_SESSION['indexDir']=dirname($_SERVER['PHP_SELF']);
15     ?>
16    
17     <?php /* if (!isset($_SESSION['is_logged_in']) || $_SESSION['is_logged_in']==0)
18     {
19     include('utils/loginForm.php');
20     }
21     else
22     {
23     if (!isset($_SESSION['calling_page']) ||$_SESSION['calling_page']!='')
24     {
25     echo '<br><p class="main_menu_title">Function List <br>';
26    
27     foreach($pages as $subpage)
28     {
29     if ($subpage->name != 'Menu')
30     echo'<A class="main_menu_link" href=' .$subpage->file.' charset="ISO-8859-1">'.$subpage->name.'</A><br>';
31     }
32     }
33     else
34     {
35     header("Location: ".$_SESSION['calling_page']);
36     $_SESSION['calling_page']='';
37     exit;
38     }
39     // }
40     */
41     include('utils/backButton.php');
42    
43     ?>