fix
This commit is contained in:
@@ -22,6 +22,7 @@ define('MERMS_USER_REMINDERS', 120001);
|
||||
//define('', 120001);
|
||||
|
||||
// PROVIDERS
|
||||
define('MERMS_PROVIDERS_STARTPRACTICE', 150005);
|
||||
define('MERMS_PROVIDERS_BEFORESESSION', 150010);
|
||||
define('MERMS_PROVIDERS_CREATEACCOUNT', 150015);
|
||||
define('MERMS_PROVIDERS_RESETPASSWORD', 150010);
|
||||
@@ -38,7 +39,21 @@ define('MERMS_PROVIDERS_LINKMEMBER', 150057);
|
||||
/*
|
||||
|
||||
|
||||
#define MERMS_PROVIDERS_START 150000
|
||||
// // --
|
||||
#define MERMS_PROVIDERS_STARTPRACTICE 150005
|
||||
#define MERMS_PROVIDERS_BEFORESESSION 150010
|
||||
#define MERMS_PROVIDERS_CREATEACCOUNT 150015
|
||||
#define MERMS_PROVIDERS_RESETPASSWORD 150020
|
||||
#define MERMS_PROVIDERS_LOGIN 150025
|
||||
#define MERMS_PROVIDERS_DASHLOAD 150030
|
||||
#define MERMS_PROVIDERS_LOADPROFILE 150035
|
||||
#define MERMS_PROVIDERS_UPDATEPROFILE 150040
|
||||
#define MERMS_PROVIDERS_REMINDERS 150045
|
||||
#define MERMS_PROVIDERS_CREATEMEMBER 150055
|
||||
#define MERMS_PROVIDERS_LINKMEMBER 150057
|
||||
|
||||
#define MERMS_PROVIDERS_CREATECHART 150060
|
||||
|
||||
// USERS
|
||||
#define MERMS_USER_START 120000
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
MERM Providers Login
|
||||
*/
|
||||
class Login extends Web_Controller {
|
||||
|
||||
public function index() {
|
||||
// echo rand(1000, 9999);
|
||||
// print_r($this->input->get());
|
||||
|
||||
$data = array();
|
||||
$data['username'] = $data['pass'] = $data['error_message']='';
|
||||
|
||||
@@ -14,9 +15,7 @@ class Login extends Web_Controller {
|
||||
|
||||
$data['username'] = trim($this->input->post('username'));
|
||||
$data['pass'] = htmlspecialchars($this->input->post('pass'));
|
||||
//$this->load->view('provider/dash');
|
||||
$outData = array();
|
||||
//print_r($data);
|
||||
$loginResult = $this->verifyLoginInput($data); // initial test
|
||||
if ($loginResult == true) {
|
||||
|
||||
@@ -24,25 +23,21 @@ class Login extends Web_Controller {
|
||||
$loginResult = $this->loginUser($data, $outData);
|
||||
if (true == $loginResult) {
|
||||
$out = array();
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
redirect('provider'); // provider controller extend Provider_Controller- this check session valid
|
||||
}
|
||||
}// if valid input was supplied
|
||||
else
|
||||
{
|
||||
$data['error_message']="Invalid Username or Password";
|
||||
}
|
||||
|
||||
if (false == $loginResult) {
|
||||
$this->renderExternalPage('welcome_message', $data); // get here if login galis
|
||||
}
|
||||
} else {
|
||||
//$this->load->view('welcome_message');
|
||||
// $this->load->view('provider/dash');
|
||||
$this->renderExternalPage('welcome_message', $data);
|
||||
}
|
||||
|
||||
//$this->load->view('provider/dash');
|
||||
//$this->load->view('welcome_message');
|
||||
}
|
||||
} // end of index Login
|
||||
|
||||
private function verifyLoginInput(&$data) {
|
||||
|
||||
@@ -51,7 +46,6 @@ class Login extends Web_Controller {
|
||||
$data['error_message']="Username and password required";
|
||||
}
|
||||
|
||||
|
||||
if (trim($data['username']) != '' or trim($data['pass']) != '') {
|
||||
$ret = true;
|
||||
}
|
||||
@@ -59,14 +53,4 @@ class Login extends Web_Controller {
|
||||
return $ret;
|
||||
}
|
||||
|
||||
public function logout() {
|
||||
$data = array();
|
||||
$this->destroySession();
|
||||
$this->renderExternalPage('welcome_message', $data);
|
||||
}
|
||||
|
||||
private function destroySession() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,25 +1,28 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
MERMS Providers log out
|
||||
*/
|
||||
class Logout extends Web_Controller {
|
||||
|
||||
public function index() {
|
||||
// echo rand(1000, 9999);
|
||||
// print_r($this->input->get());
|
||||
$data = array();
|
||||
|
||||
$this->logUserOut();
|
||||
}
|
||||
|
||||
public function logUserOut() {
|
||||
private function logUserOut() {
|
||||
$data = array();
|
||||
$this->destroySession();
|
||||
$this->renderExternalPage('welcome_message', $data);
|
||||
}
|
||||
|
||||
private function destroySession() {
|
||||
|
||||
private function destroySession() {
|
||||
$_SESSION['session_id'] =$_SESSION['username'] =$_SESSION['practice_name'] =$_SESSION['sessionpractice_code_id'] =$_SESSION['user_id'] =""; // "";
|
||||
$_SESSION['user_firstname'] =$_SESSION['user_lastname'] =$_SESSION['user_email'] =$_SESSION['practice_id'] =$_SESSION['user_provider'] =""; // "";
|
||||
$_SESSION['user_admin'] = "";
|
||||
unset($_SESSION);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -11,6 +11,14 @@ class Provider extends Provider_Controller {
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
$_SESSION['patient_count']=5;
|
||||
|
||||
|
||||
|
||||
$this->load->model('encounter_model');
|
||||
$out = $this->encounter_model->getEncounterList();
|
||||
$data["encounter_list"] = $out["encounter_list"];
|
||||
|
||||
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
|
||||
@@ -56,6 +64,11 @@ class Provider extends Provider_Controller {
|
||||
$this->load->model('patient_model');
|
||||
$out = $this->patient_model->getPatientList();
|
||||
$data["patient_list"] = $out["patient_list"];
|
||||
|
||||
$this->load->model('encounter_model');
|
||||
$out = $this->encounter_model->getEncounterList();
|
||||
$data["encounter_list"] = $out["encounter_list"];
|
||||
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,12 +14,12 @@ class Register extends Web_Controller {
|
||||
//#define MERMS_PROVIDERS_STARTPRACTICE 150005
|
||||
|
||||
// echo "xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ";
|
||||
$data["practice_name"] = $this->input->post('practice_name');
|
||||
$data["practice_name"] = $this->input->post('practice_name').rand(100,999);
|
||||
$data["firstname"] = $this->input->post('firstname');
|
||||
$data["lastname"] = $this->input->post('lastname');
|
||||
$data["email"] = $this->input->post('email');
|
||||
$data["password"] = $this->input->post('password');
|
||||
$data["username"] = $this->input->post('username');
|
||||
$data["username"] = $this->input->post('username').rand(100,999);
|
||||
|
||||
|
||||
$data['action'] = MERMS_PROVIDERS_STARTPRACTICE;
|
||||
@@ -28,9 +28,9 @@ class Register extends Web_Controller {
|
||||
$res = $this->backend_model->mermsemr_api($data, $out);
|
||||
|
||||
$loginReturn = false;
|
||||
|
||||
if ( $res==PHP_LOGIN_OK && isset($out["practice_id"]) && $out["practice_id"] > 0 ){
|
||||
|
||||
// echo $res;
|
||||
if ( $res==PHP_API_OK && isset($out["practice_pending_id"]) && $out["practice_pending_id"] > 0 ){
|
||||
$data["loginReturn"] = true;
|
||||
}
|
||||
|
||||
$this->renderExternalPage('register', $data);
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
class Encounter_model extends CI_Model {
|
||||
|
||||
function __construct() {
|
||||
|
||||
}
|
||||
|
||||
public function getEncounterList() {
|
||||
|
||||
$mysql = "SELECT pe.primary_complain AS reason, pe.appt_date AS appt,m.firstname,m.lastname,'F' AS gender , '35' AS age, pe.id,pe.id AS encounter_id FROM patient_encounters pe LEFT JOIN members m ON m.id=pe.member_id";
|
||||
$query = $this->db->query($mysql);
|
||||
$num = $query->num_rows();
|
||||
$data["encounter_list"] = $query->result();
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function LoadEncounter($practice_id, $patient_id) {
|
||||
|
||||
$mysql = "SELECT pe.primary_complain AS reason, pe.appt_date AS appt,m.firstname,m.lastname,'F' AS gender , '35' AS age, pe.id,pe.id AS encounter_id FROM patient_encounters pe LEFT JOIN members m ON m.id=pe.member_id";
|
||||
$query = $this->db->query($mysql);
|
||||
$num = $query->num_rows();
|
||||
$data["patient_return"] = $query->result();
|
||||
return $data;
|
||||
}
|
||||
|
||||
}
|
||||
/*
|
||||
|
||||
|
||||
mermsemr_dev=> SELECT pe.primary_complain AS reason, pe.appt_date AS appt,m.firstname,m.lastname,'F' AS gender , '35' AS age, pe.id,pe.id AS encounter_id FROM patient_encounters pe LEFT JOIN members m ON m.id=pe.member_id;
|
||||
reason | appt | firstname | lastname | gender | age | id | encounter_id
|
||||
----------------------------+----------------------------+-----------+----------+--------+-----+----+--------------
|
||||
Nighthly headache | 2020-12-20 16:36:45.143238 | Olutest | Ameytest | F | 35 | 1 | 1
|
||||
Sleepy and lazy all time | 2020-12-27 10:56:06 | Olutest | Ameytest | F | 35 | 2 | 2
|
||||
Broken bones need fix | 2020-12-28 11:56:06 | Pottie | Gloria | F | 35 | 3 | 3
|
||||
Too much food always | 2020-12-27 12:56:06 | fagbemi | Moore | F | 35 | 4 | 4
|
||||
Just like to visit and see | 2020-12-27 15:56:06 | Olutest | Ameytest | F | 35 | 5 | 5
|
||||
(5 rows)
|
||||
|
||||
*/
|
||||
@@ -0,0 +1,137 @@
|
||||
<?php
|
||||
$darr = array();
|
||||
$encounter_list = isset($encounter_list) ? $encounter_list : $darr;
|
||||
//print_r($patient_list);
|
||||
$icc = 0;
|
||||
foreach ($encounter_list as $prow) {
|
||||
$icc++;
|
||||
?>
|
||||
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type mb-1 mb-xs-0 mt-1">
|
||||
<span>PP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1"><?= $prow->firstname ?> <?= $prow->lastname ?></small>
|
||||
<h5 class="mb-0"><a href="#"><?= $prow->reason ?></a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Lizzy Halfman</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small><?=$prow->appt?></small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
|
||||
<!--
|
||||
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type mb-1 mb-xs-0 mt-1">
|
||||
<span>PP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">Car dealer</small>
|
||||
<h5 class="mb-0"><a href="#">Unread utf-8 in more quick overview</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Lizzy Halfman</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Saturday, March 17 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type bg-pink mb-1 mb-xs-0 mt-1">
|
||||
<span>SL</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">Webster HTML5 </small>
|
||||
<h5 class="mb-0"><a href="#">I get an error "No Direct Access Allowed!" when I enter purchase</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Samuel Woods</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Sunday, March 19 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type bg-success mb-1 mb-xs-0 mt-1">
|
||||
<span>MP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">The corps</small>
|
||||
<h5 class="mb-0"><a href="#">OAuth Credentials not generating the key</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Andrew nico</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Monday, March 21 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type bg-orange mb-1 mb-xs-0 mt-1">
|
||||
<span>SP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">Sam martin vCard</small>
|
||||
<h5 class="mb-0"><a href="#">Pre-Buy Questions : For bakery Shop (Mentor Android Application)</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Jimmy Falicon</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Friday, March 22 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type bg-info mb-1 mb-xs-0 mt-1">
|
||||
<span>AP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">Mentor admin </small>
|
||||
<h5 class="mb-0"><a href="#">I need a payment option, for each seller per item</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Brian Joedon</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Saturday, March 17 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
-->
|
||||
@@ -15,12 +15,12 @@
|
||||
<table id="datatable" class="table table-borderless table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th style="width:20px;">#</th>
|
||||
<th>Name</th>
|
||||
<th>Phone</th>
|
||||
<th>Chart</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
<th style="width:80px;">Phone</th>
|
||||
<th style="width:50px;">Chart</th>
|
||||
<th style="width:50px;">Status</th>
|
||||
<th style="width:20px;">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -24,113 +24,16 @@
|
||||
<div class="card card-statistics h-100 mb-0">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Recent Encounters</h4>
|
||||
<h4 class="card-title">Upcoming Encounters</h4>
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<a class="btn btn-round btn-inverse-primary btn-xs" href="/provider/encounters">Encounters</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type mb-1 mb-xs-0 mt-1">
|
||||
<span>PP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">Car dealer</small>
|
||||
<h5 class="mb-0"><a href="#">Unread utf-8 in more quick overview</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Lizzy Halfman</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Saturday, March 17 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type bg-pink mb-1 mb-xs-0 mt-1">
|
||||
<span>SL</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">Webster HTML5 </small>
|
||||
<h5 class="mb-0"><a href="#">I get an error "No Direct Access Allowed!" when I enter purchase</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Samuel Woods</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Sunday, March 19 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type bg-success mb-1 mb-xs-0 mt-1">
|
||||
<span>MP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">The corps</small>
|
||||
<h5 class="mb-0"><a href="#">OAuth Credentials not generating the key</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Andrew nico</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Monday, March 21 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type bg-orange mb-1 mb-xs-0 mt-1">
|
||||
<span>SP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">Sam martin vCard</small>
|
||||
<h5 class="mb-0"><a href="#">Pre-Buy Questions : For bakery Shop (Mentor Android Application)</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Jimmy Falicon</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Friday, March 22 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row active-task m-b-20">
|
||||
<div class="col-xs-1">
|
||||
<div class="bg-type bg-info mb-1 mb-xs-0 mt-1">
|
||||
<span>AP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<small class="d-block mb-1">Mentor admin </small>
|
||||
<h5 class="mb-0"><a href="#">I need a payment option, for each seller per item</a></h5>
|
||||
<ul class="list-unstyled list-inline">
|
||||
<li class="list-inline-item">
|
||||
<small> Created by Brian Joedon</small>
|
||||
</li>
|
||||
<li class="list-inline-item">|</li>
|
||||
<li class="list-inline-item">
|
||||
<small>Saturday, March 17 2019</small>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<? include 'components/encounter_listing.php'; ?>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -138,7 +41,7 @@
|
||||
<div class="card card-statistics h-100 mb-0">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Activities</h4>
|
||||
<h4 class="card-title">Active Encounters</h4>
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<a class="p-2" href="#!" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
@@ -146,12 +49,8 @@
|
||||
</a>
|
||||
<div class="dropdown-menu custom-dropdown dropdown-menu-right p-4">
|
||||
<h6 class="mb-1">Action</h6>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-file-o pr-2"></i>View reports</a>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-edit pr-2"></i>Edit reports</a>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-bar-chart-o pr-2"></i>Statistics</a>
|
||||
<h6 class="mb-1 mt-3">Export</h6>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-file-pdf-o pr-2"></i>Export to PDF</a>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-file-excel-o pr-2"></i>Export to CSV</a>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-file-o pr-2"></i>Manage</a>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-edit pr-2"></i>Reports</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,6 +6,9 @@ if (!isset($facility_image) || $facility_image == '') {
|
||||
if (!isset($facility_text) || $facility_text == '') {
|
||||
$facility_text = "Merms Providers";
|
||||
}
|
||||
|
||||
$registeration_completed = isset($loginReturn)?$loginReturn :false;
|
||||
|
||||
?>
|
||||
<!-- begin app -->
|
||||
<div class="app">
|
||||
@@ -28,8 +31,33 @@ if (!isset($facility_text) || $facility_text == '') {
|
||||
<div class="row no-gutters">
|
||||
<div class="col-sm-6 col-lg-5 col-xxl-3 align-self-center order-2 order-sm-1">
|
||||
<div class="d-flex align-items-center h-100-vh">
|
||||
|
||||
|
||||
|
||||
<div class="register p-5">
|
||||
<h1 class="mb-2">Merms Providers</h1>
|
||||
<h1 class="mb-2">Merms Providers</h1>
|
||||
|
||||
<?php
|
||||
if ($registeration_completed == true ){
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
<label class="control-label">
|
||||
You have successfully created your MERMS account, We have started provisioning your account with all the tools you will need. Please check your email in a few minutes.
|
||||
<br>
|
||||
<a href='/welcome'> go to the login</a>
|
||||
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
}
|
||||
else
|
||||
{
|
||||
?>
|
||||
<p>Welcome, Please create your account.</p>
|
||||
<form action="/register/startacc" method='POST' class="mt-2 mt-sm-5">
|
||||
<div class="row">
|
||||
@@ -87,6 +115,14 @@ if (!isset($facility_text) || $facility_text == '') {
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@ $menu = array(
|
||||
<!-- begin sidebar-nav -->
|
||||
<div class="sidebar-nav scrollbar scroll_light">
|
||||
<ul class="metismenu " id="sidebarNav">
|
||||
<li class="nav-static-title">Personal</li>
|
||||
<li class="nav-static-title">Office</li>
|
||||
<li class="active">
|
||||
<a class="has-arrow" href="javascript:void(0)" aria-expanded="false">
|
||||
<i class="nav-icon ti ti-rocket"></i>
|
||||
@@ -93,7 +93,7 @@ $menu = array(
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="nav-static-title" style='background-color: red;'><a href="/login/logout">Log out</a></li>
|
||||
<!--li class="nav-static-title" style='background-color: red;'><a href="/login/logout">Log out</a></!--li -->
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -60,70 +60,9 @@
|
||||
<i class="ti ti-align-right"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link " href="javascript:void(0)" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Tools
|
||||
<i class="fa fa-angle-down"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu mega-menu animated fadeIn" aria-labelledby="navbarDropdown">
|
||||
<div class="row no-gutters">
|
||||
<div class="col-sm-2 p-20">
|
||||
<h4>UI Kit</h4>
|
||||
<ul>
|
||||
<li class="nav-link">
|
||||
<a href="ui-alerts.html">Alerts</a>
|
||||
</li>
|
||||
<li class="nav-link">
|
||||
<a href="ui-button.html">Buttons</a>
|
||||
</li>
|
||||
<li class="nav-link">
|
||||
<a href="ui-cards.html">Cards</a>
|
||||
</li>
|
||||
<li class="nav-link">
|
||||
<a href="ui-carousel.html">Carousel</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-2 p-20">
|
||||
<h4>Pages</h4>
|
||||
<ul>
|
||||
<li class="nav-link">
|
||||
<a href="page-account-settings.html">Account Settings</a>
|
||||
</li>
|
||||
<li class="nav-link">
|
||||
<a href="page-clients.html">Clients</a>
|
||||
</li>
|
||||
<li class="nav-link">
|
||||
<a href="page-contacts.html">Contacts</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-4 p-20">
|
||||
<h4>Message</h4>
|
||||
<div>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" id="Password1" placeholder="Enter Name">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="email" class="form-control" id="Email1" placeholder="Enter Email">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<textarea class="form-control" placeholder="Message" id="Textarea1" rows="3"></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary text-uppercase">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
<a href="javascript:void(0)" class="nav-link " id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Actions
|
||||
<i class="fa fa-angle-down"></i>
|
||||
@@ -140,105 +79,9 @@
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="navbar-nav nav-right ml-auto">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="javascript:void(0)" id="navbarDropdown2" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="ti ti-email"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu extended animated fadeIn" aria-labelledby="navbarDropdown">
|
||||
<ul>
|
||||
<li class="dropdown-header bg-gradient p-4 text-white text-left">Messages
|
||||
<label class="label label-info label-round">6</label>
|
||||
<a href="#" class="float-right btn btn-square btn-inverse-light btn-xs m-0">
|
||||
<span class="font-13"> Mark all as read</span></a>
|
||||
</li>
|
||||
<li class="dropdown-body">
|
||||
<ul class="scrollbar scroll_dark max-h-240">
|
||||
<li>
|
||||
<a href="javascript:void(0)">
|
||||
<div class="notification d-flex flex-row align-items-center">
|
||||
<div class="notify-icon bg-img align-self-center">
|
||||
<img class="img-fluid" src="assets/img/avtar/03.jpg" alt="user3">
|
||||
</div>
|
||||
<div class="notify-message">
|
||||
<p class="font-weight-bold">Brianing Leyon</p>
|
||||
<small>You will sail along until you...</small>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0)">
|
||||
<div class="notification d-flex flex-row align-items-center">
|
||||
<div class="notify-icon bg-img align-self-center">
|
||||
<img class="img-fluid" src="assets/img/avtar/01.jpg" alt="user">
|
||||
</div>
|
||||
<div class="notify-message">
|
||||
<p class="font-weight-bold">Jimmyimg Leyon</p>
|
||||
<small>Okay</small>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0)">
|
||||
<div class="notification d-flex flex-row align-items-center">
|
||||
<div class="notify-icon bg-img align-self-center">
|
||||
<img class="img-fluid" src="assets/img/avtar/02.jpg" alt="user2">
|
||||
</div>
|
||||
<div class="notify-message">
|
||||
<p class="font-weight-bold">Brainjon Leyon</p>
|
||||
<small>So, make the decision...</small>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0)">
|
||||
<div class="notification d-flex flex-row align-items-center">
|
||||
<div class="notify-icon bg-img align-self-center">
|
||||
<img class="img-fluid" src="assets/img/avtar/04.jpg" alt="user4">
|
||||
</div>
|
||||
<div class="notify-message">
|
||||
<p class="font-weight-bold">Smithmin Leyon</p>
|
||||
<small>Thanks</small>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0)">
|
||||
<div class="notification d-flex flex-row align-items-center">
|
||||
<div class="notify-icon bg-img align-self-center">
|
||||
<img class="img-fluid" src="assets/img/avtar/05.jpg" alt="user5">
|
||||
</div>
|
||||
<div class="notify-message">
|
||||
<p class="font-weight-bold">Jennyns Leyon</p>
|
||||
<small>How are you</small>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0)">
|
||||
<div class="notification d-flex flex-row align-items-center">
|
||||
<div class="notify-icon bg-img align-self-center">
|
||||
<img class="img-fluid" src="assets/img/avtar/06.jpg" alt="user6">
|
||||
</div>
|
||||
<div class="notify-message">
|
||||
<p class="font-weight-bold">Demian Leyon</p>
|
||||
<small>I like your themes</small>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown-footer">
|
||||
<a class="font-13" href="javascript:void(0)"> View All messages </a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="javascript:void(0)" id="navbarDropdown3" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fe fe-bell"></i>
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
<li class="breadcrumb-item">
|
||||
Dashboard
|
||||
</li>
|
||||
<li class="breadcrumb-item active text-primary" aria-current="page">Default</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 81 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 480 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user