update
This commit is contained in:
parent
3bf955064e
commit
bcafdd180f
25 changed files with 1329 additions and 917 deletions
|
@ -10,8 +10,7 @@ A simple Content Management System for Reseller of MyOwnFreeHost
|
|||
### multi-language module
|
||||
|
||||
- [x] Load default language
|
||||
|
||||
- [x] Modify language
|
||||
- [x] Change language
|
||||
|
||||
|
||||
### member module
|
||||
|
@ -35,7 +34,7 @@ A simple Content Management System for Reseller of MyOwnFreeHost
|
|||
- [x] Deactivate or disable a hosting account
|
||||
- [x] Activate or enable hosting account
|
||||
- [x] Verify how many domain and state of the hosting account
|
||||
- [ ] Member management
|
||||
- [ ] Members management
|
||||
- [ ] Site configuration
|
||||
- [ ] API configuration
|
||||
- [ ] News management
|
||||
|
|
|
@ -7,7 +7,6 @@ require_once("core.php");
|
|||
|
||||
include_once "{$ROOT}/library/common.php";
|
||||
include_once "{$ROOT}/library/api.php";
|
||||
include_once "{$ROOT}/library/functions.php";
|
||||
include_once "{$ROOT}/admin/library.php";
|
||||
// getVersion();
|
||||
// if (!file_exists("{$ROOT}/data/installed") || !isset($config) || $config['apiUsername'] == '#getUsername#' || $config['apiPassword'] == '#getPassword#') {
|
||||
|
@ -43,10 +42,5 @@ if (is_file($controller)) {
|
|||
|
||||
include("{$ROOT}/admin/views/header.php");
|
||||
include("{$ROOT}/admin/views/navbar.php");
|
||||
|
||||
if (file_exists("{$ROOT}/install.php")) {
|
||||
require_once("{$ROOT}/admin/views/install_tips.php");
|
||||
}
|
||||
|
||||
require_once $section_page;
|
||||
include($section_page);
|
||||
include("{$ROOT}/admin/views/footer.php");
|
||||
|
|
|
@ -20,7 +20,7 @@ if (isset($_POST["do_login"])) {
|
|||
if (!isset($_SESSION["admincaptchacode"]) || $captcha != strtolower($_SESSION["admincaptchacode"])) {
|
||||
$message = [0, "The captcha code is invalid."];
|
||||
} elseif ($username == $admin["username"] && $password == $admin["password"]) {
|
||||
$_SESSION["isAdminLoggedIn"] = true;
|
||||
$_SESSION["adminloggedin"] = true;
|
||||
$message = [1, "Login successfully. 2 seconds later redirect to the main page"];
|
||||
header("refresh:2;url=admin.php");
|
||||
} else {
|
||||
|
|
|
@ -6,7 +6,6 @@ if (!defined('IN_SYS')) {
|
|||
exit;
|
||||
}
|
||||
|
||||
unset($_SESSION);
|
||||
// session_destroy();
|
||||
adminLogout();
|
||||
setMsg("msg", "Logout successfully. 2 seconds later redirect to the login page.");
|
||||
header("refresh:2;url=admin.php");
|
||||
|
|
37
admin/controllers/news.php
Normal file
37
admin/controllers/news.php
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
$tickets = [
|
||||
"total" => 10,
|
||||
"pages" => 4,
|
||||
"page" => 1,
|
||||
"list" => [
|
||||
[
|
||||
"date" => "Saturday, August 11th, 2018 (04:50)",
|
||||
"department" => "Saturday, August 11th, 2018 (04:50)",
|
||||
"subject" => "Invoice Payment Confirmation",
|
||||
"status" => "",
|
||||
"lastupdated" => ""
|
||||
],
|
||||
[
|
||||
"date" => "Friday, August 10th, 2018 (12:00)",
|
||||
"department" => "Friday, August 10th, 2018 (12:00)",
|
||||
"subject" => "Customer Invoice",
|
||||
"status" => "",
|
||||
"lastupdated" => ""
|
||||
],
|
||||
[
|
||||
"date" => "Tuesday, April 3rd, 2018 (00:51)",
|
||||
"department" => "Tuesday, April 3rd, 2018 (00:51)",
|
||||
"subject" => "Your password has been reset",
|
||||
"status" => "",
|
||||
"lastupdated" => ""
|
||||
]
|
||||
]
|
||||
];
|
7
admin/controllers/news_add.php
Normal file
7
admin/controllers/news_add.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
39
admin/controllers/tickets.php
Normal file
39
admin/controllers/tickets.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
// $err = getMsg("errors");
|
||||
// $data = getMsg("form_data");
|
||||
|
||||
$tickets = [
|
||||
"total" => 10,
|
||||
"pages" => 4,
|
||||
"page" => 1,
|
||||
"list" => [
|
||||
[
|
||||
"date" => "Saturday, August 11th, 2018 (04:50)",
|
||||
"department" => "Saturday, August 11th, 2018 (04:50)",
|
||||
"subject" => "Invoice Payment Confirmation",
|
||||
"status" => "",
|
||||
"lastupdated" => ""
|
||||
],
|
||||
[
|
||||
"date" => "Friday, August 10th, 2018 (12:00)",
|
||||
"department" => "Friday, August 10th, 2018 (12:00)",
|
||||
"subject" => "Customer Invoice",
|
||||
"status" => "",
|
||||
"lastupdated" => ""
|
||||
],
|
||||
[
|
||||
"date" => "Tuesday, April 3rd, 2018 (00:51)",
|
||||
"department" => "Tuesday, April 3rd, 2018 (00:51)",
|
||||
"subject" => "Your password has been reset",
|
||||
"status" => "",
|
||||
"lastupdated" => ""
|
||||
]
|
||||
]
|
||||
];
|
|
@ -8,9 +8,21 @@ if (!defined('IN_SYS')) {
|
|||
|
||||
function isAdminLoggedIn()
|
||||
{
|
||||
if (isset($_SESSION["isAdminLoggedIn"]) && $_SESSION["isAdminLoggedIn"] == true) {
|
||||
if (isset($_SESSION["adminloggedin"]) && $_SESSION["adminloggedin"] == true) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function adminLogout()
|
||||
{
|
||||
if (isset($_COOKIE["adminloggedin"])) {
|
||||
setcookie("adminloggedin", "", time() - (86400 * 30), "/");
|
||||
}
|
||||
|
||||
if (isset($_SESSION["adminloggedin"])) {
|
||||
unset($_SESSION["adminloggedin"]);
|
||||
}
|
||||
// session_destroy();
|
||||
}
|
||||
|
|
|
@ -4,6 +4,10 @@ if (!defined('IN_SYS')) {
|
|||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
if (file_exists("{$ROOT}/install.php")) {
|
||||
require_once("{$ROOT}/admin/views/install_tips.php");
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
|
@ -12,20 +16,10 @@ if (!defined('IN_SYS')) {
|
|||
<?php echo getMsg("msg_notify"); ?>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Hosting Account Management System</h3>
|
||||
<h3 class="panel-title">Content Management System for Reseller</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<h1>Hosting Account Management System</h1>
|
||||
<p class="lead">This is a simple script for WHM myownfreehost made to manage hosting accounts through the api assigned to users with free reseller accounts.</p>
|
||||
<b>Available Functions:</b>
|
||||
<ol>
|
||||
<li>Verify if a domain is available.</li>
|
||||
<li>Creation of account hosting from the panel.</li>
|
||||
<li>Change password to hosting account.</li>
|
||||
<li>Deactivate or disable a hosting account.</li>
|
||||
<li>Activate or enable hosting account.</li>
|
||||
<li>Verify how many domain and state of the hosting account.</li>
|
||||
</ol>
|
||||
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="<?php echo setRouter('clientarea', 'forget_password'); ?>" class="btn btn-link">Forget Passsword?</a>
|
||||
|
|
|
@ -37,15 +37,26 @@ if (!defined('IN_SYS')) {
|
|||
<li><a href="<?php echo setRouter('admin', 'account_disable'); ?>">Account Suspend</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="<?php echo setRouter('admin', 'tickets'); ?>"><?php echo I18N('Tickets'); ?></a></li>
|
||||
<li><a href="<?php echo setRouter('admin', 'news'); ?>"><?php echo I18N('News'); ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<?php if (isAdminLoggedIn()) { ?>
|
||||
<li><a href="<?php echo setRouter('admin', 'logout'); ?>">Logout</a></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Hello, <?php echo ($admin["name"]); ?> <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="<?php echo setRouter('admin', 'details'); ?>">Account Details</a></li>
|
||||
<li><a href="<?php echo setRouter('admin', 'edit_details'); ?>">Edit Account Details</a></li>
|
||||
<li><a href="<?php echo setRouter('admin', 'change_password'); ?>">Change password</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="<?php echo setRouter('admin', 'logout'); ?>"><?php echo I18N('Logout'); ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<li><a href="<?php echo setRouter('admin', 'login'); ?>"><?php echo I18N('login'); ?></a></li>
|
||||
<li><a href="<?php echo setRouter('admin'); ?>"><?php echo I18N('AdminArea'); ?></a></li>
|
||||
<li><a href="<?php echo setRouter('clientarea'); ?>"><?php echo I18N('ClientArea'); ?></a></li>
|
||||
<?php } ?>
|
||||
<li><a href="<?php echo setRouter('clientarea'); ?>"><?php echo I18N('ClientArea'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
58
admin/views/news.php
Normal file
58
admin/views/news.php
Normal file
|
@ -0,0 +1,58 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php echo (getMsg("msg_notify")); ?>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<span class="panel-title">News</span>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-default btn-xs" href="<?php echo setRouter('admin', 'news_add'); ?>">Add</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Department</th>
|
||||
<th>Subject</th>
|
||||
<th>Status</th>
|
||||
<th>Last Updated</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ($tickets["total"]) {
|
||||
foreach ($tickets["list"] as $key => $value) { ?>
|
||||
<tr>
|
||||
<th><?php echo $value["date"]; ?></th>
|
||||
<td><?php echo $value["department"]; ?></td>
|
||||
<td><?php echo $value["subject"]; ?></td>
|
||||
<td><?php echo $value["status"]; ?></td>
|
||||
<td><?php echo $value["lastupdated"]; ?></td>
|
||||
</tr>
|
||||
<?php }
|
||||
} else { ?>
|
||||
<tr>
|
||||
<td colspan="5" class="text-center">No Records Found</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<span><?php echo $tickets["total"]; ?> Records Found, Page <?php echo $tickets["page"]; ?> of <?php echo $tickets["pages"]; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
37
admin/views/news_add.php
Normal file
37
admin/views/news_add.php
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-10 margin-auto">
|
||||
<?php echo (getMsg("msg_notify")); ?>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<span class="panel-title">News Add</span>
|
||||
<!-- <div class="pull-right">
|
||||
<a class="btn btn-default btn-xs" href="<?php echo setRouter('admin', 'news'); ?>">Add News</a>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form action="" method="POST">
|
||||
<label>
|
||||
<span>Title:</span>
|
||||
<input type="text" name="title" value="" class="form-control" maxlength="8" placeholder="Title">
|
||||
</label>
|
||||
<label>
|
||||
<span>Content:</span>
|
||||
<textarea name="content" class="form-control" rows="10" maxlength="5000" placeholder="Content"></textarea>
|
||||
</label>
|
||||
<button type="submit" name="do_add_news" class="btn btn-primary">Add</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="panel-footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
56
admin/views/tickets.php
Normal file
56
admin/views/tickets.php
Normal file
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../admin.php");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php echo (getMsg("msg_notify")); ?>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<span class="panel-title">Support Tickets</span>
|
||||
<!-- <a class="btn btn-default btn-xs pull-right" href="<?php echo setRouter('admin', 'tickets'); ?>">New Ticket</a> -->
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Department</th>
|
||||
<th>Subject</th>
|
||||
<th>Status</th>
|
||||
<th>Last Updated</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ($tickets["total"]) {
|
||||
foreach ($tickets["list"] as $key => $value) { ?>
|
||||
<tr>
|
||||
<th><?php echo $value["date"]; ?></th>
|
||||
<td><?php echo $value["department"]; ?></td>
|
||||
<td><?php echo $value["subject"]; ?></td>
|
||||
<td><?php echo $value["status"]; ?></td>
|
||||
<td><?php echo $value["lastupdated"]; ?></td>
|
||||
</tr>
|
||||
<?php }
|
||||
} else { ?>
|
||||
<tr>
|
||||
<td colspan="5" class="text-center">No Records Found</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<span><?php echo $tickets["total"]; ?> Records Found, Page <?php echo $tickets["page"]; ?> of <?php echo $tickets["pages"]; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
1
core.php
1
core.php
|
@ -7,6 +7,7 @@ if (!defined('IN_SYS')) {
|
|||
$ROOT = __DIR__;
|
||||
include_once "{$ROOT}/data/config.php";
|
||||
include_once "{$ROOT}/library/language.php";
|
||||
include_once "{$ROOT}/library/functions.php";
|
||||
|
||||
$rooturl = $_SERVER['HTTP_HOST'];
|
||||
$domain = preg_replace('/^www\./', '', $rooturl);
|
||||
|
|
6
core/controllers/forum.php
Normal file
6
core/controllers/forum.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../forum.php");
|
||||
exit;
|
||||
}
|
16
core/controllers/legal.php
Normal file
16
core/controllers/legal.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../legal.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$section = empty($_GET["s"]) ? "terms" : $_GET["s"];
|
||||
|
||||
if ($section == "privacy") {
|
||||
$title = $title . ' - ' . I18N("privacy_policy");
|
||||
$section_page = "{$ROOT}/core/views/legal_privacy.php";
|
||||
} else {
|
||||
$title = $title . ' - ' . I18N("tos");
|
||||
$section_page = "{$ROOT}/core/views/legal_terms.php";
|
||||
}
|
21
core/views/forum.php
Normal file
21
core/views/forum.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../forum.php");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<div class="page-header">
|
||||
<h1><?php echo I18N("forum"); ?></h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<p>Forums is under development</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,77 +1,77 @@
|
|||
<?php
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../index.php");
|
||||
exit;
|
||||
}
|
||||
// $html = file_get_contents('https://ifastnet.com/privacy.php');
|
||||
// preg_match('/<footer[^>]*id="footer"[^>]*>(.*?) <//footer>/si', $html, $match);
|
||||
$title = $title . ' - ' . $LANG['privacy_policy'];
|
||||
if (!defined('IN_SYS')) {
|
||||
// exit('禁止访问');
|
||||
header("Location: ../../index.php");
|
||||
exit;
|
||||
}
|
||||
// $html = file_get_contents('https://ifastnet.com/privacy.php');
|
||||
// preg_match('/<footer[^>]*id="footer"[^>]*>(.*?) <//footer>/si', $html, $match);
|
||||
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
<div class="page-header">
|
||||
<h1 class="text-center"><?php echo $LANG['privacy_policy']; ?></a></h1>
|
||||
<p class="text-center">Privacy policy information</p>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="page-header">
|
||||
<h1 class="text-center"><?php echo $LANG['privacy_policy']; ?></a></h1>
|
||||
<p class="text-center">Privacy policy information</p>
|
||||
</div>
|
||||
<section class="section-wrap privacyInfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="hidden-xs col-sm-12 col-md-12">
|
||||
<h1>Privacy Policy</h1>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>IFastNet LTD Privacy Policy</h2>
|
||||
</div>
|
||||
<section class="section-wrap privacyInfo">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="hidden-xs col-sm-12 col-md-12">
|
||||
<h1>Privacy Policy</h1>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>IFastNet LTD Privacy Policy</h2>
|
||||
|
||||
<p>In an effort to protect our clients' and site visitors privacy and rights, IFastNet LTD has
|
||||
established a Privacy Policy which explains what information we gather on visitors and what we
|
||||
do with information that we gather.</p>
|
||||
<p>In an effort to protect our clients' and site visitors privacy and rights, IFastNet LTD has
|
||||
established a Privacy Policy which explains what information we gather on visitors and what we
|
||||
do with information that we gather.</p>
|
||||
|
||||
<p>This Privacy Policy governs the manner in which IFastNet LTD collects, uses, maintains and
|
||||
discloses information collected from users of this Web site (each, a "User").</p>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>Privacy</h2>
|
||||
<p>This Privacy Policy governs the manner in which IFastNet LTD collects, uses, maintains and
|
||||
discloses information collected from users of this Web site (each, a "User").</p>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>Privacy</h2>
|
||||
|
||||
<p>Users' privacy is very important to IFastNet LTD. We are committed to safeguarding the
|
||||
information Users entrust to IFastNet LTD.</p>
|
||||
</div>
|
||||
<p>Users' privacy is very important to IFastNet LTD. We are committed to safeguarding the
|
||||
information Users entrust to IFastNet LTD.</p>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>The information we collect</h2>
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>The information we collect</h2>
|
||||
|
||||
<p>IFastNet LTD collects personally identifiable information from Users through online forms for
|
||||
ordering products and services. We may also collect information about how Users use our Web
|
||||
site, for example, by tracking the number of unique views received by the pages of the Web site
|
||||
or the domains from which Users originate. We use "cookies" to track how Users use our Web
|
||||
site.</p>
|
||||
</div>
|
||||
<p>IFastNet LTD collects personally identifiable information from Users through online forms for
|
||||
ordering products and services. We may also collect information about how Users use our Web
|
||||
site, for example, by tracking the number of unique views received by the pages of the Web site
|
||||
or the domains from which Users originate. We use "cookies" to track how Users use our Web
|
||||
site.</p>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>How we use information</h2>
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>How we use information</h2>
|
||||
|
||||
<p>IFastNet LTD may use personally identifiable information collected through our Web site to
|
||||
contact Users regarding products and services offered by IFastNet LTD and its trusted
|
||||
affiliates, independent contractors and business partners, and otherwise to enhance Users'
|
||||
experience with IFastNet LTD and such affiliates, independent contractors and business partners.
|
||||
</p>
|
||||
<p>IFastNet LTD may use personally identifiable information collected through our Web site to
|
||||
contact Users regarding products and services offered by IFastNet LTD and its trusted
|
||||
affiliates, independent contractors and business partners, and otherwise to enhance Users'
|
||||
experience with IFastNet LTD and such affiliates, independent contractors and business partners.
|
||||
</p>
|
||||
|
||||
<p>At no time will IFastNet LTD's database of users ever be sold to any entity for the purpose of
|
||||
marketing or mailing lists. Personal information will not be sold or otherwise transferred to
|
||||
our business partners without your prior consent, except that we will disclose the information
|
||||
we collect to third parties when, in our good faith judgment, we are obligated to do so under
|
||||
applicable laws.</p>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>Cookies</h2>
|
||||
<p>At no time will IFastNet LTD's database of users ever be sold to any entity for the purpose of
|
||||
marketing or mailing lists. Personal information will not be sold or otherwise transferred to
|
||||
our business partners without your prior consent, except that we will disclose the information
|
||||
we collect to third parties when, in our good faith judgment, we are obligated to do so under
|
||||
applicable laws.</p>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2>Cookies</h2>
|
||||
|
||||
<p>Cookies are small digital signature files that are stored by your web browser that allow your
|
||||
preferences to be recorded when visiting the website. Also they may be used to track your return
|
||||
visits to the website.</p>
|
||||
<p>Cookies are small digital signature files that are stored by your web browser that allow your
|
||||
preferences to be recorded when visiting the website. Also they may be used to track your return
|
||||
visits to the website.</p>
|
||||
|
||||
<p>3rd party advertising companies may also use cookies for tracking purposes.</p>
|
||||
</div>
|
||||
<p>3rd party advertising companies may also use cookies for tracking purposes.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
File diff suppressed because it is too large
Load diff
|
@ -30,6 +30,7 @@ if (!defined('IN_SYS')) {
|
|||
<li><a href="contact.php"><?php echo $LANG['contact']; ?></a></li>
|
||||
<li><a href="help.php"><?php echo $LANG['help']; ?></a></li>
|
||||
<li><a href="support.php"><?php echo $LANG['support']; ?></a></li>
|
||||
<li><a href="<?php echo setRouter('forum'); ?>"><?php echo I18N('forum'); ?></a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="dropdown-header"><?php echo $LANG['aboutus']; ?></li>
|
||||
<li><a href="about.php"><?php echo $LANG['about']; ?> UIISC</a></li>
|
||||
|
|
|
@ -29,8 +29,8 @@ if (!defined('IN_SYS')) {
|
|||
</div>
|
||||
<div class="col-md-4 text-center">
|
||||
<img src="assets/images/forums.jpg" alt="Forums">
|
||||
<h3><?php echo I18N('Forums'); ?></h3>
|
||||
<p>You can also join our community forums if you want to interact with other users and get instant answers.</p>
|
||||
<h3><?php echo I18N('forum'); ?></h3>
|
||||
<p>You can also join our <a href="<?php echo setRouter('forum'); ?>">community forums</a> if you want to interact with other users and get instant answers.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -16,6 +16,7 @@ $description = "uiisc, freewebhost, webhost, Crogram, iFastNet";
|
|||
$google_site_verification = "5O6Wxt0gIyGb7btMuXiQqddZJ516n-xBOW_9RLMBeSY";
|
||||
|
||||
$admin = [
|
||||
"name" => "管理员",
|
||||
"username" => "admin",
|
||||
"password" => "admin",
|
||||
];
|
||||
|
|
10
forum.php
10
forum.php
|
@ -1,2 +1,10 @@
|
|||
<?php
|
||||
echo "forum module";
|
||||
define('IN_SYS', true);
|
||||
require_once("core.php");
|
||||
|
||||
include("core/controllers/forum.php");
|
||||
|
||||
include("core/views/header.php");
|
||||
include("core/views/navbar.php");
|
||||
include("core/views/forum.php");
|
||||
include("core/views/footer.php");
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
<?php
|
||||
header("Location: ../forum.php");
|
18
legal.php
18
legal.php
|
@ -1,18 +1,10 @@
|
|||
<?php
|
||||
define('IN_SYS', true);
|
||||
require_once "core.php";
|
||||
// $title = 'About UIISC';
|
||||
$section = empty($_GET["s"]) ? "terms" : $_GET["s"];
|
||||
|
||||
include("core/views/header.php");
|
||||
include("{$ROOT}/core/controllers/legal.php");
|
||||
|
||||
switch ($section) {
|
||||
case "privacy":
|
||||
include("core/views/legal_privacy.php");
|
||||
break;
|
||||
case "terms":
|
||||
default:
|
||||
include("core/views/legal_terms.php");
|
||||
}
|
||||
|
||||
include("core/views/footer.php");
|
||||
include("{$ROOT}/core/views/header.php");
|
||||
include("{$ROOT}/core/views/navbar.php");
|
||||
include("{$section_page}");
|
||||
include("{$ROOT}/core/views/footer.php");
|
||||
|
|
Loading…
Add table
Reference in a new issue