forked from web-cyradm/web-cyradm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.inc.php
57 lines (47 loc) · 1.58 KB
/
header.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/*
if (!defined('WC_BASE')) define('WC_BASE', dirname(__FILE__));
$ref=WC_BASE."/index.php";
if ($ref!=$_SERVER['SCRIPT_FILENAME']){
header("Location: index.php");
exit();
}
*/
include WC_BASE . "/lib/nls.php";
$charset = isset($nls["charsets"][$LANG])?$nls["charsets"][$LANG]:'iso-8859-1';
header('Vary: Accept-Language');
header('Content-type: text/html; charset=' . $charset);
if (!isset($_SESSION['style'])){
$_SESSION['style'] = "default";
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- ##################################### Begin header ############################################ -->
<html>
<head>
<title>
Web-cyradm
</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php print $charset;?>">
<link rel="stylesheet" href="css/<?php print $_SESSION['style'];?>.css" type="text/css">
</head>
<body style="margin: 0px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="height: 100%;">
<tr>
<td colspan="2" height="80" class="banner" bgcolor="#CCCCCC"><img
src="images/banner.gif" width="780" height="80" usemap="#Map" border="0"
alt="web-cyradm" title="">
<map name="Map">
<area shape="rect" coords="689,2,767,15"
href="mailto:luc at delouw.ch"
alt="send mail to luc at delouw.ch">
</map>
</td>
</tr>
<tr>
<td width="10"> </td>
<td valign="middle" height="45">
<!-- <tr>
<td width="10"> </td>
<td valign="top"> -->
<!-- ########################################## End header ############################################## -->