html5, css rewrite

This commit is contained in:
Philip Häusler 2011-06-01 18:16:47 +02:00
parent 54aa90e641
commit 208c76fcb2
5 changed files with 12 additions and 15 deletions

View File

@ -3,4 +3,6 @@ include("../include/funktion_db.php");
$con = mysql_connect("localhost", "root", "changeme") or die("connection failed");
$sel = mysql_select_db("tabel") or die(mysql_error());
mysql_query("SET CHARACTER SET utf8;", $sql_connection);
mysql_query("SET NAMES 'utf8'", $sql_connection);
?>

View File

@ -4,6 +4,6 @@ if (strpos($_SERVER["REQUEST_URI"], "?") > 0)
else
$URL = $_SERVER["REQUEST_URI"] . "?SetLanguage=";
echo '<p><a class="sprache" href="' . $URL . 'DE"><img src="' . $ENGEL_ROOT . 'pic/flag/de.png" alt="DE" title="Deutsch"></a>';
echo '<p class="content"><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>';
?>

View File

@ -20,15 +20,9 @@ if ($submenus >= 1) {
for ($index_nummer = 1; $index_nummer <= $submenus; $index_nummer++) {
?>
<table align="center" class="border" cellpadding="3" cellspacing="1">
<tr>
<td width="160" class="menu">
<nav class="container">
<?php include ("./".$filepost.".".$index_nummer.$filepre); ?>
</td>
</tr>
</table>
<br />
</nav>
<?php

View File

@ -1,5 +1,5 @@
<h4 class="menu"> Schichtplan </h4>
<h4>Schichtplan</h4>
<ul class="content">
<li><a href="./schichtplan.php">Ein-/Austragen</a></li>
<li><a href="./schichtplan_druck.php">Druckversion</a></li>
</ul>

View File

@ -128,6 +128,7 @@ if (!isset ($_POST["action"])) {
<option <?php if($_SESSION['color'] == 8) { echo "selected"; } ?> value="8">Pastel Style</option>
<option <?php if($_SESSION['color'] == 4) { echo "selected"; } ?> value="4">Test Style</option>
<option <?php if($_SESSION['color'] == 9) { echo "selected"; } ?> value="9">Test Style 21c3 </option>
<option <?php if($_SESSION['color'] == 10) { echo "selected"; } ?> value="10">msquare (cccamp2011)</option>
</select>
</td>
</tr>