summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-01 17:41:49 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-01 17:41:49 +0200
commitac8dbe835e368b9c7d97584c3722206b134db890 (patch)
tree129defc7281ca806975b2421771630af56bce33f /includes
parentd163b9921b3ddb71f027199c87e6cf18fbb9a624 (diff)
html5, css rewrite
Diffstat (limited to 'includes')
-rw-r--r--includes/footer.php28
-rw-r--r--includes/funktion_flag.php4
-rw-r--r--includes/header.php26
3 files changed, 11 insertions, 47 deletions
diff --git a/includes/footer.php b/includes/footer.php
index 62260e55..8e5b35b9 100644
--- a/includes/footer.php
+++ b/includes/footer.php
@@ -1,27 +1,7 @@
-<!-- anfang des footers //-->
- <br />
- <p align="center">
- <?php
-if (IsSet ($_SESSION['oldurl']))
- echo "<a href=\"" . $_SESSION["oldurl"] . "\">" . Get_Text("back") . "</a>&nbsp;";
-?>
- <a href="#top"><?php echo Get_Text("top"); ?></a>
- </p>
- </td>
- </tr>
-</table>
-</td>
-
-<!-- anfang des menue parts //-->
-<?php
-
+</article>
+</div>
+</div>
-if ($_SESSION['Menu'] == "R")
- include ("menu.php");
-?>
-
-<!-- ende des menue parts //-->
-</table>
<footer>
<p>
&copy; copyleft | <a href="mailto:erzengel@lists.ccc.de">Kontakt</a> | <a href="<?php echo $ENGEL_ROOT; ?>credits.php">Credits</a><br />
@@ -30,8 +10,6 @@ if ($_SESSION['Menu'] == "R")
</footer>
<?php
-
-
include ("funktion_counter.php");
mysql_close($con);
?>
diff --git a/includes/funktion_flag.php b/includes/funktion_flag.php
index b394d18a..7e88466d 100644
--- a/includes/funktion_flag.php
+++ b/includes/funktion_flag.php
@@ -4,6 +4,6 @@ if (strpos($_SERVER["REQUEST_URI"], "?") > 0)
else
$URL = $_SERVER["REQUEST_URI"] . "?SetLanguage=";
-echo '<a class="sprache" href="' . $URL . 'DE"><img src="' . $ENGEL_ROOT . 'pic/flag/de.png" alt="DE" title="Deutsch"></a>';
-echo '<a class="sprache" href="' . $URL . 'EN"><img src="' . $ENGEL_ROOT . 'pic/flag/en.png" alt="EN" title="English"></a>';
+echo '<p><a class="sprache" href="' . $URL . 'DE"><img src="' . $ENGEL_ROOT . 'pic/flag/de.png" alt="DE" title="Deutsch"></a>';
+echo '<a class="sprache" href="' . $URL . 'EN"><img src="' . $ENGEL_ROOT . 'pic/flag/en.png" alt="EN" title="English"></a></p>';
?>
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']))