"1:#:".$jkl['cw44'].":#:0:#:0:#:feedback_custom_logo", "2" => "3:#:".$jkl['cw33'].":#:Yes,No:#:0:#:feedback_email_required", "3" => "3:#:".$jkl['cw34'].":#:Yes,No:#:0:#:feedback_phone_required", "4" => "5:#:".$jkl['cw31'].":#:blue,green,orange,red,pink,grey:#:0:#:feedback_colour_theme", "5" => "5:#:".$jkl['cw32'].":#:animate__fadeIn,animate__flash,animate__pulse,animate__headShake,animate__slideInUp,animate__slideInRight:#:0:#:feedback_animation"); } else { // Check the vars for this start $feedback_animate = "animate__fadeIn"; $feedback_custom = ""; $btn_custom = "blue"; $feedback_logo = ''; // We can have custom online icon if (isset($widgetsettings['feedback_animation']) && !empty($widgetsettings['feedback_animation'])) { $feedback_animate = $widgetsettings['feedback_animation']; } // We can have custom online icon if (isset($widgetsettings['feedback_colour_theme']) && !empty($widgetsettings['feedback_colour_theme']) && $widgetsettings['feedback_colour_theme'] != "blue") { $feedback_custom = " ".$widgetsettings['feedback_colour_theme']; $btn_custom = $widgetsettings['feedback_colour_theme']; } // We can have custom online icon if (isset($widgetsettings['feedback_custom_logo']) && !empty($widgetsettings['feedback_custom_logo'])) { $feedback_logo = 'logo'; } // Let's get the header welcome message $headermsg = ''; if (empty($headermsg)) { if (!empty($HD_ANSWERS) && is_array($HD_ANSWERS)) foreach ($HD_ANSWERS as $v) { $msgtype = 9; if ($v["msgtype"] == $msgtype && $v["lang"] == $BT_LANGUAGE && $v["department"] == 0) { $phold = array("%operator%","%client%","%email%"); $replace = array("", "", JAK_EMAIL); $headermsg = str_replace($phold, $replace, $v["message"]); } } } // We only go big $livecode = '
'.(JAK_SEND_TSCRIPT == 1 ? '
' : '').'

'; } ?>