1
Hallo,
ich bin gerade dabei, dass Forum an das Layout meiner Webseite anzupassen. Das klappt auch soweit, nur, dass er irgendwelche Probleme mit einem Array hat. Siehe http://www.abi-nachholen.de/forum/
Woran liegt denn das?
output/head.php:
output/tail.php
ich bin gerade dabei, dass Forum an das Layout meiner Webseite anzupassen. Das klappt auch soweit, nur, dass er irgendwelche Probleme mit einem Array hat. Siehe http://www.abi-nachholen.de/forum/
Woran liegt denn das?
output/head.php:
<?php
header('Expires: ' . $expires);
header('Last-Modified: ' . $lastmodified);
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Content-Type: ' . $mimetype . '; charset=' . $charset);
header('Content-Style-Type: text/css');
if ($b_ie6 === false) {
echo '<?xml version="1.0" encoding="', $charset, '" ?', '>', "\n";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang ?>" lang="<?php echo $lang ?>">
<head>
<title><?php echo strip_tags($hdtitle4html) ?></title>
<?php
if ($hdrefreshurl != false) {
$hdrefresh = $hdrefreshtime . '; URL=' . $hdrefreshurl;
echo '<meta http-equiv="refresh" content="', $hdrefresh, '" />', "\n";
}
if ($hddescription4html != false) {
echo '<meta name="description" content="', $hddescription4html, '" />', "\n";
}
if ($hdkeywords4html != false) {
echo '<meta name="keywords" content="', $hdkeywords4html, '" />', "\n";
}
?>
<meta name="robots" content="<?php echo $hdrobots ?>, follow" />
<link rel="stylesheet" media="screen" href="<?php echo $styleurl ?>?v=<?php echo $stu3v ?>" />
<link rel="stylesheet" media="print" href="<?php echo $printstyleurl ?>?v=<?php echo $stu3v ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<?php echo $bpath ?>/feeds/atom.xml" />
<link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="<?php echo $gfpath ?>feeds/1-0.xml" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php echo $gfpath ?>feeds/2-0.xml" />
<?php
if ($faviconurl != '') {
echo '<link rel="shortcut icon" href="' . $faviconurl . '" />', "\n";
}
if ($externalwindow == 1) {
echo '<script type="text/javascript" src="', $gfpath, 'scripts/external.js"></script>', "\n";
}
if ($b_ie6 === true && $b_multisubmits === true) {
echo '<script type="text/javascript" src="', $gfpath, 'scripts/iebuttonfix.js"></script>', "\n";
}
?>
</head>
<body>
<div id="wrapper">
<div id="innerwrapper">
<div id="header">
<?php echo '<h1>', $hdtitle4html, '</h1>', "\n";?>
<h2>Abi nachmachen</h2>
<ul id="nav">
<li><a href="http://www.abi-nachholen.de" accesskey="1" title="Schule für Erwachsene SfE">Zweiter Bildungsweg</a></li>
<li><a href="../wege-zum-abitur.html" accesskey="2" title="Abitur nachholen">Wege zum Abitur</a></li>
<li><a href="../abitur-online.html" accesskey="3" title="Online-Abitur">Abitur online</a></li>
<li><a href="../elternunabhaengiges-bafoeg.html" accesskey="4" title="Das neue">BAföG</a></li>
<li><a href="http://www.abi-nachholen.de/forum" accesskey="4" title="Abi Forum" class="active">Forum</a></li>
<li><a href="../about-abitur-nachmachen.html" accesskey="5" title="Hintergrund" rel="nofollow">About</a></li>
<li><a href="../kontakt-abitur-nachholen.html" accesskey="6" title="Kontakt Abitur nachmachen" rel="nofollow">Kontakt</a></li>
</ul>
</div>
<div id="sidebar">
<div class="werbezug">Navigation</div>
<?php
include ($f_menu);
foreach ($menu as $submenu) {
$i = 0;
$b_ul = false;
foreach ($submenu as $item) {
if ($item[1] == '' || $item[1] == $_SERVER['REQUEST_URI']) {
$x_item = $item[0];
} else {
$x_item = '<a href="' . $item[1] . '">' . $item[0] . '</a>';
}
if ($i == 0) {
echo '<strong>' . $x_item . '</strong><br/>';
} else {
if ($i == 1) {
echo '', "\n";
$b_ul = true;
}
echo '' . $x_item . '<br/>', "\n";
}
$i++;
}
if ($b_ul == true) {
echo '', "\n";
}
echo "\n";
}
?>
</div>
<div id="contentnorightbar">
<?php
if ($start == 0) {
echo '<p id="top"><a href="', $gfpath, '">', $gfname4html, '</a>';
if ($crumb24html != '') {
echo ' > <a href="', $crumb2url, '">', $crumb24html, '</a>';
if ($crumb34html != '') {
echo ' > <a href="', $crumb3url, '">', $crumb34html, '</a>';
}
}
echo '</p>', "\n";
}
/*if ($hddescription4html != '') {
echo '<p>', $hddescription4html, '</p>', "\n";
}*/
if (isset($submenu[0]) || isset($submenu[2])) {
echo '<p class="submenu">';
if (isset($submenu[0])) {
$overallsubmenu = $submenu[0];
}
if (isset($submenu[0]) && isset($submenu[2])) {
$overallsubmenu .= ' | ';
}
if (isset($submenu[2])) {
$overallsubmenu .= $submenu[2];
}
echo $overallsubmenu;
echo '</p>', "\n";
}
if ($message4html != '') {
?>
<div class="message">
<p><?php echo $message4html ?></p>
</div>
<?php
}
?>
output/tail.php
<?php
if ($overallsubmenu != '' && $nobottomsubmenu == 0) {
echo '<div id="ende">', "\n", '<p class="submenu">', "\n", $overallsubmenu, '</p>';
if (isset($submenu[1])) {
echo '<p>', $submenu[1], '</p>', "\n";
}
echo '</div>', "\n";
}
?>
</div><!-- Ende contentnorightbar -->
<div id="footer">
<!-- Please leave this line intact -->
<p>Template design by <a href="http://www.sixshootermedia.com">Six Shooter Media</a>. Forum powered by <a href="http://forum-2.joergkrusesweb.de/" rel="external">Jörgs Forum</a><br />
<!-- you can delete below here -->
© 2008 www.abi-nachholen.de</p>
<?php
if ($b_footer == true) {
include ($f_footer);
}
if ($updateinfo == 1) {
echo '<script type="text/javascript" src="', $updateinfourl, '"></script>', "\n";
}
if ($scriptinfos > 1 || ($scriptinfos == 1 && $sustatus >= 6)) {
include (INCPATH . '/main/etc/dev.php');
}
?>
</div>
</div>
</div>
</body>
</html>