Compare commits

..

2 Commits

Author SHA1 Message Date
Olusesan Ameye fbf04adb9a fix 2021-01-31 13:22:28 -05:00
Olusesan Ameye 71915414c7 fix 2021-01-31 13:19:45 -05:00
20 changed files with 1792 additions and 317 deletions
@@ -0,0 +1,192 @@
Subject: {{subject}}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{site_name}} - {{subject}}</title>
<style type="text/css">
body {margin: 0; padding: 0; min-width: 100%!important;}
img {height: auto;}
.content {width: 100%; max-width: 600px;}
.header {padding: 20px 20px 20px 30px;}
.innerpadding {padding: 10px 10px 10px 10px;}
.borderbottom {border-bottom: 1px solid #f2eeed;}
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
.h1, .bodycopy {color: #153643; font-family: sans-serif;}
.h2 {color: #e6eeed; font-family: sans-serif;}
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
.h2 {padding: 0 0 15px 0; font-size: 24px; line-height: 28px; font-weight: bold;}
.bodycopy {font-size: 14px; line-height: 20px;}
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 20px 0 20px;}
.button a {color: #ffffff; text-decoration: none;}
.footer {padding: 20px 30px 15px 30px;}
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
.footercopy a {color: #ffffff; text-decoration: underline;}
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
body[yahoo] .hide {display: none!important;}
body[yahoo] .buttonwrapper {background-color: transparent!important;}
body[yahoo] .button {padding: 0px!important;}
body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important;}
body[yahoo] .unsubscribe {display: block; margin-top: 20px; padding: 10px 50px; background: #2f3942; border-radius: 5px; text-decoration: none!important; font-weight: bold;}
}
/*@media only screen and (min-device-width: 601px) {
.content {width: 600px !important;}
.col425 {width: 425px!important;}
.col380 {width: 380px!important;}
}*/
</style>
</head>
<body yahoo bgcolor="#f6f8f1">
<table width="100%" bgcolor="#f6f8f1" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<!--[if (gte mso 9)|(IE)]>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#19b9b3" class="header">
<!--[if (gte mso 9)|(IE)]>
<table width="425" align="left" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table class="col425" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 425px;">
<tr>
<td height="50">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="h1" style="padding: 5px 0 0 0;">
{{site_name}}
</td>
</tr>
<tr>
<td class="subhead" style="padding: 0 0 0 3px;">
{{site_trade_name}}
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<tr>
<td class="innerpadding borderbottom">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="h3">
Daer {{firstname}},
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="innerpadding borderbottom">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="left" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table class="col425" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bodycopy">
You have received a new pickup request with details below.
</td>
</tr>
<tr>
<td>
<table class="col425">
<tr><td><b>Date Time</b></td><td>{{long_date}}</td></tr>
<tr><td><b>Destination</b></td><td><b>{{agent_name}}<br></b>{{to_street}},{{to_city}},{{to_state}} {{to_zipcode}}</td></tr>
<tr><td><b>Origin</b></td><td>{{from_street}},{{from_city}},{{from_state}} {{from_zipcode}}</td></tr>
<tr><td><b>Request </b></td><td>Laundry Pickup, {{quantity}} Bags </td></tr>
<tr><td><b>Customer Name</b></td><td>{{cus_firstname}} {{cus_lastname}} {{cus_phone}}</td></tr>
</table>
</td>
</tr>
</table>
Use the link {{server_link}}{{confirm_link}}
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<tr>
<td class="innerpadding bodycopy">
Access your mobile account or <a href="{{https://providers.kleenapp.co/}}">https://https://providers.kleenapp.co/</a> to manage this assignment
</td>
</tr>
<tr>
<td class="innerpadding bodycopy">
{{site_name}} Team
<br>
{{server_name}}
</td>
</tr>
<tr>
<td class="footer" bgcolor="#C85A17">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="footercopy">
&reg; {{site_name}} 2018<br/>
This is a support alert from {{site_name}}.
</td>
</tr>
<tr>
<td align="center" style="padding: 20px 0 0 0;">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="37" style="text-align: center; padding: 0 10px 0 10px;">
<a href="{{facebook}}">
<img src="https://{{server_name}}/assets/images/brands/facebook.png" width="37" height="37" alt="Facebook" border="0" />
</a>
</td>
<td width="37" style="text-align: center; padding: 0 10px 0 10px;">
<a href="{{twitter}}">
<img src="https://{{server_name}}/assets/images/brands/twitter.png" width="37" height="37" alt="Twitter" border="0" />
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</table>
<!--analytics-->
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
</body>
</html>
+158
View File
@@ -0,0 +1,158 @@
Subject: {{site_name}} - TEST EMAIL {{site_name}}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{site_name}} - Log in Confirmation</title>
<style type="text/css">
body {margin: 0; padding: 0; min-width: 100%!important;}
</style>
</head>
<body yahoo bgcolor="#f6f8f1">
<table width="100%" bgcolor="#f6f8f1" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<!--[if (gte mso 9)|(IE)]>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table bgcolor="#ffffff" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#19b9b3" class="header">
<!--[if (gte mso 9)|(IE)]>
<table width="425" align="left" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table class="col425" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 425px;">
<tr>
<td height="50">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="h1" style="padding: 5px 0 0 0;">
{{site_name}}
</td>
</tr>
<tr>
<td class="subhead" style="padding: 0 0 0 3px;">
{{site_trade_name}}
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<tr>
<td class="innerpadding borderbottom">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="h3">
Dear <b>{{firstname}}</b>,
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="innerpadding borderbottom">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="left" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table class="col425" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bodycopy">
Please be informed that you logged on to {{site_name}} account at {{last_login2}} from {{loc}}.
</td>
</tr>
<tr>
<td class="bodycopy">
If you did not log on to your account at the time detailed above, please contact us immediately.
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<tr>
<td class="innerpadding bodycopy">
For all support, contact us at <a href="{{contactus}}">{{contactus}}</a>
</td>
</tr>
<tr>
<td class="innerpadding bodycopy">
{{site_name}} Team
<br>
{{server_name}}
</td>
</tr>
<tr>
<td class="footer" bgcolor="#44525f">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="footercopy">
&reg; {{site_name}} 2017<br/>
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="{{contactus}}" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
</td>
</tr>
<td width="37" style="text-align: center; padding: 0 10px 0 10px;">
<a href="{{facebook}}">
<img src="https://{{server_name}}/assets/images/brands/facebook.png" width="37" height="37" alt="Facebook" border="0" />
</a>
</td>
<td width="37" style="text-align: center; padding: 0 10px 0 10px;">
<a href="{{twitter}}">
<img src="https://{{server_name}}/assets/images/brands/twitter.png" width="37" height="37" alt="Twitter" border="0" />
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</table>
<!--analytics-->
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
</body>
</html>
@@ -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
+10 -26
View File
@@ -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() {
}
}
+10 -7
View File
@@ -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>
+7 -108
View File
@@ -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>
+37 -1
View File
@@ -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