// ############################################################################################ // BASIC CONFIGURATION /* These variables are referenced in the following files: - config.php - modules/XStandard/XStandard.module.php - lib/misc.functions.php - edit/themes/default/login.php - mys_db.php - process.php - register.php - forgotten-password.php - edit/custom-admin/user_admin.php - edit/custom-admin/pending_users.php - edit/custom-admin/add_user.php */ session_start(); $sess_id = session_id(); //Site name $site_name = 'ATOL Racking & Buildings Ltd'; //Currently this is just used to display site name on admin login page (will be tranformed to lowercase by CSS) //Database name $site_db = 'atolcouk_cmsms'; //'devwebsite_dev_cms' or 'devwebsite_live_cms' //Database hostname $site_db_host = 'localhost'; //'localhost' on Dev //Database username $site_db_user = 'atolcouk_cmsms'; //'cms_user' on Dev //Database username $site_db_pass = 'ld@n594T'; //'cms_pass' on Dev //Local path to site root folder on this server (no trailing slash) $site_path = '/var/www/vhosts/atol.co.uk/httpdocs'; //'C:\Webspace\cmsmadesimple\devwebsite' //URL of website (no trailing slash) $site_url = 'http://www.atol.co.uk'; //'http://devwebsite.s2o.co.uk' //Domain of website $site_domain = 'atol.co.uk'; //just the domain and domain extension //Build status $build_status = 3; //1=client adding content; 2=s2o build; 3=live if(!function_exists(printr)) { function printr($str) { print("
"); print_r($str); print(""); } } // ############################################################################################ // ENQUIRY FORM SETTINGS /* These variables are referenced in the following file: - process.php */ $enquiry_autoresponder = 1; //Send autoresponder email? 0=no, 1=yes $enquiry_autoresponder_name_field = array('name'); //Name of name field (If forename/surname use format: array('forename','surname') else just: array('name') ; $enquiry_autoresponder_email_field = 'email'; //Name of email field $enquiry_autoresponder_subject = "Your enquiry on www.atol.co.uk "; //Subject text for autoresponder email $enquiry_autoresponder_message = "
Thank you for your enquiry on www.atol.co.uk.
"; //Message for autoresponder email (use HTML) $enquiry_autoresponder_details = 1; //Show summary of form contents in autoresponder email? 0=no, 1=yes $enquiry_autoresponder_details_text = "Here is a summary of your enquiry for your records:"; //Text to prefix summary (if not showing summary, leave as empty string $enquiry_newsletter_signup = 1; //Include newsletter subscribe code? 0=no, 1=yes //ElistManager ID no. is defined in NEWSLETTER SIGNUP FORM SETTINGS below $enquiry_newsletter_subscribe_field = 'subscribe'; //Name of newsletter subscribe form control $enquiry_tick_to_subscribe = 1; //1 = ticked checkbox means 'Please subscribe me', 0 = ticked checkbox means 'Please DON'T subscribe me' $enquiry_newsletter_name_field = array('name'); //Name of name field (If forename/surname use format: array('forename','surname') else just: array('name') ; $enquiry_newsletter_email_field = 'email'; //Name of email field $enquiry_emailsubject = "Website Enquiry for www.atol.co.uk"; //Subject line of email $enquiry_email_content_msg = "The following enquiry has been your website:"; //First line of email $enquiry_sendto = "office@atol.co.uk"; //Change when launching - USE EXTENRAL EMAIL ADDRESS WHEN TESTING $enquiry_fields = array( "Name" => "name", "Company" => "company", "Job Title" => "jobtitle", "Address" => "address", "Postcode" => "postcode", "Telephone" => "telephone", "Fax" => "fax", "Mobile" => "mobile", "Email" => "email", "Enquiry" => "message", "Subscribe to newsletter?" => "subscribe", "Validate" => "validate" ); $enquiry_csv_filename = "enquiry"; //Must be different for each form on site $enquiry_referrer_alias = 'contact-us'; $enquiry_redirect = "contact"; //First part of filename of redirect pages (eg. 'contact' [/contact-success.html] [/contact-error.html]) // ############################################################################################ // NEWSLETTER SIGNUP FORM SETTINGS /* These variables are referenced in the following file: - newsletter-process.php - process.php */ $elistid = ''; //ElistManager ID no. // ############################################################################################ // CUSTOM ADMIN SETTINGS /* These variables are referenced in the following files: - edit/themes/default/defaultTheme.php - edit/custom-admin/index.php - edit/custom-admin/user_admin.php */ //Enable custom admin (Adds extra button to CMS top menu for additional functionality) $custom_admin = 0; //1=yes; 0=no. If set to 1, make sure edit/custom-admin/_CUSTOM_ADMIN_SETUP.php is edited as well. //Menu text $custom_admin_menutext = "Support Admin"; //Menu text for link on main CMS menu bar //Modules $custom_admin_modules = array( //Add modules to this array using the format: module_name => 'module_url.php' //Module name should be how you want it to be displayed but convetred to lowercase with spaces converted to underscores. //Comment out items to disable. 'user_admin' => 'user_admin.php', //Enable user admin section (If enabled, configure USER ADMIN SETTINGS below) 'password_protected_pages' => 'password_protected_pages.php', //Enable protected pages section --- MAKE SURE REDIRECT URL IS SET TO CORRECT PAGE IN login.php IN ROOT FOLDER ); //User Admin settings (not required if not using user_admin module) $enable_add_user = 1; //Include ability for admin to manually add users (adds a link to 'add_user.php' on 'user_admin.php') // ############################################################################################ // USER ADMIN SETTINGS /* These variables are referenced in the following files: - edit/custom-admin/user_admin.php - edit/custom-admin/pending_users.php - edit/custom-admin/add_user.php */ // LOGIN REMINDER EMAIL: // (Can be manually sent to a user by the administrator) // Used by edit/custom-admin/user_admin.php // IMPORTANT: Also make sure the form fields and SQL fields are updated as required in edit/custom-admin/user_admin.php // These will vary depending on what data is being recorded against each user (e.g. Name, Address, Company, etc.) //Subject line of login reminder email $loginreminder_emailsubject = "Devwebsite account details reminder"; //Text to go at start of login reminder email (before username and password) $loginreminder_emailcontent_start = "This is a reminder of your login details.
Your username and password are:
"; //Text to go at end of login reminder email (after username and password) $loginreminder_emailcontent_end = "Kind regards
"; // ACCOUNT ACTIVATION EMAIL: // (Is automatically sent to a user when their pending account is activated by the administrator.) // Used by edit/custom-admin/pending_users.php //Subject line of account activation email $accountactivation_emailsubject = "Devwebsite account activation"; //Text to go at start of account activation email (before username and password) $accountactivation_emailcontent_start = "Your account is now active.
Your username and password are:
"; //Text to go at end of account activation email (after username and password) $accountactivation_emailcontent_end = "Kind regards
"; // ACCOUNT SETUP EMAIL: // (Is automatically sent to a user when a new account is set up for them by the administrator.) // Used by edit/custom-admin/add_user.php // IMPORTANT: Also make sure the form fields and SQL fields are updated as required in edit/custom-admin/add_user.php // These will vary depending on what data is being recorded against each user (e.g. Name, Address, Company, etc.) //Subject line of account setup email $newaccount_emailsubject = "Devwebsite account setup"; //Text to go at start of account setup email (before username and password) $newaccount_emailcontent_start = "We have just set up a new account for you.
Your username and password are:
"; //Text to go at end of account setup email (after username and password) $newaccount_emailcontent_end = "Please do not disclose your account details to anyone else. If you ever forget your password there is a facility on the website to request a new one. To change the email address (username) you use to log in to your account, please contact us directly.
Kind regards
"; // ############################################################################################ // USER REGISTRATION SETTINGS /* These variables are referenced in the following file: - register.php */ // REGISTRATION AUTORESPONDSER EMAIL: // (Is automatically sent to a user when they register) // Used by register.php // IMPORTANT: Also make sure the form fields in the CMS registration page form, SQL fields in register.php, and database fields are updated as required. // These will vary depending on what data is being recorded against each user (e.g. Name, Address, Company, etc.) // NOTE: When a user registers they are added to the 'pending users' list. Each user has to be activated by the administrator before they are actually registered. // (****Still need to build in functionality to enable/disable this feature**** //Subject line of registration autoresponder email $registration_emailsubject = "Devwebsite Registration"; //Registration form labels/field names (These fields must match the fields in the 'users' database table, and the form and SQL fields in edit/custom-admin/user_admin.php and CMS registration page form) $registration_fields = array( "Name" => "name", "Company" => "company", "Address" => "address", "Telephone" => "phone", "Email" => "email" ); //Text for registration autoresponder email $registration_auto_responder_text = "Thank you for registering.
We'll be in touch shortly with further details.
Kind regards
"; //If set to 1 sends a notification email to the administrator. $registration_notify_admin = 1; //Email address where registration notification email should be sent to (usually the administrator), if $notify_admin = 1 $registration_notify_admin_sendto = ""; // ############################################################################################ // USER LOGIN SETTINGS /* These variables are referenced in the following file: - login.php */ //Page to redirect to when logged in $login_redirect_url = 'some-page.html'; // ############################################################################################ // FORGOTTEN PASSWORD SETTINGS /* These variables are referenced in the following file: - forgotten-password.php */ //Subject line for password reset email $forgottenpass_emailsubject = "New Password for Devwebsite"; //Text to go at start of password reset email (before username and password) $forgottenpass_emailcontent_start = "Please find your new login details below.
"; //Text to go at end of password reset email (after username and password) $forgottenpass_emailcontent_end = "If you have any further problems please contact us with any questions you may have.
Best regards
;" ?> Database Connection failed