Hi,
zu Tabellenlayouts per PHP mit include-Anweisungen habe ich öfters schon auf das folgende PHP-Skript verwiesen:
<?php
if(isset($_GET["content_url"]))
{
$content_url = $_GET["content_url"];
}
else
{
$content_url = "content.html";
}
?>
<html>
<head>
<style type="text/css">
<!--
a:link, a:visited, a:active
{
text-decoration:none;
font-weight:bold;
color:black;
}
a:hover
{
text-decoration:none;
color:green;
font-weight:bold;
}
-->
</style>
</head>
<body style="margin:0cm;">
<p align="center">
<table width="800" cellspacing="0" cellpadding="0">
<tr height="115px">
<td colspan="3">
<?php
include("banner.html");
?>
</td>
</tr>
<tr>
<td width="150" valign="top" style="padding-right:10px;">
<?php
include("left_navigation.html");
?>
</td>
<td width="500">
<?php
include($content_url);
?>
</td>
<td width="150" valign="top" style="padding-left:10px;">
<?php
include("right_navigation.html");
?>
</td>
</tr>
</table>
</p>
</body>
</html>
MfG Murdoch!
geschrieben von
Murdoch
,
26.09.2003, 15:42 Uhr
, 34 mal gelesen