false, 'error' => "Account expired."))); // Get the client browser $ua = new Browser(); // Is a robot just die if ($ua->isRobot() || $ua->isFacebook()) die(json_encode(array('status' => false, 'error' => "Robots do not need a live chat."))); // Set the session for the embed part if (!isset($_SESSION["webembed"])) $_SESSION["webembed"] = true; // Now let's set the category id if we have any $faqurl = str_replace('include/', '', JAK_rewrite::jakParseurl(JAK_FAQ_URL)); if (isset($_GET['catid']) && is_numeric($_GET['catid'])) $faqurl = str_replace('include/', '', JAK_rewrite::jakParseurl(JAK_FAQ_URL, 'c', $_GET['catid'])); // Now get the support frame into the div. die(json_encode(array('status' => true, 'widgethtml' => ''))); ?>