This commit is contained in:
2023-01-22 17:43:16 -05:00
parent ed4b0f920b
commit 72e5cc5158
6 changed files with 439 additions and 254 deletions
+6
View File
@@ -11,6 +11,12 @@ class Dash extends BaseUsersController
}
public function contacts(){
$db = \Config\Database::connect('mermsemr_site');
$query = $db->query(
'SELECT * FROM myfit_contact ORDER BY id DESC LIMIT 10'
);
$data['contact_data'] = $query->getResultArray();;
$data['page_title'] ='Contacts';
return view('bko/contacts',$data);
}
+1 -1
View File
@@ -40,7 +40,7 @@ class Home extends BaseController
$loginComplete = false;
$out['error'] = 'All parameters required';
}
if ($username == 'ameye@chiefsoft.com' && $password == 'may12002') {
if ($username == 'support@chiefsoft.com' && $password == '12345678') {
$loginComplete = true;
$out['username'] = 'ameye@chiefsoft.com';
$out['firstname'] = 'Olusesan';