156 lines
4.0 KiB
Perl
Executable File
156 lines
4.0 KiB
Perl
Executable File
############################################
|
|
## ##
|
|
## WebAdverts (Master Settings) ##
|
|
## by Darryl Burgdorf ##
|
|
## (e-mail burgdorf@awsd.com) ##
|
|
## ##
|
|
## version: 3.20 ##
|
|
## last modified: 09/08/02 ##
|
|
## copyright (c) 2002 ##
|
|
## ##
|
|
## latest version is available from ##
|
|
## http://awsd.com/scripts/ ##
|
|
## ##
|
|
############################################
|
|
|
|
# COPYRIGHT NOTICE:
|
|
#
|
|
# Copyright 2002 Darryl C. Burgdorf. All Rights Reserved.
|
|
#
|
|
# This program is being distributed as shareware. It may be used and
|
|
# modified by anyone, so long as this copyright notice and the header
|
|
# above remain intact, but any usage should be registered. (See the
|
|
# program documentation for registration information.) Selling the
|
|
# code for this program without prior written consent is expressly
|
|
# forbidden. Obtain permission before redistributing this program
|
|
# over the Internet or in any other medium. In all cases copyright
|
|
# and header must remain intact.
|
|
#
|
|
# Certain subroutines and code segments utilized in this program are
|
|
# adapted from code written by Kevin Dearing of webjourneymen.net
|
|
# and dacpro.com, and are used with permission.
|
|
#
|
|
# This program is distributed "as is" and without warranty of any
|
|
# kind, either express or implied. (Some states do not allow the
|
|
# limitation or exclusion of liability for incidental or consequential
|
|
# damages, so this notice may not apply to you.) In no event shall
|
|
# the liability of Darryl C. Burgdorf and/or Affordable Web Space
|
|
# Design for any damages, losses and/or causes of action exceed the
|
|
# total amount paid by the user for this software.
|
|
|
|
# DEFINE THESE CONFIGURATION VARIABLES!
|
|
|
|
# The following variables affect display of banners. They should be
|
|
# defined in accordance with the detailed information provided in the
|
|
# documentation file.
|
|
|
|
$ADVdisplay_path = "/home/slowtwitch/slowtwitch.com/cgi-bin/webadverts/ads_display.pl";
|
|
$ADVadverts_dir = "/home/slowtwitch/slowtwitch.com/www/webadverts";
|
|
|
|
$ADVUseLocking = 1;
|
|
|
|
$ADVUseCookies = 1;
|
|
$ADVCheckForCookie = 1;
|
|
|
|
$GraphicTimestamp = 0;
|
|
|
|
$ADVLogIP = 1;
|
|
$ADVResolveIPs = 0;
|
|
|
|
$DupViewTime = 0;
|
|
$DupClickTime = 0;
|
|
$ClickViewTime = 0;
|
|
|
|
$LogByZone = 0;
|
|
|
|
$ADVRandomizeList = 1;
|
|
|
|
$DefaultBanner = "";
|
|
|
|
$ADVIgnoredIPs = "";
|
|
$ADVRequireMember = 0;
|
|
|
|
$ADVIFRAMEbodyspec = "BGCOLOR=\"#ffffff\" TEXT=\"#000000\"";
|
|
$ADVIFRAMErefreshrate = 0;
|
|
|
|
$ADVIFRAMEJSConflict = 0;
|
|
$ADVJSConflict = 1;
|
|
|
|
$ADVDBMType = 0;
|
|
|
|
$ADVHourOffset = 0;
|
|
|
|
# The following variables affect the functioning of your administrative
|
|
# script. They should be defined in accordance with the detailed
|
|
# information provided in the documentation file.
|
|
|
|
if ($AdminRun) {
|
|
|
|
$admin_cgi = "http://www.slowtwitch.com/cgi-bin/webadverts/ads_admin.pl";
|
|
|
|
$nonssi_cgi = "http://www.slowtwitch.com/cgi-bin/webadverts/ads.pl";
|
|
|
|
@zones = ();
|
|
|
|
$AdminDisplaySetup = 0;
|
|
|
|
$AllowUserEdit = 0;
|
|
$RequireAdminApproval = 1;
|
|
|
|
$LogAdminAccesses = 1;
|
|
$BannedIPs = "";
|
|
|
|
$MasterIPLogDays = 7;
|
|
|
|
$IPLog = "";
|
|
|
|
$UserUploadDir = "";
|
|
$UserUploadURL = "";
|
|
$MaxBannerSize = 20;
|
|
$RequireUpload = 0;
|
|
|
|
$DefaultDisplayRatio = 2;
|
|
$DefaultClicksRatio = 0;
|
|
|
|
$ShowClicksFrom = 0;
|
|
|
|
$DefaultWeight = 1;
|
|
$DefaultBorder = 0;
|
|
|
|
$NoBanners = 0;
|
|
|
|
$IFRAMEexchange = 1;
|
|
$JavaScriptExchange = 1;
|
|
|
|
$ExchangeName = "WebAdverts Advertisers";
|
|
$ExchangeURL = "";
|
|
$ExchangeLogo = "";
|
|
$ExchangeLogoWidth = 0;
|
|
$ExchangeLogoHeight = 0;
|
|
$ExchangeLogoPosition = "";
|
|
$ExchangeBannerWidth = 0;
|
|
$ExchangeBannerHeight = 0;
|
|
$ExchangeBorder = 0;
|
|
|
|
$DefaultLinkAttribute = "TARGET="_blank"";
|
|
|
|
$bodyspec = "BGCOLOR=\"#ffffff\" TEXT=\"#000000\"";
|
|
$fontspec = "FACE=\"Arial\"";
|
|
$MetaFile = "";
|
|
$header_file = "";
|
|
$footer_file = "";
|
|
|
|
$admin_name = "Slowman";
|
|
$email_address = "slowman\@slowtwitch.com";
|
|
$mailprog = '/usr/sbin/sendmail';
|
|
$WEB_SERVER = "";
|
|
$SMTP_SERVER = "";
|
|
|
|
}
|
|
|
|
# use Socket;
|
|
# use Net::SMTP;
|
|
|
|
# DO NOT REMOVE THE FOLLOWING ("1;") LINE!
|
|
|
|
1; |