summaryrefslogtreecommitdiff
path: root/includes/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php26
1 files changed, 6 insertions, 20 deletions
diff --git a/includes/header.php b/includes/header.php
index 9fb882bf..750c82fb 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -57,8 +57,8 @@ if (isset ($_SESSION['CVS']["nonpublic/messages.php"])) {
}
}
?>
-<table id="body" width="90%" align="center" border="0" cellpadding="7" cellspacing="0">
- <tr>
+<div id="body">
+<div id="menu">
<?php
@@ -68,27 +68,13 @@ if (!isset ($_SESSION['Menu']))
if ($_SESSION['Menu'] == "L")
include ("menu.php");
?>
-
- <td valign="top" align="center">
-<table border="0" width="100%" align="center" class="border" cellpadding="5" cellspacing="1">
- <tr class="contenttopic">
- <td>
+</div>
+<div id="content">
<?php
-echo "<a name=\"" . $header . "\" class=\"contenttopic\">";
-if (strlen($header) == 0)
- echo "\n<b>" . Get_Text($Page["Name"]) . "</b></a>\n";
-else
- echo "\n<b>$header</b></a>\n";
-?>
- </td>
- </tr>
- <tr class="content">
- <td>
-<br />
-<?php
-
+echo '<h1>' . (strlen($header) == 0 ? Get_Text($Page["Name"]) : $header) . '</h1>';
+echo '<article>';
if (isset ($_SESSION['UID'])) {
if (isset ($_SESSION['oldurl']))