Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | function ShowHeader()
|
---|
4 | { // BEGIN function ShowHeader
|
---|
5 | global $Config,$menu,$User;
|
---|
6 | echo '<?xml version="1.0" encoding="'.$Config['Charset'].'"?>
|
---|
7 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
---|
8 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
---|
9 | <head>
|
---|
10 | <link href="style.css" rel="stylesheet" type="text/css" />
|
---|
11 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
---|
12 | <title>'.HEAD_TITLE.'</title>
|
---|
13 | </head>
|
---|
14 | <body>
|
---|
15 |
|
---|
16 | <div id="container">
|
---|
17 | <div id="banner">
|
---|
18 | <div id="banner1"><div id="banner2"></div><div id="bannertitle">'.HEAD_TITLE.'</div></div>
|
---|
19 |
|
---|
20 | </div>
|
---|
21 |
|
---|
22 | <div id="outer">
|
---|
23 | <div id="inner">
|
---|
24 | <div id="left">
|
---|
25 | <div class="verticalmenu">
|
---|
26 | <ul>';
|
---|
27 | foreach ($menu as $key=>$value) {
|
---|
28 | echo '<li><a href="'.$value[2].'" title="'.$value[1].'">'.$value[0].'</a></li>';
|
---|
29 | };
|
---|
30 |
|
---|
31 | echo '</ul>';
|
---|
32 | echo '
|
---|
33 | </div>
|
---|
34 | </div>
|
---|
35 | ';
|
---|
36 |
|
---|
37 | } // END function ShowHeader
|
---|
38 |
|
---|
39 | function ShowFoodter()
|
---|
40 | { // BEGIN function ShowFoodter
|
---|
41 | echo ' </div><!-- end inner -->
|
---|
42 | </div><!-- end outer -->
|
---|
43 | <div id="footer"><h1>'.FOOD_TEXT.'</h1></div>
|
---|
44 | </div><!-- end container -->
|
---|
45 | </body></html>';
|
---|
46 | } // END function ShowFoodter
|
---|
47 |
|
---|
48 |
|
---|
49 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.