Advertising-Department.com

Title

PopupAd.net - pop - under and pseudo pop - up advertising network connecting internet publishers and advertisers

Description

Excerpted from the website:

// parameters: // tpl - template // hot // cid // limit // start // startdate // enddate // text require "config/sysconfig.inc.php"; require "include/common.inc.php"; require "lib/datesrv.inc.php"; require "lib/QuickTemplate-v3.class.php"; if ( !($link = ConnectToDB($g_ViewerUser, $g_ViewerPassword)) ) exit(); if(isset($tpl)) { if( dirname($tpl) !== "." ) { $tpl = trim($tpl); if( substr($tpl,0,1) === '/' ) $tpl = substr($tpl,1); $template = $DOCUMENT_ROOT."/".$tpl; } else $template = "templates/".$tpl; } else $template = ""; $where = ""; if(!isset($hot)) $hot="yes"; if($hot == "only") $where = "HomePage and HomePageExpiryDate >= '".gmdate("Y-m-d")."'"; elseif($hot == "no") $where = "not HomePage"; else $where = "(not HomePage or HomePageExpiryDate >= '".gmdate("Y-m-d")."')"; if( isset($cid) && @intval($cid) > 0 ) { $where .= ($where ? " and " : "") . "CategoryID = ".intval($cid); $params["CID"] = $cid; } if(isset($startdate) && checkEnteredDate( $startdate )) { $where .= ($where ? " and " : "") . "Date >='" . $startdate . "'"; $params["StartDate"] = $startdate; } if(isset($enddate) && checkEnteredDate( $enddate )) { $where .= ($where ? " and " : "") . "Date 0 ? intval($limit) : 0; else $limit = 20; if(isset($start)) $start = intval($start) > 0 ? intval($start) : 0; else $start = 0; echo getNews($where,$template,$limit,$start,$params); ?>
read more

Languages

English

Address

2 Winstree Close, Layer de la Haye
Colchester, Essex CO2 0JR UNITED KINGDOM

Contact

Network22 Ltd
07771 884520

Additional Information

Related Domains

External Links



Retrieved from "http://aboutus.com/index.php?title=Advertising-Department.com&oldid=24572775"