32 lines
601 B
PHP
32 lines
601 B
PHP
<?php
|
|
|
|
class Provider_Controller extends MER_Controller {
|
|
|
|
|
|
public $data = array();
|
|
|
|
function __construct() {
|
|
parent::__construct();
|
|
|
|
// you dont have bussines here if you are not in session
|
|
if (!isset($_SESSION['session_id']) or ! isset($_SESSION['username']) or $_SESSION['username'] == '') {
|
|
redirect(logout);
|
|
}
|
|
|
|
|
|
}
|
|
|
|
public function getSessionArray() {
|
|
$data["current_date"] = date('l jS \of F Y h:i:s A');
|
|
|
|
return $data;
|
|
}
|
|
|
|
private function refreshAccountDetail($member_id) {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|