Exemple #1
0
include_once "../../../config.php";
include_once '../../controller/include.inc.php';
include_once 'constants.php';
include_once dirname(__FILE__) . '/TopSessions.php';
$pn = 0;
if ($_REQUEST['pn']) {
    $pn = $_REQUEST['pn'];
}
$start = $pn * $LPP;
$voiControl = new VoilaController();
$utils = new utils();
$ob_roles = $voiControl->obRoles();
$ob_roles->checkUserLogin();
$mailbox = $voiControl->ObMailBox();
$mailList = $voiControl->ObMailList();
$complaintsObj = $voiControl->ObComplaints();
$temp_maker = $voiControl->obTemplateMaker();
$ob_cms_lang = $voiControl->obcms_lang();
$user_id = $_SESSION['cms-user-id'];
$grp_id = $_SESSION['cms-grp-id'];
if ($_REQUEST['cmsMID'] != "") {
    $module_id = $_SESSION['cmsMID'] = $_REQUEST['cmsMID'];
} else {
    $module_id = $_SESSION['cmsMID'];
}
if ($_REQUEST['table_id'] != "") {
    $table_id = $_SESSION['table_id'] = $_REQUEST['table_id'];
} else {
    $table_id = $_SESSION['table_id'];
}
$_REQUEST['table_id'] = $table_id;