###################################################### # START OF CONFIGURATION ###################################################### #B1. REQUIRED: The location of event data file on your server. This must #be the PATH to your data file, not the URL of your data file! #If this file is placed in the SAME folder as this script, just type the filename below. #If this file is located in DIFFERENT folder as this script, use the FULL PATH (NOT URL). #This file will be automatically created when you add your first event. $data="eventpublisher.txt"; #B1b. REQUIRED: The location of your TEMPORARY event data file on your server. #Must be the PATH to your temporary data data file, not the URL. Use a file #extension other than .tmp to avoid possible conflicts within script. #If this file is placed in the SAME folder as this script, just type the filename below. #If this file is located in DIFFERENT folder as this script, use the FULL PATH (NOT URL). #This file will be automatically created when a user add the first temporary event. $tempdata="eventpublisher.tempdata"; #B1c. OPTIONAL: You can format the opening and closing HTML #of your admin mode in a separate file that can be written in #regular HTML and saved on your server. For ease of configuration, #place it in the same directory as your icon images. #Note: this file must have three plusses +++ #where you want your search results inserted. $openinghtml="/home/upoint/www/myscripts/eventpublisher/icons/template.htm"; #B2. REQUIRED: The URL of this file in your cgi-bin directory. You must #provide the full URL, beginning with http:// $thisurl="http://www.upoint.net/myscripts/eventpublisher/eventpublisher.cgi"; #B4. REQUIRED TO ADD, DELETE, OR MODIFY. #Change password to any combination of letters (A-Z, a-z) and #numbers 0-1. USE ONLY LETTERS AND NUMBERS $adminpassword="upoint"; #B5. URL to send users to after posting, editing, or getting errors. #This is usually: # (1) the admin form (if events are added by you most of the time) OR # (2) the user submit form (if events are submitted by users most of the time)OR # (3) this script itself (if you want to show the existing events after posting). $forwardingURL="http://www.upoint.net/myscripts/eventpublisher/eventpublisher.cgi"; #B16. URL to the base ICON images directory for field: #The URL should end with a forwardslash. $baseurltoIcon="http://www.upoint.net/myscripts/eventpublisher/icons/"; #B17. Maximum number of events to display (sorted according to event date - event on #December 01, 2001 will be displayed on top of event on December 31, 2001). $maximumpage=4; #B18. Font settings of the event display $fontface ="Verdana, Arial"; ### Recommended: "Verdana, Arial" $fontsize= "1"; ### Used for event title and description only ### $fonttitlecolor = "#2060D0"; $fontsubtitlecolor ="#000080"; ### Used for event sub titles such as "Venue", "Date" .... #B19. ****** REMEMBER THIS: IMPORTANT **** #Open up all the *.htm forms that come with this script. Replace the form action URL #under the tags "