From fdf4e65e3c7057a7b089b56aa1764e7ca602629d Mon Sep 17 00:00:00 2001 From: Xkeeper Date: Wed, 2 Jan 2019 13:30:21 -0800 Subject: [PATCH] remove some old adbox code --- index.php | 5 +---- lib/layout.php | 6 ++---- 2 files changed, 3 insertions(+), 8 deletions(-) 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='
--------------------
', @@ -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() ."
" : "") ." +