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

@ -1,6 +1,8 @@
<?php <?php
include("../include/funktion_db.php"); include ("../include/funktion_db.php");
$con = mysql_connect("localhost", "root", "changeme") or die ("connection failed"); $con = mysql_connect("localhost", "root", "changeme") or die("connection failed");
$sel = mysql_select_db("tabel") or die (mysql_error()); $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 else
$URL = $_SERVER["REQUEST_URI"] . "?SetLanguage="; $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>'; 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++) { for ($index_nummer = 1; $index_nummer <= $submenus; $index_nummer++) {
?> ?>
<table align="center" class="border" cellpadding="3" cellspacing="1"> <nav class="container">
<tr>
<td width="160" class="menu">
<?php include ("./".$filepost.".".$index_nummer.$filepre); ?> <?php include ("./".$filepost.".".$index_nummer.$filepre); ?>
</td> </nav>
</tr>
</table>
<br />
<?php <?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.php">Ein-/Austragen</a></li>
<li><a href="./schichtplan_druck.php">Druckversion</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'] == 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'] == 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'] == 9) { echo "selected"; } ?> value="9">Test Style 21c3 </option>
<option <?php if($_SESSION['color'] == 10) { echo "selected"; } ?> value="10">msquare (cccamp2011)</option>
</select> </select>
</td> </td>
</tr> </tr>