D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ksclnmuac
/
public_html
/
alumni
/
application
/
controllers
/
admin
/
Filename :
AccessLog.php
back
Copy
<?php /** * Description of User * * @author Softpro India Pvt. Ltd. */ class AccessLog extends CI_Controller { //put your code here public function __construct() { parent::__construct(); $this->load->model("admin/AccessLogManagement"); } public function index() { if ($this->sessionvalidator->validateSession()&& $this->sessionvalidator->getRole()=="Master Admin") { $viewData["accessLogs"] = $this->AccessLogManagement->getAccessLogs()->result(); $this->load->view("admin/accessLogs", $viewData); } else { redirect("admin/"); } } }