"2:#:".$jkl['cw21'].":#:0:#:0:#:start_welcome_text", "2" => "1:#:".$jkl['cw24'].":#:0:#:0:#:start_custom_logo", "3" => "5:#:".$jkl['cw22'].":#:blue,green,orange,red,pink,grey:#:0:#:start_colour_theme", "4" => "5:#:".$jkl['cw23'].":#:animate__fadeIn,animate__flash,animate__pulse,animate__headShake,animate__slideInUp,animate__slideInRight:#:0:#:start_animation");
} else {
// Check the vars for this start
$start_animate = "animate__fadeIn";
$start_custom = "";
$start_logo = '';
// We can have custom online icon
if (isset($widgetsettings[$widgetid]['start_animation']) && !empty($widgetsettings[$widgetid]['start_animation'])) {
$start_animate = $widgetsettings[$widgetid]['start_animation'];
}
// We can have custom online icon
if (isset($widgetsettings[$widgetid]['start_colour_theme']) && !empty($widgetsettings[$widgetid]['start_colour_theme']) && $widgetsettings[$widgetid]['start_colour_theme'] != "blue") {
$start_custom = " ".$widgetsettings[$widgetid]['start_colour_theme'];
}
// We can have custom online icon
if (isset($widgetsettings[$widgetid]['start_custom_logo']) && !empty($widgetsettings[$widgetid]['start_custom_logo'])) {
$start_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 = 10;
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 go big
if (isset($page1) && $page1 == "big") {
$livecode = '