diff --git a/www/application/controllers/Auth.php b/www/application/controllers/Auth.php index 0bb9e6c..d5617b9 100644 --- a/www/application/controllers/Auth.php +++ b/www/application/controllers/Auth.php @@ -5,18 +5,20 @@ defined('BASEPATH') OR exit('No direct script access allowed'); class Auth extends CI_Controller { public function index() { - //$this->load->view('home/home'); - // echo "START LOGIN"; + $login_done = false; $data = array(); - if ($_POST){ + if ($_SERVER['REQUEST_METHOD'] == 'POST') { $this->renderMemberPages('view_dash', $data); - } - $this->renderAuthPages('view_login', $data); + $login_done = true; + + // exit(); + } + + if(false == $login_done ){ + $this->renderAuthPages('view_login', $data); + } - //$this->load->view('auth/view_head'); - //$this->load->view('auth/view_login'); - //$this->load->view('auth/view_foot'); } public function newuser() { diff --git a/www/application/views/auth/view_login.php b/www/application/views/auth/view_login.php index cad45d9..e3e46db 100644 --- a/www/application/views/auth/view_login.php +++ b/www/application/views/auth/view_login.php @@ -70,7 +70,6 @@ - diff --git a/www/application/views/member/view_dash.php b/www/application/views/member/view_dash.php index f28446c..ce55141 100644 --- a/www/application/views/member/view_dash.php +++ b/www/application/views/member/view_dash.php @@ -1 +1,10 @@ -DASH PAGE \ No newline at end of file +DASH PAGE + +Reporter says Pompeo cursed and told her to find Ukraine on a map after interview +Trump captured on tape demanding firing of ambassador to Ukraine, attorney says +Republican thinking on impeachment: It's the defense team's to lose +What happened when Democrats played a clip of Graham in 1999 +Analysis: What Trump is doing during impeachment +'It's all going to come out': Ex-prosecutor on evidence Democrats are pursuing +Opinion: Trump's lawyers poised to demolish Democrats' case +Analysis: 1 in 3 Republicans think Trump did something illegal. But ... \ No newline at end of file