diff --git a/src/admin/accounts.php b/src/admin/accounts.php
index 924b0cb..d509707 100755
--- a/src/admin/accounts.php
+++ b/src/admin/accounts.php
@@ -4,13 +4,13 @@ require_once __DIR__ . '/application.php';
$action = get('action', 'list');
-if (!in_array($action, array('list', 'add', 'edit', 'view', 'goftp', 'login', 'sync'))) {
+if (!in_array($action, array('list', 'add', 'edit', 'details', 'goftp', 'login', 'sync'))) {
$action = 'list';
}
require __DIR__ . '/controllers/accounts/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/accounts/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/clients.php b/src/admin/clients.php
index dab72c2..d19425e 100755
--- a/src/admin/clients.php
+++ b/src/admin/clients.php
@@ -4,13 +4,13 @@ require_once __DIR__ . '/application.php';
$action = get('action', 'list');
-if (!in_array($action, array('list', 'add', 'edit', 'view', 'login'))) {
+if (!in_array($action, array('list', 'add', 'edit', 'details', 'login'))) {
$action = 'list';
}
require __DIR__ . '/controllers/clients/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/clients/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/controllers/accounts/view.php b/src/admin/controllers/accounts/details.php
similarity index 90%
rename from src/admin/controllers/accounts/view.php
rename to src/admin/controllers/accounts/details.php
index 3a7b28c..ab8368e 100755
--- a/src/admin/controllers/accounts/view.php
+++ b/src/admin/controllers/accounts/details.php
@@ -17,7 +17,7 @@ if (empty($AccountInfo)) {
redirect('admin/accounts');
}
-$PageInfo['title'] = 'View Account (#' . $account_id . ')';
+$PageInfo['title'] = 'Account Details';
$AccountApi = $DB->find('account_api', '*', array('api_key' => $AccountInfo['account_api_key']), null, 1);
$AccountDomainList = $DB->findAll('account_domain', '*', array('domain_account_id' => $account_id));
diff --git a/src/admin/controllers/accounts/edit.php b/src/admin/controllers/accounts/edit.php
index a60f344..fa12f2a 100755
--- a/src/admin/controllers/accounts/edit.php
+++ b/src/admin/controllers/accounts/edit.php
@@ -6,4 +6,4 @@ $account_id = get('account_id');
$AccountInfo = $DB->find('account', '*', array('account_id' => $account_id), null, 1);
$ClientInfo = $DB->find('clients', '*', array('client_id' => $AccountInfo['account_client_id']), null, 1);
-$PageInfo['title'] = 'Edit Account #' . $account_id;
+$PageInfo['title'] = 'Account Edit';
diff --git a/src/admin/controllers/clients/add.php b/src/admin/controllers/clients/add.php
new file mode 100644
index 0000000..f083399
--- /dev/null
+++ b/src/admin/controllers/clients/add.php
@@ -0,0 +1,4 @@
+find('clients', '*', array('client_id' => $client_id), null, 1);
+
+$CountryName = 'Not Defined';
+
+foreach ($countries as $country) {
+ if ($ClientInfo['client_country'] == $country['code']) {
+ $CountryName = $country['name'];
+ break;
+ }
+}
+
+$PageInfo['title'] = 'Client Details';
+$count_account = $DB->count('account', array('account_client_id' => $ClientInfo['client_id']));
+$count_ssl = $DB->count('ssl', array('ssl_client_id' => $ClientInfo['client_id']));
+$count_tickets = $DB->count('tickets', array('ticket_client_id' => $ClientInfo['client_id']));
diff --git a/src/admin/controllers/clients/view.php b/src/admin/controllers/clients/edit.php
similarity index 88%
rename from src/admin/controllers/clients/view.php
rename to src/admin/controllers/clients/edit.php
index 6b69668..1d4ee36 100755
--- a/src/admin/controllers/clients/view.php
+++ b/src/admin/controllers/clients/edit.php
@@ -2,7 +2,7 @@
require_once ROOT . '/core/library/countries.php';
-$client_id = get('client_id');
+$client_id = get('id');
if (empty($client_id)) {
redirect('admin/clients');
@@ -20,7 +20,7 @@ foreach ($countries as $country) {
}
}
-$PageInfo['title'] = 'View client (' . $client_id . ')';
+$PageInfo['title'] = 'Client Edit';
$count_account = $DB->count('account', array('account_client_id' => $ClientInfo['client_id']));
$count_ssl = $DB->count('ssl', array('ssl_client_id' => $ClientInfo['client_id']));
$count_tickets = $DB->count('tickets', array('ticket_client_id' => $ClientInfo['client_id']));
diff --git a/src/admin/controllers/dashboard/view.php b/src/admin/controllers/dashboard/view.php
index 48c4cbe..abcdc75 100755
--- a/src/admin/controllers/dashboard/view.php
+++ b/src/admin/controllers/dashboard/view.php
@@ -1,7 +1,14 @@
count('clients', null);
+$count_client = $DB->count('clients', array('client_status' => 1));
+$count_clients = $DB->count('clients');
$count_account = $DB->count('account', array('account_status' => 1));
+$count_accounts = $DB->count('account');
$count_ssl = $DB->count('ssl');
-$count_tickets = $DB->count('tickets', "`ticket_status`=0 OR `ticket_status`=2");
+$count_ssls = $DB->count('ssl');
+$count_ticket = $DB->count('tickets', "`ticket_status`=0 OR `ticket_status`=2");
+$count_tickets = $DB->count('tickets');
+
+$date = date("Y-m-d H:i:s");
+$mysqlversion = $DB->getColumn("select VERSION()");
diff --git a/src/admin/controllers/hosting/view.php b/src/admin/controllers/hosting/details.php
similarity index 73%
rename from src/admin/controllers/hosting/view.php
rename to src/admin/controllers/hosting/details.php
index 4ff5bd9..5a9ab0b 100755
--- a/src/admin/controllers/hosting/view.php
+++ b/src/admin/controllers/hosting/details.php
@@ -10,12 +10,9 @@ $api_key = get('api_key');
if ($api_id > 0) {
$data = $DB->find('account_api', '*', array('api_id' => $api_id), null, 1);
$api_callback_url = "{$site_url}/callback/{$data['api_key']}/{$data['api_callback_token']}";
- $PageInfo = ['title' => 'View Hosting Provider', 'rel' => ''];
} else if (!empty($api_key)) {
$data = $DB->find('account_api', '*', array('api_key' => $api_key), null, 1);
$api_callback_url = "{$site_url}/callback/{$data['api_key']}/{$data['api_callback_token']}";
- $PageInfo = ['title' => 'View Hosting Provider', 'rel' => ''];
} else {
- $PageInfo = ['title' => 'Unathorized Access', 'rel' => ''];
$data = null;
}
diff --git a/src/admin/controllers/hosting/edit.php b/src/admin/controllers/hosting/edit.php
index 8b65bef..d7e80c2 100755
--- a/src/admin/controllers/hosting/edit.php
+++ b/src/admin/controllers/hosting/edit.php
@@ -105,7 +105,6 @@ if (isset($_POST['submit'])) {
$id = get('id');
if ($id > 0) {
$data = $DB->find('account_api', '*', array('api_id' => $id), null, 1);
- $PageInfo = ['title' => 'Edit Hosting Provider #' . $id, 'rel' => ''];
} else {
setMessage('need field: id', 'danger');
redirect('admin/hosting');
diff --git a/src/admin/controllers/knowledgebase/add.php b/src/admin/controllers/knowledgebase/add.php
index e43daf4..d8175f7 100755
--- a/src/admin/controllers/knowledgebase/add.php
+++ b/src/admin/controllers/knowledgebase/add.php
@@ -17,6 +17,5 @@ if (isset($_POST['submit'])) {
}
redirect('admin/knowledgebase');
} else {
- $PageInfo = ['title' => 'New Knowledgebase', 'rel' => ''];
$load_editor = 1;
}
diff --git a/src/admin/controllers/knowledgebase/view.php b/src/admin/controllers/knowledgebase/details.php
similarity index 64%
rename from src/admin/controllers/knowledgebase/view.php
rename to src/admin/controllers/knowledgebase/details.php
index 1cc02cd..fc93006 100755
--- a/src/admin/controllers/knowledgebase/view.php
+++ b/src/admin/controllers/knowledgebase/details.php
@@ -7,9 +7,7 @@ if (!defined('IN_CRONLITE')) {
$knowledgebase_id = get('id');
if ($knowledgebase_id > 0) {
- $PageInfo = ['title' => 'View Knowledgebase #' . $knowledgebase_id, 'rel' => ''];
$Knowledgebase = $DB->find('knowledgebase', '*', array('knowledgebase_id' => $knowledgebase_id), null, 1);
} else {
- $PageInfo = ['title' => 'Unathorized Access', 'rel' => ''];
$Knowledgebase = null;
}
diff --git a/src/admin/controllers/knowledgebase/edit.php b/src/admin/controllers/knowledgebase/edit.php
index 5d9fae4..4ae2ad8 100755
--- a/src/admin/controllers/knowledgebase/edit.php
+++ b/src/admin/controllers/knowledgebase/edit.php
@@ -35,10 +35,8 @@ if (isset($_POST['submit'])) {
$id = get('id');
$load_editor = 1;
if ($id > 0) {
- $PageInfo = ['title' => 'Edit Knowledgebase #' . $id, 'rel' => ''];
$Knowledgebase = $DB->getRow("SELECT * FROM pre_knowledgebase WHERE knowledgebase_id='{$id}' limit 1");
} else {
- $PageInfo = ['title' => 'Unathorized Access', 'rel' => ''];
$Knowledgebase = null;
}
}
diff --git a/src/admin/controllers/tickets/view.php b/src/admin/controllers/tickets/details.php
similarity index 81%
rename from src/admin/controllers/tickets/view.php
rename to src/admin/controllers/tickets/details.php
index c4b151d..44c72a8 100755
--- a/src/admin/controllers/tickets/view.php
+++ b/src/admin/controllers/tickets/details.php
@@ -6,11 +6,9 @@ if (!defined('IN_CRONLITE')) {
$ticket_id = get('ticket_id', 0);
if ($ticket_id > 0) {
- $PageInfo['title'] = 'View Ticket #' . $ticket_id;
$TicketInfo = $DB->find('tickets', '*', array('ticket_id' => $ticket_id), null, 1);
$ReplyCount = $DB->count('ticket_replies', array('reply_for' => $ticket_id));
$ReplyInfo = $DB->findAll('ticket_replies', '*', array('reply_for' => $ticket_id), '`reply_id` DESC');
} else {
- $PageInfo['title'] = 'Unathorized Access';
$TicketInfo = null;
}
diff --git a/src/admin/controllers/tickets/reply.php b/src/admin/controllers/tickets/reply.php
index 26a0574..667ac4b 100755
--- a/src/admin/controllers/tickets/reply.php
+++ b/src/admin/controllers/tickets/reply.php
@@ -12,7 +12,7 @@ if (!$ticket_id) {
exit('Access Denied');
}
-$TicketInfo = $DB->find('tickets', 'ticket_email, ticket_client_id', array('ticket_id' => $ticket_id));
+$TicketInfo = $DB->find('tickets', '*', array('ticket_id' => $ticket_id));
if (!$TicketInfo) {
exit('Access Denied');
diff --git a/src/admin/domain.php b/src/admin/domain.php
index 592c8f0..fa14614 100755
--- a/src/admin/domain.php
+++ b/src/admin/domain.php
@@ -13,6 +13,6 @@ $PageInfo['title'] = 'Domain Provider ' . ucfirst($action);
require __DIR__ . '/controllers/domain/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/domain/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/forgetpassword.php b/src/admin/forgetpassword.php
index 8bea8b9..c1d6efc 100755
--- a/src/admin/forgetpassword.php
+++ b/src/admin/forgetpassword.php
@@ -2,6 +2,6 @@
require_once __DIR__ . '/../core/application.php';
require_once __DIR__ . '/controllers/profile/forgetpassword.php';
-require_once __DIR__ . '/views/common/header.php';
-require_once __DIR__ . '/views/profile/forgetpassword.php';
-require_once __DIR__ . '/views/common/footer.php';
+require_once __DIR__ . '/views/login/header.php';
+require_once __DIR__ . '/views/login/forgetpassword.php';
+require_once __DIR__ . '/views/login/footer.php';
diff --git a/src/admin/hosting.php b/src/admin/hosting.php
index d2594b6..5b3f759 100755
--- a/src/admin/hosting.php
+++ b/src/admin/hosting.php
@@ -4,7 +4,7 @@ require_once __DIR__ . '/application.php';
$action = get('action', 'list');
-if (!in_array($action, array('list', 'add', 'edit', 'view'))) {
+if (!in_array($action, array('list', 'add', 'edit', 'details'))) {
$action = 'list';
}
@@ -13,6 +13,6 @@ $PageInfo['title'] = 'Hosting Provider ' . ucfirst($action);
require __DIR__ . '/controllers/hosting/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/hosting/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/index.php b/src/admin/index.php
index 98d036e..3eb44f3 100755
--- a/src/admin/index.php
+++ b/src/admin/index.php
@@ -4,6 +4,6 @@ require_once __DIR__ . '/application.php';
require_once __DIR__ . '/controllers/dashboard/view.php';
require_once __DIR__ . '/views/common/header.php';
require_once __DIR__ . '/views/common/navbar.php';
-require_once __DIR__ . '/views/common/sidebar.php';
+// require_once __DIR__ . '/views/common/sidebar.php';
require_once __DIR__ . '/views/dashboard/view.php';
require_once __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/knowledgebase.php b/src/admin/knowledgebase.php
index b4ae877..5aac1f9 100755
--- a/src/admin/knowledgebase.php
+++ b/src/admin/knowledgebase.php
@@ -4,7 +4,7 @@ require_once __DIR__ . '/application.php';
$action = get('action', 'list');
-if (!in_array($action, array('list', 'add', 'edit', 'view'))) {
+if (!in_array($action, array('list', 'add', 'edit', 'details'))) {
$action = 'list';
}
@@ -13,6 +13,6 @@ $PageInfo['title'] = 'Knowledgebase ' . ucfirst($action);
require __DIR__ . '/controllers/knowledgebase/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/knowledgebase/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/login.php b/src/admin/login.php
index ea2aa4a..dd0fff1 100755
--- a/src/admin/login.php
+++ b/src/admin/login.php
@@ -9,6 +9,6 @@ if (isset($_SESSION['UIISC_ADMIN'])) {
$PageInfo['title'] = $lang->I18N('login');
$PageInfo['rel'] = '';
-require_once __DIR__ . '/views/common/header.php';
+require_once __DIR__ . '/views/login/header.php';
require_once __DIR__ . '/views/login/login.php';
-require_once __DIR__ . '/views/common/footer.php';
+require_once __DIR__ . '/views/login/footer.php';
diff --git a/src/admin/news.php b/src/admin/news.php
index a751aa5..ebb0543 100755
--- a/src/admin/news.php
+++ b/src/admin/news.php
@@ -11,6 +11,6 @@ if (!in_array($action, array('list', 'add', 'edit', 'view'))) {
require __DIR__ . '/controllers/news/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/news/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/profile.php b/src/admin/profile.php
index 3831dc7..bab93d4 100755
--- a/src/admin/profile.php
+++ b/src/admin/profile.php
@@ -11,6 +11,6 @@ if (!in_array($action, array('edit', 'view'))) {
require __DIR__ . '/controllers/profile/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/profile/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/resetpassword.php b/src/admin/resetpassword.php
index 9dbe1e6..000e5a0 100755
--- a/src/admin/resetpassword.php
+++ b/src/admin/resetpassword.php
@@ -2,6 +2,6 @@
require_once __DIR__ . '/../core/application.php';
require_once __DIR__ . '/controllers/profile/resetpassword.php';
-require_once __DIR__ . '/views/common/header.php';
-require_once __DIR__ . '/views/profile/resetpassword.php';
-require_once __DIR__ . '/views/common/footer.php';
+require_once __DIR__ . '/views/login/header.php';
+require_once __DIR__ . '/views/login/resetpassword.php';
+require_once __DIR__ . '/views/login/footer.php';
diff --git a/src/admin/settings.php b/src/admin/settings.php
index 234bed2..b7821eb 100755
--- a/src/admin/settings.php
+++ b/src/admin/settings.php
@@ -16,7 +16,7 @@ if (!in_array($action, array('edit', 'view'))) {
require __DIR__ . '/controllers/' . $section . '/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/settings/menu.php';
require __DIR__ . '/views/' . $section . '/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/sslcert.php b/src/admin/sslcert.php
index 4033fc1..4238883 100755
--- a/src/admin/sslcert.php
+++ b/src/admin/sslcert.php
@@ -11,6 +11,6 @@ if (!in_array($action, array('list', 'add', 'edit', 'view'))) {
require __DIR__ . '/controllers/sslcert/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/sslcert/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/tickets.php b/src/admin/tickets.php
index a61bf8f..eb3b571 100755
--- a/src/admin/tickets.php
+++ b/src/admin/tickets.php
@@ -5,15 +5,15 @@ require_once ROOT . '/core/library/tickets.php';
$action = get('action', 'list');
-if (!in_array($action, array('list', 'add', 'edit', 'view'))) {
+if (!in_array($action, array('list', 'add', 'edit', 'details'))) {
$action = 'list';
}
-$PageInfo['title'] = 'Tckets ' . ucfirst($action);
+$PageInfo['title'] = 'Ticket ' . ucfirst($action);
require __DIR__ . '/controllers/tickets/' . $action . '.php';
require __DIR__ . '/views/common/header.php';
require __DIR__ . '/views/common/navbar.php';
-require __DIR__ . '/views/common/sidebar.php';
+// require __DIR__ . '/views/common/sidebar.php';
require __DIR__ . '/views/tickets/' . $action . '.php';
require __DIR__ . '/views/common/footer.php';
diff --git a/src/admin/views/accounts/details.php b/src/admin/views/accounts/details.php
new file mode 100755
index 0000000..dcf03ba
--- /dev/null
+++ b/src/admin/views/accounts/details.php
@@ -0,0 +1,168 @@
+
+
+
+
+ - I18N('home'); ?>
+ - I18N('Account List'); ?>
+ - I18N('Account Details'); ?>
+
+
+
+
+
+
This account is inactive.
+
+
This account has been suspended.
+
+
This account has been deleted.
+
+
+
+
+
+
+ Control Panel Username:
+
+
+
+
+
+ Control Panel Password:
+
+
+
+
+
+
+ Control Panel Domain:
+
+
+
+
+
+ Status:
+
+ Inactive
+
+ Active
+
+ Suspended
+
+ Deleted
+
+
+
+
+
+
+
+
+
+
+ MySQL Hostname:
+
+
+
+
+
+ Mysql Port:
+ 3306
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/admin/views/accounts/edit.php b/src/admin/views/accounts/edit.php
index e61d3ff..1e129a9 100755
--- a/src/admin/views/accounts/edit.php
+++ b/src/admin/views/accounts/edit.php
@@ -1,96 +1,112 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+ - I18N('home'); ?>
+ - I18N('Account List'); ?>
+ - I18N('Account Details'); ?>
+ - I18N('Account Settings'); ?>
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ ID
-
-
-
diff --git a/src/admin/views/accounts/list.php b/src/admin/views/accounts/list.php
index b72ba43..3db8275 100755
--- a/src/admin/views/accounts/list.php
+++ b/src/admin/views/accounts/list.php
@@ -1,58 +1,62 @@
-
-
-
-
-
-
-
- ID |
- I18N('Clients'); ?> |
- I18N('Provider'); ?> |
- I18N('Username'); ?> |
- I18N('Domain'); ?> |
- I18N('Deploy Date'); ?> |
- I18N('Status'); ?> |
- I18N('Action'); ?> |
-
-
+
+
+ - I18N('home'); ?>
+ - I18N('Hosting Accounts'); ?>
+
+
+
+
+
+
+ ID |
+ I18N('Clients'); ?> |
+ I18N('Provider'); ?> |
+ I18N('Username'); ?> |
+ I18N('Domain'); ?> |
+ I18N('Deploy Date'); ?> |
+ I18N('Status'); ?> |
+ I18N('Action'); ?> |
+
+
0): ?>
|
|
-
+
|
|
|
|
- Inactive';
-} elseif ($row['account_status'] == '1') {
- $btn = ['success', 'globe'];
- echo 'Active';
-} elseif ($row['account_status'] == '2') {
- $btn = ['danger', 'lock'];
- echo 'Suspended';
-} elseif ($row['account_status'] == '3') {
- $btn = ['danger', 'lock'];
- echo 'Deleted';
-}
-?> |
+
+ Inactive
+
+ Active
+
+ Suspended
+
+ Deleted
+ |
-
- Manage
+
+ I18N('edit'); ?>
+
+
+ I18N('details'); ?>
|
@@ -62,12 +66,12 @@ if ($row['account_status'] == '0') {
Nothing found |
-
-
-
-
+
+
+
-
diff --git a/src/admin/views/accounts/view.php b/src/admin/views/accounts/view.php
deleted file mode 100755
index af39740..0000000
--- a/src/admin/views/accounts/view.php
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-
-
-
-
This account is inactive.
-
-
This account has been suspended.
-
-
This account has been deleted.
-
-
-
-
-
-
- Control Panel Username:
-
-
-
-
-
- Control Panel Password:
-
-
-
-
-
-
- Control Panel Domain:
-
-
-
-
-
- Status:
-
- Inactive';
-} elseif ($AccountInfo['account_status'] == '1') {
- echo 'Active';
-} elseif ($AccountInfo['account_status'] == '2') {
- echo 'Suspend';
-} elseif ($AccountInfo['account_status'] == '3') {
- echo 'Deleted';
-} ?>
-
-
-
-
-
-
-
-
-
-
- MySQL Hostname:
-
-
-
-
-
- Mysql Port:
- 3306
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/admin/views/clients/add.php b/src/admin/views/clients/add.php
new file mode 100644
index 0000000..50bbab6
--- /dev/null
+++ b/src/admin/views/clients/add.php
@@ -0,0 +1,27 @@
+
+
diff --git a/src/admin/views/clients/details.php b/src/admin/views/clients/details.php
new file mode 100755
index 0000000..bb251f6
--- /dev/null
+++ b/src/admin/views/clients/details.php
@@ -0,0 +1,78 @@
+
+
+
+
+ - I18N('home'); ?>
+ - I18N('Client List'); ?>
+ - I18N('details'); ?>
+
+
+
+
+
+
+ I18N('First Name'); ?> |
+ |
+
+
+ I18N('Last Name'); ?> | |
+
+
+ I18N('Email Address'); ?> | |
+
+
+ I18N('Phone Number'); ?> | |
+
+
+ I18N('Billing Address'); ?> | |
+
+
+ I18N('Company'); ?> | |
+
+
+ I18N('Country'); ?> | |
+
+
+ I18N('City'); ?> | |
+
+
+ Postal Code | |
+
+
+ I18N('Hosting Accounts'); ?> | |
+
+
+ I18N('SSL Certificates'); ?> | |
+
+
+ Support Tickets | |
+
+
+
+
+
+
+
diff --git a/src/admin/views/clients/edit.php b/src/admin/views/clients/edit.php
new file mode 100755
index 0000000..21d440b
--- /dev/null
+++ b/src/admin/views/clients/edit.php
@@ -0,0 +1,73 @@
+
+
diff --git a/src/admin/views/clients/list.php b/src/admin/views/clients/list.php
index af1b4fb..a137d60 100755
--- a/src/admin/views/clients/list.php
+++ b/src/admin/views/clients/list.php
@@ -1,23 +1,30 @@
-
-
-
-
-
-
-
- ID |
- I18N('Name'); ?> |
- I18N('Email'); ?> |
- I18N('Phone'); ?> |
- I18N('Date'); ?> |
- I18N('Status'); ?> |
- I18N('Action'); ?> |
-
-
+
+
+ - I18N('home'); ?>
+ - I18N('Clients List'); ?>
+
+
+
+
+
+
+ ID |
+ I18N('Name'); ?> |
+ I18N('Email'); ?> |
+ I18N('Phone'); ?> |
+ I18N('Date'); ?> |
+ I18N('Status'); ?> |
+ I18N('Action'); ?> |
+
+
0): ?>
@@ -26,21 +33,20 @@
|
|
|
- Inactive';
-} elseif ($value['client_status'] == '1') {
-$btn = ['success', 'globe'];
-echo 'Active';
-} elseif ($value['client_status'] == '2') {
-$btn = ['danger', 'lock'];
-echo 'Suspended';
-}
-?> |
+
+ Inactive
+
+ Active
+
+ Suspended
+
+ |
-
- Manage
+
+ I18N('edit'); ?>
+
+
+ I18N('details'); ?>
|
@@ -50,11 +56,10 @@ echo 'Suspended';
Nothing found |
-
-
+
+
+
+
-
-
-
diff --git a/src/admin/views/clients/view.php b/src/admin/views/clients/view.php
deleted file mode 100755
index cf9ed41..0000000
--- a/src/admin/views/clients/view.php
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
-
-
-
-
- I18N('First Name'); ?>:
-
-
- I18N('Last Name'); ?>:
-
-
- I18N('Email Address'); ?>:
-
-
- I18N('Phone Number'); ?>:
-
-
- I18N('Billing Address'); ?>:
-
-
- I18N('Company'); ?>:
-
-
- I18N('Country'); ?>:
-
-
- I18N('City'); ?>:
-
-
- Postal Code:
-
-
- I18N('Hosting Accounts'); ?>:
-
-
- I18N('SSL Certificates'); ?>:
-
-
- Support Tickets:
-
-
-
-
-
-
-
-
diff --git a/src/admin/views/common/footer.php b/src/admin/views/common/footer.php
index 4a52d80..00440e9 100755
--- a/src/admin/views/common/footer.php
+++ b/src/admin/views/common/footer.php
@@ -1,10 +1,36 @@
-
+
+
-
-
-
+
+
+
@@ -19,5 +45,5 @@
-