Dash page logou
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Logout extends Web_Controller {
|
||||||
|
|
||||||
|
public function index() {
|
||||||
|
// echo rand(1000, 9999);
|
||||||
|
// print_r($this->input->get());
|
||||||
|
$data = array();
|
||||||
|
|
||||||
|
$this->logUserOut();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function logUserOut() {
|
||||||
|
$data = array();
|
||||||
|
$this->destroySession();
|
||||||
|
$this->renderExternalPage('welcome_message', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
private function destroySession() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
class Provider extends CI_Controller {
|
class Provider extends Provider_Controller {
|
||||||
|
|
||||||
|
public function index() {
|
||||||
|
$data = array();
|
||||||
|
$this->renderProviderSecurePage('dash', $data);
|
||||||
|
}
|
||||||
|
|
||||||
public function index()
|
|
||||||
{
|
|
||||||
$data = array();
|
|
||||||
$this->load->view('provider/dash',$data);
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,13 +7,11 @@ class Web_Controller extends MER_Controller {
|
|||||||
function __construct() {
|
function __construct() {
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protected function renderExternalPage($page_name, $data) {
|
protected function renderExternalPage($page_name, $data) {
|
||||||
$this->load->view('template/header', $data);
|
$this->load->view('template/header', $data);
|
||||||
$this->load->view('' . $page_name, $data);
|
$this->load->view('' . $page_name, $data);
|
||||||
$this->load->view('template/footer', $data);
|
$this->load->view('template/footer', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
|
|
||||||
<? include "/home/sameye/mermsemr/providerwww/application/views/template/provider_header.php"; ?>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- end app-header -->
|
<!-- end app-header -->
|
||||||
<!-- begin app-container -->
|
<!-- begin app-container -->
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<!-- begin app-nabar -->
|
<!-- begin app-nabar -->
|
||||||
<aside class="app-navbar">
|
<aside class="app-navbar">
|
||||||
<? include "/home/sameye/mermsemr/providerwww/application/views/template/menu/sidemain.php"; ?>
|
<? include "application/views/template/menu/sidemain.php"; ?>
|
||||||
</aside>
|
</aside>
|
||||||
<!-- end app-navbar -->
|
<!-- end app-navbar -->
|
||||||
<!-- begin app-main -->
|
<!-- begin app-main -->
|
||||||
@@ -15,7 +12,7 @@
|
|||||||
<!-- begin container-fluid -->
|
<!-- begin container-fluid -->
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|
||||||
<? include "/home/sameye/mermsemr/providerwww/application/views/template/topstrip.php"; ?>
|
<? include "application/views/template/topstrip.php"; ?>
|
||||||
<!-- begin row -->
|
<!-- begin row -->
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -397,4 +394,3 @@
|
|||||||
<!-- end app-container -->
|
<!-- end app-container -->
|
||||||
<!-- begin footer -->
|
<!-- begin footer -->
|
||||||
|
|
||||||
<? include "/home/sameye/mermsemr/providerwww/application/views/template/provider_footer.php"; ?>
|
|
||||||
Reference in New Issue
Block a user