This commit is contained in:
Jackson Dou 2022-12-13 00:53:14 +08:00
parent f154e90369
commit a3b34f5745
7 changed files with 10 additions and 6 deletions

View file

@ -1,4 +1,4 @@
<?php
require_once __DIR__ . '/../core/application.php';
require_once ROOT . '/core/admin.php';
require_once ROOT . '/core/adminarea.php';

View file

@ -1,6 +1,6 @@
<?php
$PageInfo['title'] = 'Home Page';
$PageInfo['title'] = 'Dashboard';
$count_clients = $DB->count('clients', null);
$count_account = $DB->count('account', array('account_status' => 1));
$count_ssl = $DB->count('ssl');

View file

@ -14,7 +14,7 @@
<meta name="author" content="UIISC" />
<meta name="copyright" content="® CROGRAM" />
<title><?php echo $PageInfo['title']; ?> - <?php echo $SiteConfig['site_name']; ?> Admin</title>
<title><?php echo $PageInfo['title']; ?> - <?php echo $lang->I18N('AdminArea'); ?> - <?php echo $SiteConfig['site_name']; ?></title>
<link rel="icon" type="image/x-icon" href="<?php echo $site_url; ?>/assets/image/favicon.ico">
<link rel="shortcut" type="image/x-icon" href="<?php echo $site_url; ?>/assets/image/favicon.ico">

View file

@ -2,7 +2,7 @@
<div class="page-wrapper with-navbar with-sidebar" data-sidebar-type="overlayed-sm-and-down">
<nav class="navbar">
<div class="container-fluid">
<a href="index.php" class="navbar-brand"><?php echo $SiteConfig['site_name']; ?></a>
<a href="index.php" class="navbar-brand"><?php echo $lang->I18N('Admin Area'); ?></a>
<ul class="navbar-nav ml-auto">
<li class="nav-item nav-height">
<button class="btn btn-sm my-auto" role="button" onclick="halfmoon.toggleDarkMode()">
@ -22,6 +22,8 @@
<i class="fa fa-user"></i>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="nav-link-dropdown-toggle">
<a href="<?php echo $site_url; ?>" class="dropdown-item" target="_blank"><?php echo $lang->I18N('Home'); ?></a>
<div class="dropdown-divider"></div>
<a href="profile.php" class="dropdown-item"><?php echo $lang->I18N('Profile'); ?></a>
<a href="settings.php" class="dropdown-item"><?php echo $lang->I18N('Settings'); ?></a>
<a href="logout.php" class="dropdown-item"><?php echo $lang->I18N('logout'); ?></a>

View file

@ -14,7 +14,7 @@
<meta name="author" content="UIISC" />
<meta name="copyright" content="® CROGRAM" />
<title><?php echo $PageInfo['title']; ?> - <?php echo $SiteConfig['site_name']; ?></title>
<title><?php echo $PageInfo['title']; ?> - <?php echo $lang->I18N('ClientArea'); ?> - <?php echo $SiteConfig['site_name']; ?></title>
<link rel="icon" type="image/x-icon" href="<?php echo $site_url; ?>/assets/image/favicon.ico">
<link rel="shortcut" type="image/x-icon" href="<?php echo $site_url; ?>/assets/image/favicon.ico">

View file

@ -2,7 +2,7 @@
<div class="page-wrapper with-navbar with-sidebar" data-sidebar-type="overlayed-sm-and-down">
<nav class="navbar">
<div class="container-fluid">
<a href="index.php" class="navbar-brand"><?php echo $SiteConfig['site_name']; ?></a>
<a href="index.php" class="navbar-brand"><?php echo $lang->I18N('Client Area'); ?></a>
<ul class="navbar-nav ml-auto">
<li class="nav-item nav-height">
<button class="btn btn-sm my-auto" role="button" onclick="halfmoon.toggleDarkMode()">
@ -22,6 +22,8 @@
<i class="fa fa-user"></i>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="nav-link-dropdown-toggle">
<a href="<?php echo $site_url; ?>" class="dropdown-item" target="_blank"><?php echo $lang->I18N('Home'); ?></a>
<div class="dropdown-divider"></div>
<a href="profile.php" class="dropdown-item"><?php echo $lang->I18N('Profile'); ?></a>
<a href="settings.php" class="dropdown-item"><?php echo $lang->I18N('Settings'); ?></a>
<a href="logout.php" class="dropdown-item"><?php echo $lang->I18N('logout'); ?></a>