#!/usr/bin/perl ### # use strict; use CGI::Carp qw(fatalsToBrowser) ; ### # required files - use lib "/home/sites/lai" ; use common::lai_Cookies ; use common::lai_Dates ; use common::lai_General ; use www::lai_www_Config ; use www::lai_www_Wrapper ; ### # get arguments sent by the link - This subroutine (&lai_General::get_params) gets the # arguments from any queries. # # Output: $params{'date'} - data requested for viewing my ($params) = &lai_General::get_params ; my %params = %$params ; ### # get script information - This subroutine (&lai_General::script_info) sends back # the information needed to be able to know what we are # going to provide. # # Input: none # # Output: $urlPath - where the script is located in respect to the URL # Output: $resourceName - name of the resource being used. # Output: $directoryName - name of the directory where the script resides. # Output: $scriptName - name of script currently running. my ($urlPath, $scriptName) = &lai_General::script_info($params{'info'}) ; ### # get cookie information - This subroutine (Cookies::get_cookieData('login') ; # my ($list_number, $name_first, $name_last, $list_type) = split(/\,/, &lai_Cookies::get_cookieData('login'), 4) ; ### # print Content type print qq~Content-type: text/html\n\n~ ; ### # open up the database stream - a data stream used to get information from the MySQL # database server. This is closed at the end of the # script. The $dbh is used throughout to reference the # stream for queries. # # Input: $ipAddress - address of the MySQL server my $ipAddress = qq~localhost~ ; # Input: $tableName - name of table to be acessed my $tableName = qq~lai~ ; # Input: $dbUser - username to access the database my $dbUser = qq~study~ ; # Input: $dbPassword - password to access the database my $dbPassword = qq~dziekuje~ ; # # Output: $dbh - handle of opened data stream my $dbh = &lai_General::open_dataStream($ipAddress, $tableName, $dbUser, $dbPassword) ; ### # get resource information # # Input: $resourceLocation - urlPath + scriptName my $resourceLocation = $urlPath . "/" . $scriptName ; # Input: $dbh - self explanatory my $resourceData = &lai_General::get_metaData($resourceLocation, $dbh) ; my @resourceData = @$resourceData ; ### # write header - This subroutine (&lai_www_Wrapper::Header) creates the top # half of the c-wrapper. Very straight-forward in how # it does it. NOTE: To send additional JavaScript, # use the $extraStuff variable. # Input: $metaInfo - taken from the script_info subroutine my $metaInfo = join "\t", @resourceData ; # Input: $dbh - received from opening database stream # Input: \*STDOUT - STDOUT shows that this is going to the display # Input: $leftColumn - Info used to build the left column my $leftColumn = qq~|~ ; # Input: $extraStuff - first part would be for the "onLoad" argument # additional JavaScript that needs to be executed my $extraStuff = qq~/~ ; # Input: $rssfeed - tells if there is a feed on this page my $rssfeed = qq~~ ; # Input: $keywords - sends the keywords searched on to the ad management software my $keywords = qq~~ ; # Input: $list_number - is user logged in? &lai_www_Wrapper::Header($metaInfo, $dbh, \*STDOUT, $leftColumn, $extraStuff, $rssfeed, $keywords, $list_number) ; ### # close database stream - This subroutine (&lai_General::close_dataStream) takes the # handle, $dbh, created in the initial opening of the # stream and now simply closes it. # # Input: $dbh - received from opening database stream &lai_General::close_dataStream($dbh) ;

Advertising opportunities on the StudyLight Network

What's it all about?
It's about placing your product, ministry or service in front of the tens of thousands of visitors that come daily to be refreshed by fellow Christians ministering from the Word of God. It's about getting the most for your advertising dollar from the site chosen by thousands of Christians each day as their source of spiritual nourishment.

The past three months have seen an average of 450,000 visitors per month coming to StudyLight Network for learning and refreshment. That translates into a monthly average of 250,000 unique visitors viewing over 3 million pages during their studies. With the average visitor coming to the site twice a day and viewing 6 pages per visit, your product, ministry or service will be seen at least once a day by each.

What are the demographics of the network users?
A recent survey of visitors showed that:

From these statistics you can see this is a group of committed Christians: committed to family, church and God. They are also committed to finding resources that help further this commitment.

How it works!
While most sites reduce the size of the ad, rendering more on a page, the StudyLight Network provides you with the new industry standard banner size and sets the limit to one banner (either horizontal or vertical) per page. An example can be seen in the banner at the top of the page. This new size is 233% larger than your typical 468x60 banner found on other sites. With the increase in size, the amount of clicks have risen in proportion.

By limiting the number of banners per page, we eliminate your concern over having ads for competing companies appearing on the same page.

What's involved!
There are three levels of advertisement for the site which are listed below:

NOTE: The amount of impressions (each banner display is one impression) per month is not a maximum but a minimum. This means that we don't display house ads to fill out the month when you reach a certain level. Instead we guarantee the minimum and allow you to get more exposure if our ad space is not completely sold. In addition, you may replace your banners as often as needed.


Silver Plan
Impressions: 90,000 minimum per month guaranteed
2 banners maximum

Gold Plan
Impressions: 150,000 minimum per month guaranteed
4 banners maximum

Platinum Plan
Impressions: 250,000 minimum per month guaranteed
Text link in the "Our sponsors" section
6 banners maximum

Advertisers can view personal stats to track the performance of individual banners in real-time using our advertisement statistics program. With a unique username and password, you will have access to the information you need to make sure your advertisement campaign is running smoothly.

Do you have a special offer that is valid until a certain date? Not a problem, tell us when it finishes and we can tailor a campaign specifically to meet your needs.

Banners should be made to the below specifications. If you are having trouble with the file size, try developing your ad in the jpg format with a greater compression.

Banner specifications:
Dimensions: 728x90, 120x600
File size: 30k or less
Format: jpg, gif or flash
Additional Info: Banners can include animation but must finish after third loop

Click rates can vary due to the quality of the ad and how often they are replaced.

The most useful form of advertisement is the 'text link' found in the left-hand column and on select pop-up pages. Depending on the wording, you can expect between 30-120 clicks a day.

If you are interested in advertising with StudyLight.org, send an email to Jeff Garrison containing information about your business and the level in which you are interested. You will be contacted by email within the next business day.

 

#!/usr/bin/perl use strict; use CGI::Carp qw(fatalsToBrowser) ; #### # write footer - This subroutine (&lai_Wrapper::Footer) takes one variable # and acts accordingly. The variable is either \*STDOUT # for sending the footer info to the screen or FILE which # tells the subroutine to send the info to a file. # # Input: \*STDOUT - STDOUT shows that this is going to the display &lai_www_Wrapper::Footer(\*STDOUT) ;