| Current Path : /home/smartconb/www/armencom33/acv2026/ |
| Current File : /home/smartconb/www/armencom33/acv2026/index.php |
<?php
/**
* User: zaven
* Date: 04.06.2018
* Time: 17:41
* Project: cnpa_mail
**/
/** This is supposed
* to manage db connection
* to make classes available to scripts
* to initialize the session
* to initialize current interface language
**/
require_once('includes/init.inc.php');
//_var_export($_SESSION);
//die();
/** This is supposed
* to manage login
**/
require_once(INCLUDES_DIR . 'security.inc.php');
header('location: ./member/');
die();
/** this a vat to identify which tab is selected in navigation **/
$tabName = TX_TAB_HOME;
/** This is supposed to load extra resources like
* css
* js
* ..everything that can appear in head tag
**/
//_var_export($_SESSION);
$adminExtraResources = array();
$adminExtraResources[] = '<link rel="stylesheet" type="text/css" href="' . APPLICATION_RELATIVE_BASE . 'vendor/tabulator-3.5.2/css/tabulator.css"/>';
$adminExtraResources[] = '<script type="text/javascript" src="' . APPLICATION_RELATIVE_BASE . 'vendor/tabulator-3.5.2/js/tabulator.js"></script>';
//$adminExtraResources[] = '<script type="text/javascript" src="index.js"></script>';
/** this is to creating an array to describe the navigation **/
require_once(INCLUDES_DIR . 'options.inc.php');
/** this is the html header tag from html to body (include ui kit, jquery, alerts, interface language) **/
require_once(INCLUDES_DIR . 'top.inc.php');
/** this displays the menu **/
require_once(INCLUDES_DIR . 'nav.inc.php');
?>
<div class="main">
<?php
/*
$perms = array(1, 2, 4);
echo '<table>';
for ($i = 0; $i < 3; $i++) {
echo '<tr>';
$j=bindec('100');
//for($j=0;$j<4;$j++){
echo '<td>';
echo $perms[$i].' & '.$j;
_var_export($perms[$i] & $j);
echo '<td>';
//}
echo '</tr>';
}
echo '</table>';
*/
//$aa = 'TX_ADMIN_FIELD_PREFERRED_LANGUAGE';
//_var_export(constant($aa));
?>
</div>
<?php
/** this is the html footer tag from body to html **/
require_once(INCLUDES_DIR . 'bottom.inc.php');