update
This commit is contained in:
parent
9fd3613aee
commit
fab80450be
26 changed files with 363 additions and 254 deletions
14
admin.php
14
admin.php
|
@ -5,9 +5,7 @@ define("IN_SYS", true);
|
|||
require_once("core.php");
|
||||
|
||||
// $INDEX = __FILE__;
|
||||
$ROOT = __DIR__;
|
||||
|
||||
include_once "{$ROOT}/data/config.php";
|
||||
include_once "{$ROOT}/include/common.php";
|
||||
include_once "{$ROOT}/lib/api.php";
|
||||
include_once "{$ROOT}/controllers/admin.php";
|
||||
|
@ -97,7 +95,7 @@ if (!file_exists("{$ROOT}/data/installed") || !isset($config) || $config['apiUse
|
|||
<td><?php echo $value["password"]; ?></td>
|
||||
<td><?php echo implode(",", $value["nameserver"]); ?></td>
|
||||
<td style="width: 206px;">
|
||||
<a class="btn btn-default btn-xs" href="#" role="button">Login</a>
|
||||
<a class="btn btn-default btn-xs" href="#" role="button"><?php echo $LANG['login']; ?></a>
|
||||
<button class="btn btn-default btn-xs" type="submit">View</button>
|
||||
<button class="btn btn-default btn-xs" type="submit">Active</button>
|
||||
<button class="btn btn-default btn-xs" type="submit">Disable</button>
|
||||
|
@ -189,20 +187,20 @@ if (!file_exists("{$ROOT}/data/installed") || !isset($config) || $config['apiUse
|
|||
<form action="" method="POST" class="form-horizontal">
|
||||
<label>
|
||||
<span>Admin:</span>
|
||||
<input type="text" name="username" class="form-control" maxlength="18" placeholder="Admin Username" autofocus>
|
||||
<input type="text" name="username" class="form-control" maxlength="18" placeholder="Admin Username" autofocus required>
|
||||
</label>
|
||||
<label>
|
||||
<span>Password:</span>
|
||||
<input type="password" name="password" class="form-control" maxlength="35" placeholder="Admin Password">
|
||||
<input type="password" name="password" class="form-control" maxlength="35" placeholder="Admin Password" required>
|
||||
</label>
|
||||
<label>
|
||||
<span>Captcha:</span>
|
||||
<input type="text" name="captcha" class="form-control" maxlength="18" placeholder="CAPTCHA" autocomplete="off">
|
||||
<input type="text" name="captcha" class="form-control" maxlength="18" placeholder="CAPTCHA" required autocomplete="off">
|
||||
</label>
|
||||
<button type="submit" name="do_login" class="btn btn-primary">Login</button>
|
||||
<button type="submit" name="do_login" class="btn btn-primary"><?php echo $LANG['login']; ?></button>
|
||||
</form>
|
||||
<?php } elseif ($is_admin && !isset($message[0])) { ?>
|
||||
<div class="alert alert-success">已经登录</div>
|
||||
<div class="alert alert-success">You have logged in</div>
|
||||
<?php } ?>
|
||||
<?php }
|
||||
if ($message) { ?>
|
||||
|
|
2
admin/index.php
Normal file
2
admin/index.php
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?php
|
||||
header("Location: ../admin.php");
|
|
@ -12,7 +12,6 @@ body {
|
|||
}
|
||||
|
||||
input {
|
||||
|
||||
border: 0;
|
||||
outline-width: 0 !important;
|
||||
}
|
||||
|
@ -116,7 +115,6 @@ body.fixed-header-on {
|
|||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
font-size: 24px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.bs-docs-header h1 {
|
||||
|
@ -125,14 +123,6 @@ body.fixed-header-on {
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
|
||||
.bs-docs-header h1,
|
||||
.bs-docs-header p {
|
||||
margin-right: 380px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-account {
|
||||
max-width: 300px;
|
||||
padding: 15px;
|
||||
|
@ -183,14 +173,25 @@ body.fixed-header-on {
|
|||
animation: wave-arm .56s infinite;
|
||||
transform-origin: 13rem 10.6rem
|
||||
}
|
||||
.octocat .octocat-arm, .octocat .octocat-body {
|
||||
|
||||
.octocat .octocat-arm,
|
||||
.octocat .octocat-body {
|
||||
fill: #f4f5f6
|
||||
}
|
||||
|
||||
@keyframes wave-arm {
|
||||
0%, 50% {transform: rotate(0)}
|
||||
25%, 75% {transform: rotate(-25deg)}
|
||||
|
||||
0%,
|
||||
50% {
|
||||
transform: rotate(0)
|
||||
}
|
||||
|
||||
25%,
|
||||
75% {
|
||||
transform: rotate(-25deg)
|
||||
}
|
||||
}
|
||||
|
||||
.footer .co {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
BIN
assets/images/emails.jpg
Normal file
BIN
assets/images/emails.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
BIN
assets/images/forums.jpg
Normal file
BIN
assets/images/forums.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
assets/images/tickets.jpg
Normal file
BIN
assets/images/tickets.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
|
@ -1,5 +1,23 @@
|
|||
var ifastnet_aff = 19474;
|
||||
$(".language-change-click").click(function (x) {
|
||||
change_language(x.target.dataset.language);
|
||||
})
|
||||
|
||||
if (document.getElementsByName("jump-ifastnet").length) {
|
||||
document.getElementsByName("jump-ifastnet")[0].onclick = function (x) {
|
||||
jumpLink("https://ifastnet.com/portal/aff.php?aff=" + ifastnet_aff, null, "_target");
|
||||
x.preventDefault();
|
||||
x.stopPropagation();
|
||||
};
|
||||
}
|
||||
|
||||
function change_language(lang) {
|
||||
setCookie('lang', lang, 1, '/', domain, false);
|
||||
if (cur_lang == lang) {
|
||||
return;
|
||||
}
|
||||
// to reload after changed
|
||||
window.location.href = window.location.href;
|
||||
}
|
||||
|
||||
function jumpLink(action, params, target) {
|
||||
var fm = document.createElement("form");
|
||||
|
|
|
@ -1,11 +1,33 @@
|
|||
<?php
|
||||
require_once ("core.php");
|
||||
require_once("core.php");
|
||||
$domain = "uiisc.com";
|
||||
$post_data = $_POST;
|
||||
print_r($post_data);
|
||||
$data = file_get_contents("php://input");
|
||||
$url = "http://order.".$domain."/register.php";
|
||||
$url = "http://order.{$domain}/register.php";
|
||||
// $data = $post_data;
|
||||
function curlrequest($url, $data, $method = "post")
|
||||
{
|
||||
$ch = curl_init(); // 初始化CURL句柄
|
||||
curl_setopt($ch, CURLOPT_URL, $url); // 设置请求的URL
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // 设为TRUE把curl_exec()结果转化为字串,而不是直接输出
|
||||
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); // 设置请求方式
|
||||
curl_setopt($ch, CURLOPT_REFERER, $url); // 构造来路
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, array("X-HTTP-Method-Override: $method")); // 设置HTTP头信息
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); // 设置提交的字符串
|
||||
$document = curl_exec($ch); // 执行预定义的CURL
|
||||
if (!curl_errno($ch)) {
|
||||
$info = curl_getinfo($ch);
|
||||
echo 'Took ' . $info['total_time'] . ' seconds to send a request to ' . $info['url'];
|
||||
} else {
|
||||
echo 'Curl error: ' . curl_error($ch);
|
||||
}
|
||||
curl_close($ch);
|
||||
// $document=preg_replace("/[\t\n\r]+/","",$document);
|
||||
return $document;
|
||||
}
|
||||
|
||||
$return = curlrequest($url, $post_data, "post");
|
||||
|
||||
var_dump($return);exit;
|
||||
var_dump($return);
|
||||
exit;
|
||||
|
|
31
core.php
31
core.php
|
@ -4,31 +4,10 @@ if (!defined('IN_SYS')) {
|
|||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
include_once dirname(__FILE__) . '/lib/language.php';
|
||||
$title = "UIISC";
|
||||
$title_s = "UIISC";
|
||||
$author = 'Crogram Inc.';
|
||||
$description = "uiisc, freewebhost, webhost, Crogram, iFastNet";
|
||||
$ROOT = __DIR__;
|
||||
include_once "{$ROOT}/data/config.php";
|
||||
include_once "{$ROOT}/lib/language.php";
|
||||
|
||||
$rooturl = $_SERVER['HTTP_HOST'];
|
||||
$domain = preg_replace('/^www\./', '', $rooturl);
|
||||
$static_release = 'build_1544600355643';
|
||||
function curlrequest($url, $data, $method = "post")
|
||||
{
|
||||
$ch = curl_init(); // 初始化CURL句柄
|
||||
curl_setopt($ch, CURLOPT_URL, $url); // 设置请求的URL
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // 设为TRUE把curl_exec()结果转化为字串,而不是直接输出
|
||||
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); // 设置请求方式
|
||||
curl_setopt($ch, CURLOPT_REFERER, $url); // 构造来路
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, array("X-HTTP-Method-Override: $method")); // 设置HTTP头信息
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); // 设置提交的字符串
|
||||
$document = curl_exec($ch); // 执行预定义的CURL
|
||||
if (!curl_errno($ch)) {
|
||||
$info = curl_getinfo($ch);
|
||||
echo 'Took ' . $info['total_time'] . ' seconds to send a request to ' . $info['url'];
|
||||
} else {
|
||||
echo 'Curl error: ' . curl_error($ch);
|
||||
}
|
||||
curl_close($ch);
|
||||
// $document=preg_replace("/[\t\n\r]+/","",$document);
|
||||
return $document;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,15 @@ if (!defined('IN_SYS')) {
|
|||
exit;
|
||||
}
|
||||
|
||||
$static_release = '1559728996134';
|
||||
$brandName = "UIISC";
|
||||
$iFastNetAff = 19474;
|
||||
$CopyRightYear = "2013 - " . date("Y");
|
||||
$title = "UIISC";
|
||||
$title_s = "UIISC";
|
||||
$author = 'Crogram Inc.';
|
||||
$description = "uiisc, freewebhost, webhost, Crogram, iFastNet";
|
||||
$google_site_verification = "5O6Wxt0gIyGb7btMuXiQqddZJ516n-xBOW_9RLMBeSY";
|
||||
|
||||
$admin = [
|
||||
"username" => "admin",
|
||||
|
|
89
help.php
89
help.php
|
@ -1,25 +1,78 @@
|
|||
<?php
|
||||
define('IN_SYS', true);
|
||||
require_once ("core.php");
|
||||
$title = $title . ' - ' . $LANG['help'];
|
||||
define('IN_SYS', true);
|
||||
require_once "core.php";
|
||||
|
||||
$title = $title . ' - ' . I18N('help');
|
||||
|
||||
$questions = [
|
||||
[
|
||||
"title" => "What is bandwidth ?",
|
||||
"content" => 'Bandwidth is the amount of data your website can transfer per month, every month the bandwidth counter will reset.'
|
||||
],
|
||||
[
|
||||
"title" => "How much files can I upload ?",
|
||||
"content" => "You're free to upload as much files as you want, but please be aware that the largest size for an individual file is limited to 10Mb."
|
||||
],
|
||||
[
|
||||
"title" => "How can I upload files ?",
|
||||
"content" => 'You have two ways, the first one (recommanded), you can download a FTP client software, you will find recommanded free softwares to download on the "Free FTP Software" from the "Files" section on VistaPanel. The second way is to use our free "Online File Manager" on VistaPanel.'
|
||||
],
|
||||
[
|
||||
"title" => "How can I use FTP ?",
|
||||
"content" => 'You can view our tutorial on how to setup and use FTP to manage your files <a href="http://tutorials.securesignup.net/premium-cpanel-hosting/file-management/via-ftp-2.html">here</a>.'
|
||||
],
|
||||
[
|
||||
"title" => "Do you allow PHP and MySQL databases ?",
|
||||
"content" => 'Yes, we allow PHP and MySQL.'
|
||||
],
|
||||
[
|
||||
"title" => "Do you offer PHPMyAdmin ?",
|
||||
"content" => 'Yes we do offer PHPMyAdmin.'
|
||||
],
|
||||
[
|
||||
"title" => "What type of websites are not allowed to be hosted ?",
|
||||
"content" => 'Anything illegal, websites that contains copyrighted files (warez), adult content, spamming scripts, web proxies etc... For more information please read our TOS.'
|
||||
],
|
||||
[
|
||||
"title" => "How do I report a website ?",
|
||||
"content" => 'We would really appreciate it, the best way is to open a ticket from VistaPanel, if not, you can email us at support@uiisc.com'
|
||||
],
|
||||
[
|
||||
"title" => "How do I get support ?",
|
||||
"content" => 'To get technical support, open a ticket from VistaPanel, email us at support@5sidc.com or join our community forums'
|
||||
],
|
||||
[
|
||||
"title" => "What details should I post when asking for support ?",
|
||||
"content" => "Don't post your account's password, including databases passwords! And just be specific."
|
||||
]
|
||||
]
|
||||
|
||||
?>
|
||||
<?php include ("include/header.php"); ?>
|
||||
<?php include("include/header.php"); ?>
|
||||
|
||||
<div class="container">
|
||||
<div class="page-header">
|
||||
<h1><?php echo $LANG['help']; ?></h1>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="page-header">
|
||||
<h1><?php echo I18N('help'); ?></h1>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<h2><?php echo $LANG['help']; ?></h2>
|
||||
<p>If you have any problems or have the need to contact us to ask a question,
|
||||
you can use the <span>integrated support system</span> in your control panel to create a support ticket.</p>
|
||||
<p>We will reply to your question as soon as possible.</p>
|
||||
<p>For technical support please look at the <a href="mailto:doudoudzj@sina.com" target="_blank">Email Support</a></p>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
|
||||
<?php foreach ($questions as $key => $value) { ?>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" role="tab" id="heading-<?php echo $key; ?>">
|
||||
<a class="panel-title<?php echo $key == 0 ? '' : ' collapsed'; ?>" role="button" data-toggle="collapse" data-parent="#accordion" href="#questions-<?php echo $key; ?>" aria-expanded="<?php echo $key == 0 ? 'true' : 'false'; ?>" aria-controls="questions-<?php echo $key; ?>">
|
||||
<?php echo $key + 1; ?>.<?php echo $value["title"]; ?>
|
||||
</a>
|
||||
</div>
|
||||
<div id="questions-<?php echo $key; ?>" class="panel-collapse collapse<?php echo $key == 0 ? ' in' : ''; ?>" role="tabpanel" aria-labelledby="heading-<?php echo $key; ?>">
|
||||
<div class="panel-body">
|
||||
<p><?php echo $value["content"]; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include ("include/footer.php"); ?>
|
||||
<?php include "include/footer.php"; ?>
|
|
@ -6,14 +6,13 @@ if (!defined('IN_SYS')) {
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="bs-docs-header">
|
||||
<div class="container">
|
||||
<h1>CROGRAM</h1>
|
||||
<p>About Crogram, Inc.</p>
|
||||
<div class="container">
|
||||
<div class="bs-docs-header">
|
||||
<h1><?php echo I18N('about'); ?> Crogram</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="">
|
||||
<a href="https://crogram.com" target="blank">Crogram</a>
|
||||
</div>
|
||||
</div>
|
|
@ -7,14 +7,13 @@ if (!defined('IN_SYS')) {
|
|||
|
||||
?>
|
||||
|
||||
<div class="bs-docs-header">
|
||||
<div class="container">
|
||||
<h1>iFastNet</h1>
|
||||
<p>About iFastNet, Inc.</p>
|
||||
<div class="container">
|
||||
<div class="bs-docs-header">
|
||||
<h1><?php echo I18N('about'); ?> iFastNet</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="">
|
||||
<a href="https://ifastnet.com/portal/aff.php?aff=<?php echo $iFastNetAff; ?>" target="blank">iFastNet</a>
|
||||
</div>
|
||||
</div>
|
|
@ -7,13 +7,13 @@ if (!defined('IN_SYS')) {
|
|||
|
||||
?>
|
||||
|
||||
<div class="bs-docs-header">
|
||||
<div class="container">
|
||||
<h1>UIISC</h1>
|
||||
<p>About UIISC</p>
|
||||
<div class="container">
|
||||
<div class="bs-docs-header">
|
||||
<h1><?php echo I18N('about'); ?> UIISC</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="">
|
||||
<a href="http://uiisc.com">UIISC</a>
|
||||
</div>
|
||||
</div>
|
|
@ -11,7 +11,7 @@ if (!defined('IN_SYS')) {
|
|||
<div class="navbar-inner navbar-content-center" style="padding-top:15px;">
|
||||
<ul class="navbar-left list-inline text-center text-muted credit">
|
||||
<li>
|
||||
<span class="co">© 2019 <a href="/index.php"><?=$title_s?></a> </span>
|
||||
<span class="co">© <?php echo $CopyRightYear; ?> <a href="index.php"><?php echo $title_s;?></a> </span>
|
||||
<span class="co"> Powered by <a href="https://crogram.com" target="blank">Crogram</a> </span>
|
||||
<span class="co"> Partnered with <a href="https://ifastnet.com/" name="jump-ifastnet" target="blank">iFastNet</a> </span>
|
||||
</li>
|
||||
|
@ -30,37 +30,16 @@ if (!defined('IN_SYS')) {
|
|||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/contact.php"><?php echo $LANG['contact_us']; ?></a></li>
|
||||
<li><a href="/help.php"><?php echo $LANG['help']; ?></a></li>
|
||||
<li><a href="about.php"><?php echo I18N('about'); ?></a></li>
|
||||
<li><a href="contact.php"><?php echo I18N('contact'); ?></a></li>
|
||||
<li><a href="support.php"><?php echo I18N('support'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="/assets/jquery/jquery.min.js"></script>
|
||||
<script src="/assets/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/common.js?_=<?php echo $static_release; ?>"></script>
|
||||
<script type="text/javascript">
|
||||
var domain = "<?php echo $lang->getDomain(); ?>";
|
||||
var cur_lang = "<?php echo $current_lang; ?>";
|
||||
function change_language(lang) {
|
||||
setCookie('lang', lang, 1, '/', domain, false);
|
||||
if (cur_lang == lang) {
|
||||
return;
|
||||
}
|
||||
<?php if (!$_POST) {?>document.location.reload();<?php }?>
|
||||
|
||||
}
|
||||
$(".language-change-click").click(function (x) {
|
||||
change_language(x.target.dataset.language);
|
||||
})
|
||||
if (document.getElementsByName("jump-ifastnet").length) {
|
||||
document.getElementsByName("jump-ifastnet")[0].onclick = function (x) {
|
||||
jumpLink("https://ifastnet.com/portal/aff.php?aff=" + ifastnet_aff, null, "_target");
|
||||
x.preventDefault();
|
||||
x.stopPropagation();
|
||||
};
|
||||
}
|
||||
</script>
|
||||
<script src="assets/jquery/jquery.min.js"></script>
|
||||
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="assets/js/common.js?_=<?php echo $static_release; ?>"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -24,6 +24,11 @@ if (!defined('IN_SYS')) {
|
|||
<script src="assets/html5shiv/html5shiv.min.js"></script>
|
||||
<script src="assets/respond/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript">
|
||||
var domain = "<?php echo $lang->getDomain(); ?>";
|
||||
var cur_lang = "<?php echo $current_lang; ?>";
|
||||
var ifastnet_aff = <?php echo $iFastNetAff; ?>;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -42,7 +47,7 @@ if (!defined('IN_SYS')) {
|
|||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.php"><?php echo $LANG['home']; ?></a></li>
|
||||
<li><a href="index.php"><?php echo I18N('home'); ?></a></li>
|
||||
<?php if ($is_admin) { ?>
|
||||
<li class="dropdown">
|
||||
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">Account <span class="caret"></span></a>
|
||||
|
@ -65,9 +70,9 @@ if (!defined('IN_SYS')) {
|
|||
<?php if ($is_admin) { ?>
|
||||
<li><a href="admin.php?s=logout">Logout</a></li>
|
||||
<?php } else { ?>
|
||||
<li><a href="admin.php?s=login"><?php echo $LANG['login']; ?></a></li>
|
||||
<li><a href="admin.php?s=login"><?php echo I18N('login'); ?></a></li>
|
||||
<?php } ?>
|
||||
<li><a href="index.php"><?php echo $LANG['home']; ?></a></li>
|
||||
<li><a href="index.php"><?php echo I18N('home'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,69 +6,42 @@ if (!defined('IN_SYS')) {
|
|||
}
|
||||
?>
|
||||
|
||||
<footer class="footer navbar navbar-default navbar-fixed-bottom">
|
||||
<div class="container">
|
||||
<div class="navbar-inner navbar-content-center" style="padding-top:15px;">
|
||||
<ul class="navbar-left list-inline text-center text-muted credit">
|
||||
<li>
|
||||
<span class="co">© 2019 <a href="/index.php"><?=$title_s?></a> </span>
|
||||
<span class="co"> Powered by <a href="https://crogram.com" target="blank">Crogram</a> </span>
|
||||
<span class="co"> Partnered with <a href="https://ifastnet.com/" name="jump-ifastnet" target="blank">iFastNet</a> </span>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="legal navbar-right list-inline text-center">
|
||||
<li class="dropup">
|
||||
<div class="dropdown-toggle" id="changelanguage" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
<a href="#"><?php echo $languages[$current_lang][0]; ?></a>
|
||||
</div>
|
||||
<ul class="dropdown-menu language-change" aria-labelledby="changelanguage">
|
||||
<?php foreach ($languages as $key => $value) {
|
||||
$actived = $key == $current_lang ? ' class="active"' : '';
|
||||
echo '<li' .$actived . '><a class="language-change-click" data-language="' . $key . '" href="javascript://">' . $languages[$key][0] . '</a></li>';
|
||||
}?>
|
||||
<footer class="footer navbar navbar-default navbar-fixed-bottom">
|
||||
<div class="container">
|
||||
<div class="navbar-inner navbar-content-center" style="padding-top:15px;">
|
||||
<ul class="navbar-left list-inline text-center text-muted credit">
|
||||
<li>
|
||||
<span class="co">© <?php echo $CopyRightYear; ?> <a href="index.php"><?= $title_s ?></a> </span>
|
||||
<span class="co"> Powered by <a href="https://crogram.com" target="blank">Crogram</a> </span>
|
||||
<span class="co"> Partnered with <a href="https://ifastnet.com/" name="jump-ifastnet" target="blank">iFastNet</a> </span>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="legal navbar-right list-inline text-center">
|
||||
<li class="dropup">
|
||||
<div class="dropdown-toggle" id="changelanguage" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="glyphicon glyphicon-globe"></span>
|
||||
<a href="#"><?php echo $languages[$current_lang][0]; ?></a>
|
||||
</div>
|
||||
<ul class="dropdown-menu language-change" aria-labelledby="changelanguage">
|
||||
<?php foreach ($languages as $key => $value) {
|
||||
$actived = $key == $current_lang ? ' class="active"' : '';
|
||||
echo '<li' . $actived . '><a class="language-change-click" data-language="' . $key . '" href="javascript://">' . $languages[$key][0] . '</a></li>';
|
||||
} ?>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/contact.php"><?php echo $LANG['contact_us']; ?></a></li>
|
||||
<li><a href="/help.php"><?php echo $LANG['help']; ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="about.php"><?php echo I18N('about'); ?></a></li>
|
||||
<li><a href="contact.php"><?php echo I18N('contact'); ?></a></li>
|
||||
<li><a href="support.php"><?php echo I18N('support'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="/assets/jquery/jquery.min.js"></script>
|
||||
<script src="/assets/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/common.js?_=<?php echo $static_release; ?>"></script>
|
||||
<script type="text/javascript">
|
||||
var domain = "<?php echo $lang->getDomain(); ?>";
|
||||
var cur_lang = "<?php echo $current_lang; ?>";
|
||||
function change_language(lang) {
|
||||
setCookie('lang', lang, 1, '/', domain, false);
|
||||
if (cur_lang == lang) {
|
||||
return;
|
||||
}
|
||||
<?php if (!$_POST) {?>document.location.reload();<?php }?>
|
||||
|
||||
}
|
||||
$(".language-change-click").click(function (x) {
|
||||
change_language(x.target.dataset.language);
|
||||
})
|
||||
if (document.getElementsByName("jump-ifastnet").length) {
|
||||
document.getElementsByName("jump-ifastnet")[0].onclick = function (x) {
|
||||
jumpLink("https://ifastnet.com/portal/aff.php?aff=" + ifastnet_aff, null, "_target");
|
||||
x.preventDefault();
|
||||
x.stopPropagation();
|
||||
};
|
||||
}
|
||||
</script>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-28162642-10"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-28162642-10');
|
||||
</script>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="assets/jquery/jquery.min.js"></script>
|
||||
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="assets/js/common.js?_=<?php echo $static_release; ?>"></script>
|
||||
<?php include("google_analytics.php"); ?>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
8
include/google_analytics.php
Normal file
8
include/google_analytics.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-28162642-10"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-28162642-10');
|
||||
</script>
|
|
@ -7,22 +7,30 @@ if (!defined('IN_SYS')) {
|
|||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?php echo $current_lang; ?>">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?=$title?></title>
|
||||
<title><?php echo $title; ?></title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<meta name="description" content="<?php echo $description; ?>">
|
||||
<meta name="author" content="<?php echo $author; ?>">
|
||||
<meta name="google-site-verification" content="5O6Wxt0gIyGb7btMuXiQqddZJ516n-xBOW_9RLMBeSY" />
|
||||
<link href="/favicon.ico?_=<?php echo $static_release; ?>" rel="icon">
|
||||
<link href="/assets/bootstrap/css/bootstrap.min.css?_=<?php echo $static_release; ?>" rel="stylesheet">
|
||||
<link href="/assets/css/style.css?_=<?php echo $static_release; ?>" rel="stylesheet">
|
||||
<?php if (!empty($google_site_verification)) { ?><meta name="google-site-verification" content="<?php echo $google_site_verification; ?>" />
|
||||
<?php } ?>
|
||||
<link href="favicon.ico?_=<?php echo $static_release; ?>" rel="icon">
|
||||
<link href="assets/bootstrap/css/bootstrap.min.css?_=<?php echo $static_release; ?>" rel="stylesheet">
|
||||
<link href="assets/css/style.css?_=<?php echo $static_release; ?>" rel="stylesheet">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="/assets/html5shiv/html5shiv.min.js"></script>
|
||||
<script src="/assets/respond/respond.min.js"></script>
|
||||
<script src="assets/html5shiv/html5shiv.min.js"></script>
|
||||
<script src="assets/respond/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript">
|
||||
var domain = "<?php echo $lang->getDomain(); ?>";
|
||||
var cur_lang = "<?php echo $current_lang; ?>";
|
||||
var ifastnet_aff = <?php echo $iFastNetAff; ?>;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
|
@ -39,35 +47,41 @@ if (!defined('IN_SYS')) {
|
|||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="/index.php"><?php echo $LANG['home']; ?></a></li>
|
||||
<li><a href="/solution.php"><?php echo $LANG['solution']; ?></a></li>
|
||||
<li><a href="/about.php"><?php echo $LANG['about']; ?></a></li>
|
||||
<li><a href="/contact.php"><?php echo $LANG['contact']; ?></a></li>
|
||||
<li class="dropdown">
|
||||
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><?php echo $LANG['more']; ?> <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="/help.php"><?php echo $LANG['help']; ?></a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="dropdown-header"><?php echo $LANG['aboutus']; ?></li>
|
||||
<li><a href="/about.php?s=uiisc"><?php echo $LANG['about']; ?> UIISC</a></li>
|
||||
<li><a href="/about.php?s=crogram"><?php echo $LANG['about']; ?> Crogram,Inc.</a></li>
|
||||
<li><a href="/about.php?s=ifastnet"><?php echo $LANG['about']; ?> iFastNet</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/cancellation-refund.php"><?php echo $LANG['cancellation_refund']; ?></a></li>
|
||||
<li><a href="/payment-methods.php"><?php echo $LANG['payment_methods']; ?></a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="dropdown-header"><?php echo $LANG['legal_information']; ?></li>
|
||||
<li><a href="/legal.php?s=terms"><?php echo $LANG['tos']; ?></a></li>
|
||||
<li><a href="/legal.php?s=privacy"><?php echo $LANG['privacy_policy']; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="index.php"><?php echo $LANG['home']; ?></a></li>
|
||||
<li><a href="solution.php"><?php echo $LANG['solution']; ?></a></li>
|
||||
<li><a href="support.php"><?php echo $LANG['support']; ?></a></li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><?php echo $LANG['more']; ?> <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<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 class="divider"></li>
|
||||
<li class="dropdown-header"><?php echo $LANG['aboutus']; ?></li>
|
||||
<li><a href="about.php"><?php echo $LANG['about']; ?> UIISC</a></li>
|
||||
<li><a href="about.php?s=crogram"><?php echo $LANG['about']; ?> Crogram,Inc.</a></li>
|
||||
<li><a href="about.php?s=ifastnet"><?php echo $LANG['about']; ?> iFastNet</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="cancellation-refund.php"><?php echo $LANG['cancellation_refund']; ?></a></li>
|
||||
<li><a href="payment-methods.php"><?php echo $LANG['payment_methods']; ?></a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="dropdown-header"><?php echo $LANG['legal_information']; ?></li>
|
||||
<li><a href="legal.php?s=terms"><?php echo $LANG['tos']; ?></a></li>
|
||||
<li><a href="legal.php?s=privacy"><?php echo $LANG['privacy_policy']; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="/login.php"><?php echo $LANG['login']; ?></a></li>
|
||||
<li><a href="/register.php"><?php echo $LANG['register']; ?></a></li>
|
||||
<li><a href="login.php"><?php echo $LANG['login']; ?></a></li>
|
||||
<li><a href="register.php"><?php echo $LANG['register']; ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<a class="hidden-xs" href="https://github.com/uiisc/uiisc.com" title="Source on Github" target="_blank"><svg class="octocat" viewBox="0 0 250 250" style="border: 0;color: #f4f5f6;fill: #5e6772;height: 5.2rem;width: 5.2rem;position: fixed;right: 0;top: 0;z-index: 1"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path class="octocat-arm" d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"></path><path class="octocat-body" d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"></path></svg></a>
|
||||
<a class="hidden-xs" href="https://github.com/uiisc/uiisc.com" title="Source on Github" target="_blank"><svg class="octocat" viewBox="0 0 250 250" style="border: 0;color: #f4f5f6;fill: #5e6772;height: 5.2rem;width: 5.2rem;position: fixed;right: 0;top: 0;z-index: 1">
|
||||
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
|
||||
<path class="octocat-arm" d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"></path>
|
||||
<path class="octocat-body" d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"></path>
|
||||
</svg></a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
|
@ -20,27 +20,27 @@
|
|||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="/index.php"><?php echo $LANG['home']; ?></a></li>
|
||||
<li><a href="/solution.php"><?php echo $LANG['solution']; ?></a></li>
|
||||
<li><a href="/contact.php"><?php echo $LANG['contact']; ?></a></li>
|
||||
<li><a href="index.php"><?php echo $LANG['home']; ?></a></li>
|
||||
<li><a href="solution.php"><?php echo $LANG['solution']; ?></a></li>
|
||||
<li><a href="contact.php"><?php echo $LANG['contact']; ?></a></li>
|
||||
<li class="dropdown">
|
||||
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><?php echo $LANG['more']; ?> <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="/about.php"><?php echo $LANG['about']; ?></a></li>
|
||||
<li><a href="/help.php"><?php echo $LANG['help']; ?></a></li>
|
||||
<li><a href="about.php"><?php echo $LANG['about']; ?></a></li>
|
||||
<li><a href="help.php"><?php echo $LANG['help']; ?></a></li>
|
||||
<li><a href="javascript:void(0)"><?php echo $LANG['tos']; ?></a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="dropdown-header"><?php echo $LANG['legal_information']; ?></li>
|
||||
<li><a href="/legal.php?s=terms"><?php echo $LANG['tos']; ?></a></li>
|
||||
<li><a href="/legal.php?s=privacy"><?php echo $LANG['privacy_policy']; ?></a></li>
|
||||
<li><a href="/legal_cancellation-refund.php"><?php echo $LANG['cancellation_refund']; ?></a></li>
|
||||
<li><a href="/legal_payment-methods.php"><?php echo $LANG['payment_methods']; ?></a></li>
|
||||
<li><a href="legal.php?s=terms"><?php echo $LANG['tos']; ?></a></li>
|
||||
<li><a href="legal.php?s=privacy"><?php echo $LANG['privacy_policy']; ?></a></li>
|
||||
<li><a href="legal_cancellation-refund.php"><?php echo $LANG['cancellation_refund']; ?></a></li>
|
||||
<li><a href="legal_payment-methods.php"><?php echo $LANG['payment_methods']; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="/login.php"><?php echo $LANG['login']; ?></a></li>
|
||||
<li><a href="/register.php"><?php echo $LANG['register']; ?></a></li>
|
||||
<li><a href="login.php"><?php echo $LANG['login']; ?></a></li>
|
||||
<li><a href="register.php"><?php echo $LANG['register']; ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
15
index.php
15
index.php
|
@ -8,35 +8,34 @@
|
|||
<div class="jumbotron">
|
||||
<h1>Instant activation</h1>
|
||||
<p>Free hosting accounts are activated instantly, no need to wait for manual approval, you can start building your pages immediately! A powerful Vista Panel control panel is provided to manage your website, packed with hundreds of great features including Email, FTP add-on domain ...</p>
|
||||
<p><a class="btn btn-primary" href="/register.php" role="button">Get More »</a></p>
|
||||
<p><a class="btn btn-primary" href="register.php" role="button">Get More »</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<!-- <div class="container">
|
||||
<div class="form-group">
|
||||
<label for="domainInput">Domain</label>
|
||||
<input type="text" class="form-control" id="domainInput" placeholder="uiisc.com">
|
||||
<input type="button" class="btn btn-default check-domain" value="Check" />
|
||||
</div>
|
||||
<button class="btn btn-default check-domain">Check</button>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h2>Automated features!</h2>
|
||||
<img src="assets/images/img6.jpg" alt="server" class="img-rounded">
|
||||
<!--<p class="text-danger">As of v8.0, Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing.</p>-->
|
||||
<p><img src="assets/images/img6.jpg" alt="server" class="img-rounded"></p>
|
||||
<p>We provide free FTP, PHP 5.3, MySQL and our very popular feature: The Automatic Script Installer Fantastico can install many popular scripts such as PHPbb2 and PHPbb3, Wordpress, Zen-Cart, osCommerce, MyBB, UseBB, MyLittle Forum, 4images, Coppermine, SMF, Joomla, e107, XOOPS, PHP Wind, CuteNews, Mambo, WikiWig and many more! No need to wait a long time uploading files, Our Automatic Script Installer deploys your files in seconds!.</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Quotas and forum</h2>
|
||||
<img src="assets/images/img5.jpg" alt="server" class="img-rounded">
|
||||
<p><img src="assets/images/img5.jpg" alt="server" class="img-rounded"></p>
|
||||
<p>Combined with our high bandwidth, space provisions and excellent sub-domain options, make us the optimal option. Our very popular Community Forums has been taken up excellently and active members are growing steadily, hence resulting in a better hosting and friendly experience..</p>
|
||||
<h3>Cluster servers</h3>
|
||||
<p>We are using a powerful cluster of webservers that are all interconnected to act as one giant super computer.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
<!-- <script type="text/javascript">
|
||||
$('.check-domain').click(function () {
|
||||
var domain = $('#domainInput').val()
|
||||
if (domain) {
|
||||
|
@ -54,5 +53,5 @@
|
|||
})
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</script> -->
|
||||
<?php include ("include/footer.php"); ?>
|
|
@ -130,8 +130,8 @@ class Language
|
|||
}
|
||||
$this->initLanguageDir();
|
||||
}
|
||||
/*
|
||||
取得翻译文件的绝对路径
|
||||
/**
|
||||
* get absolute path of language file
|
||||
*/
|
||||
public function getFileDir($file)
|
||||
{
|
||||
|
@ -154,15 +154,16 @@ class Language
|
|||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
取得当前使用语言的文件夹
|
||||
/**
|
||||
* return current language directory
|
||||
*/
|
||||
public function getLanguageDir()
|
||||
{
|
||||
return $this->language_dir;
|
||||
}
|
||||
/*
|
||||
初始化语言文件夹
|
||||
|
||||
/**
|
||||
* get current language directory
|
||||
*/
|
||||
private function initLanguageDir()
|
||||
{
|
||||
|
@ -177,8 +178,9 @@ class Language
|
|||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
初始化默认语言
|
||||
|
||||
/**
|
||||
* get the default language
|
||||
*/
|
||||
public function initDefaultLanguage()
|
||||
{
|
||||
|
@ -191,8 +193,8 @@ class Language
|
|||
@($this->language_country = $language[0][1]);
|
||||
$this->setCookieLanguage();
|
||||
}
|
||||
/*
|
||||
从cookie中导入语言种类
|
||||
/**
|
||||
* get language form cookie
|
||||
*/
|
||||
public function getCookieLanguage()
|
||||
{
|
||||
|
@ -207,8 +209,8 @@ class Language
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/*
|
||||
把当前的语言种类放到cookie中
|
||||
/**
|
||||
* set current language to cookie
|
||||
*/
|
||||
public function setCookieLanguage($lang = "")
|
||||
{
|
||||
|
@ -224,6 +226,10 @@ class Language
|
|||
setcookie("lang", $lang, time() + 365 * 24 * 3600, "/", $this->getDomain());
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* get current domain
|
||||
*/
|
||||
public function getDomain()
|
||||
{
|
||||
if (empty($this->domain)) {
|
||||
|
@ -260,5 +266,11 @@ function getCurrentLanguage()
|
|||
return 'en-US';
|
||||
}
|
||||
}
|
||||
$language_file = $lang->getFileDir('language.php');
|
||||
include $language_file;
|
||||
|
||||
include $lang->getFileDir('language.php');
|
||||
|
||||
function I18N($key = "")
|
||||
{
|
||||
global $LANG;
|
||||
return isset($key) ? isset($LANG[$key]) ? $LANG[$key] : $key : "";
|
||||
}
|
||||
|
|
|
@ -61,5 +61,6 @@ $LANG = array(
|
|||
'support' => '支持',
|
||||
'not-support' => '不支持',
|
||||
'more' => '更多',
|
||||
'about' => '關於我們',
|
||||
'about' => '關於',
|
||||
'aboutus' => '關於我們',
|
||||
);
|
||||
|
|
2
news.php
2
news.php
|
@ -40,7 +40,7 @@
|
|||
<div class="panel-body">
|
||||
<div class="media">
|
||||
<div class="media-left media-middle">
|
||||
<img src="images/cluster.jpg" alt="rack">
|
||||
<img src="assets/images/cluster.jpg" alt="rack">
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading">Value for free</h4>
|
||||
|
|
14
solution.php
14
solution.php
|
@ -16,7 +16,7 @@
|
|||
<div class="col-sm-4">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<a class="btn btn-link btn-xs pull-right" href="/register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
<a class="btn btn-link btn-xs pull-right" href="register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
<?php echo $LANG['host-plan-free']; ?>
|
||||
</div>
|
||||
<div class="list-group-item"><span class="badge">1</span><?php echo $LANG['ftp-accounts']; ?></div>
|
||||
|
@ -38,15 +38,15 @@
|
|||
<div class="list-group-item disabled"><span class="badge"><?php echo $LANG['not-support']; ?></span>Free SSL Certificate</div>
|
||||
<div class="list-group-item disabled"><span class="badge"><?php echo $LANG['not-support']; ?></span>Custom CRON Jobs</div>
|
||||
<div class="list-group-item text-center">
|
||||
<!-- <a class="btn btn-default" href="/plan/free.php" role="button">详情</a> -->
|
||||
<a class="btn btn-primary" href="/register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
<!-- <a class="btn btn-default" href="plan/free.php" role="button">详情</a> -->
|
||||
<a class="btn btn-primary" href="register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<a class="btn btn-link btn-xs pull-right" href="/register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
<a class="btn btn-link btn-xs pull-right" href="register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
<?php echo $LANG['host-plan-super']; ?>
|
||||
</div>
|
||||
<div class="list-group-item"><span class="badge">100</span><?php echo $LANG['ftp-accounts']; ?></div>
|
||||
|
@ -68,14 +68,14 @@
|
|||
<div class="list-group-item">Free SSL Certificate</div>
|
||||
<div class="list-group-item">Custom CRON Jobs</div>
|
||||
<div class="list-group-item text-center">
|
||||
<a class="btn btn-primary" href="/register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
<a class="btn btn-primary" href="register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<a class="btn btn-link btn-xs pull-right" href="/register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
<a class="btn btn-link btn-xs pull-right" href="register.php" role="button"><?php echo $LANG['register']; ?></a>
|
||||
<?php echo $LANG['host-plan-ultimate']; ?>
|
||||
</div>
|
||||
<div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['ftp-accounts']; ?></div>
|
||||
|
@ -96,7 +96,7 @@
|
|||
<div class="list-group-item">Postgres</div>
|
||||
<div class="list-group-item">Free SSL Certificate</div>
|
||||
<div class="list-group-item">Custom CRON Jobs</div>
|
||||
<div class="list-group-item text-center"><a class="btn btn-primary" href="/register.php" role="button"><?php echo $LANG['register']; ?></a></div>
|
||||
<div class="list-group-item text-center"><a class="btn btn-primary" href="register.php" role="button"><?php echo $LANG['register']; ?></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
39
support.php
Normal file
39
support.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
define('IN_SYS', true);
|
||||
require_once "core.php";
|
||||
|
||||
$title = $title . ' - ' . I18N('Technical Support');
|
||||
|
||||
?>
|
||||
<?php include("include/header.php"); ?>
|
||||
|
||||
<div class="container">
|
||||
<div class="page-header text-center">
|
||||
<h1><?php echo I18N('Technical Support'); ?></h1>
|
||||
<!-- <h3>24/7 Availability</h3> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<p>If you have any problems or have the need to contact us to ask a question, you can contact us in the following ways:</p>
|
||||
<p><br /></p>
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-center">
|
||||
<img src="assets/images/tickets.jpg" alt="Tickets">
|
||||
<h3><?php echo I18N('Tickets'); ?></h3>
|
||||
<p>You can submit a support ticket from VistaPanel, we will reply you as soon as possible.</p>
|
||||
</div>
|
||||
<div class="col-md-4 text-center">
|
||||
<img src="assets/images/emails.jpg" alt="Emails">
|
||||
<h3><?php echo I18N('Emails'); ?></h3>
|
||||
<p>You can email us, but we use only the following email for technical support: <a>support@uiisc.com</a></p>
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include "include/footer.php"; ?>
|
Loading…
Reference in a new issue