html5, css rewrite

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

@ -1,27 +1,7 @@
<!-- anfang des footers //--> </article>
<br /> </div>
<p align="center"> </div>
<?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
if ($_SESSION['Menu'] == "R")
include ("menu.php");
?>
<!-- ende des menue parts //-->
</table>
<footer> <footer>
<p> <p>
&copy; copyleft | <a href="mailto:erzengel@lists.ccc.de">Kontakt</a> | <a href="<?php echo $ENGEL_ROOT; ?>credits.php">Credits</a><br /> &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> </footer>
<?php <?php
include ("funktion_counter.php"); include ("funktion_counter.php");
mysql_close($con); mysql_close($con);
?> ?>

@ -4,6 +4,6 @@ if (strpos($_SERVER["REQUEST_URI"], "?") > 0)
else else
$URL = $_SERVER["REQUEST_URI"] . "?SetLanguage="; $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 '<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>'; 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"> <div id="body">
<tr> <div id="menu">
<?php <?php
@ -68,27 +68,13 @@ if (!isset ($_SESSION['Menu']))
if ($_SESSION['Menu'] == "L") if ($_SESSION['Menu'] == "L")
include ("menu.php"); include ("menu.php");
?> ?>
</div>
<td valign="top" align="center"> <div id="content">
<table border="0" width="100%" align="center" class="border" cellpadding="5" cellspacing="1">
<tr class="contenttopic">
<td>
<?php <?php
echo "<a name=\"" . $header . "\" class=\"contenttopic\">"; echo '<h1>' . (strlen($header) == 0 ? Get_Text($Page["Name"]) : $header) . '</h1>';
if (strlen($header) == 0) echo '<article>';
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
if (isset ($_SESSION['UID'])) { if (isset ($_SESSION['UID'])) {
if (isset ($_SESSION['oldurl'])) if (isset ($_SESSION['oldurl']))

@ -4,57 +4,92 @@
} }
body { body {
font-size: 14px; background: #f0f0f0;
font-family: Arial;
sans-serif;
font-size:
14px;
} }
header { header {
display: block; display: block;
width: 100%; width: 100%;
} }
footer { footer {
display: block; clear: both;
font-size: 12px; display: block;
text-align: center; font-size: 12px;
width: 100%; text-align: center;
width: 100%;
} }
footer p { footer p {
margin: 10px auto; margin: 10px auto;
} }
#logo { #logo {
background: url('../pic/himmel.png') top left no-repeat; background: url('../pic/himmel.png') top left no-repeat;
display: block; display: block;
height: 32px; height: 32px;
margin: 10px auto; margin: 10px auto;
width: 380px; width: 380px;
} }
#body { #body {
margin: 0 5%; margin: 0 5%;
}
#menu {
float: left;
width: 200px;
}
#content {
margin-left: 200px;
}
a {
color: #000;
} }
td, dt, dd { td, dt, dd {
padding: 4px; padding: 4px;
} }
dt { dt {
font-weight: bold; font-weight: bold;
} }
dd { dd {
margin-left: 20px; margin-left: 20px;
} }
h4 { h1, h4 {
padding: 0 4px; font-size: 16px;
padding: 0 4px;
} }
ul { 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 { a.sprache img {
margin: 5px; margin: 5px;
} }

Loading…
Cancel
Save