update to v2.0.2
This commit is contained in:
parent
589d349226
commit
097726c785
114 changed files with 5442 additions and 806 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
An Open Source Web Hosting Account and Support Management System for MyOwnFreeHost
|
||||
|
||||
- Demo : [demo.uiisc.com](http://demo.uiisc.com)
|
||||
- Official Site : [uiisc.org](http://uiisc.org "UIISC")
|
||||
- Author : [Jackson Dou](https://github.com/jksdou "Jackson Dou")
|
||||
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
<?php
|
||||
require __DIR__ . '/core/application.php';
|
||||
require __DIR__ . '/core/controllers/about.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/about.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/about.php';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
$PageInfo['title'] = 'My Clients';
|
||||
$PageInfo['title'] = $lang->I18N('My Clients');
|
||||
|
||||
$count = $DB->count('clients');
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ if (!defined('IN_CRONLITE')) {
|
|||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$PageInfo['title'] = 'SSL Certificates';
|
||||
$PageInfo['title'] = $lang->I18N('SSL Certificates');
|
||||
|
||||
$count = $DB->count('ssl');
|
||||
if ($count > 0) {
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<h5 class="m-0">Hosting Account Settings</h5>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h5 class="m-0"><?php echo $lang->I18N('Hosting Account Settings'); ?></h5>
|
||||
<a href="accounts.php?action=view&account_id=<?php echo $account_id; ?>" class="btn btn-danger btn-sm">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="mb-15">
|
||||
<hr />
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
|
@ -34,12 +35,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12"><hr></div>
|
||||
<div class="col-md-12"><hr /></div>
|
||||
<?php if ($AccountInfo['account_status'] == '1'): ?>
|
||||
<form class="row" action="controllers/accounts/password.php" method="post">
|
||||
<input type="hidden" name="account_id" value="<?php echo $account_id; ?>">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<div class="pb-10 px-10">
|
||||
<label class="form-label required">New Password</label>
|
||||
<input type="password" name="new_password" placeholder="New password here..." class="form-control">
|
||||
</div>
|
||||
|
@ -92,3 +93,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,21 +1,23 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h5 class="m-0"><?php echo $PageInfo['title']; ?></h5>
|
||||
<a href="index.php" class="btn text-white btn-danger btn-sm">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped">
|
||||
<div class="card-body table-responsive">
|
||||
<table class="table table-stripped table-bordered table-hover">
|
||||
<thead>
|
||||
<th width="5%">ID</th>
|
||||
<th width="40%">Username</th>
|
||||
<th width="30%">Domain</th>
|
||||
<th width="5%">Deploy Date</th>
|
||||
<th width="5%">Status</th>
|
||||
<th width="5%">Action</th>
|
||||
<th>ID</th>
|
||||
<th><?php echo $lang->I18N('Username'); ?></th>
|
||||
<th><?php echo $lang->I18N('Domain'); ?></th>
|
||||
<th><?php echo $lang->I18N('Deploy Date'); ?></th>
|
||||
<th><?php echo $lang->I18N('Status'); ?></th>
|
||||
<th><?php echo $lang->I18N('Action'); ?></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ($count > 0): ?>
|
||||
|
@ -52,6 +54,7 @@ if ($row['account_status'] == '0') {
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p class="pb-10"><?php echo $count; ?> Records Founds</p>
|
||||
<div class="card-footer"><?php echo $count; ?> Records Founds</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,25 +1,27 @@
|
|||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<h5 class="m-0">cPanel Login</h5>
|
||||
<a href="accounts.php?action=view&account_id=<?php echo $account_id; ?>" class="btn btn-danger btn-sm">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="mb-15">
|
||||
<p>Now you are going to be redirected to the control panel. It can take upto 5 seconds based on your internet connecion speed.</p>
|
||||
<form name="login" action="https://<?php echo $HostingApi['api_cpanel_url'] ?>/login.php" id="account_ogin" method="post">
|
||||
<input type="hidden" name="uname" value="<?php echo $AccountInfo['account_username']; ?>">
|
||||
<input type="hidden" name="passwd" value="<?php echo $AccountInfo['account_password']; ?>">
|
||||
<input type="hidden" name="language" value="<?php echo $lang->get_language_value(); ?>">
|
||||
<div class="text-center">
|
||||
<input type="submit" name="Submit" value="Click here to Redirect" class="btn btn-primary btn-sm text-white">
|
||||
</div>
|
||||
</form>
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $lang->I18N('Login to Control Panel'); ?></h3>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="card-body">
|
||||
<p>Now you are going to be redirected to the control panel. It can take upto 5 seconds based on your internet connecion speed.</p>
|
||||
<form name="login" action="https://<?php echo $HostingApi['api_cpanel_url'] ?>/login.php" id="account_ogin" method="post">
|
||||
<input type="hidden" name="uname" value="<?php echo $AccountInfo['account_username']; ?>">
|
||||
<input type="hidden" name="passwd" value="<?php echo $AccountInfo['account_password']; ?>">
|
||||
<input type="hidden" name="language" value="<?php echo $lang->get_language_value(); ?>">
|
||||
<div class="text-center">
|
||||
<a class="btn btn-danger btn-sm" href="accounts.php?action=view&account_id=<?php echo $account_id; ?>">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('cancel'); ?>
|
||||
</a>
|
||||
<input type="submit" name="Submit" value="Click here to Redirect" class="btn btn-primary btn-sm text-white">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
document.getElementById('account_ogin').submit(); // SUBMIT FORM
|
||||
// document.getElementById('account_ogin').submit(); // SUBMIT FORM
|
||||
</script>
|
||||
|
|
|
@ -1,127 +1,145 @@
|
|||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h5 class="m-0">Viewing Account (# <?php echo $account_id; ?>)</h5>
|
||||
<a href="accounts.php" class="btn btn-sm btn-danger">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<?php if ($AccountInfo['account_status'] == '0'): ?>
|
||||
<div class="alert alert-secondary col-md-12">This account is inactive.</div>
|
||||
<?php elseif ($AccountInfo['account_status'] == '2'): ?>
|
||||
<div class="alert alert-secondary col-md-12">This account has been suspended.</div>
|
||||
<?php endif;?>
|
||||
<div class="row pb-10">
|
||||
<div class="col-md-12">
|
||||
<div class="row">
|
||||
<div class="col-md-4 px-5 text-center py-15">
|
||||
<i class="fa fa-laptop fa-10x"></i>
|
||||
</div>
|
||||
<div class="col-md-4 offset-md-4 px-20 py-5 text-center text-md-right">
|
||||
<?php if ($AccountInfo['account_status'] == '1'): ?>
|
||||
<a href="accounts.php?action=login&account_id=<?php echo $account_id; ?>" target="_blank" class="btn btn-success text-white btn-block my-5 btn-rounded">Control Panel</a>
|
||||
<a href="accounts.php?action=goftp&account_id=<?php echo $account_id; ?>" target="_blank" class="btn btn-primary text-white btn-block my-5 btn-rounded">File Manager</a>
|
||||
<?php else: ?>
|
||||
<button class="btn btn-success text-white btn-block my-5 btn-rounded disabled">Control Panel</button>
|
||||
<button class="btn btn-primary text-white btn-block my-5 btn-rounded disabled">File Manager</button>
|
||||
<?php endif;?>
|
||||
<a href="accounts.php?action=edit&account_id=<?php echo $account_id; ?>" class="btn btn-secondary btn-block my-5 btn-rounded">Edit Settings</a>
|
||||
<hr />
|
||||
<div class="card-body">
|
||||
<?php if ($AccountInfo['account_status'] == '0'): ?>
|
||||
<div class="alert alert-secondary col-md-12">This account is inactive.</div>
|
||||
<?php elseif ($AccountInfo['account_status'] == '2'): ?>
|
||||
<div class="alert alert-secondary col-md-12">This account has been suspended.</div>
|
||||
<?php endif;?>
|
||||
<div class="row pb-10">
|
||||
<div class="col-md-12 pb-10 mb-10">
|
||||
<div class="row">
|
||||
<div class="col-md-6 px-5 text-center py-15">
|
||||
<i class="fa fa-laptop fa-10x"></i>
|
||||
</div>
|
||||
<div class="col-md-6 py-5 text-center text-md-right">
|
||||
<?php if ($AccountInfo['account_status'] == '1'): ?>
|
||||
<a href="accounts.php?action=login&account_id=<?php echo $account_id; ?>" target="_blank" class="btn btn-success text-white btn-block my-5 btn-rounded"><?php echo $lang->I18N('Control Panel'); ?></a>
|
||||
<a href="accounts.php?action=goftp&account_id=<?php echo $account_id; ?>" target="_blank" class="btn btn-primary text-white btn-block my-5 btn-rounded"><?php echo $lang->I18N('File Manager'); ?></a>
|
||||
<?php else: ?>
|
||||
<button class="btn btn-success text-white btn-block my-5 btn-rounded disabled"><?php echo $lang->I18N('Control Panel'); ?></button>
|
||||
<button class="btn btn-primary text-white btn-block my-5 btn-rounded disabled"><?php echo $lang->I18N('File Manager'); ?></button>
|
||||
<?php endif;?>
|
||||
<a href="accounts.php?action=edit&account_id=<?php echo $account_id; ?>" class="btn btn-secondary btn-block my-5 btn-rounded"><?php echo $lang->I18N('Edit Settings'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Cpanel Username:</b>
|
||||
<span><?php echo $AccountInfo['account_username']; ?></span>
|
||||
<hr />
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="m-5">
|
||||
<b>Cpanel Username:</b>
|
||||
<span><?php echo $AccountInfo['account_username']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Cpanel Password:</b>
|
||||
<span><kbd><?php echo $AccountInfo['account_password']; ?></kbd></span>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Cpanel Password:</b>
|
||||
<span><kbd><?php echo $AccountInfo['account_password']; ?></kbd></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Main Domain:</b>
|
||||
<span><?php echo $AccountInfo['account_domain']; ?></span>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Main Domain:</b>
|
||||
<span><?php echo $AccountInfo['account_domain']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Cpanel Domain:</b>
|
||||
<span><?php echo $HostingApi['api_cpanel_url']; ?></span>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Cpanel Domain:</b>
|
||||
<span><?php echo $HostingApi['api_cpanel_url']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Status:</b>
|
||||
<span>
|
||||
<?php if ($AccountInfo['account_status'] == '0') {
|
||||
<div class="col-md-4 col-sm-6 col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Status:</b>
|
||||
<span>
|
||||
<?php if ($AccountInfo['account_status'] == '0') {
|
||||
echo '<span class="badge bg-secondary">Inactive</span>';
|
||||
} elseif ($AccountInfo['account_status'] == '1') {
|
||||
echo '<span class="badge bg-success">Active</span>';
|
||||
} elseif ($AccountInfo['account_status'] == '2') {
|
||||
echo '<span class="badge bg-danger">Suspend</span>';
|
||||
}?>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Creation Date:</b>
|
||||
<span><?php echo $AccountInfo['account_date']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Server IP:</b>
|
||||
<span><?php echo $HostingApi['api_server_ip']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Your IP:</b>
|
||||
<span><?php echo UserInfo::get_ip() ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>FTP Hostname:</b>
|
||||
<span><?php echo str_replace('cpanel', 'ftp', $HostingApi['api_cpanel_url']) ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>FTP Port:</b>
|
||||
<span>21</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>MySQL Hostname:</b>
|
||||
<span><?php echo str_replace('cpanel', 'sqlxxx', $HostingApi['api_cpanel_url']) ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Mysql Port:</b>
|
||||
<span>3306</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Nameserver 1:</b>
|
||||
<span><?php echo $HostingApi['api_ns_1']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Nameserver 2:</b>
|
||||
<span><?php echo $HostingApi['api_ns_2']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="card-footer">
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Creation Date:</b>
|
||||
<span><?php echo $AccountInfo['account_date']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Server IP:</b>
|
||||
<span><?php echo $HostingApi['api_server_ip']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Your IP:</b>
|
||||
<span><?php echo UserInfo::get_ip() ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>FTP Hostname:</b>
|
||||
<span><?php echo str_replace('cpanel', 'ftp', $HostingApi['api_cpanel_url']) ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>FTP Port:</b>
|
||||
<span>21</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>MySQL Hostname:</b>
|
||||
<span><?php echo str_replace('cpanel', 'sqlxxx', $HostingApi['api_cpanel_url']) ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Mysql Port:</b>
|
||||
<span>3306</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Nameserver 1:</b>
|
||||
<span><?php echo $HostingApi['api_ns_1']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center m-5">
|
||||
<b>Nameserver 2:</b>
|
||||
<span><?php echo $HostingApi['api_ns_2']; ?></span>
|
||||
</div>
|
||||
<?php if ($AccountInfo['account_status'] == '1'): ?>
|
||||
<a href="accounts.php?action=login&account_id=<?php echo $account_id; ?>" target="_blank" class="btn btn-success text-white m-5 btn-rounded">Control Panel</a>
|
||||
<a href="accounts.php?action=goftp&account_id=<?php echo $account_id; ?>" target="_blank" class="btn btn-primary text-white m-5 btn-rounded">File Manager</a>
|
||||
<?php else: ?>
|
||||
<button class="btn btn-success text-white m-5 btn-rounded disabled">Control Panel</button>
|
||||
<button class="btn btn-primary text-white m-5 btn-rounded disabled">File Manager</button>
|
||||
<?php endif;?>
|
||||
<a href="accounts.php?action=edit&account_id=<?php echo $account_id; ?>" class="btn btn-secondary m-5 btn-rounded">Edit Settings</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,23 +1,24 @@
|
|||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<h5 class="m-0">My Clients</h5>
|
||||
<a href="index.php" class="btn text-white btn-danger btn-sm"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?></a>
|
||||
<div class="card m-20 p-20">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $lang->I18N('My Clients'); ?></h3>
|
||||
<a href="index.php" class="btn btn-danger btn-sm pull-right"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?></a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped">
|
||||
<hr />
|
||||
<div class="card-body table-responsive">
|
||||
<table class="table table-stripped table-bordered table-hover">
|
||||
<thead>
|
||||
<th width="5%">ID</th>
|
||||
<th width="10%">Name</th>
|
||||
<th width="40%">Email</th>
|
||||
<th width="10%">Date</th>
|
||||
<th width="10%">Status</th>
|
||||
<th width="10%">Action</th>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Date</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ($count > 0): ?>
|
||||
<?php foreach ($rows as $value): ?>
|
||||
<?php foreach ($rows as $value): ?>
|
||||
<tr>
|
||||
<td># <?php echo $value['client_id']; ?></td>
|
||||
<td><?php echo $value['client_fname'] . " " . $value['client_lname']; ?></td>
|
||||
|
@ -25,14 +26,14 @@
|
|||
<td><?php echo $value['client_date']; ?></td>
|
||||
<td><?php
|
||||
if ($value['client_status'] == '0') {
|
||||
$btn = ['secondary', 'cog'];
|
||||
echo '<span class="badge bg-secondary badge-pill">Inactive</span>';
|
||||
$btn = ['secondary', 'cog'];
|
||||
echo '<span class="badge bg-secondary badge-pill">Inactive</span>';
|
||||
} elseif ($value['client_status'] == '1') {
|
||||
$btn = ['success', 'globe'];
|
||||
echo '<span class="badge bg-success badge-pill">Active</span>';
|
||||
$btn = ['success', 'globe'];
|
||||
echo '<span class="badge bg-success badge-pill">Active</span>';
|
||||
} elseif ($value['client_status'] == '2') {
|
||||
$btn = ['danger', 'lock'];
|
||||
echo '<span class="badge bg-danger badge-pill">Suspended</span>';
|
||||
$btn = ['danger', 'lock'];
|
||||
echo '<span class="badge bg-danger badge-pill">Suspended</span>';
|
||||
}
|
||||
?></td>
|
||||
<td>
|
||||
|
@ -41,7 +42,7 @@ if ($value['client_status'] == '0') {
|
|||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
<?php endforeach;?>
|
||||
<?php else: ?>
|
||||
<tr>
|
||||
<td colspan="6" class="text-center">Nothing found</td>
|
||||
|
@ -50,6 +51,8 @@ if ($value['client_status'] == '0') {
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p class="pb-10"><?php echo $count; ?> Records Founds</p>
|
||||
<hr />
|
||||
<div class="card-footer"><?php echo $count; ?> Records Founds.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,58 +1,63 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-15">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<h5 class="m-0">Client Information</h5>
|
||||
<div class="card m-20 p-20">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0">Client Information</h3>
|
||||
<a href="clients.php" class="btn btn-danger btn-sm">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('First Name'); ?>:</b> <?php echo $ClientInfo['client_fname']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Last Name'); ?>:</b> <?php echo $ClientInfo['client_lname']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Email Address'); ?>:</b> <?php echo $ClientInfo['client_email']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Phone Number:</b> <?php echo $ClientInfo['client_phone']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Billing Address'); ?>:</b> <?php echo $ClientInfo['client_address']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Company'); ?>:</b> <?php echo $ClientInfo['client_company']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Country'); ?>:</b> <?php echo $CountryName; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('City'); ?>:</b> <?php echo $ClientInfo['client_city']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Postal Code:</b> <?php echo $ClientInfo['client_pcode']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Hosting Accounts'); ?>:</b> <?php echo $count_account; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>SSL Certificates:</b> <?php echo $count_ssl; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Support Tickets:</b> <?php echo $count_tickets; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-12 py-5">
|
||||
<a href="clients.php?action=login&client_id=<?php echo $ClientInfo['client_id'] ?>" target="_blank" class="btn m5t btn-sm btn-primary">Login as <?php echo $ClientInfo['client_fname'] ?></a>
|
||||
<?php if ($ClientInfo['client_status'] !== '1'): ?>
|
||||
<a href="controllers/clients/activate.php?client_id=<?php echo $ClientInfo['client_id']; ?>" class="btn m5t btn-sm btn-success text-white">Mark as Active</a>
|
||||
<?php else: ?>
|
||||
<a href="controllers/clients/suspend.php?client_id=<?php echo $ClientInfo['client_id']; ?>" class="btn m5t btn-sm btn-secondary">Mark as Suspended</a>
|
||||
<?php endif; ?>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('First Name'); ?>:</b> <?php echo $ClientInfo['client_fname']; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('Last Name'); ?>:</b> <?php echo $ClientInfo['client_lname']; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('Email Address'); ?>:</b> <?php echo $ClientInfo['client_email']; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b>Phone Number:</b> <?php echo $ClientInfo['client_phone']; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('Billing Address'); ?>:</b> <?php echo $ClientInfo['client_address']; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('Company'); ?>:</b> <?php echo $ClientInfo['client_company']; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('Country'); ?>:</b> <?php echo $CountryName; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('City'); ?>:</b> <?php echo $ClientInfo['client_city']; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b>Postal Code:</b> <?php echo $ClientInfo['client_pcode']; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('Hosting Accounts'); ?>:</b> <?php echo $count_account; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b><?php echo $lang->I18N('SSL Certificates'); ?>:</b> <?php echo $count_ssl; ?>
|
||||
</div>
|
||||
<div class="col-md-6 mb-10">
|
||||
<b>Support Tickets:</b> <?php echo $count_tickets; ?>
|
||||
</div>
|
||||
<div class="col-md-12"><hr /></div>
|
||||
<div class="col-md-12 py-5">
|
||||
<a href="clients.php?action=login&client_id=<?php echo $ClientInfo['client_id'] ?>" target="_blank" class="btn btn-primary">Login as <?php echo $ClientInfo['client_fname'] ?></a>
|
||||
<?php if ($ClientInfo['client_status'] !== '1'): ?>
|
||||
<a href="controllers/clients/activate.php?client_id=<?php echo $ClientInfo['client_id']; ?>" class="btn btn-success text-white">Mark as Active</a>
|
||||
<?php else: ?>
|
||||
<a href="controllers/clients/suspend.php?client_id=<?php echo $ClientInfo['client_id']; ?>" class="btn btn-secondary">Mark as Suspended</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card text-center">
|
||||
<h1 class="mb-0">404</h1>
|
||||
<h5 class="mb-0">Not Found</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,7 +1,9 @@
|
|||
<div class="container-fluid">
|
||||
<div class="card text-center">
|
||||
<h1 class="mb-0">503</h1>
|
||||
<h5 class="mb-0">Unathorized Access</h5>
|
||||
<p>You are trying to access a page which is not allowed to be displayed to an unauthorized user.</p>
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card text-center">
|
||||
<h1 class="mb-0">503</h1>
|
||||
<h5 class="mb-0">Unathorized Access</h5>
|
||||
<p>You are trying to access a page which is not allowed to be displayed to an unauthorized user.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,9 +1,10 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="hidden-area"><?php getMessage(); ?></div>
|
||||
|
||||
<script src="<?php echo $site_url; ?>/assets/jquery/jquery.min.js"></script>
|
||||
<!-- <script src="<?php echo $site_url; ?>/assets/bootstrap/js/bootstrap.min.js?_=<?php echo $static_release; ?>"></script> -->
|
||||
<script src="<?php echo $site_url; ?>/assets/js/halfmoon.min.js"></script>
|
||||
<!-- <script src="<?php echo $site_url; ?>/assets/ui/js/main.min.js"></script> -->
|
||||
<script src="<?php echo $site_url; ?>/assets/js/common.js"></script>
|
||||
|
||||
<?php if (!empty($load_editor)): ?>
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
|
||||
<?php echo $PageInfo['rel']; ?>
|
||||
|
||||
<!-- <link href="<?php echo $site_url; ?>/assets/bootstrap/css/bootstrap.min.css?_=<?php echo $static_release; ?>" rel="stylesheet" /> -->
|
||||
<link href="<?php echo $site_url; ?>/assets/css/font-awesome.min.css" rel="stylesheet" />
|
||||
<!-- <link href="<?php echo $site_url; ?>/assets/ui/css/style.min.css" rel="stylesheet" /> -->
|
||||
|
||||
<link href="<?php echo $site_url; ?>/assets/css/halfmoon.min.css" rel="stylesheet" />
|
||||
<link href="<?php echo $site_url; ?>/assets/css/all.min.css" rel="stylesheet" />
|
||||
<link href="<?php echo $site_url; ?>/assets/css/style.css" rel="stylesheet" />
|
||||
|
@ -31,3 +35,4 @@
|
|||
</head>
|
||||
|
||||
<body class="with-custom-webkit-scrollbars with-custom-css-scrollbars" data-dm-shortcut-enabled="true" data-sidebar-shortcut-enabled="true" data-set-preferred-theme-onload="true">
|
||||
<div class="page-wrapper with-navbar with-sidebar" data-sidebar-type="overlayed-sm-and-down">
|
||||
|
|
|
@ -1,40 +1,37 @@
|
|||
|
||||
<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 $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()">
|
||||
<i class="fas fa-sun"></i>
|
||||
</button>
|
||||
</li>
|
||||
<div class="nav-item nav-height dropdown with-arrow">
|
||||
<button class="btn" data-toggle="dropdown" type="button" id="language-change-toggle" aria-haspopup="true" aria-expanded="false">
|
||||
<?php echo $lang->get_language_name(); ?> <i class="fa fa-angle-up ml-5" aria-hidden="true"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu language-change" aria-labelledby="language-change-toggle">
|
||||
<?php echo $lang->get_languages_tags(); ?>
|
||||
</div>
|
||||
<nav class="navbar">
|
||||
<div class="container-fluid">
|
||||
<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()">
|
||||
<i class="fas fa-sun"></i>
|
||||
</button>
|
||||
</li>
|
||||
<!-- 语言 -->
|
||||
<div class="nav-item nav-height dropdown with-arrow">
|
||||
<button class="btn" data-toggle="dropdown" type="button" id="language-change-toggle" aria-haspopup="true" aria-expanded="false">
|
||||
<?php echo $lang->get_language_name(); ?> <i class="fa fa-angle-up ml-5" aria-hidden="true"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu language-change" aria-labelledby="language-change-toggle">
|
||||
<?php echo $lang->get_languages_tags(); ?>
|
||||
</div>
|
||||
<li class="nav-item nav-height dropdown with-arrow">
|
||||
<a class="btn btn-sm m5x" data-toggle="dropdown" id="nav-link-dropdown-toggle">
|
||||
<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>
|
||||
<div class="dropdown-divider"></div>
|
||||
<div class="dropdown-content">
|
||||
<button class="btn btn-block" role="button" onclick="halfmoon.toggleDarkMode()"><i class="fa fa-sun"></i> Theme</button>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item nav-height hidden-on-up">
|
||||
<button class="btn btn-sm my-auto" onclick="halfmoon.toggleSidebar()"><i class="fa fa-bars"></i></button>
|
||||
</li>
|
||||
</div>
|
||||
</nav>
|
||||
<li class="nav-item nav-height dropdown with-arrow">
|
||||
<a class="btn btn-sm m5x" data-toggle="dropdown" id="nav-link-dropdown-toggle">
|
||||
<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>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a href="logout.php" class="dropdown-item"><?php echo $lang->I18N('logout'); ?></a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item nav-height hidden-on-up">
|
||||
<button class="btn btn-sm my-auto" onclick="halfmoon.toggleSidebar()"><i class="fa fa-bars"></i></button>
|
||||
</li>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
$avatar_path = $AdminInfo['admin_email'] ? md5($AdminInfo['admin_email']) : 'default';
|
||||
?>
|
||||
|
||||
<!-- Sidebar Start -->
|
||||
<div class="sidebar-overlay" onclick="halfmoon.toggleSidebar()"></div>
|
||||
|
||||
<div class="sidebar">
|
||||
<div class="sidebar-menu">
|
||||
<h5 class="sidebar-title"><?php echo $lang->I18N('Logged in as'); ?>:</h5>
|
||||
|
@ -15,9 +15,9 @@ $avatar_path = $AdminInfo['admin_email'] ? md5($AdminInfo['admin_email']) : 'def
|
|||
<?php echo $AdminInfo['admin_fname'] . " " . $AdminInfo['admin_lname']; ?>
|
||||
|
||||
</a>
|
||||
<h5 class="sidebar-title">Main Menu</h5>
|
||||
<h5 class="sidebar-title"><?php echo $lang->I18N('Main Menu'); ?></h5>
|
||||
<div class="sidebar-divider"></div>
|
||||
<a href="index.php" class="sidebar-link sidebar-link-with-icon">
|
||||
<a href="./" class="sidebar-link sidebar-link-with-icon">
|
||||
<span class="sidebar-icon bg-transparent"><i class="fa fa-home" aria-hidden="true"></i></span>
|
||||
<?php echo $lang->I18N('home'); ?>
|
||||
</a>
|
||||
|
@ -31,7 +31,7 @@ $avatar_path = $AdminInfo['admin_email'] ? md5($AdminInfo['admin_email']) : 'def
|
|||
</a>
|
||||
<a href="sslcert.php" class="sidebar-link sidebar-link-with-icon">
|
||||
<span class="sidebar-icon bg-transparent"><i class="fa fa-shield-alt" aria-hidden="true"></i></span>
|
||||
SSL Certificates
|
||||
<?php echo $lang->I18N('SSL Certificates'); ?>
|
||||
</a>
|
||||
<a href="accounts.php" class="sidebar-link sidebar-link-with-icon">
|
||||
<span class="sidebar-icon bg-transparent"><i class="fa fa-shopping-cart" aria-hidden="true"></i></span>
|
||||
|
@ -54,6 +54,10 @@ $avatar_path = $AdminInfo['admin_email'] ? md5($AdminInfo['admin_email']) : 'def
|
|||
<?php echo $lang->I18N('logout'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<div class="sidebar-footer">
|
||||
<p class="copyright text-center">
|
||||
© <?php echo date("Y") ?> <a target="_blank" href="https://uiisc.org">UIISC</a> All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content-wrapper">
|
||||
<!-- Sidebar End -->
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-3">
|
||||
|
@ -46,68 +48,79 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<div class="card m-20">
|
||||
<h2 class="card-title">Welcome to Dear Admin!</h2>
|
||||
<p>
|
||||
Here you can manage your free hosting clients and free ssl with free support system remember that any action in this system cannot be undo.
|
||||
</p>
|
||||
<div class="text-right">
|
||||
<a href="accounts.php" class="btn btn-sm">Getting Started</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mx-20 my-10 p-15">
|
||||
<div class="card-header d-flex justify-content-between align-items-center px-0 pt-0">
|
||||
<h3 class="m-0">System information</h3>
|
||||
<a href="settings.php" class="btn btn-danger">Settings</a>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card m-20">
|
||||
<h2 class="card-title">Free SSL Available!</h2>
|
||||
<p>
|
||||
Now generation of free ssl has been allowed in order to provide fast website access and increase the security and protection of your website.
|
||||
</p>
|
||||
<div class="text-right">
|
||||
<a href="ssl.php" class="btn btn-sm">Check Now</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Version:</b> <?php echo APP_VERSION; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Status:</b> <?php if ($SiteConfig['site_status'] == 1) {echo '<span class="badge badge-success">Live</span>';} elseif ($SiteConfig['site_status'] == 0) {echo '<span class="badge badge-secondary">Maintaince</span>';}?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Site Name:</b> <?php echo $SiteConfig['site_name']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Brand Name:</b> <?php echo $SiteConfig['site_brand']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Company Name:</b> <?php echo $SiteConfig['site_company']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>URI:</b> <?php echo $SiteConfig['site_path']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Contact Email:</b> <?php echo $SiteConfig['site_email']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>PHP Version:</b> <?php echo PHP_VERSION; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Server Protocol:</b> <?php echo HTTP_PROTOCOL; ?></p>
|
||||
</div>
|
||||
<!-- <div class="col-md-12"><hr></div> -->
|
||||
<div class="col-md-12">
|
||||
<p class="mb-0"><b>Document Root:</b> <?php echo $_SERVER['DOCUMENT_ROOT'] ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card m-20">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<h5 class="m-0">System information</h5>
|
||||
<a href="settings.php" class="btn btn-danger btn-sm">Settings</a>
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<div class="card mx-20 my-10 p-15">
|
||||
<div class="card-header">
|
||||
<h4 class="m-0">Welcome to Dear Admin!</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>
|
||||
Here you can manage your free hosting clients and free ssl with free support system remember that any action in this system cannot be undo.
|
||||
</p>
|
||||
<div class="text-right">
|
||||
<a href="accounts.php" class="btn btn-default">Getting Started</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Version:</b> <?php echo APP_VERSION; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Status:</b> <?php if ($SiteConfig['site_status'] == 1) {echo '<span class="badge badge-success">Live</span>';} elseif ($SiteConfig['site_status'] == 0) {echo '<span class="badge badge-secondary">Maintaince</span>';}?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Site Name:</b> <?php echo $SiteConfig['site_name']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Brand Name:</b> <?php echo $SiteConfig['site_brand']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Company Name:</b> <?php echo $SiteConfig['site_company']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>URI:</b> <?php echo $SiteConfig['site_path']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Contact Email:</b> <?php echo $SiteConfig['site_email']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>PHP Version:</b> <?php echo PHP_VERSION; ?></p>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<p class="mb-0"><b>Server Protocol:</b> <?php echo HTTP_PROTOCOL; ?></p>
|
||||
</div>
|
||||
<!-- <div class="col-md-12"><hr></div> -->
|
||||
<div class="col-md-12">
|
||||
<p class="mb-0"><b>Document Root:</b> <?php echo $_SERVER['DOCUMENT_ROOT'] ?></p>
|
||||
<div class="col-lg-6">
|
||||
<div class="card mx-20 my-10 p-15">
|
||||
<div class="card-header">
|
||||
<h4 class="m-0">Free SSL Available!</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>
|
||||
Now generation of free ssl has been allowed in order to provide fast website access and increase the security and protection of your website.
|
||||
</p>
|
||||
<div class="text-right">
|
||||
<a href="ssl.php" class="btn btn-default">Check Now</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,31 +1,29 @@
|
|||
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center px-5 pt-15">
|
||||
<h5 class="m-0"><?php echo $PageInfo['title']; ?></h5>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $PageInfo['title']; ?></h3>
|
||||
<a href="index.php" class="btn btn-danger btn-sm">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return');?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<form action="controllers/domain/add.php" method="post">
|
||||
<hr />
|
||||
<form class="card-body" action="controllers/domain/add.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="mb-5 px-10">
|
||||
<label class="form-label required">Add Domain Extension</label>
|
||||
<div class="input-group">
|
||||
<input type="text" name="domain" id="cudomain" class="form-control" placeholder="eg .example.com">
|
||||
<div class="input-group-append">
|
||||
<button name="submit" class="btn btn-primary">Register</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label required">Add Domain Extension</label>
|
||||
<input type="text" name="domain" id="cudomain" class="form-control" placeholder="eg .example.com">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label required">Add Domain Extension</label>
|
||||
<button name="submit" class="btn btn-primary">Register</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<h6 class="mb-5 px-10">Registered Extensions</h6>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped">
|
||||
<div class="card-body table-responsive">
|
||||
<h4 class="mb-5">Registered Extensions</h4>
|
||||
<table class="table table-stripped table-bordered table-hover">
|
||||
<thead>
|
||||
<th width="10%">ID</th>
|
||||
<th width="75%">Domain</th>
|
||||
|
@ -53,6 +51,8 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p class="pb-10"><?php echo $count; ?> Records Founds</p>
|
||||
<hr />
|
||||
<div class="card-footer"><?php echo $count; ?> Records Founds</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center px-5 pt-15">
|
||||
<h5 class="m-0"><?php echo $PageInfo['title']; ?></h5>
|
||||
<a href="index.php" class="btn btn-danger btn-sm">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $PageInfo['title']; ?></h3>
|
||||
<a href="index.php" class="btn btn-danger btn-sm pull-right">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr />
|
||||
<form action="controllers/hosting/edit.php" method="post">
|
||||
<form class="card-body" action="controllers/hosting/edit.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
|
@ -71,7 +71,7 @@
|
|||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<button name="submit" class="btn btn-sm btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
<button name="submit" class="btn btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -29,4 +30,5 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,3 +1,4 @@
|
|||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -32,4 +33,5 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
<hr>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped">
|
||||
<table class="table table-stripped table-bordered table-hover">
|
||||
<thead>
|
||||
<th width="5%">ID</th>
|
||||
<th width="75%">Subject</th>
|
||||
|
@ -39,4 +39,5 @@
|
|||
</div>
|
||||
<p class="pb-10"><?php echo $count; ?> Records Found</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -4,6 +4,7 @@ if (!$Knowledgebase) {
|
|||
exit();
|
||||
}
|
||||
?>
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -36,3 +37,4 @@ if (!$Knowledgebase) {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<div class="container-fluid" id="login">
|
||||
<div class="row">
|
||||
<div class="col-md-6 offset-md-3 col-lg-4 offset-lg-4">
|
||||
<div class="m-auto" style="width: 400px;">
|
||||
<div class="card mx-30" style="opacity: 80%">
|
||||
<form action="controllers/login/login.php" method="post">
|
||||
<h5 class="m-0 text-center"><?php echo $lang->I18N('login'); ?></h5><hr>
|
||||
|
@ -29,4 +29,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -4,6 +4,7 @@ if (!defined('IN_CRONLITE')) {
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -44,3 +45,4 @@ if (!defined('IN_CRONLITE')) {
|
|||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -4,6 +4,7 @@ if (!defined('IN_CRONLITE')) {
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -52,3 +53,4 @@ if (!defined('IN_CRONLITE')) {
|
|||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -4,6 +4,7 @@ if (!defined('IN_CRONLITE')) {
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -14,7 +15,7 @@ if (!defined('IN_CRONLITE')) {
|
|||
</div>
|
||||
<hr>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped">
|
||||
<table class="table table-stripped table-bordered table-hover">
|
||||
<thead>
|
||||
<th width="5%">ID</th>
|
||||
<th><?php echo $lang->I18N('Title'); ?></th>
|
||||
|
@ -47,3 +48,4 @@ if (!defined('IN_CRONLITE')) {
|
|||
<p class="pb-10"><?php echo $count; ?> Records Found, Page 1 of 1</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@ if (!defined('IN_CRONLITE')) {
|
|||
}
|
||||
?>
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -48,3 +48,4 @@ if (!defined('IN_CRONLITE')) {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,41 +1,43 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center px-5 pt-15">
|
||||
<h5 class="m-0">Profile Edit</h5>
|
||||
<a href="index.php" class="btn btn-danger btn-sm"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return');?></a>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $lang->I18N('Profile Edit'); ?></h3>
|
||||
<a href="index.php" class="btn btn-danger btn-sm"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?></a>
|
||||
</div>
|
||||
<hr>
|
||||
<form action="controllers/profile/edit.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('First Name'); ?></label>
|
||||
<input type="text" name="fname" value="<?php echo $AdminInfo['admin_fname']; ?>" class="form-control" required>
|
||||
<hr />
|
||||
<div class="card-body">
|
||||
<form action="controllers/profile/edit.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('First Name'); ?></label>
|
||||
<input type="text" name="fname" value="<?php echo $AdminInfo['admin_fname']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Last Name'); ?></label>
|
||||
<input type="text" name="lname" value="<?php echo $AdminInfo['admin_lname']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Email Address</label>
|
||||
<input type="text" name="email" value="<?php echo $AdminInfo['admin_email']; ?>" class="form-control disabled" required readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<button name="submit" class="btn btn-primary">Update Profile</button>
|
||||
<a href="https://www.gravatar.com/" target="_blank" class="btn btn-secondary">Update Image</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Last Name'); ?></label>
|
||||
<input type="text" name="lname" value="<?php echo $AdminInfo['admin_lname']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Email Address</label>
|
||||
<input type="text" name="email" value="<?php echo $AdminInfo['admin_email']; ?>" class="form-control disabled" required readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<button name="submit" class="btn btn-sm btn-primary">Update Profile</button>
|
||||
<a href="https://www.gravatar.com/" target="_blank" class="btn m5t btn-sm btn-secondary">Update Image</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12"><hr></div>
|
||||
</div>
|
||||
</form>
|
||||
<form class="row" action="controllers/profile/password.php" method="post" onsubmit="
|
||||
</form>
|
||||
<div class="col-md-12"><hr></div>
|
||||
<form action="controllers/profile/password.php" method="post" onsubmit="
|
||||
var password = document.getElementById('password').value;
|
||||
var cpassword = document.getElementById('cpassword').value;
|
||||
if(password != cpassword){
|
||||
|
@ -44,29 +46,34 @@
|
|||
}
|
||||
return true;
|
||||
">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">New Password</label>
|
||||
<input type="password" name="new_password" id="password" placeholder="New password here..." class="form-control">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">New Password</label>
|
||||
<input type="password" name="new_password" id="password" placeholder="New password here..." class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Confirm Password</label>
|
||||
<input type="password" name="confirm_password" id="cpassword" placeholder="Confirm password here..." class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Old Password</label>
|
||||
<input type="password" name="old_password" placeholder="Old password here..." class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12"><hr></div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<input type="submit" name="submit" value="Change Password" class="btn btn-sm btn-primary text-white">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Confirm Password</label>
|
||||
<input type="password" name="confirm_password" id="cpassword" placeholder="Confirm password here..." class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Old Password</label>
|
||||
<input type="password" name="old_password" placeholder="Old password here..." class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<input type="submit" name="submit" value="Change Password" class="btn btn-sm btn-primary text-white">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,7 +1,8 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid" id="login">
|
||||
<div class="row">
|
||||
<div class="col-md-6 offset-md-3 col-lg-4 offset-lg-4">
|
||||
<div class="col-md-6 col-md-offset-2 col-lg-4 offset-lg-4">
|
||||
<div class="card mx-30" style="opacity: 80%">
|
||||
<form action="controllers/profile/forgetpassword.php" method="post">
|
||||
<h5 class="m-0 text-center">Forget Password</h5><hr>
|
||||
|
@ -20,3 +21,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid" id="login">
|
||||
<div class="row">
|
||||
<div class="col-md-6 offset-md-3 col-lg-4 offset-lg-4">
|
||||
<div class="col-md-6 col-md-offset-2 col-lg-4 offset-lg-4">
|
||||
<div class="card mx-30" style="opacity: 80%">
|
||||
<form action="controllers/profile/resetpassword.php" method="post" onsubmit="
|
||||
var password = document.getElementById('password').value;
|
||||
|
@ -33,3 +34,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,66 +1,75 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-15 pb-20">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<h5 class="m-0"><?php echo $PageInfo['title'];?></h5>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $lang->I18N('My Profile'); ?></h3>
|
||||
<a href="index.php" class="btn btn-danger btn-sm"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return');?></a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('First Name'); ?>:</b> <?php echo $AdminInfo['admin_fname']; ?></h6>
|
||||
<hr />
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('First Name'); ?>:</b> <?php echo $AdminInfo['admin_fname']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Last Name'); ?>:</b> <?php echo $AdminInfo['admin_lname']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Email Address'); ?>:</b> <?php echo $AdminInfo['admin_email']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('IP Address'); ?>:</b> <?php echo UserInfo::get_ip(); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Shared IP:</b> <?php echo gethostbyname($_SERVER['HTTP_HOST']); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Device Type:</b> <?php echo UserInfo::get_device(); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Device OS:</b> <?php echo UserInfo::get_os(); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Web Browser:</b> <?php echo UserInfo::get_browser(); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-12"><hr></div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Site Name:</b> <?php echo $SiteConfig['site_name']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Site Path:</b> <?php echo $SiteConfig['site_path']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Site Email:</b> <?php echo $SiteConfig['site_email']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Site Status:</b> <?php if ($SiteConfig['site_status'] == 1) {echo '<span class="badge badge-success">Live</span>';} elseif ($SiteConfig['site_status'] == 0) {echo '<span class="badge badge-secondary">Maintaince</span>';}?></h6>
|
||||
</div>
|
||||
<div class="col-md-12"><hr></div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Document Root:</b> <?php echo $_SERVER['DOCUMENT_ROOT'] ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Server Protocol:</b> <?php echo HTTP_PROTOCOL; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>PHP Version:</b> <?php echo PHP_VERSION; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>App Version:</b> <?php echo APP_VERSION; ?></h6>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Last Name'); ?>:</b> <?php echo $AdminInfo['admin_lname']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('Email Address'); ?>:</b> <?php echo $AdminInfo['admin_email']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('IP Address'); ?>:</b> <?php echo UserInfo::get_ip(); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Shared IP:</b> <?php echo gethostbyname($_SERVER['HTTP_HOST']); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Device Type:</b> <?php echo UserInfo::get_device(); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Device OS:</b> <?php echo UserInfo::get_os(); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Web Browser:</b> <?php echo UserInfo::get_browser(); ?></h6>
|
||||
</div>
|
||||
<div class="col-md-12"><hr></div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Site Name:</b> <?php echo $SiteConfig['site_name']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Site Path:</b> <?php echo $SiteConfig['site_path']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Site Email:</b> <?php echo $SiteConfig['site_email']; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Site Status:</b> <?php if ($SiteConfig['site_status'] == 1) {echo '<span class="badge badge-success">Live</span>';} elseif ($SiteConfig['site_status'] == 0) {echo '<span class="badge badge-secondary">Maintaince</span>';}?></h6>
|
||||
</div>
|
||||
<div class="col-md-12"><hr></div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Document Root:</b> <?php echo $_SERVER['DOCUMENT_ROOT'] ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>Server Protocol:</b> <?php echo HTTP_PROTOCOL; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>PHP Version:</b> <?php echo PHP_VERSION; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b>App Version:</b> <?php echo APP_VERSION; ?></h6>
|
||||
</div>
|
||||
<div class="col-md-12 my-5">
|
||||
<a href="profile.php?action=edit" class="btn m5t btn-sm btn-primary">Update Profile</a>
|
||||
<a href="https://www.gravatar.com/" target="_blank" class="btn m5t btn-sm btn-secondary">Update Image</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<a href="profile.php?action=edit" class="btn btn-primary">Update Profile</a>
|
||||
<a href="https://www.gravatar.com/" target="_blank" class="btn btn-secondary">Update Image</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="px-10 m-20">
|
||||
<a href="<?php echo setRouter('settings');?>" class="btn<?php if ($section == 'settings') echo ' btn-primary'; ?>">
|
||||
|
|
|
@ -1,24 +1,25 @@
|
|||
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center px-5 pt-15">
|
||||
<h5 class="m-0"><?php echo $lang->I18N('System Settings'); ?></h5>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $lang->I18N('System Settings'); ?></h3>
|
||||
<a href="index.php" class="btn btn-danger btn-sm"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?></a>
|
||||
</div>
|
||||
<hr>
|
||||
<hr />
|
||||
<form action="controllers/settings/edit.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Site Name</label>
|
||||
<input type="text" name="name" value="<?php echo $SiteConfig['site_name']; ?>" class="form-control" required>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Site Name'); ?></label>
|
||||
<input type="text" name="name" value="<?php echo $SiteConfig['site_name']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Site Status</label>
|
||||
<select name="status" class="form-control">
|
||||
<?php
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Site Status'); ?></label>
|
||||
<select name="status" class="form-control">
|
||||
<?php
|
||||
|
||||
foreach ($Statuses as $Status) {
|
||||
if ($Status['value'] == $SiteConfig['site_status']) {
|
||||
|
@ -28,85 +29,84 @@ foreach ($Statuses as $Status) {
|
|||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Brand Name'); ?></label>
|
||||
<input type="text" name="brand" value="<?php echo $SiteConfig['site_brand']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Company Name'); ?></label>
|
||||
<input type="text" name="company" value="<?php echo $SiteConfig['site_company']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Contact Phone'); ?></label>
|
||||
<input type="text" name="phone" value="<?php echo $SiteConfig['site_phone']; ?>" class="form-control" required maxlength="30">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Clientarea URL</label>
|
||||
<input type="text" name="url" value="<?php echo $SiteConfig['site_path']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Contact Email'); ?></label>
|
||||
<input type="text" name="email" value="<?php echo $SiteConfig['site_email']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label"><?php echo $lang->I18N('iFastNet Affiliate ID'); ?></label>
|
||||
<input type="text" name="ifastnet_aff" value="<?php echo $SiteConfig['ifastnet_aff']; ?>" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Brand Name'); ?></label>
|
||||
<input type="text" name="brand" value="<?php echo $SiteConfig['site_brand']; ?>" class="form-control" required>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Title'); ?></label>
|
||||
<input type="text" name="page_title" value="<?php echo $SiteConfig['page_title']; ?>" class="form-control" required maxlength="80">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Company Name'); ?></label>
|
||||
<input type="text" name="company" value="<?php echo $SiteConfig['site_company']; ?>" class="form-control" required>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Description'); ?></label>
|
||||
<input type="text" name="page_description" value="<?php echo $SiteConfig['page_description']; ?>" class="form-control" required maxlength="200">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Contact Phone'); ?></label>
|
||||
<input type="text" name="phone" value="<?php echo $SiteConfig['site_phone']; ?>" class="form-control" required maxlength="30">
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Keywords'); ?></label>
|
||||
<input type="text" name="page_keywords" value="<?php echo $SiteConfig['page_keywords']; ?>" class="form-control" required maxlength="100">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">Clientarea URL</label>
|
||||
<input type="text" name="url" value="<?php echo $SiteConfig['site_path']; ?>" class="form-control" required>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Copyright'); ?></label>
|
||||
<input type="text" name="page_copyright" value="<?php echo $SiteConfig['page_copyright']; ?>" class="form-control" required maxlength="100">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Contact Email'); ?></label>
|
||||
<input type="text" name="email" value="<?php echo $SiteConfig['site_email']; ?>" class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label"><?php echo $lang->I18N('iFastNet Affiliate ID'); ?></label>
|
||||
<input type="text" name="ifastnet_aff" value="<?php echo $SiteConfig['ifastnet_aff']; ?>" class="form-control">
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Author'); ?></label>
|
||||
<input type="text" name="page_author" value="<?php echo $SiteConfig['page_author']; ?>" class="form-control" required maxlength="30">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Title'); ?></label>
|
||||
<input type="text" name="page_title" value="<?php echo $SiteConfig['page_title']; ?>" class="form-control" required maxlength="80">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Description'); ?></label>
|
||||
<input type="text" name="page_description" value="<?php echo $SiteConfig['page_description']; ?>" class="form-control" required maxlength="200">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Keywords'); ?></label>
|
||||
<input type="text" name="page_keywords" value="<?php echo $SiteConfig['page_keywords']; ?>" class="form-control" required maxlength="100">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Copyright'); ?></label>
|
||||
<input type="text" name="page_copyright" value="<?php echo $SiteConfig['page_copyright']; ?>" class="form-control" required maxlength="100">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required"><?php echo $lang->I18N('Page Author'); ?></label>
|
||||
<input type="text" name="page_author" value="<?php echo $SiteConfig['page_author']; ?>" class="form-control" required maxlength="30">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="col-md-12 pb-15">
|
||||
<div class="mb-10 px-10">
|
||||
<button name="submit" class="btn btn-sm btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
<a href="index.php" class="btn btn-danger btn-sm"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?></a>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="card-footer">
|
||||
<button name="submit" class="btn btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center px-5 pt-15">
|
||||
<h5 class="m-0"><?php echo $PageInfo['title']; ?></h5>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $PageInfo['title']; ?></h3>
|
||||
<a href="index.php" class="btn btn-danger btn-sm">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<form action="controllers/sitepro/edit.php" method="post">
|
||||
<div class="row pb-15">
|
||||
<hr />
|
||||
<form class="card-body" action="controllers/sitepro/edit.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label required">SitePro API Username</label>
|
||||
|
@ -22,9 +23,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<button name="submit" class="btn btn-sm btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
</div>
|
||||
<hr />
|
||||
<button name="submit" class="btn btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center px-5 pt-15">
|
||||
<h5 class="m-0"><?php echo $PageInfo['title']; ?></h5>
|
||||
<a href="index.php" class="btn btn-danger btn-sm">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $PageInfo['title']; ?></h3>
|
||||
<a href="index.php" class="btn btn-danger">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr />
|
||||
<form action="controllers/smtp/edit.php" method="post">
|
||||
<form class="card-body" action="controllers/smtp/edit.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
|
@ -41,13 +42,13 @@
|
|||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<button name="submit" class="btn btn-sm btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
<button name="submit" class="btn btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<hr />
|
||||
<form action="controllers/smtp/test.php" method="post">
|
||||
<form class="card-body" action="controllers/smtp/test.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
|
@ -58,7 +59,7 @@
|
|||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
<label class="form-label"> </label>
|
||||
<button name="submit" class="btn btn-sm btn-primary form-control"><?php echo $lang->I18N('Send Email'); ?></button>
|
||||
<button name="submit" class="btn btn-primary form-control"><?php echo $lang->I18N('Send Email'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center px-5 pt-15">
|
||||
<h5 class="m-0"><?php echo $PageInfo['title']; ?></h5>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $PageInfo['title']; ?></h3>
|
||||
<a href="index.php" class="btn btn-danger btn-sm">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<form action="controllers/sslapi/edit.php" method="post">
|
||||
<hr />
|
||||
<form class="card-body" action="controllers/sslapi/edit.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
|
@ -22,11 +23,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="mb-10 px-10">
|
||||
<button name="submit" class="btn btn-sm btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
</div>
|
||||
<hr />
|
||||
<button name="submit" class="btn btn-primary"><?php echo $lang->I18N('Save'); ?></button>
|
||||
</div>
|
||||
<div class="col-md-12"><hr></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -8,7 +10,7 @@
|
|||
</div>
|
||||
<hr>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped">
|
||||
<table class="table table-stripped table-bordered table-hover">
|
||||
<thead>
|
||||
<th width="5%">ID</th>
|
||||
<th width="5%">Order ID</th>
|
||||
|
@ -59,4 +61,5 @@ if ($SSLInfo['status'] == 'processing') {
|
|||
</div>
|
||||
<p class="pb-10"><?php echo $count; ?> Records Founds</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
|
@ -91,4 +93,5 @@
|
|||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,22 +1,24 @@
|
|||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<h5 class="m-0">My Tickets</h5>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h3 class="m-0"><?php echo $lang->I18N('My Tickets'); ?></h3>
|
||||
<a href="index.php" class="btn text-white btn-danger btn-sm">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-stripped">
|
||||
<hr />
|
||||
<div class="card-body table-responsive">
|
||||
<table class="table table-stripped table-bordered table-hover">
|
||||
<thead>
|
||||
<th width="5%">ID</th>
|
||||
<th width="50%">Subject</th>
|
||||
<th width="5%">Department</th>
|
||||
<th width="30%">Client Email</th>
|
||||
<th width="5%">Date</th>
|
||||
<th width="5%">Status</th>
|
||||
<th width="5%">Action</th>
|
||||
<th>ID</th>
|
||||
<th>Subject</th>
|
||||
<th>Department</th>
|
||||
<th>Client Email</th>
|
||||
<th>Date</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ($count > 0): ?>
|
||||
|
@ -29,13 +31,13 @@
|
|||
<td><?php echo $value['ticket_date']; ?></td>
|
||||
<td><?php echo get_ticket_status_span($value['ticket_status']);
|
||||
if ($value['ticket_status'] == '0') {
|
||||
$btn = ['secondary', 'clock'];
|
||||
$btn = ['secondary', 'clock'];
|
||||
} elseif ($value['ticket_status'] == '1') {
|
||||
$btn = ['success', 'comment'];
|
||||
$btn = ['success', 'comment'];
|
||||
} elseif ($value['ticket_status'] == '2') {
|
||||
$btn = ['primary', 'comment'];
|
||||
$btn = ['primary', 'comment'];
|
||||
} elseif ($value['ticket_status'] == '3') {
|
||||
$btn = ['danger', 'lock'];
|
||||
$btn = ['danger', 'lock'];
|
||||
}
|
||||
?></td>
|
||||
<td>
|
||||
|
@ -53,6 +55,10 @@ if ($value['ticket_status'] == '0') {
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p class="pb-10"><?php echo $count; ?> Records Founds</p>
|
||||
<hr />
|
||||
<div class="card-footer">
|
||||
<p class="pb-10"><?php echo $count; ?> Records Founds</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -4,93 +4,89 @@ if (!$TicketInfo) {
|
|||
exit();
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="content-wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h5 class="m-0"><?php echo $lang->I18N('Tickets Details'); ?> (#<?php echo $ticket_id; ?>)</h5>
|
||||
<a href="tickets.php" class="btn btn-sm btn-danger">
|
||||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="mb-20">
|
||||
<hr />
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center mx-10 my-5">
|
||||
<b>Subject:</b>
|
||||
<span><?php echo $TicketInfo['ticket_subject']; ?></span>
|
||||
</div>
|
||||
<b>Subject:</b>
|
||||
<span><?php echo $TicketInfo['ticket_subject']; ?></span>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center mx-10 my-5">
|
||||
<b>Status:</b>
|
||||
<span><?php echo get_ticket_status_span($TicketInfo['ticket_status']); ?></span>
|
||||
</div>
|
||||
<b>Status:</b>
|
||||
<span><?php echo get_ticket_status_span($TicketInfo['ticket_status']); ?></span>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center mx-10 my-5">
|
||||
<b>Department:</b>
|
||||
<span><?php echo get_ticket_department($TicketInfo['ticket_department']); ?></span>
|
||||
</div>
|
||||
<b>Department:</b>
|
||||
<span><?php echo get_ticket_department($TicketInfo['ticket_department']); ?></span>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex justify-content-between align-items-center mx-10 my-5">
|
||||
<b>Date:</b>
|
||||
<span><?php echo $TicketInfo['ticket_date']; ?></span>
|
||||
</div>
|
||||
<b>Date:</b>
|
||||
<span><?php echo $TicketInfo['ticket_date']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card py-10">
|
||||
<div class="d-flex justify-content-between align-items-center px-5">
|
||||
<b class="py-5">Client Reply</b>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<strong>Client Reply</strong>
|
||||
<span><?php echo $TicketInfo['ticket_date']; ?></span>
|
||||
</div><hr>
|
||||
<div class="px-10 m-5">
|
||||
</div>
|
||||
<hr />
|
||||
<div class="card-body">
|
||||
<?php echo $TicketInfo['ticket_content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($ReplyCount > 0): ?>
|
||||
<?php foreach ($ReplyInfo as $value): ?>
|
||||
<div class="card py-10">
|
||||
<div class="d-flex justify-content-between align-items-center px-5">
|
||||
<b class="py-5"><?php echo $value['reply_from'] == 999999 ? 'Support Staff' : 'Client Reply'; ?></b>
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<strong><?php echo $value['reply_from'] == 999999 ? 'Support Staff' : 'Client Reply'; ?></strong>
|
||||
<span><?php echo $value['reply_date']; ?></span>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="px-10 m-5">
|
||||
<hr />
|
||||
<div class="card-body m-5">
|
||||
<?php echo $value['reply_content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach;?>
|
||||
<?php else: ?>
|
||||
<div class="card py-5">
|
||||
<div class="text-center">
|
||||
<p>No replies to this ticket yet</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-body text-center">No replies to this ticket yet.</div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
<div class="card p-10" id="reply">
|
||||
<?php if ($TicketInfo['ticket_status'] == '3'): ?>
|
||||
<div class="text-center">
|
||||
<p>You can't reply to this ticket anymore open new ticket for any further questions.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-body text-center">You can't reply to this ticket anymore open new ticket for any further questions.</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<form action="controllers/tickets/reply.php" method="post" class="p-10">
|
||||
<div class="form-group mb-10">
|
||||
<label class="form-label required" for="content">Reply content</label>
|
||||
<textarea class="form-control" name="content" id="content" style="max-width: 100vw;" style="height: 200px"></textarea>
|
||||
<input type="hidden" name="ticket_id" value="<?php echo $TicketInfo['ticket_id']; ?>">
|
||||
<input type="hidden" name="ticket_email" value="<?php echo $TicketInfo['ticket_email']; ?>">
|
||||
</div>
|
||||
<div class="form-group my-0">
|
||||
<button class="btn btn-sm btn-primary" name="submit">Add Reply</button>
|
||||
<a href="controllers/tickets/close.php?ticket_id=<?php echo $ticket_id; ?>" class="btn btn-danger btn-sm">Close Ticket</a>
|
||||
<div class="card" id="reply">
|
||||
<form action="controllers/tickets/reply.php" method="post">
|
||||
<label class="card-header form-label required" for="content">Reply content</label>
|
||||
<div class="card-body">
|
||||
<div class="form-group mb-10">
|
||||
<textarea class="form-control" name="content" id="content"></textarea>
|
||||
<input type="hidden" name="ticket_id" value="<?php echo $TicketInfo['ticket_id']; ?>">
|
||||
<input type="hidden" name="ticket_email" value="<?php echo $TicketInfo['ticket_email']; ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-sm btn-primary" name="submit">Add Reply</button>
|
||||
<a href="controllers/tickets/close.php?ticket_id=<?php echo $ticket_id; ?>" class="btn btn-danger btn-sm">Close Ticket</a>
|
||||
<a href="tickets.php" class="btn btn-sm btn-danger pull-right"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
4
src/assets/css/font-awesome.min.css
vendored
Normal file
4
src/assets/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
src/assets/fonts/et-line.woff
Normal file
BIN
src/assets/fonts/et-line.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/fontawesome-webfont.woff2
Normal file
BIN
src/assets/fonts/fontawesome-webfont.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/ionicons28b5.ttf
Normal file
BIN
src/assets/fonts/ionicons28b5.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/themify.woff
Normal file
BIN
src/assets/fonts/themify.woff
Normal file
Binary file not shown.
4359
src/assets/ui/css/style.min.css
vendored
Normal file
4359
src/assets/ui/css/style.min.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
145
src/assets/ui/js/main.min.js
vendored
Normal file
145
src/assets/ui/js/main.min.js
vendored
Normal file
|
@ -0,0 +1,145 @@
|
|||
jQuery(function () {
|
||||
$('body').on('click', '[data-stopPropagation]', function (e) {
|
||||
e.stopPropagation()
|
||||
})
|
||||
|
||||
// 滚动条
|
||||
// const ps = new PerfectScrollbar('.lyear-layout-sidebar-scroll', {
|
||||
// swipeEasing: false,
|
||||
// suppressScrollX: true
|
||||
// })
|
||||
|
||||
// 侧边栏
|
||||
$('.lyear-aside-toggler').bind('click', function () {
|
||||
$('.lyear-layout-sidebar').toggleClass('lyear-aside-open')
|
||||
$('body').toggleClass('lyear-layout-sidebar-close')
|
||||
|
||||
if ($('.lyear-mask-modal').length == 0) {
|
||||
$('<div class="lyear-mask-modal"></div>').prependTo('body')
|
||||
} else {
|
||||
$('.lyear-mask-modal').remove()
|
||||
}
|
||||
$('.lyear-mask-modal').on('click', function () {
|
||||
$(this).remove()
|
||||
$('.lyear-layout-sidebar').toggleClass('lyear-aside-open')
|
||||
$('body').toggleClass('lyear-layout-sidebar-close')
|
||||
})
|
||||
})
|
||||
|
||||
// 侧边栏导航
|
||||
$('.nav-item-has-subnav > a').on('click', function () {
|
||||
$subnavToggle = jQuery(this)
|
||||
$navHasSubnav = $subnavToggle.parent()
|
||||
$topHasSubNav = $subnavToggle.parents('.nav-item-has-subnav').last()
|
||||
$subnav = $navHasSubnav.find('.nav-subnav').first()
|
||||
$viSubHeight = $navHasSubnav.siblings().find('.nav-subnav:visible').outerHeight()
|
||||
$scrollBox = $('.lyear-layout-sidebar-scroll')
|
||||
$navHasSubnav.siblings().find('.nav-subnav:visible').slideUp(500).parent().removeClass('open')
|
||||
$subnav.slideToggle(300, function () {
|
||||
$navHasSubnav.toggleClass('open')
|
||||
|
||||
// 新增滚动条处理
|
||||
var scrollHeight = 0
|
||||
;(pervTotal = $topHasSubNav.prevAll().length),
|
||||
(boxHeight = $scrollBox.outerHeight()),
|
||||
(innerHeight = $('.sidebar-main').outerHeight()),
|
||||
(thisScroll = $scrollBox.scrollTop()),
|
||||
(thisSubHeight = $(this).outerHeight()),
|
||||
(footHeight = 121)
|
||||
|
||||
if (footHeight + innerHeight - boxHeight >= pervTotal * 48) {
|
||||
scrollHeight = pervTotal * 48
|
||||
}
|
||||
if ($subnavToggle.parents('.nav-item-has-subnav').length == 1) {
|
||||
$scrollBox.animate({ scrollTop: scrollHeight }, 300)
|
||||
} else {
|
||||
// 子菜单操作
|
||||
if (typeof $viSubHeight != 'undefined' && $viSubHeight != null) {
|
||||
scrollHeight = thisScroll + thisSubHeight - $viSubHeight
|
||||
$scrollBox.animate({ scrollTop: scrollHeight }, 300)
|
||||
} else {
|
||||
if (thisScroll + boxHeight - $scrollBox[0].scrollHeight == 0) {
|
||||
scrollHeight = thisScroll - thisSubHeight
|
||||
$scrollBox.animate({ scrollTop: scrollHeight }, 300)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// 提示
|
||||
if ($('[data-toggle="tooltip"]')[0]) {
|
||||
$('[data-toggle="tooltip"]').tooltip({
|
||||
container: 'body'
|
||||
})
|
||||
}
|
||||
|
||||
// 弹出框
|
||||
if ($('[data-toggle="popover"]')[0]) {
|
||||
$('[data-toggle="popover"]').popover()
|
||||
}
|
||||
|
||||
// 标签
|
||||
if ($('.js-tags-input')[0]) {
|
||||
$('.js-tags-input').tagsInput({
|
||||
height: '36px',
|
||||
width: '100%',
|
||||
defaultText: $('.js-tags-input').attr('placeholder'),
|
||||
removeWithBackspace: true,
|
||||
delimiter: [',']
|
||||
})
|
||||
}
|
||||
|
||||
// 时间选择
|
||||
jQuery('.js-datetimepicker').each(function () {
|
||||
var $input = jQuery(this)
|
||||
$input.datetimepicker({
|
||||
format: $input.data('format') ? $input.data('format') : false,
|
||||
useCurrent: $input.data('use-current') ? $input.data('use-current') : false,
|
||||
locale: moment.locale('' + ($input.data('locale') ? $input.data('locale') : '') + ''),
|
||||
showTodayButton: $input.data('show-today-button') ? $input.data('show-today-button') : false,
|
||||
showClear: $input.data('show-clear') ? $input.data('show-clear') : false,
|
||||
showClose: $input.data('show-close') ? $input.data('show-close') : false,
|
||||
sideBySide: $input.data('side-by-side') ? $input.data('side-by-side') : false,
|
||||
inline: $input.data('inline') ? $input.data('inline') : false
|
||||
})
|
||||
})
|
||||
|
||||
// 日期选择
|
||||
jQuery('.js-datepicker').each(function () {
|
||||
var $input = jQuery(this)
|
||||
$input.datepicker({
|
||||
weekStart: 1,
|
||||
autoclose: true,
|
||||
todayHighlight: true,
|
||||
language: 'zh-CN'
|
||||
})
|
||||
})
|
||||
|
||||
// 颜色选取
|
||||
jQuery('.js-colorpicker').each(function () {
|
||||
var $colorpicker = jQuery(this)
|
||||
var $colorpickerMode = $colorpicker.data('colorpicker-mode') ? $colorpicker.data('colorpicker-mode') : 'hex'
|
||||
var $colorpickerinline = $colorpicker.data('colorpicker-inline') ? true : false
|
||||
$colorpicker.colorpicker({
|
||||
format: $colorpickerMode,
|
||||
inline: $colorpickerinline
|
||||
})
|
||||
})
|
||||
|
||||
// 复选框全选
|
||||
$('#check-all').change(function () {
|
||||
$("input[type='checkbox']").prop('checked', $(this).prop('checked'))
|
||||
})
|
||||
|
||||
// 设置主题配色
|
||||
setTheme = function (input_name, data_name) {
|
||||
$("input[name='" + input_name + "']").click(function () {
|
||||
$('body').attr(data_name, $(this).val())
|
||||
})
|
||||
}
|
||||
setTheme('site_theme', 'data-theme')
|
||||
setTheme('logo_bg', 'data-logobg')
|
||||
setTheme('header_bg', 'data-headerbg')
|
||||
setTheme('sidebar_bg', 'data-sidebarbg')
|
||||
})
|
|
@ -1,8 +1,3 @@
|
|||
<?php
|
||||
require __DIR__ . '/core/application.php';
|
||||
require __DIR__ . '/core/controllers/cancellation-refund.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/cancellation-refund.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/cancellation-refund.php';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
$PageInfo['title'] = 'My Tickets';
|
||||
$PageInfo['title'] = $lang->I18N('My Tickets');
|
||||
|
||||
require_once ROOT . '/core/library/userinfo.class.php';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<hr />
|
||||
<div class="row mb-10">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-10 px-10">
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
<h5 class="m-0">Account Domains</h5>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="mb-10">
|
||||
<div class="mb-10 px-10">
|
||||
<?php if (count($DomainList) > 0): ?>
|
||||
<?php foreach ($DomainList as $domain): ?>
|
||||
<div class='d-flex justify-content-between align-items-center m-5'>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<h5 class="m-0"><?php echo $lang->I18N('My Profile'); ?></h5>
|
||||
<a href="index.php" class="btn btn-danger btn-sm"><i class="fa fa-backward"></i> <?php echo $lang->I18N('Return');?></a>
|
||||
</div>
|
||||
<hr>
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h6 class="mb-0"><b><?php echo $lang->I18N('First Name'); ?>:</b> <?php echo $ClientInfo['client_fname'];?></h6>
|
||||
|
|
|
@ -38,7 +38,7 @@ echo $ClientInfo['client_fname'] . " " . $ClientInfo['client_lname'];
|
|||
?>
|
||||
|
||||
</a>
|
||||
<h5 class="sidebar-title">Main Menu</h5>
|
||||
<h5 class="sidebar-title"><?php echo $lang->I18N('Main Menu'); ?></h5>
|
||||
<div class="sidebar-divider"></div>
|
||||
<a href="logout.php" class="sidebar-link sidebar-link-with-icon">
|
||||
<span class="sidebar-icon bg-transparent">
|
||||
|
|
|
@ -17,7 +17,7 @@ $avatar_path = $ClientInfo['client_email'] ? md5($ClientInfo['client_email']) :
|
|||
|
||||
</a>
|
||||
|
||||
<h5 class="sidebar-title">Main Menu</h5>
|
||||
<h5 class="sidebar-title"><?php echo $lang->I18N('Main Menu'); ?></h5>
|
||||
<div class="sidebar-divider"></div>
|
||||
<a href="index.php" class="sidebar-link sidebar-link-with-icon">
|
||||
<span class="sidebar-icon bg-transparent"><i class="fa fa-home" aria-hidden="true"></i></span>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card m-20">
|
||||
<div class="card m-20 p-15">
|
||||
<h2 class="card-title">
|
||||
Welcome to Free Hosting!
|
||||
</h2>
|
||||
|
@ -58,7 +58,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card m-20">
|
||||
<div class="card m-20 p-15">
|
||||
<h2 class="card-title">
|
||||
Free SSL Available!
|
||||
</h2>
|
||||
|
|
|
@ -51,6 +51,6 @@ if ($SSLInfo['status'] == 'processing') {
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p class="pb-10"><?php echo $count; ?> SSL Certificates</p>
|
||||
<p class="pb-10"><?php echo $count; ?> <?php echo $lang->I18N('SSL Certificates'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<i class="fa fa-backward"></i> <?php echo $lang->I18N('Return'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<hr />
|
||||
<form action="controllers/settings/edit.php" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<h5 class="m-0">My Tickets</h5>
|
||||
<h5 class="m-0"><?php echo $lang->I18N('My Tickets'); ?></h5>
|
||||
<a href="tickets.php?action=add" class="btn text-white btn-success btn-sm">New Ticket</a>
|
||||
</div>
|
||||
<hr>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="container-fluid">
|
||||
<div class="card py-0">
|
||||
<div class="card m-20 py-10">
|
||||
<div class="d-flex justify-content-between align-items-center pt-15">
|
||||
<h5 class="m-0"><?php echo $lang->I18N('Tickets Details'); ?> #<?php echo $ticket_id; ?></h5>
|
||||
<a href="tickets.php" class="btn btn-sm btn-danger">
|
||||
|
@ -37,20 +37,20 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card py-10">
|
||||
<div class="d-flex justify-content-between align-items-center px-5">
|
||||
<div class="card m-20 py-10">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<b class="py-5"><?php echo $ClientInfo['client_fname'] . ' ' . $ClientInfo['client_lname']; ?></b>
|
||||
<span><?php echo $TicketInfo['ticket_date']; ?></span>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="px-10 m-5">
|
||||
<div class="m-5">
|
||||
<?php echo $TicketInfo['ticket_content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($ReplyCount > 0): ?>
|
||||
<?php foreach ($ReplyInfo as $value): ?>
|
||||
<div class="card py-10">
|
||||
<div class="d-flex justify-content-between align-items-center px-5">
|
||||
<div class="card m-20 py-10">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<b class="py-5"><?php if ($value['reply_from'] == $ClientInfo['client_id']) {
|
||||
echo $ClientInfo['client_fname'] . ' ' . $ClientInfo['client_lname'];
|
||||
} else {
|
||||
|
@ -59,7 +59,7 @@
|
|||
<span><?php echo $value['reply_date']; ?></span>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="px-10 m-5">
|
||||
<div class="m-5">
|
||||
<?php echo $value['reply_content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -71,7 +71,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<div class="card p-10" id="reply">
|
||||
<div class="card m-20 p-15" id="reply">
|
||||
<?php if ($TicketInfo['ticket_status'] == '3'): ?>
|
||||
<div class="text-center">
|
||||
<p>You can't reply to this ticket anymore open new ticket for any further questions.</p>
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
<?php
|
||||
require __DIR__ . '/core/application.php';
|
||||
require __DIR__ . '/core/controllers/contact.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/contact.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/contact.php';
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('cancellation_refund');
|
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('Contact Us');
|
|
@ -1,4 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$section = get('s', 'terms');
|
||||
|
||||
if ($section == "privacy") {
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('privacy_policy');
|
||||
$section_page = ROOT . "/core/views/legal_privacy.php";
|
||||
} else {
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('tos');
|
||||
$section_page = ROOT . "/core/views/legal_terms.php";
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('login');
|
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('payment_methods');
|
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('solution');
|
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('Technical Support');
|
|
@ -73,6 +73,7 @@ return array(
|
|||
'delete' => 'Delete',
|
||||
'details' => 'Details',
|
||||
'Tickets' => 'Tickets',
|
||||
'My Tickets' => 'My Tickets',
|
||||
'Tickets Details' => 'Tickets Details',
|
||||
'member' => 'Member',
|
||||
'members' => 'Members',
|
||||
|
|
|
@ -71,6 +71,7 @@ return array(
|
|||
'about' => '关于',
|
||||
'aboutus' => '关于我们',
|
||||
'clientarea' => '客户中心',
|
||||
'Client Area' => '客户中心',
|
||||
'add' => '新增',
|
||||
'modify' => '修改',
|
||||
'edit' => '编辑',
|
||||
|
@ -78,7 +79,8 @@ return array(
|
|||
'managearea' => '管理中心',
|
||||
'delete' => '删除',
|
||||
'details' => '详情',
|
||||
'Tickets' => '工单',
|
||||
'Tickets' => '工单管理',
|
||||
'My Tickets' => '我的工单',
|
||||
'Tickets Details' => '工单详情',
|
||||
'member' => '客户',
|
||||
'members' => '客户',
|
||||
|
@ -92,7 +94,7 @@ return array(
|
|||
'System Settings' => '系统配置',
|
||||
'Company Name' => '公司名称',
|
||||
'Company' => '公司',
|
||||
'Brand Name' => '品牌名',
|
||||
'Brand Name' => '品牌标识',
|
||||
'Contact Phone' => '联系电话',
|
||||
'Phone' => '电话',
|
||||
'Contact Email' => '联系邮箱',
|
||||
|
@ -101,11 +103,11 @@ return array(
|
|||
'iFastNet Affiliate ID' => 'iFastNet 推广编号',
|
||||
'Technical Support' => '技术支持',
|
||||
'Main Menu' => '菜单',
|
||||
'Logged in as' => '当前已登陆账号为',
|
||||
'Logged in as' => '当前登陆账号',
|
||||
'Validate Account' => '验证帐户',
|
||||
'Validate' => '验证',
|
||||
'Validation Code' => '验证代码',
|
||||
'Resend Code' => '重新发送验证代码',
|
||||
'Validation Code' => '验证码',
|
||||
'Resend Code' => '重新发送验证码',
|
||||
'Forget Password' => '忘记密码',
|
||||
'Reset Password' => '重置密码',
|
||||
'Profile' => '个人资料',
|
||||
|
@ -114,6 +116,15 @@ return array(
|
|||
'Knowledgebase List' => '知识库',
|
||||
'Additional Tools' => '附加工具',
|
||||
'Send Email' => '发送邮件',
|
||||
'Send Test Email' => '发送测试电子邮件',
|
||||
'This test email indicates that SMTP has been configured correctly.' => '收到这个测试邮件,说明SMTP已配置正确。'
|
||||
'Send Test Email' => '发送测试邮件',
|
||||
'This test email indicates that SMTP has been configured correctly.' => '收到这个测试邮件,说明SMTP已配置正确。',
|
||||
'SSL Certificates' => 'SSL证书',
|
||||
'Site Name' => '网站名称',
|
||||
'Site Status' => '网站状态',
|
||||
'Page Title' => '网页标题',
|
||||
'Page Description' => '网页描述',
|
||||
'Page Keywords' => '网页关键字',
|
||||
'Page Copyright' => '网页版权标识',
|
||||
'Page Author' => '网页著作人',
|
||||
'Admin Area' => '管理中心'
|
||||
);
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
<?php
|
||||
require __DIR__ . '/core/application.php';
|
||||
require __DIR__ . '/core/controllers/forum.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/forum.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/forum.php';
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
<?php
|
||||
require __DIR__ . '/core/application.php';
|
||||
require __DIR__ . '/core/controllers/help.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/help.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/help.php';
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
<?php
|
||||
require __DIR__ . '/core/application.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/index.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/index.php';
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
<?php
|
||||
require __DIR__ . '/core/application.php';
|
||||
require __DIR__ . '/core/controllers/legal.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require $section_page;
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/legal.php';
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
<?php
|
||||
require __DIR__ . '/core/application.php';
|
||||
require __DIR__ . '/core/controllers/login.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/login.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/login.php';
|
||||
|
|
10
src/news.php
10
src/news.php
|
@ -8,8 +8,8 @@ if (!in_array($action, array('list', 'view'))) {
|
|||
$action = 'list';
|
||||
}
|
||||
|
||||
require __DIR__ . '/core/controllers/news/' . $action . '.php';
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/news/' . $action . '.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/news/' . $action . '.php';
|
||||
// require __DIR__ . '/public/views/common/header.php';
|
||||
// require __DIR__ . '/public/views/common/navbar.php';
|
||||
// require __DIR__ . '/public/views/news/' . $action . '.php';
|
||||
// require __DIR__ . '/public/views/common/footer.php';
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
<?php
|
||||
require_once __DIR__ . '/core/application.php';
|
||||
require __DIR__ . '/core/controllers/payment-methods.php';
|
||||
|
||||
require __DIR__ . '/core/views/common/header.php';
|
||||
require __DIR__ . '/core/views/common/navbar.php';
|
||||
require __DIR__ . '/core/views/payment-methods.php';
|
||||
require __DIR__ . '/core/views/common/footer.php';
|
||||
require __DIR__ . '/public/controllers/payment-methods.php';
|
||||
|
|
|
@ -18,3 +18,8 @@ if (is_file(($section_page))) {
|
|||
$page_title = $page_title . ' - ' . $lang->I18N('about');
|
||||
$section_page = ROOT . "/core/views/about/uiisc.php";
|
||||
}
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/about.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
11
src/public/controllers/cancellation-refund.php
Executable file
11
src/public/controllers/cancellation-refund.php
Executable file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('cancellation_refund');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/cancellation-refund.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
11
src/public/controllers/contact.php
Executable file
11
src/public/controllers/contact.php
Executable file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('Contact Us');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/contact.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
9
src/public/controllers/forum.php
Executable file
9
src/public/controllers/forum.php
Executable file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/forum.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
|
@ -47,3 +47,8 @@ $questions = [
|
|||
"content" => "Don't post your account's password, including databases passwords! And just be specific."
|
||||
]
|
||||
];
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/help.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
9
src/public/controllers/index.php
Executable file
9
src/public/controllers/index.php
Executable file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/index.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
19
src/public/controllers/legal.php
Executable file
19
src/public/controllers/legal.php
Executable file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$section = get('s', 'terms');
|
||||
|
||||
if ($section == "privacy") {
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('privacy_policy');
|
||||
$section_page = ROOT . "/public/views/legal_privacy.php";
|
||||
} else {
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('tos');
|
||||
$section_page = ROOT . "/public/views/legal_terms.php";
|
||||
}
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require $section_page;
|
||||
require ROOT . '/public/views/common/footer.php';
|
11
src/public/controllers/login.php
Executable file
11
src/public/controllers/login.php
Executable file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('login');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/login.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
|
@ -20,4 +20,9 @@ $status_types = array(
|
|||
'打开'
|
||||
);
|
||||
|
||||
$PageInfo['title'] = 'News List';
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('News List');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/news/list.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
|
@ -20,4 +20,9 @@ if ($id > 0) {
|
|||
$data = null;
|
||||
}
|
||||
|
||||
$PageInfo['title'] = 'News Details';
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('News Details');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/news/view.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
11
src/public/controllers/payment-methods.php
Executable file
11
src/public/controllers/payment-methods.php
Executable file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('payment_methods');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/payment-methods.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
|
@ -4,3 +4,8 @@ if (!defined('IN_CRONLITE')) {
|
|||
}
|
||||
$security_id = md5(rand(6000, getrandmax())); // $security_id = md5(rand(6000,PHP_INT_MAX));
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('register');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/register.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
11
src/public/controllers/solution.php
Executable file
11
src/public/controllers/solution.php
Executable file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('solution');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/solution.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
11
src/public/controllers/support.php
Executable file
11
src/public/controllers/support.php
Executable file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
if (!defined('IN_CRONLITE')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
|
||||
$page_title = $page_title . ' - ' . $lang->I18N('Technical Support');
|
||||
|
||||
require ROOT . '/public/views/common/header.php';
|
||||
require ROOT . '/public/views/common/navbar.php';
|
||||
require ROOT . '/public/views/support.php';
|
||||
require ROOT . '/public/views/common/footer.php';
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue