<%
'::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
'::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
'<> Copyright (C) 2005-2006 Dogg Software All Rights Reserved
'<>
'<> By using this program, you are agreeing to the terms of the
'<> SkyPortal End-User License Agreement.
'<>
'<> All copyright notices regarding SkyPortal must remain 
'<> intact in the scripts and in the outputted HTML.
'<> The "powered by" text/logo with a link back to 
'<> http://www.SkyPortal.net in the footer of the pages MUST
'<> remain visible when the pages are viewed on the internet or intranet.
'<>
'<> Support can be obtained from support forums at:
'<> http://www.SkyPortal.net
'::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
'::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
%>
<!-- #include file="includes/classes/clsMenu.asp" -->
<!-- #include file="includes/classes/includes.asp" -->
<%
'on error resume next
Response.Buffer = true
dim startTime : startTime = timer
dim pageTimer, strDBType, strConnString, strTablePrefix, strMemberTablePrefix, strTheme, strWebMaster
dim intDisplay, FSOenabled
dim intAllowed, strCookieURL, strCurSymbol, showGames, showGold, showRep, sqlver
dim intMyMax, strUnicode, strUniqueID, intBookmarks, intSubscriptions

'#################################################################################
'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver)
'#################################################################################
strDBType = "access"
'strDBType = "sqlserver"

	'## if you require unicode language support uncomment "YES" the line below
	'## and comment out the NO line. Unicode support is required for languages that use a different alphabet
	'## for more info see http://www.unicode.org/standard/WhatIsUnicode.html
	'## access is unicode by default and as such the variable will not be used
	strUnicode="NO"
	'strUnicode="YES"

'::: Provide the full path to your Access database here.
'::: Please rename your database. Do not use the database names below.
'strDBPath = "C:\Domains\your_folder\wwwroot\db\db_name.mdb"
strDBPath = server.MapPath("db/sp_db2k3.mdb")

'::: Choose one of the 3 connection strings below
'::: The string directly below is for Access DB. Do nothing if you are using Access
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strDBPath '## MS Access 2000

'::: If you are using SQL Server, Comment out the line above and uncomment one
'::: of the 2 lines below and fill in the correct connection variables
 
'strConnString = "Provider=SQLOLEDB;Data Source=SQL_server_name_or_IP;Initial Catalog=db_name_here;UID=db_user_name_here;PWD=db_password_here" 'SQL Server

'strConnString = "Provider=SQLOLEDB;Data Source =SQL_server_name_or_IP;DSN=DSN_name;UID=SQL User;PWD=SQL password" 'SQL Server using DSN

'#################################################################################
':: strWebMaster is the list of Super Admins. Use lowercase member names.
':: names should always end with a comma
':: strWebMaster = "admin,skydogg,santa claus,"
strWebMaster = "administrator,"

':: Set the portal LCID 
':: the default of ENGLISH-USA is set
intPortalLCID = 1033

':: strUniqueID is your cookie name prefix. make it unique for your site. Keep it short.
':: If for some reason you need to "log everyone out", 
':: just change the variable below, save and upload.
strUniqueID = "SPRC4r"

':: If your site is in a VIRTUAL directory, 
':: or if you have problems logging in, uncomment
':: the line below and comment out the line under it.
'strCookieURL = "/"
strCookieURL = Left(Request.ServerVariables("Path_Info"), InstrRev(Request.ServerVariables("Path_Info"), "/"))

':: Show page load time at bottom of all pages
pageTimer = 0	' 1 = yes; 0 = no   

':: Allow uploads?
':: This will override the database setting of "ON" for allowing uploads
intUploads = 1 ' 0 = OFF; 1 = ON

':: Allow subscriptions?
':: Having your EMAIL turned off will override this value
intSubscriptions = 1 ' 0=off 1=on

':: Allow bookmarks?
intBookmarks = 1 ' 0=off 1=on

':: registration form type
':: 0 = short form
':: 1 = long form
showRegisterLongForm = 0

':: Allow members to access the myMax feature:
':: If set to '0', only superadmin can arrange the front page
':: layout from using the myMax link in the members menu while
':: looking at the front page.
intMyMax = 0  '0=no 1=yes

'Access for GROUPS who can 'view source' on the editor
' You can add additional group ID's to the variable seperated with a comma
' 0 for super admin only
' 1 for all admins only
' 2 for all members
intEditor = "1" 

':: HTML editor language.
':: use 2 letter abbreviation... lower case
strLang = "en"

'What HTML editor is used.
'SkyPortal currently supports FCKeditor and tinyMCE editor
editorType = "tinymce" 
'editorType = "fckeditor" 

'Currency Symbol
strCurSymbol = "$"

showGold = 0 	' 0=no; 1=yes;
showRep = 0 	' 0=no; 1=yes;
showGames = 0 	' 0=no; 1=yes;

':: installTheme is the default theme when you install the portal.
':: This is the folder name of the theme.
':: This variable also needs changed in site_setup.asp
installTheme = "Frosty_Sky"

'If installing on localhost, set the boolLocalHost value to true
'Uploads will not be available if this value is 'true'
boolLocalHost = false

%><!-- #include file="config_core.asp" -->