$LS_PROVED = 1; $LS_PAGE_ACTIVE = 1; $checkp = 1; } if ($page == 'users') { require_once 'user.php'; $LS_PROVED = 1; $LS_PAGE_ACTIVE = 1; $checkp = 1; } if ($page == 'checkstatus') { if (!LS_USERID_RHINO) { echo json_encode(array('status' => 0)); } else { echo json_encode(array('status' => 1)); } exit; } // if page not found if ($checkp == 0) { ls_redirect(BASE_URL . 'index.php?p=404'); } if (isset($template) && $template != '') { include_once APP_PATH . 'operator/template/' . $template; } // Get the plugin template if (isset($plugin_template) && $plugin_template != '') { include_once APP_PATH . $plugin_template; } // Finally close all db connections $lsdb->ls_close();
ls_redirect(BASE_URL . 'index.php?p=error&sp=mysql'); } else { ls_redirect(BASE_URL . 'index.php?p=success'); } } if (isset($defaults['delete'])) { $lockuser = $defaults['ls_delete_user']; $useridarray = explode(',', LS_SUPERADMIN); for ($i = 0; $i < count($lockuser); $i++) { $locked = $lockuser[$i]; if (!in_array($locked, $useridarray)) { // Delete user $lsdb->query('DELETE FROM ' . $lstable . ' WHERE id = ' . $locked . ''); } $result = 1; } if (!$result) { ls_redirect(BASE_URL . 'index.php?p=error&sp=mysql'); } else { ls_redirect(BASE_URL . 'index.php?p=success'); } } } if ($LS_SPECIALACCESS) { $LS_USER_ALL = ls_get_user_all($lstable, ''); } else { $LS_USER_ALL = ls_get_user_all($lstable, LS_USERID_RHINO); } // Call the template $template = 'user.php'; }
|| #################################################################### || || # Rhino 2.5 # || || # ---------------------------------------------------------------- # || || # Copyright 2014 Rhino All Rights Reserved. # || || # This file may not be redistributed in whole or significant part. # || || # ---------------- Rhino IS NOT FREE SOFTWARE ---------------- # || || # http://www.livesupportrhino.com # || || #################################################################### || \*======================================================================*/ // Check if the file is accessed only via index.php if not stop the script from running if (!defined('LS_OPERATOR_PREVENT_ACCESS')) { die('You cannot access this file directly.'); } // Check if the user has access to this file if (!LS_USERID_RHINO || !LS_OPERATORACCESS) { ls_redirect(BASE_URL); } // The DB connections data require_once '../class/class.export.php'; // All the tables we need for this plugin $errors = array(); $lstable = DB_PREFIX . 'jrc_sessions'; switch ($page1) { case 'export': $sql = 'SELECT name, email FROM ' . $lstable . ' WHERE email REGEXP "^[A-Z0-9._%-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$" GROUP BY email ORDER BY id DESC'; $result = $lsdb->query($sql); if ($lsdb->affected_rows > 0) { while ($row = $result->fetch_assoc()) { // collect each record into $_data $lsdata[] = $row; }
// Stop the chat if ($page == 'stop') { require_once 'stop.php'; $LS_CHECK_PAGE = 1; $PAGE_SHOWTITLE = 1; } // Stop the chat if ($page == 'feedback') { require_once 'feedback.php'; $LS_CHECK_PAGE = 1; $PAGE_SHOWTITLE = 1; } // Get the button if ($page == 'b') { require_once 'button.php'; $LS_CHECK_PAGE = 1; $PAGE_SHOWTITLE = 1; } // Get the 404 page if ($page == '404') { $PAGE_TITLE = '404 '; require_once '404.php'; $LS_CHECK_PAGE = 1; $PAGE_SHOWTITLE = 1; } // if page not found if ($LS_CHECK_PAGE == 0) { ls_redirect(LS_rewrite::lsParseurl('404', '', '', '', '')); } // Finally close all db connections $lsdb->ls_close();
} } } } $mail->Subject = LS_TITLE; $mail->AltBody = $tl['general']['g45']; $mail->MsgHTML($listform); if ($mail->Send()) { unset($_SESSION['jrc_captcha']); unset($_SESSION['chatbox_redirected']); // Ajax Request if ($_SERVER['HTTP_X_REQUESTED_WITH']) { header('Cache-Control: no-cache'); die(json_encode(array('status' => 1, 'html' => $tl["general"]["g65"]))); } else { ls_redirect($_SERVER['HTTP_REFERER']); } } } } ?> <!DOCTYPE html> <html lang="en"> <head> <title><?php echo $tl["general"]["g1"]; ?> - <?php echo LS_TITLE; ?> </title>
$lsdb->query('INSERT INTO ' . DB_PREFIX . 'jrc_transcript SET name = "Admin", message = "' . smartsql(LS_WELCOME_MESSAGE) . '", convid = "' . $cid . '", time = NOW(), class = "admin"'); } // Redirect page $gochat = LS_rewrite::lsParseurl('chat', '', '', '', ''); /* Outputtng the error messages */ if ($_SERVER['HTTP_X_REQUESTED_WITH']) { header('Cache-Control: no-cache'); echo json_encode(array('login' => 1, 'link' => $gochat)); exit; } ls_redirect($gochat); } } ?> <!DOCTYPE html> <html lang="en"> <head> <title><?php echo $tl["general"]["g"]; ?> - <?php echo LS_TITLE; ?> </title> <meta charset="utf-8"> <meta name="author" content="Live Support Rhino" />
// Step 2: Use sendText( $to, $from, $message ) method to send a message. $info = $nexmo_sms->sendText($row['phonenumber'], LS_TITLE, LS_TW_MSG); } } } } } } // Redirect page $gochat = LS_rewrite::lsParseurl('chat', $_POST['slide_chat'], $_POST['lang'], '', ''); /* Outputtng the error messages */ if ($_SERVER['HTTP_X_REQUESTED_WITH']) { header('Cache-Control: no-cache'); die(json_encode(array('login' => 1, 'link' => html_entity_decode($gochat)))); } ls_redirect(html_entity_decode($gochat)); } } ?> <!DOCTYPE html> <html lang="en"> <head> <title><?php echo $tl["general"]["g"]; ?> - <?php echo LS_TITLE; ?> </title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
|| # ---------------- Rhino IS NOT FREE SOFTWARE ---------------- # || || # http://www.livesupportrhino.com # || || #################################################################### || \*======================================================================*/ // Check if the file is accessed only via index.php if not stop the script from running if (!defined('LS_PREVENT_ACCESS')) { die('You cannot access this file directly.'); } // start buffer ob_start(); if (empty($_SESSION['jrc_userid']) || empty($_SESSION['convid']) || LS_base::lsCheckSession($_SESSION['jrc_userid'], $_SESSION['convid'])) { // Destroy Session unset($_SESSION['convid']); unset($_SESSION['jrc_userid']); unset($_SESSION['jrc_email']); ls_redirect(html_entity_decode(LS_rewrite::lsParseurl('start', $page1, $page2, '', ''))); } if (LS_FEEDBACK) { $parseurl = LS_rewrite::lsParseurl('feedback', $page1, $page2, '', ''); } else { $parseurl = LS_rewrite::lsParseurl('stop', $page1, $page2, '', ''); } ?> <!DOCTYPE html> <html lang="en"> <head> <title><?php echo $tl["general"]["g"]; ?> - <?php echo LS_TITLE;
|| # This file may not be redistributed in whole or significant part. # || || # ---------------- Rhino IS NOT FREE SOFTWARE ---------------- # || || # http://www.livesupportrhino.com # || || #################################################################### || \*======================================================================*/ // Check if the file is accessed only via index.php if not stop the script from running if (!defined('LS_PREVENT_ACCESS')) { die('You cannot access this file directly.'); } ob_start(); // Start the session session_start(); if (empty($_SESSION['jrc_userid']) || empty($_SESSION['jrc_convid']) || LS_base::lsCheckSession($_SESSION['jrc_userid'], $_SESSION['jrc_convid'])) { // Destroy Session session_destroy(); ls_redirect(LS_rewrite::lsParseurl('start', '', '', '', '')); } if (LS_FEEDBACK) { $parseurl = LS_rewrite::lsParseurl('feedback', $_SESSION['jrc_convid'], '', '', ''); } else { $parseurl = LS_rewrite::lsParseurl('stop', $_SESSION['jrc_convid'], '', '', ''); } ?> <!DOCTYPE html> <html lang="en"> <head> <title><?php echo $tl["general"]["g"]; ?> - <?php echo LS_TITLE;