Compare commits

...

3 Commits

Author SHA1 Message Date
ameye e93f5e34c7 Dash page logou 2019-03-02 18:46:07 +00:00
ameye ce92afb199 Dash page logou 2019-03-02 18:44:29 +00:00
ameye d19805c0bd Dash page logou 2019-03-02 18:43:34 +00:00
3 changed files with 10 additions and 55 deletions
@@ -1,25 +1,13 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends Web_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/
*
* So any other public methods not prefixed with an underscore will
* map to /index.php/welcome/<method_name>
* @see https://codeigniter.com/user_guide/general/urls.html
*/
public function index()
{
$this->load->view('welcome_message');
}
public function index() {
$data = array();
$this->renderExternalPage('welcome_message', $data);
}
}
@@ -119,40 +119,7 @@ class WRB_Controller extends CI_Controller {
return $str;
/*
<li class="media">
<div class="media-left">
<img src="/assets/images/placeholder.jpg" class="img-circle img-sm" alt="">
<span class="badge bg-danger-400 media-badge">5</span>
</div>
<div class="media-body">
<a href="#" class="media-heading">
<span class="text-semibold">James Alexander</span>
<span class="media-annotation pull-right">04:58</span>
</a>
<span class="text-muted">who knows, maybe that would be the best thing for me...</span>
</div>
</li>
<li class="media">
<div class="media-left">
<img src="/assets/images/placeholder.jpg" class="img-circle img-sm" alt="">
<span class="badge bg-danger-400 media-badge">4</span>
</div>
<div class="media-body">
<a href="#" class="media-heading">
<span class="text-semibold">Margo Baker</span>
<span class="media-annotation pull-right">12:16</span>
</a>
<span class="text-muted">That was something he was unable to do because...</span>
</div>
</li>
*
*/
}
protected function sql_escape_func($inp) {
@@ -296,7 +263,7 @@ class WRB_Controller extends CI_Controller {
return $out; //['escrow_c_offer'] + $out['escrow_balance'];
}
protected function renderProviderSecurePage($page_name, $data) {
protected function renderProviderSecurePage($page_name, $data) {
$this->load->view('template/provider_header', $data);
$this->load->view('provider/' . $page_name, $data);
$this->load->view('template/provider_footer', $data);
@@ -1,6 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MERMS-[Welcome]</title>
@@ -19,4 +18,5 @@
</head>
<body class="bg-white">