* All rights reserved. * LiveZilla is a registered trademark. * * Improper changes to this file may cause critical errors. ***************************************************************************************/ define("ACCESSTIME", microtime()); define("IN_LIVEZILLA", true); define("SAFE_MODE", @ini_get('safe_mode')); define("LIVEZILLA_PATH", "./"); @error_reporting(E_ALL); require LIVEZILLA_PATH . "_definitions/definitions.inc.php"; require LIVEZILLA_PATH . "_definitions/definitions.protocol.inc.php"; require LIVEZILLA_PATH . "_lib/functions.global.inc.php"; require LIVEZILLA_PATH . "_lib/objects.global.users.inc.php"; require LIVEZILLA_PATH . "_lib/objects.devices.inc.php"; defineURL(FILE_SERVER_FILE); header("Connection: close"); processHeaderValues(); $DBA = 0; $RESPONSE = new Response(); if (!isset($_POST[POST_INTERN_ADMINISTRATE]) && isset($_POST[POST_SERVER_REQUEST_TYPE]) && $_POST[POST_SERVER_REQUEST_TYPE] == CALLER_TYPE_INTERNAL) { header("Content-Type: text/xml; charset=UTF-8"); if (getIdle()) { $RESPONSE->SetValidationError(LOGIN_REPLY_IDLE); exit($RESPONSE->GetXML()); } if (!getAvailability() && $_POST[POST_INTERN_SERVER_ACTION] == INTERN_ACTION_LOGIN && !isset($_POST[POST_INTERN_ACCESSTEST])) { $RESPONSE->SetValidationError(LOGIN_REPLY_DEACTIVATED); exit($RESPONSE->GetXML()); } }
* Copyright 2014 LiveZilla GmbH * All rights reserved. * LiveZilla is a registered trademark. * * Improper changes to this file may cause critical errors. ***************************************************************************************/ define("IN_LIVEZILLA", true); if (!defined("LIVEZILLA_PATH")) { define("LIVEZILLA_PATH", "./"); } require LIVEZILLA_PATH . "_definitions/definitions.inc.php"; require LIVEZILLA_PATH . "_lib/functions.global.inc.php"; require LIVEZILLA_PATH . "_lib/objects.global.users.inc.php"; require LIVEZILLA_PATH . "_definitions/definitions.dynamic.inc.php"; require LIVEZILLA_PATH . "_definitions/definitions.protocol.inc.php"; defineURL("checkout.php"); @set_error_handler("handleError"); initDataProvider(); if (!empty($_POST["form_visitor_id"]) && !empty($_POST["form_total_price"]) && !empty($_POST["form_currency"]) && is_numeric($_POST["form_total_price"]) && strlen($_POST["form_currency"]) <= 3) { languageSelect(); $ticket = new CommercialChatVoucher($_POST["form_voucher_type"], strtoupper(getId(16))); $ticket->VisitorId = $_POST["form_visitor_id"]; $ticket->Company = $_POST["form_company"]; $ticket->Email = $_POST["form_email"]; $ticket->Firstname = $_POST["form_firstname"]; $ticket->Lastname = $_POST["form_lastname"]; $ticket->Address1 = $_POST["form_address_1"]; $ticket->Address2 = $_POST["form_address_2"]; $ticket->ZIP = $_POST["form_zip"]; $ticket->State = $_POST["form_state"]; $ticket->Country = $_POST["form_country"];
define("IN_LIVEZILLA", true); if (!defined("LIVEZILLA_PATH")) { define("LIVEZILLA_PATH", "./"); } header("Content-Type: text/html; charset=UTF-8"); require LIVEZILLA_PATH . "_definitions/definitions.inc.php"; require LIVEZILLA_PATH . "_definitions/definitions.protocol.inc.php"; require LIVEZILLA_PATH . "_lib/functions.global.inc.php"; require LIVEZILLA_PATH . "_definitions/definitions.dynamic.inc.php"; require LIVEZILLA_PATH . "_lib/functions.index.inc.php"; require LIVEZILLA_PATH . "_lib/objects.global.users.inc.php"; CacheManager::Flush(); languageSelect(); @set_error_handler("handleError"); initDataProvider(); defineURL("index.php"); $scheme = getScheme(); $html = getFile(TEMPLATE_HTML_INDEX); $errorbox = null; $errors['write'] = getFolderPermissions(); $errors['php_version'] = getPhpVersion(); $errors['mysql'] = getMySQL(); $errors['disabled'] = getDisabledFunctions(); if (!empty($errors['write']) || !empty($errors['php_version']) || !empty($errors['mysql']) || !empty($errors['disabled'])) { $errorbox = getFile(TEMPLATE_HTML_INDEX_ERRORS); $errorbox = str_replace("<!--write_access-->", $errors['write'], $errorbox); if (strlen($errors['write']) > 0 && !empty($errors['php_version'])) { $errors['php_version'] = "<br><br>" . $errors['php_version']; } if ((strlen($errors['write']) > 0 || !empty($errors['php_version'])) && !empty($errors['mysql'])) { $errors['mysql'] = "<br><br>" . $errors['mysql'];
***************************************************************************************/ define("IN_LIVEZILLA", true); if (!defined("LIVEZILLA_PATH")) { define("LIVEZILLA_PATH", "./"); } @ini_set('session.use_cookies', '0'); @error_reporting(E_ALL); $static_frames = array("lz_chat_frame.3.2.lgin", "lz_chat_frame.3.2.mail", "lz_chat_frame.3.2.mail.0.0", "lz_chat_frame.3.2.chat.3.0", "lz_chat_frame.3.2.chat.4.0", "lz_chat_frame.3.2.chat.6.0"); $content_frames = array("lz_chat_frame.3.2.lgin.1.0", "lz_chat_frame.3.2.mail.1.0", "lz_chat_frame.3.2.chat.1.0", "lz_chat_frame.3.2.chat.0.0", "lz_chat_frame.3.2.chat.2.0", "lz_chat_frame.1.1", "lz_chat_frame.3.2.chat.5.0"); $html = ""; require LIVEZILLA_PATH . "_definitions/definitions.inc.php"; require LIVEZILLA_PATH . "_lib/functions.global.inc.php"; require LIVEZILLA_PATH . "_definitions/definitions.protocol.inc.php"; require LIVEZILLA_PATH . "_definitions/definitions.dynamic.inc.php"; require LIVEZILLA_PATH . "_lib/objects.global.users.inc.php"; defineURL(FILE_CHAT); initDataProvider(); languageSelect(); if (!(isset($_GET[GET_EXTERN_TEMPLATE]) && !in_array($_GET[GET_EXTERN_TEMPLATE], $content_frames))) { require LIVEZILLA_PATH . "_lib/functions.external.inc.php"; require LIVEZILLA_PATH . "_lib/objects.external.inc.php"; @set_time_limit($CONFIG["timeout_chats"]); if (!isset($_GET["file"])) { @set_error_handler("handleError"); } $browserId = getId(USER_ID_LENGTH); define("SESSION", getSessionId()); if (empty($CONFIG["gl_om_pop_up"]) && $CONFIG["gl_om_mode"] == 1) { initData(array("INTERNAL", "GROUPS", "FILTERS")); $groupbuilder = new GroupBuilder($INTERNAL, $GROUPS, $CONFIG); $groupbuilder->Generate();