THE ATL AFFILIATE PROGRAMS MANAGER
  Copyright, 1999 DCP WorksNet, All Rights Reserved.
Written and Programmed by Dennis C. Perry

===========================================================
The ATL Affiliate Programs Manager

USE A TEXT EDITOR TO EDIT YOUR FILES. WORDPAD WORKS, 
BUT SAVE YOUR WORK AS A TEXT FILE!

RENAME apm.txt TO apm.cgi OR apm.pl
RENAME all files to lowercase if unzipping converts to uppercase.

===========================================================
SETUP
The script is set up for WorksNet as an example only.
Change the following variables to match the settings for your domain.

$cgi="apm.cgi";			# name of the cgi script

$cgiurl="http://www.YOURDOMAIN.com/cgi-bin/$cgi";
  ##ACTIVATE EXAMPLE: http://www.YOURDOMAIN.com/cgi-bin/apm.cgi?admin";
	Change YOURDOMAIN to your domain name. To activate the script,
	link to it as in the example above.

Data Files

$dbaccts="apmaccts.dat";      # accounts file
$dbstats="apmdata.dat";       # statistics data file
	Place your data files in your cgi bin. If you choose a different
	directory, be sure to add the path to the files location. 


Counter File(only in registered version)

$dbctr="apmctr.dat";          # counter file (same as in counter cgi)
  ##COUNTER EXAMPLE  ../cgi-bin/apmctr.cgi?http://www.clickto.com
	If you change the name of the counter file, be sure to change it
	in the apmctr.cgi script too. Link your advertisements as in the
	example above. You can link banners or text.

	Replace "http://www.clickto.com" with your link as provided by your
	merchant. The counter will log the link and the clicks from your 
	visitors to your merchant.

Graphics

$graphics="../images";        # graphics bin
$bggraphic="";                # if bggraphic is "" then bg will be bgcolor
$bgcolor="81C0C0";            # background color
	Place the gif files in your graphics bin. You have the option to
	select a solid color background or background image.  
               
 
Passowrds

$password="apm"; 	            # Password for administrative access
$delauth="a1p2m3";            # Password for account deletions.
	There are two passwords. The administrative password and the
	deletion password. Be sure to change your passwords! 


Fonts and Colors

$fontface="ARIAL, HELVETICA, TIMES NEW ROMAN";   # font type
$hfbgcolor="#000080";         # table hdr/ftr background color
$hffontcolor=#FFFFFF";        # table hdr/ftr font color
$frmbgcolor="#FFFFCA";        # form background color
$frmfontcolor="#008080";      # form font color
	These variables allow customization of your form's fonts
	and colors. These are the form's which display your affiliate
	programs account information and statistics.

===========================================================
UPLOAD
>> There are 5 files to upload to your CGI-BIN.
apm.cgi
apmaccts.dat
apmdata.dat

apmctr.cgi(only in registered version)
apmctr.dat

>> There are 3 files to upload to your graphics bin.
atlcirc.gif
apmkey.gif
apmmail.gif

DON'T FORGET TO SET FILE PERMISSIONS.
UPLOAD CGI and DATA FILES AS ASCII !!!

===========================================================
ADMINISTRATION 
Once you login, you will see your affiliate programs or accounts screen.
It displays the name of the program, join date, clicks, hits, sales
and earnings. To modify a program's information, just click on the small
inward spiral square to the left of the program. This will allow 
modifications of the program's name, link urls, id, passcode, signup date
and the merchant's e-mail. To e-mail your merchant, just click on the small
e-mail envelope graphic. To add a new program or account, just click on
the "Add New Account".

The program's name is linked. Clicking on the program's name will display
statistics associated with the program; activity period, hits, sales and
earnings. Classify your statistics by weekly or monthly. Hits, sales and
earnings are entered as reported by your merchant. Clicking the small inward
spiral square to the left will allow modification of that particular period
of activity. 

To add a new period of activity, just click on the "Add New Period".
This will open a top framed window which displays your passcodes and fields
ready for data entry. The bottom framed window displays your merchants
login page for quick access to your statistics.

To delete(only in registered version) a program or account, just enter
the #number and click on "Delete Account" button. The password for account
deletions will be required for confirmation of the account deletion.

===========================================================
COUNTER (only in registered version)
The counter will log the link if it does not exist and count the clicks
by your visitors from your site's advertisement(link) to your merchant.
This count will appear as the "Clicks" on the programs or accounts screen.
For distinction, "Clicks" are from your counter, "Hits" are reported by
your merchant. This allows comparison of your clicks to the merchant's hits.
 
*Do not be alarmed if there is variation in the clicks count as compared
to your merchants count. It is not uncommon to have server malfunctions or
have your visitors click to go elsewhere. The counter feature is for a 
general overview only and not to be considered absolute.

===========================================================
SUPPORT 
Support is only a e-mail away. 
If you need support, contact me at sky@worksnet.com.
For major modifications, e-mail your request for programming.

===========================================================
SUGGESTIONS 
Please e-mail any suggestions for improvements or new features
you would like to see added to The Affiliate Programs Manager.
Your input is appreciated!

===========================================================

Hope you enjoy The Affiliate Programs Manager!

Dennis
sky@worksnet.com

WorksNet
http://www.worksnet.com 

THANK YOU!


