<?php include_once dirname(__FILE__) . '/dwpc.php'; include_once dirname(__FILE__) . '/opt_advanced.php'; include_once dirname(__FILE__) . '/opt_functions.php'; include_once dirname(__FILE__) . '/opt_graphs.php'; include_once dirname(__FILE__) . '/opt_table_builders.php'; include_once dirname(__FILE__) . '/opt_secured_pages.php'; include_once dirname(__FILE__) . '/opt_tables.php'; include_once dirname(__FILE__) . '/opt_tracking.php'; include_once dirname(__FILE__) . '/opt_forms.php'; include_once dirname(__FILE__) . '/opt_form_processing.php'; include_once dirname(__FILE__) . '/opt_api.php'; include_once dirname(__FILE__) . '/../admin_pages/ajax/opt_help.php'; include_once dirname(__FILE__) . '/../admin_pages/ajax/opt_ajax_setting.php'; include_once dirname(__FILE__) . '/../admin_pages/ajax/opt_forms_tracking.php'; include_once dirname(__FILE__) . '/../admin_pages/ajax/opt_create_lead.php'; include_once dirname(__FILE__) . '/../admin_pages/ajax/opt_ajax_dropdowns.php'; function opt_apptop() { $url = parse_url(opt_full_url($_SERVER)); if( (isset($url['path']) && strpos($url['path'],'/feed') !== false) || isset($_GET['feed']) ){ return; } include_once dirname(__FILE__) . '/dwpc_start.php'; opt_parse_cookies(); opt_secured_page_handler(); global $dwpc; opt_update_db_check(); } function opt_update_db_check() { global $opt_db_version; if (get_site_option('opt_db_version') != $opt_db_version) { opt_install(1); } } ?>