30 lines
1.0 KiB
PHP
30 lines
1.0 KiB
PHP
<?php
|
|
//echo '<pre>' . print_r($_SESSION['user'],1) . '</pre>';
|
|
include_once "inc/attendancelog.php";
|
|
global $DB;
|
|
if (isset($_SESSION['user']['fio'])){
|
|
// $class = new attendancelog($DB, $_SESSION['user']['fio']);
|
|
$class = new attendancelog($DB, $_SESSION['user']['fio']);
|
|
$OUT = $class->HTML();
|
|
} else {
|
|
|
|
}
|
|
|
|
//#МОДУЛИ
|
|
//RewriteRule ^modul/([^/]*)/([^/]*)/p([[0-9]+]*)/$ /index.php?modul=$1&page=$2&p=$3 [L]
|
|
//RewriteRule ^modul/([^/]*)/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?modul=$1&page=$2&des=$3&id=$4 [L]
|
|
//RewriteRule ^modul/([^/]*)/([^/]*)/([^/]*)/$ /index.php?modul=$1&page=$2&des=$3 [L]
|
|
//RewriteRule ^modul/([^/]*)/([^/]*)/$ /index.php?modul=$1&page=$2 [L]
|
|
//RewriteRule ^modul/([^/]*)/$ /index.php?modul=$1 [L]
|
|
//RewriteRule ^modul/$ /index.php?modul [L]
|
|
//$OUT .= '<pre>'.print_r($_GET,1).'</pre>';
|
|
|
|
//https://eios.mkgtu.ru/modul/aiassistant/admin/edit/12/
|
|
//Array
|
|
//(
|
|
// [modul] => aiassistant
|
|
// [page] => admin
|
|
// [des] => edit
|
|
// [id] => 12
|
|
//)
|
|
//$out = $smarty->fetch('moduls/skudp/tpl/index.html');
|