- mu21.de [nt & lifestyle] - http://www.mu21.de -

index.php - mu21.de pre-web 2.0-Standard…

Posted by michael on May 3, 2007 in The Pages

[1] Code Archive - [2] index.php

…der Index - oder: Codeschnipsel 2 des mu21.de pre-web 2.0-Standards:

Durch den Index wurde den Seiten ein generelles [3] Look-and-Feel gegeben (Header, Menüstruktur, Präsentationsfläche, Footer). Hierzu habe ich mit Tabellen und Bildern gearbeitet. Spielereien habe ich mir damals natürlich nicht verkneifen können (onmouseover=”window.status=’[Menüname]‘; return true” onmouseout=”window.status=”;)). Um mir Schreibarbeit zu sparen und um auf allen Seiten den gleichen Meta-Tag zu haben, habe ich mit den Meta-Tag inkludiert. Ebenso mit <?PHP setlocale(LC_TIME,”de_DE”); echo strftime(”%A, %x %X”); ?> ;-). Durch den Aufruf von show.php (include(”show.php”);) wurde der Inhalt der Seiten dem Benutzer dargestellt. Die Seiten konnten somit über “index.php?dir=Verzeichnis&file=Dateiname” aufgerufen werden.

<? include("header.php");?>
<html>
<link rel="stylesheet" href="mu21" type="text/css">
<body bgcolor="#A3BAD3" text="#000000" link="#000000" vlink="#000000" alink="#000000">
<div align="center">
<p><img src="Home/header.jpg" width="750" height="100"></p>
<p align="center">
</p>
</div>
<div align="center">
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100" height="38" valign="top">
<div align="center">
<p class="mu21"><b><img src="Home/Content.gif" width="100" height="20"></b></p>
</div>
</td>
<td width="25"></td>
<td width="500" valign="top">
<div align="center">
<p class="mu21"><b><img src="Home/Show.gif" width="100" height="20"></b></p>
<p>
<?PHP
setlocale (LC_TIME,"de_DE");
echo strftime("%A, %x %X");
?>
</div>
</td>
<td width="25"></td>
<td width="100" valign="top">
<div align="center">
<p class="mu21"><font face="Eras Demi ITC" size="2"><img src="Home/Intern.gif" width="100" height="20"></font></p>
</div>
</td>
</tr>
<tr>
<td height="11"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td valign="top" rowspan="2">
<p align="right"><a href="http://www.mu21.de"><img src="Home/News.gif" width="100" height="20" border="0" onmouseover="window.status='News'; return true" onmouseout="window.status=''; return true" ></a></p>
<p align="right"><a href="http://www.mu21.de/index.php?dir=schwedenreise&file=schwedenreise.php"><img src="Home/Schwedenreise.gif" width="100" height="20" border="0" onmouseover="window.status='Schwedenreise'; return true" onmouseout="window.status=''; return true"></a></p>
<p align="right"><a href="http://www.mu21.de/index.php?dir=FH&file=index.php"><img src="Home/Skripten.gif" width="100" height="20" border="0" onmouseover="window.status='Skripten'; return true" onmouseout="window.status=''; return true"></a></p>
<p align="right"><a href="http://www.uhl-pages.de" target="_blank"><img src="Home/uhlpages.gif" width="100" height="20" border="0" onmouseover="window.status='uhl-pages'; return true" onmouseout="window.status=''; return true"></a></p>
<p align="right"><a href="http://www.mu21.de/index.php?dir=links&file=index.php"><img src="Home/Links.gif" width="100" height="20" border="0" onmouseover="window.status='Links'; return true" onmouseout="window.status=''; return true"></a></p>
<p align="right"><a href="http://www.mu21.de/index.php?dir=dns&file=index.php"><img src="Home/dns.gif" width="100" height="20" border="0" onmouseover="window.status='DNS'; return true" onmouseout="window.status=''; return true"></a></p>
<p align="right"><a href="http://www.mu21.de/index.php?dir=imprint&file=index.php"><img src="Home/imprint.gif" width="100" height="20" border="0" onmouseover="window.status='Impressum'; return true" onmouseout="window.status=''; return true"></a></p>
<p align="right"><a href="http://www.mu21.de/index.php?dir=feedback&file=feedback.php"><img src="Home/Feedback.gif" width="100" height="20" border="0" onmouseover="window.status='Feedback'; return true" onmouseout="window.status=''; return true"></a></p>
</td>
<td height="1"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="468"></td>
<td valign="top" rowspan="2">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="500" height="469" valign="top">
<?php
include("show.php");
?>
</td>
</tr>
</table>
</td>
<td></td>
<td valign="top" rowspan="2">
<div align="left"> <a href="https://ps-ssl.de/mu21.de/index.php?dir=v2&file=index.php"><img src="Home/Webmail.gif" width="100" height="20" border="0" onmouseover="window.status='mu21.de - webmail'; return true" onmouseout="window.status=''; return true"></a>
<p><a href="http://www.mu21.de/news2/index.php" target="_blank"><img src="Home/Newsadmin.gif" width="100" height="20" border="0" onmouseover="window.status='Newsadmin'; return true" onmouseout="window.status=''; return true"></a></p>
<p><a href="http://www.mu21.de/ftp/index.php"><img src="Home/webFTP.gif" width="100" height="20" border="0"onmouseover="window.status='webFTP'; return true" onmouseout="window.status=''; return true"></a></p>
<p><a href="http://www.mu21.de/Development/filmanager/index.php"><img src="Home/development.gif" width="100" height="20" border="0"onmouseover="window.status='Development'; return true" onmouseout="window.status=''; return true"></a></p>
</div>
</td>
</tr>
<tr>
<td height="1"></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<div align="center">
<table width="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="500" height="50" valign="top">
<p align="center">[<a href="http://www.mu21.de"onmouseover="window.status='News'; return true" onmouseout="window.status=''; return true">News</a>] [<a href="http://www.mu21.de/index.php?dir=schwedenreise&file=schwedenreise.php"onmouseover="window.status='Schwedenreise'; return true" onmouseout="window.status=''; return true">Schwedenreise</a>]
[<a href="http://www.mu21.de/index.php?dir=FH&file=index.php"onmouseover="window.status='Skripten'; return true" onmouseout="window.status=''; return true">Skripten</a>] [<a href="http://www.uhl-pages.de"onmouseover="window.status='uhl-pages'; return true" onmouseout="window.status=''; return true" target="_blank">uhl-pages</a>]
<a href=”http://www.mu21.de/index.php?dir=links&file=index.php”onmouseover=”window.status=’Links’; return true” onmouseout=”window.status=”; return true”>[Links</a>] [<a href="http://www.mu21.de/index.php?dir=feedback&file=feedback.php"onmouseover="window.status='Feedback'; return true" onmouseout="window.status=''; return true">Feedback</a>]
[<a href="http://www.mu21.de/index.php?dir=dns&file=index.php"onmouseover="window.status='dns'; return true" onmouseout="window.status=''; return true">dns</a>]
[<a href="http://www.mu21.de/index.php?dir=imprint&file=index.php"onmouseover="window.status='imprint'; return true" onmouseout="window.status=''; return true">Impressum</a>]
</p>
<p align=”center”>[<a href="https://ps-ssl.de/mu21.de/index.php?dir=v2&file=index.php"onmouseover="window.status='mu21.de - webmail'; return true" onmouseout="window.status=''; return true">Webmail</a>]
[<a href="http://www.mu21.de/news2/index.php" target="_blank"onmouseover="window.status='Newsadmin'; return true" onmouseout="window.status=''; return true">Newsadmin</a>]
[<a href="http://www.mu21.de/ftp/index.php" onmouseover="window.status='webFTP'; return true" onmouseout="window.status=''; return true">webFTP</a>]
[<a href="http://www.mu21.de/Development/Filemanager/index.php" onmouseover="window.status='Development'; return true" onmouseout="window.status=''; return true">Development</a>]</td>
</tr>
</table>
</div>
</body>
</html>


Article printed from mu21.de [nt & lifestyle]: http://www.mu21.de

URL to article: http://www.mu21.de/code-archive/indexphp-mu21de-pre-web-20-standard/

URLs in this article:
[1] Code Archive: http://www.mu21.de/index.php/code-archive/
[2] index.php: http://www.mu21.de/index.php/code-archive/indexphp-mu21de-pre-web-20-standard/
[3] Look-and-Feel: http://de.wikipedia.org/wiki/Look_and_Feel


May 3, 2007 by mu21.de (whois): Michael Uhl - Imprint at http://imprint.mu21.de (dt. Impressum)