diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 852f9af..7a758c4 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -13,7 +13,7 @@ $routes->get('logout', 'Login::StartLogin'); $routes->get('register', 'Login::RegisterAccount'); -$routes->get('register/resetpass', 'Login::RegisterAccount'); +$routes->get('register/resetpass', 'Login::ResetPassword'); $routes->post('/register/startacc', 'Login::RegisterAccount'); diff --git a/app/Controllers/Login.php b/app/Controllers/Login.php index 485e354..a34ff29 100644 --- a/app/Controllers/Login.php +++ b/app/Controllers/Login.php @@ -34,13 +34,17 @@ class Login extends BaseController { } } $data = array(); - return $this->renderExternalPage('welcome_message', $data); + return $this->renderExternalPage('startlogin', $data); } // end of index Login public function RegisterAccount(){ $data = array(); return $this->renderExternalPage('register', $data); } + public function ResetPassword(){ + $data = array(); + return $this->renderExternalPage('resetpass', $data); + } private function verifyLoginInput(&$data) { $ret = false; diff --git a/app/Controllers/Provider.php b/app/Controllers/Provider.php index a4ed88b..d513208 100644 --- a/app/Controllers/Provider.php +++ b/app/Controllers/Provider.php @@ -81,9 +81,11 @@ class Provider extends SecureBaseController } public function StartProcess($productId){ - // echo $productId; - // exit; - return redirect()->to("product/$productId"); + + log_message('critical', "***** ***** Provider::StartProcess USER_SESSION = ".$productId ); + echo $productId; + exit; + // return redirect()->to("product/$productId"); } public function alerts() { diff --git a/app/Models/Reminder_model.php b/app/Models/Reminder_model.php index b3608ef..f4b0438 100644 --- a/app/Models/Reminder_model.php +++ b/app/Models/Reminder_model.php @@ -1,6 +1,6 @@ Welcome, Please create your account.

-
-
- - -
-
+ + + + + +
diff --git a/app/Views/resetpass.php b/app/Views/resetpass.php index 1165e53..debd247 100644 --- a/app/Views/resetpass.php +++ b/app/Views/resetpass.php @@ -1,4 +1,4 @@ -Reset Password.

-
-
- - -
-
- -
-
- - -
-
+ + + + + + + + + + + + +
@@ -55,7 +55,7 @@ if (!isset($facility_text) || $facility_text == '') {
-
+
diff --git a/app/Views/startlogin.php b/app/Views/startlogin.php new file mode 100644 index 0000000..5a37c69 --- /dev/null +++ b/app/Views/startlogin.php @@ -0,0 +1,123 @@ + + + +
+ + + +
+ +
+
+
+ loader +
+
+
+ + + +
+
+
+
+
+ + +
+ + +
+
+
+ +
+
+
+
+
+
+ +
+ + +