diff --git a/app/Config/Database.php b/app/Config/Database.php
index 87d73b1..b6b27c1 100644
--- a/app/Config/Database.php
+++ b/app/Config/Database.php
@@ -77,6 +77,27 @@ class Database extends Config
'foreignKeys' => true,
];
+ public $mermsemr_site = [
+ 'DSN' => '',
+ 'hostname' => '10.10.33.60',
+ 'username' => 'mermsemr',
+ 'password' => 'may12002',
+ 'database' => 'site_mermsemr_com',
+ 'DBDriver' => 'MySQLi',
+ 'DBPrefix' => '',
+ 'pConnect' => false,
+ 'DBDebug' => (ENVIRONMENT !== 'production'),
+ 'charset' => 'utf8',
+ 'DBCollat' => 'utf8_general_ci',
+ 'swapPre' => '',
+ 'encrypt' => false,
+ 'compress' => false,
+ 'strictOn' => false,
+ 'failover' => [],
+ 'port' => 3306,
+ ];
+
+
public function __construct()
{
parent::__construct();
diff --git a/app/Controllers/Dash.php b/app/Controllers/Dash.php
index 2518dff..78d11a1 100644
--- a/app/Controllers/Dash.php
+++ b/app/Controllers/Dash.php
@@ -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);
}
diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php
index a05ea9c..f55c04d 100644
--- a/app/Controllers/Home.php
+++ b/app/Controllers/Home.php
@@ -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';
diff --git a/app/Views/bko/contacts.php b/app/Views/bko/contacts.php
index 7c0b54d..403fd4c 100644
--- a/app/Views/bko/contacts.php
+++ b/app/Views/bko/contacts.php
@@ -13,16 +13,21 @@
-
-
+
+
+
@@ -31,10 +36,11 @@
@@ -43,257 +49,22 @@
-
9,763
+
-
-
-
-
-
-
-
-
-
- 2.6 %
-
-
-
+
+
+
-
-
-
-
-
-

-
-
-
-
-
Brasil
-
-
-
All Social Channels
-
-
-
-
-
-
-
-
-
4,062
-
-
-
-
-
-
-
-
-
- 0.4 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
Turkey
-
-
-
Mailchimp Campaigns
-
-
-
-
-
-
-
-
-
1,680
-
-
-
-
-
-
-
-
-
- 0.2 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
France
-
-
-
Impact Radius visits
-
-
-
-
-
-
-
-
-
849
-
-
-
-
-
-
-
-
-
- 4.1 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
India
-
-
-
Many Sources
-
-
-
-
-
-
-
-
-
604
-
-
-
-
-
-
-
-
-
- 8.3 %
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
Sweden
-
-
-
Social Network
-
-
-
-
-
-
-
-
-
237
-
-
-
-
-
-
-
-
-
- 1.9 %
-
-
-
-
-
-
-
+
+
diff --git a/app/Views/bko/faq.php b/app/Views/bko/faq.php
new file mode 100644
index 0000000..139983e
--- /dev/null
+++ b/app/Views/bko/faq.php
@@ -0,0 +1,387 @@
+= $this->extend('layouts/master') ?>
+= $this->section('content') ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+ 2.6 %
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
579
+
+
+
+
+
+
+
+
+
+ 2.6 %
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
2,588
+
+
+
+
+
+
+
+
+
+ 0.4 %
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
Slack
+
+
+
Messanger
+
+
+
+
+
+
+
+
+
794
+
+
+
+
+
+
+
+
+
+ 0.2 %
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
YouTube
+
+
+
Video Channel
+
+
+
+
+
+
+
+
+
1,578
+
+
+
+
+
+
+
+
+
+ 4.1 %
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
3,458
+
+
+
+
+
+
+
+
+
+ 8.3 %
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
2,047
+
+
+
+
+
+
+
+
+
+ 1.9 %
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+= $this->endSection() ?>
diff --git a/app/Views/layouts/master.php b/app/Views/layouts/master.php
index 412424f..589dff4 100644
--- a/app/Views/layouts/master.php
+++ b/app/Views/layouts/master.php
@@ -88,7 +88,7 @@
-
+
@@ -114,7 +114,7 @@
-
+