html5, css rewrite

main
Philip Häusler 14 years ago
parent d163b9921b
commit ac8dbe835e

@ -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);
?>

@ -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>';
?>

@ -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']))

@ -4,7 +4,11 @@
}
body {
font-size: 14px;
background: #f0f0f0;
font-family: Arial;
sans-serif;
font-size:
14px;
}
header {
@ -13,6 +17,7 @@ header {
}
footer {
clear: both;
display: block;
font-size: 12px;
text-align: center;
@ -35,6 +40,19 @@ footer p {
margin: 0 5%;
}
#menu {
float: left;
width: 200px;
}
#content {
margin-left: 200px;
}
a {
color: #000;
}
td, dt, dd {
padding: 4px;
}
@ -47,12 +65,29 @@ dd {
margin-left: 20px;
}
h4 {
h1, h4 {
font-size: 16px;
padding: 0 4px;
}
ul {
margin: 0 0 0 20px;
padding: 5px 0 5px 20px;
}
nav {
margin: 0 10px 10px 0;
}
nav, #content {
border: 1px solid #888;
}
#content article {
padding: 10px;
}
nav ul, nav p, #content article {
background: #fff;
}
a.sprache img {

Loading…
Cancel
Save