Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 Andrea 1
<?php
2
require_once('./include/LSTU_init.inc');
3
 
4
/////////////////////////////////////////////////
5
// INIZIALIZZAZIONE SESSIONE
6
/////////////////////////////////////////////////
7
ini_set('session.save_handler', 'files');
8
ini_set('session.save_path', APP_PATH.'tmp/');
9
session_start();	
10
 
11
$_htitle = (isset($_htitle)) ? $_htitle : 'SigmaTer';
12
$_hpage = (isset($_hpage)) ? $_hpage : 'SigmaTer';
13
 
14
echo "<html><head><title>$_htitle</title>";
15
echo "<LINK REL=STYLESHEET TYPE=\"text/css\" HREF=\"js/LSTJ_css_cat.css\">";
16
echo "<script language=\"javascript\" src=\"js/LSTJ_functions.js\"></script>";
17
echo "</head><body>";
18
echo "<table width=90% align=\"center\">";
19
echo "<tr><td width=10%> </td>";
20
echo "<td align=\"center\" class=\"titolo1\">SigmaTer</td>";
21
echo "<td width=10%> </td></tr>";
22
echo "<tr><td width=10%> </td>";
23
echo "<td align=\"center\" class=\"titolo2\">$_hpage</td>";
24
 
25
if (basename($_SERVER['PHP_SELF']) == 'LSTV_main.php')
26
	echo "<td width=10%> </td>";
27
else	
28
	echo "<td width=10%><a href=\"LSTV_main.php?".SID."\">Main</a></td>";
29
 
30
echo "</tr></table>";
31
echo "<hr><br></table>";
32
?>