#!/usr/bin/perl # Custom search of database. require "admin/cgi-lib.cgi"; $|=1; # This should match the mail program on your system. $mailprog = '/usr/lib/sendmail'; # This should be set to the username or alias that runs your # WWW server. # These should be set to the proper constants $siteowner= "Paul Inniss"; $siteowneremail = "paul\@islandtreasure.com"; #The site owner email $phonenumber = "246\-419\-0189"; #The site owner phone number $websitename = "Bajan Treasure"; $websitecompany = "Bajan Treasure"; #The name of the business $websiteurl = "http://www.islandtreasure.com/"; #The URL of the site $websitedomain = "islandtreasure.com"; $webdesign = "SUNNY OASIS"; #The designer of the pages $webdesignurl = "http://www.sunnyoasis.com/"; #The URL of the designer $webdesignemail = "sitedesign\&\#64islandtreasure.com"; #The site designer email $webmaster = "webmaster\@islandtreasure.com"; #The webmaster email # Listings of region names database $regionlist = "regionlist.db"; # Listings of category names database #$categorylist = "Pauls' HD:Home Page:Oasis:Oasis web design:Shoppers World Inc.:usbride:categorylist.db"; #$directory = "/www44/web/isla12"; $directory = $ENV{'DOCUMENT_ROOT'}; $categorylist = "$directory" . "/admin/categorylist.db"; MAIN: { # Read in all the variables set by the form &ReadParse(*input); # Print the header print &PrintHeader; #=============================================================================== # Main database listing is next file #$FileName = "Pauls' HD:Home Page:Oasis:Oasis web design:Shoppers World Inc.:usbride:variablema.db"; $FileName = "$directory" . "/admin/variable.db"; $stateabbrev = "$input{'stateabbrev'}"; #=============================================================================== # Set up javascript back and forward buttons $back = "