--------------------------------------- --The Restore Online Newsletter script. --------------------------------------- script written by dan gray for C.R.R.H ....................................... All script files need to be located in the same directory, unless, of course, you edit the script to work otherwise. This script is based on an MSAccess DB. To setup the database, you will need to, first, place it in a directory where not just any joe blow can get to it, but more importantly, you need to setup ODBC for it. To setup ODBC, open the control panel. You should see an icon called 'ODBC Data Sources'. Open it up and click on the 'System DSN' tab at the top. Now click on the 'Add...' button, and select 'Microsoft Access Driver (*.mdb)' and click 'Finish'. Next, you will need to type in the Data Source Name as specified in the openconnection.asp file. The default is 'Restore'. Now, click on the 'Advanced' button, and enter the username and password as specified in the openconnection.asp file. The default for these are 'restore' and 'sibinnac', respectively. At this point, the script should be ready to roll. If you are having trouble setting this up, send email to pimpin@budsmoker.com. The following alphabetical list of files explains what each is used for: addrestore.asp ------------------ This file contains the script that allows you to add newsletters to the database. archive.asp ------------------ This file contains the script that displays the index of newsletters by month. There are 7 variables that are defined at the top of this file. These are used for layout purposes. All variables, with the exception of 'strYear', may be changed to alter the layout of the page. There is more info on this inside the file. bgtile.gif ------------------ This is the graphic that displays at the top of the header.htm file. It is not a required file. In fact, the header.html, footer.htm and this file can be discarded. Any HTML coder should be able to figure this out. footer.htm ------------------ This file closes out the table that is opened up in header.htm. This file is not required and may be modified to suit. header.htm ------------------ This file contains the HTML that makes the pages look like they do. It is not required and may be modified to suit. index.asp ------------------ I made this file, just to have a default document on the web server. You can trash it or do whatever. monthlylist.asp ------------------ This file contains the function that creates and displays the monthly list. This file is required by archive.asp and should not be changed. openconnection.asp ------------------ This file contains the information used to connect to the database. The username and password for the database is stored in this file. If you need to change the data- base username and/or password, you would do so here. restore.mdb ------------------ This is the database file. You shouldn't have to change anything in here. If so, be sure you know what you're doing. Or send mail to pimpin@budsmoker.com. search.asp ------------------ This file contains the search script. Plain and simple. viewrestore.asp ------------------ This is the file that displays the actual newsletter. There is a lot of stuff going on in here. Not many user serviceable parts inside here. If you have any questions, or ideas or what- not, email me at pimpin@budsmoker.com.