public function getAccountDetails(){ ///Validate if the user has been loggen in if (parent::allowAccess()){ $webUserDTO = $this->session->userdata('webUserDTO'); //Get Actual User Details $data['userData'] = $this->UserModel->get_user($webUserDTO->userID); $data['entityName'] = $webUserDTO->entityName; parent::prepareHTMLData("Mi Cuenta", "Mi Cuenta", array("<script src='js/ConredPack/Conred_AccountView.js.php'></script>", "<script src='js/ConredPack/Conred_ValidateUtils.js.php'></script>", "<script src='js/ConredPack/md5-min.js.php'></script>", "<script src='js/ConredPack/sha1-min.js.php'></script>")); ///Load Content $this->template->write_view('content', 'Account/AccountView.php', $data); $this->template->render(); } else{ //Deny Hacking Access parent::destroySession(); } }
function index(){ ///Validate if the user has been loggen in if (parent::allowAccess()){ parent::prepareHTMLData("Control de Usuarios", "Control de Usuarios", array("<script src='js/ConredPack/Conred_UserView.js.php'></script>")); ///Load Content $this->template->write_view('content', 'User/UserView.php'); $this->template->render(); } else{ //Deny Hacking Access parent::destroySession(); } }
function index(){ ///Validate if the user has been loggen in if (parent::allowAccess()){ parent::prepareHTMLData("Panel de Control", "Panel de Control - Transacciones Recientes (10 min.)", array("<script src='js/ConredPack/Conred_IndexView.js.php'></script>")); ///Load Content $this->template->write_view('content', 'Index/IndexView'); $this->template->render(); } else{ //Deny Hacking Access parent::destroySession(); } }
function index(){ ///Validate if the user has been loggen in if (parent::allowAccess()){ parent::prepareHTMLData("Bandeja de Entrada", "Bandeja de Entrada - Mensajes del Sistema", array("<script src='js/ConredPack/Conred_InboxView.js.php'></script>")); $webUserDTO = $this->session->userdata('webUserDTO'); //Get User Messages $data['userMessages'] = $this->InboxModel->get_messages_per_page($webUserDTO->userID, 1); //Init. Page //Get Max. Pages $data['maxPages'] = $this->InboxModel->get_pages_messages_counter($webUserDTO->userID); //Get Current Page $data['currentPage'] = $this->InboxModel->get_current_page(); //Get Max. Pages Total $data['maxPagesTotal'] = $this->InboxModel->get_max_pages_total(); //Get Items X Page $data['itemsXPage'] = $this->InboxModel->get_itemsXpage(); ///Load Content $this->template->write_view('content', 'Inbox/InboxView', $data); $this->template->render(); } else{ //Deny Hacking Access parent::destroySession(); } }
function decoderBase24(){ ///Validate if the user has been loggen in if (parent::allowAccess()){ parent::prepareHTMLData("Decodificador Base 24", "Decodificador Base 24", array("<script src='js/ConredPack/Conred_DecoderBase24View.js.php'></script>", "<script src='js/ConredPack/Conred_ValidateUtils.js.php'></script>")); ///Load Content $this->template->write_view('content', 'Management/DecoderBase24View', null); $this->template->render(); } else{ //Deny Hacking Access parent::destroySession(); } }