From 9e544cba900942e2379f4bf367ee4bad4e15c382 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 9 Dec 2006 14:26:30 +0000 Subject: [PATCH] Advertising Code --- includes/account_stuff.php | 19 +++++++++ includes/general.php | 2 +- includes/general_stuff.php | 15 ++----- pages/advertising/0.php | 82 +++++++++++++++++++++++++++++++++++++ pages/advertising/1.php | 35 ++++++++++++++++ www/advertising.php | 84 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 225 insertions(+), 12 deletions(-) create mode 100644 pages/advertising/0.php create mode 100644 pages/advertising/1.php create mode 100644 www/advertising.php diff --git a/includes/account_stuff.php b/includes/account_stuff.php index 8bcd57c..5c4ec15 100644 --- a/includes/account_stuff.php +++ b/includes/account_stuff.php @@ -27,6 +27,8 @@ $tmpid = $id + 1000; if($PHP_SELF == "/disputes.php") $tmpid = $id + 1500; + if($PHP_SELF == "/advertising.php") + $tmpid = $id + 2000; switch($tmpid) { @@ -114,6 +116,16 @@ case 1508: case 1509: case 1510: $expand = " explode('disputes');"; break; + case 2000: + case 2001: + case 2002: + case 2003: + case 2004: + case 2005: + case 2006: + case 2007: + case 2008: + case 2009: $expand = " explode('advertising');"; break; } ?> @@ -122,6 +134,7 @@ <?=$title?> +