///////////////////////////////////////////////////////////////////////////////// // Global Constants ///////////////////////////////////////////////////////////////////////////////// //define ('PUB_HEADER', 'public_header.php'); //define ('PUB_FOOTER', 'public_footer.php'); define ('PUBLIC_PATH' , 'login/' ); // this is from the web server's public root //define ('ADMIN_PATH' , 'admin/' ); define ('DOMAIN' , 'www.completeconfigurator.com'); // remove this when moved to non account based location //$parts = split('/',$_SERVER[REQUEST_URI]); //foreach ($parts as $part) { // if ( substr($part,0,1) == '~' ) { // this will be something like ~knuckles // $user_account = $part.'/'; // } //} define ('NON_SECURE_URL' , 'http://'.DOMAIN.'/'. PUBLIC_PATH ); //define ('SECURE_URL' , 'http://'.DOMAIN.'/'. $user_account . PUBLIC_PATH ); // same for now -- change to https later //Database tables define ('LOGIN_TABLE', 'login_table'); define ('SESSIONS_TABLE', 'customer_session'); define ('CUSTOMER_TABLE', 'customer_table'); define ('VISITORS_INFO', 'visitors_information'); define ('VISITORS_VIDEO', 'video_visitors'); define ('VISITORS_PDF', 'pdf_visitors'); // make sure this is shorter than the PHP native session timeout set in the .htaccess define ('SESSION_TIMEOUT', 60*30); // 30 minutes in seconds define ('SESSION_TIMEOUT_DESCRIPTION', '30 minutes'); // so we can inform the user - make sure this matches //$division_colors = array( // 0 => '#000000', // 1 => '#FF0000', // 2 => '#0000EE', // 3 => '#2E8B57', //); //define ('LOGIN_TESTMODE', true); ///////////////////////////////////////////////////////////////////////////////// //Includes ///////////////////////////////////////////////////////////////////////////////// require_once 'toolset/lib.class'; // the lib::functions() require_once 'toolset/data.class'; // The base class for data objects require_once 'toolset/menu.class'; // assorted menu-generating functions // the data classes for each table //require_once ADMIN_PATH.'class_config.php'; // config table from the admin side //require_once 'security.class'; // replaced with the LDAP login stuff require_once 'class_customers.php'; require_once 'class_accounts.php'; //require_once 'class_candidates.php'; //require_once 'class_faculty.php'; //require_once 'class_voters.php'; //require_once 'class_votes.php'; //require_once 'class_winners.php'; //require_once 'class_positions.php'; //require_once 'class_departments.php'; //require_once 'class_appointments.php'; //require_once 'class_public_sessions.php'; ///////////////////////////////////////////////////////////////////////////////// // Database Info ///////////////////////////////////////////////////////////////////////////////// define('DB_SERVER','97.74.218.195'); define('DB_USERNAME','cislogin'); define('DB_PASSWORD','Stevet123'); define('DB_DATABASE','cislogin'); ///////////////////////////////////////////////////////////////////////////////// // Init ///////////////////////////////////////////////////////////////////////////////// //The database connection $db_conn = lib::db_connect();//CONNECTIONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN session_start(); //$config = config::get_full_config(); //var_dump($config); //define ('EMAIL_TESTMODE', $config['admin_email_testmode']); //define ('EMAIL_TESTMODE_ADDRESS', $config['admin_email']); //define ('EMAIL_FROM_ADDRESS', $config['email_from_addr']); //define ('EMAIL_FROM_NAME', $config['email_from_name']); //define ('EMAIL_SUBJECT', $config['email_subject']); ?>
|
|
|
Complete Information
Solutions
USA: 253 Market Square Lake Forest, IL 60045 Phone: 847 235 2188 Software Craft Inc: If you would like more information about our products or would like someone to contact you, or arrange to view our demonstration, please fill out our form remembering to select the area of interest. Fields marked with * are required.
|
Online Demonstration
If you are interested in viewing any of our solutions, either call us or
fill in the "Contact us" form to arrange a demonstration
of any of our products.Information
|