initial commit
[emacs-init.git] / nxhtml / tests / in / rr-090923-header.php
1 <?php
2   require_once("utils.php");
3 ?>
4
5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6
7 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8
9   <?php if(!processLanguageURL())
10     {
11             if ($_SESSION["CurrentLanguage"]==0){
12                     $_SESSION["CurrentLanguage"]=$Default_Lang;
13             }
14     }
15   ?>
16
17   <head>
18
19     <title><?php echo getMessage("website.title");?></title>
20     
21     <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
22
23     <?php
24       if (AUTO_REFRESH_DELAY>0 && !adminMode())
25       echo '<meta http-equiv="refresh" content="'.AUTO_REFRESH_DELAY.'"/>';
26     ?>
27
28
29     <link type="text/css" href="jscalendar-1.0/calendar-win2k-1.css" rel="stylesheet" title="Style Sheet"/> <!-- indicate local copy -->
30     <script type="text/javascript" src="jscalendar-1.0/calendar.js"></script>
31     <script type="text/javascript" src="jscalendar-1.0/lang/calendar-en.js"></script>
32     <script type="text/javascript" src="jscalendar-1.0/calendar-setup.js"></script>
33
34
35     <link type="text/css" href="stylesheet.css" rel="stylesheet" title="Style Sheet" />
36     <link type="text/css" href="print.css" rel="stylesheet" media="print"/>
37    
38     <!--[if lt IE 7]>
39         <link type="text/css" href="ie.css" rel="stylesheet" title="Style Sheet"/>
40         <link type="text/css" href="site-ie.css" rel="stylesheet" title="Style Sheet"/>
41         <![endif]-->
42
43     
44     <link type="text/css" href="/custom/site.css" rel="stylesheet" title="Style Sheet"/> <!-- project custom -->
45     <style type="text/css"><?php echo htmlentities(getMessage("header.custom.css"));?> </style>
46
47
48 <?php  undercon();
49 echoHeaderContent("keywords",curPageName());
50 echoHeaderContent("description",curPageName());
51 echoHeaderContent("verify-v1",curPageName());
52 ?>
53     
54     <link rel="SHORTCUT ICON" href="favicon.ico"/>
55
56     <META NAME="AUTHOR" CONTENT="Richard G. Riley"/>
57       <meta name="copyright" content="Copyright Richard G. Riley 2009" />
58
59
60     
61   </head>
62   
63   <body  id="body">
64
65     <div id="wcbg">
66       
67       <div id="wc"  class="clearfix">
68
69     <?php
70       checkWebLicense();
71     ?>
72
73         <?php
74           include("navigation.php");
75         ?>
76
77         <div id="wb">
78           
79           <?php 
80             if(isDemo()){
81             echo '<div class="demomode">';
82             echoMessage("admin.demo");
83             echo "</div>";
84             }
85             if(adminMode()){
86             echo '<div id="admincontrolcontainer">';
87             createNavigationLinks("navlinks",1);
88             echo '<div class="clear"></div>';
89             echo '</div>';
90             }     
91           ?>
92           
93           <div id="centercontainer">
94             <?php
95               if(messageMode()){
96               echo '<div class="editwebtitle">';
97               echoMessage("website.title");
98               echo '</div>';
99               }
100             ?>
101