array( 'background-color'=>'#ffc627', 'flashing-color'=>'#ffc627', 'flashing-size'=>'15px', 'color'=>'#333333', 'border-radius'=>'30px', 'size'=>'60px', 'font-family'=>'monospace', 'mobile-size'=>'40px', 'email-icon'=>'', 'email-icon-size'=>'75', // % 'phone-icon'=>'', 'phone-icon-size'=>'75', // % 'group-icon'=>'', 'group-icon-size'=>'75', // % 'email-text'=>'Write us', 'phone-text'=>'Callback request', 'phone-enabled'=>'true', 'email-enabled'=>'true', 'group-enabled'=>'false', 'phone-vibrate'=>'false', 'email-vibrate'=>'false', 'group-vibrate'=>'false', 'vibrate-duration'=>'5', 'phone-flashing'=>'false', 'email-flashing'=>'false', 'group-flashing'=>'false', 'flashing-duration'=>'5', 'flashing-size'=>'10px', 'flashing-color'=>'', 'phone-sonar'=>'false', 'email-sonar'=>'false', 'group-sonar'=>'false', 'sonar-duration'=>'0', 'sonar-size'=>'20px', 'sonar-color'=>'', 'position'=>'right', 'margin-x'=>'20px', 'margin-y'=>'20px', 'mobile-margin-x'=>'10px', 'mobile-margin-y'=>'10px', 'orientation'=>'vertical', 'view'=>'small_animate', 'text-size'=>'220px', 'font-size'=>'18px' ), 'panels'=>array( 'background-color'=>'#ffc627', 'color'=>'#333333', 'border-color'=>'#555555', 'border-size'=>0, 'border-radius'=>0, 'mobile-border-size'=>0, 'mobile-border-radius'=>0, 'a-color'=>'#333333', 'a-hover-color'=>'#333333', 'a-active-color'=>'#333333', 'a-visited-color'=>'#333333', 'a-underline'=>'true', 'error-color'=>'#dc3545', 'input-bg'=>'#f1f1f1', 'input-text-color'=>'#555555', 'input-radius'=>'10px', 'input-border-color'=>'#ffffff', 'position'=>'center', // left, center, right 'font-family'=>'monospace', 'font-size'=>'14px', 'font-weight'=>'500', 'font-style'=>'normal', 'title-align'=>'left', 'title-text'=>'', 'title-font-size'=>'32px', 'submit-bg-color'=>'transparent', 'submit-bg-hover-color'=>'#1d1d1b', 'submit-text-color'=>'#1d1d1b', 'submit-text-hover-color'=>'#ffffff', 'submit-border-color'=>'#1d1d1b', 'submit-border-radius'=>'30px', 'submit-font-size'=>'14px', 'submit-font-weight'=>'500', 'customer-logo'=>'', 'customer-logo-width'=>'150px', 'display-customer-logo'=>false, 'wrap-customer-logo'=>'nowrap', 'customer-logo-align'=>'left', 'customer-logo-margin'=>'10px', ), 'panel_phone'=>array( 'sch_use_separate_bh'=>'false', 'sch_dates_options'=>'rolling_days', 'sch_rolling_days'=>4, 'sch_calendar_weeks'=>2, 'sch_slot_duration'=>30, 'sch_calls_per_slot'=>1, 'sch_attempts_if_not_connected'=>3, 'sch_attempts_period'=>30, 'sch_simultaneous_calls'=>1, 'title-text'=>'Request callback', 'display-title-text'=>true, 'welcome-text'=>'', 'display-welcome-text'=>true, 'button-text'=>'Submit', 'success-message'=>'', 'error-message'=>'Sorry, some error occurred, please try again later', 'display-left-panel'=>'false', 'hide-default-fields'=>'false', 'authorized-countries'=>array(), 'destination-contact'=>'', 'use-dd'=>false, 'dd_set'=>0, 'hide_first_name_field'=>false, 'hide_last_name_field'=>false, 'hide_email_field'=>false, 'hide_message_field'=>false, ), 'panel_email'=>array( 'title-text'=>'Send message', 'display-title-text'=>true, 'welcome-text'=>'', 'display-welcome-text'=>true, 'button-text'=>'Submit', 'success-message'=>'Your message has been sent successfully', 'error-message'=>'Sorry, some error occurred, please try again later', 'hide-default-fields'=>'false', 'display-left-panel'=>'false', 'allow-all-countries'=>'false', 'destination-contact'=>'', 'use-dd'=>false, 'dd_set'=>0, 'daily_email'=>'N', 'email_time'=>"00:00", ), 'clicktocall'=>array( 'set-title-text'=>'', 'title-text'=>'Contact Us', 'display-title-text'=>true, 'welcome-text'=>'Please fill your phone number below, so we can call you back instantly', 'display-welcome-text'=>true, 'input-label'=>'', 'button-text'=>'Submit', 'destination-number'=>'', 'authorized-countries'=>array(), 'display-email-request'=>true, 'display-schedule-link'=>false, 'success-message'=>'', 'error-message'=>'Sorry, some error occurred, please try again later', 'display-left-panel'=>'false', 'use-dd'=>false, 'dd_set'=>0, ), 'left-panel'=>array( /*'display'=>'false',*/ 'text'=>'', 'width'=>'300px', ), 'common'=>array( 'captcha'=>true, 'close_on_screen_click'=>false, 'privacy_optin'=>true, 'privacy_checkbox_checked'=>false, 'pd_checkbox_text'=>'I agree that my personal data entered in this form will be used by CLIENT NAME to send me commercial information. To know and exercise your rights, in particular to withdraw your consent to the use of the data collected by this form, please consult our data privacy policy.', 'agent-phone'=>'', 'dropdown-flag'=>'false', 'callrecording'=>'false', ), 'extanal'=>array( 'enable_ga4'=>'false', 'enable_matomo'=>'false' ), 'css'=>array( 'external_css_enabled'=>false, 'external_css_url'=>'', ), 'rules'=>array( 'name'=>'', 'enabled'=>'false', 'urls_mode'=>'blacklist', 'display_format'=>'icons', 'delay_mode'=>'immediately', 'delay'=>1, 'idle'=>1, 'exit'=>false, ), 'rules_behaviour'=>array( 'display'=>'buttons', 'delay_mode'=>'immediately', 'delay_after_loading'=>'3', 'delay_after_idle'=>'3', ), ); self::$data['popups.default_styles'] = $default_styles; self::$data['popups.pwlogo_text'] = 'Powered by Voxilib'; self::$data['popups.pwlogo_link'] = 'https://voxolib.com'; //self::$data['popups.sections'] = array('buttons','panels','common','left-panel'); self::$data['popups.sections'] = array('buttons','panels','left-panel','common','panel_email','panel_phone','clicktocall','tags','extanal','css','rules','rules_behaviour'); self::$data['languages'] = array('en','fr'); self::$data['site.lang'] = 'fr'; // allow hosts self::$data['popup.allow_hosts']=array( // beta 'beta.spoticall.com', 'beta-cdn.spoticall.com', 'beta-scripts.spoticall.com', 'beta.voxolib.com', 'beta-cdn.voxolib.com', 'beta-scripts.voxolib.com', // old one ??? 'webcare-dev.voxolib.com', // dev 'dev-app.voxolib.com', 'dev-app.spoticall.com', 'dev-scripts.voxolib.com', 'dev-scripts.spoticall.com', // app 'app.voxolib.com', 'app.spoticall.com', 'scripts.voxolib.com', 'scripts.spoticall.com', // cc 'app-cc.voxolib.com', ); // check cookie for lang if (isset($_COOKIE["app_lang"])) { self::$data['site.lang'] = $_COOKIE["app_lang"]; } // cli server name $tmp_db_host=getenv("DB_HOST"); $tmp_app_id=getenv('APP_ID'); if (!empty($tmp_app_id)) $cli_server_name="app.voxolib.com"; elseif(!empty($tmp_db_host)) $cli_server_name="dev-app.voxolib.com"; else $cli_server_name="beta.voxolib.com"; switch ($_SERVER['SERVER_NAME'] ?? $cli_server_name) { case '127.0.0.1': case 'voxolib.local': include 'site_local.conf.php'; break; case 'beta.spoticall.com': case 'beta-cdn.spoticall.com': case 'beta.voxolib.com': case 'beta-scripts.voxolib.com': case 'beta-cdn.voxolib.com': include "site_dev.conf.php"; break; case 'webcare-dev.voxolib.com': case 'webcare-dev.spoticall.com': case 'dev-app.voxolib.com': case 'dev-scripts.voxolib.com': case 'dev-app.spoticall.com': include "site_dev2.conf.php"; break; case 'app-cc.voxolib.com': include "site_prod_cc.conf.php"; break; case 'webcare.voxolib.com': case 'webcare.spoticall.com': case 'app.voxolib.com': case 'scripts.voxolib.com': case 'app.spoticall.com': default: include "site_prod.conf.php"; break; }