diff --git a/index.php b/index.php
index 08934b2..faf17d4 100644
--- a/index.php
+++ b/index.php
@@ -279,10 +279,7 @@
}
print "$tblend
$privatebox
-
- ". adbox() ."
-
$tblstart$forumlist$tblend$footer";
printtimedif($startingtime);
}
-?>
+
diff --git a/lib/layout.php b/lib/layout.php
index 3df0352..a905f87 100644
--- a/lib/layout.php
+++ b/lib/layout.php
@@ -57,6 +57,7 @@
$radio='';
+ $tblstartf='
';
$sepn=array('Dashes','Line','Full horizontal line','None');
$sep=array('
--------------------
',
@@ -442,9 +443,6 @@
function makeheader($header1,$headlinks,$header2) {
global $loguser, $PHP_SELF;
$header = $header1.$headlinks.$header2;
- if (!$loguser['id'] && strpos($PHP_SELF, "index.php") === false) {
- $header .= adbox() ."
";
- }
return $header;
}
@@ -502,7 +500,7 @@
$header=makeheader($header1,$headlinks,$header2);
$footer="
-
". ($loguser['id'] && strpos($PHP_SELF, "index.php") === false ? adbox() ."
" : "") ."
+