From 2d170ee0f99850f2d897fdc08893850447b41371 Mon Sep 17 00:00:00 2001 From: doudoudzj <doudoudzj@gmail.com> Date: Tue, 11 Dec 2018 12:06:31 +0800 Subject: [PATCH] update --- .htaccess1 => .htaccess | 0 css/style.css | 5 + footer.php | 27 ++-- headmate.php | 2 +- help.php | 7 +- include/language/en-US/language.php | 8 +- include/language/zh-CN/language.php | 4 +- include/language/zh-HK/language.php | 4 +- include/language/zh-TW/language.php | 4 +- legal_privacy.php | 7 ++ legal_terms.php | 6 + solution.php | 185 +++++++++++++--------------- 12 files changed, 142 insertions(+), 117 deletions(-) rename .htaccess1 => .htaccess (100%) diff --git a/.htaccess1 b/.htaccess similarity index 100% rename from .htaccess1 rename to .htaccess diff --git a/css/style.css b/css/style.css index eb42161..1acca1e 100644 --- a/css/style.css +++ b/css/style.css @@ -212,4 +212,9 @@ body.fixed-header-on { .form-domain { max-width: 500px; } +} + +.language-change { + max-height: 500px; + overflow-y: auto; } \ No newline at end of file diff --git a/footer.php b/footer.php index 027e6a6..858bfe7 100644 --- a/footer.php +++ b/footer.php @@ -11,8 +11,8 @@ 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> - © 2018 <a href="/index.php"><?=$title_s?></a> - Powered By <a href="https://crogram.com" target="blank">Crogram</a> & <a href="https://ifastnet.com" target="blank">iFastNet</a> + © 2018 <a href="/index.php"><?=$title_s?></a> + Powered by <a href="https://crogram.com" target="blank">Crogram</a>, Partnered with <a href="https://ifastnet.com" target="blank">iFastNet</a> </li> </ul> <ul class="legal navbar-right list-inline text-center"> @@ -21,10 +21,11 @@ if (!defined('IN_SYS')) { <span class="glyphicon glyphicon-globe"></span> <a href="#"><?php echo $languages[$current_language]; ?></a> </div> - <ul class="dropdown-menu" aria-labelledby="changelanguage"> + <ul class="dropdown-menu language-change" aria-labelledby="changelanguage"> <?php foreach ($languages as $key => $value) { - echo '<li><a href="javascript://" onclick="change_language(\'', $key, '\')">', $languages[$key], '</a></li>'; + echo '<li><a class="language-change-click" data-language="' .$key. '" href="javascript://">' .$languages[$key]. '</a></li>'; }?> + </ul> </li> <li><a href="/contact.php"><?php echo $LANG['contact_us']; ?></a></li> @@ -41,12 +42,14 @@ if (!defined('IN_SYS')) { var domain = "<?php echo $lang->getDomain(); ?>"; var cur_language = "<?php echo $current_language; ?>"; function change_language(lan) { - setCookie('lang', lan, 1, '/', domain, false); - if (cur_language == lan) { - return; + setCookie('lang', lan, 1, '/', domain, false); + if (cur_language == lan) { + return; + } + <?php if (!$_POST) {?>document.location.reload();<?php }?> + } - <?php if (!$_POST) {?> - document.location.reload(); - <?php }?> - } - </script> \ No newline at end of file + $(".language-change-click").click(function (x) { + change_language(x.target.dataset.language); + }) + </script> diff --git a/headmate.php b/headmate.php index a386392..6b7014b 100644 --- a/headmate.php +++ b/headmate.php @@ -10,4 +10,4 @@ <!--[if lt IE 9]> <script src="/js/html5shiv.min.js"></script> <script src="/js/respond.min.js"></script> - <![endif]--> \ No newline at end of file + <![endif]--> diff --git a/help.php b/help.php index 677a688..377e6d3 100644 --- a/help.php +++ b/help.php @@ -11,7 +11,12 @@ </head> <body> <?php include ("nav.php"); ?> - +<div class="bs-docs-header"> + <div class="container"> + <h1><?php echo $LANG['help']; ?></h1> + <p><?php echo $LANG['help']; ?></p> + </div> +</div> <div class="container"> <div class="row"> <section class="section-wrap"> diff --git a/include/language/en-US/language.php b/include/language/en-US/language.php index 7972e65..ecad146 100644 --- a/include/language/en-US/language.php +++ b/include/language/en-US/language.php @@ -43,13 +43,15 @@ $LANG = array( 'host-plan' => 'Host Plan', 'host-plan-free' => 'Free Hosting', 'host-plan-paid' => 'Paid Hosting', - 'ftp-accounts' => 'FTP accounts', + 'host-plan-super' => 'SUPER PREMIUM', + 'host-plan-ultimate' => 'ULTIMATE PREMIUM', + 'ftp-accounts' => 'FTP Accounts', 'sub-domains' => 'Sub-Domains', 'add-on-domains' => 'Add-on Domains', 'parked-domains' => 'Parked Domains', 'mysql-databases' => 'MySQL Databases', - 'disk-quota' => 'Disk Quota', - 'bandwidth' => 'Bandwidth', + 'disk-quota' => 'Web Disk Space', + 'monthly-bandwidth' => 'Monthly Bandwidth', 'daily-hits' => 'Daily Hits Quota', 'host-inodes' => 'Inodes Quota', 'unlimited' => 'Unlimited', diff --git a/include/language/zh-CN/language.php b/include/language/zh-CN/language.php index a3ad81d..a710079 100644 --- a/include/language/zh-CN/language.php +++ b/include/language/zh-CN/language.php @@ -43,13 +43,15 @@ $LANG = array( "host-plan" => "主机方案", "host-plan-free" => "免费主机", "host-plan-paid" => "收费主机", + 'host-plan-super' => '高级主机', + 'host-plan-ultimate' => '顶级主机', "ftp-accounts" => "FTP账号", "sub-domains" => "子域名", "add-on-domains" => "绑定域名", "parked-domains" => "停放域名", "mysql-databases" => "MySQL数据库", "disk-quota" => "总空间配额", - "bandwidth" => "流量配额", + "monthly-bandwidth" => "每月流量限制", "daily-hits" => "每日点击配额", "host-inodes" => "使用Inode配额", "unlimited" => "无限", diff --git a/include/language/zh-HK/language.php b/include/language/zh-HK/language.php index 97c35d6..8a2efb6 100644 --- a/include/language/zh-HK/language.php +++ b/include/language/zh-HK/language.php @@ -43,13 +43,15 @@ $LANG = array( 'host-plan' => '主機方案', 'host-plan-free' => '免費主機', 'host-plan-paid' => '收費主機', + 'host-plan-super' => '高級主機套餐', + 'host-plan-ultimate' => '頂級主機套餐', 'ftp-accounts' => 'FTP 帳號', 'sub-domains' => '子網域', 'add-on-domains' => '附加網域', 'parked-domains' => '寄放網域', 'mysql-databases' => 'MySQL 資料庫', 'disk-quota' => '磁碟空間額度', - 'bandwidth' => '月流量額度', + 'monthly-bandwidth' => '月流量額度', 'daily-hits' => '每日點擊額度', 'host-inodes' => '信息節點額度', 'unlimited' => '無限', diff --git a/include/language/zh-TW/language.php b/include/language/zh-TW/language.php index 97c35d6..8a2efb6 100644 --- a/include/language/zh-TW/language.php +++ b/include/language/zh-TW/language.php @@ -43,13 +43,15 @@ $LANG = array( 'host-plan' => '主機方案', 'host-plan-free' => '免費主機', 'host-plan-paid' => '收費主機', + 'host-plan-super' => '高級主機套餐', + 'host-plan-ultimate' => '頂級主機套餐', 'ftp-accounts' => 'FTP 帳號', 'sub-domains' => '子網域', 'add-on-domains' => '附加網域', 'parked-domains' => '寄放網域', 'mysql-databases' => 'MySQL 資料庫', 'disk-quota' => '磁碟空間額度', - 'bandwidth' => '月流量額度', + 'monthly-bandwidth' => '月流量額度', 'daily-hits' => '每日點擊額度', 'host-inodes' => '信息節點額度', 'unlimited' => '無限', diff --git a/legal_privacy.php b/legal_privacy.php index fee4f5d..4e907b1 100644 --- a/legal_privacy.php +++ b/legal_privacy.php @@ -14,6 +14,13 @@ <body> <?php include ("nav.php"); ?> +<!-- <div class="container"> + <div class="bs-docs-header"> + <h1><?php echo $LANG['privacy_policy']; ?></h1> + <p>Privacy policy information</p> + </div> +</div> --> + <div class="container"> <div class="row"> <section class="section-wrap title"> diff --git a/legal_terms.php b/legal_terms.php index fbd939b..28ad14e 100644 --- a/legal_terms.php +++ b/legal_terms.php @@ -13,6 +13,12 @@ </head> <body> <?php include ("nav.php"); ?> +<!-- <div class="bs-docs-header"> + <div class="container"> + <h1><?php echo $LANG['tos']; ?></h1> + <p>Service conditions and policies</p> + </div> +</div> --> <div class="container"> <div class="row"> diff --git a/solution.php b/solution.php index 4f0e3eb..6eb9ffd 100644 --- a/solution.php +++ b/solution.php @@ -1,16 +1,18 @@ <?php - define('IN_SYS', true); - require_once ("core.php"); + define('IN_SYS', true); + require_once "core.php"; ?> <!DOCTYPE html> <html lang="<?php echo $current_language; ?>"> <head> <meta charset="utf-8"> <title><?=$title?> - <?php echo $LANG['solution']; ?></title> - <?php include ("headmate.php"); ?> + <?php include "headmate.php";?> </head> <body> -<?php include ("nav.php"); ?> + +<?php include "nav.php";?> + <div class="container"> <div class="row"> <section class="section-wrap"> @@ -21,104 +23,93 @@ </div> </div> <div class="row"> - <div class="col-sm-6"> - <div class="list-group"> - <div class="list-group-item"> - <?php echo $LANG['host-plan-free']; ?> - </div> - <div class="list-group-item"> - <span class="badge">1</span> - <?php echo $LANG['ftp-accounts']; ?> - </div> - <div class="list-group-item"> - <span class="badge">1</span> - <?php echo $LANG['sub-domains']; ?> - </div> - <div class="list-group-item"> - <span class="badge">1</span> - <?php echo $LANG['add-on-domains']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['parked-domains']; ?> - </div> - <div class="list-group-item"> - <span class="badge">10</span> - <?php echo $LANG['mysql-databases']; ?> - </div> - <div class="list-group-item"> - <span class="badge">10GB (10240MB)</span> - <?php echo $LANG['disk-quota']; ?> - </div> - <div class="list-group-item"> - <span class="badge">100GB (102400MB)</span> - <?php echo $LANG['bandwidth']; ?> - </div> - <div class="list-group-item"> - <span class="badge">50000</span> - <?php echo $LANG['daily-hits']; ?> - </div> - <div class="list-group-item"> - <span class="badge">30019</span> - <?php echo $LANG['host-inodes']; ?> - </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="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> + <?php echo $LANG['host-plan-free']; ?> + </div> + <div class="list-group-item"><span class="badge">1</span><?php echo $LANG['ftp-accounts']; ?></div> + <div class="list-group-item"><span class="badge">10</span><?php echo $LANG['sub-domains']; ?></div> + <div class="list-group-item"><span class="badge">10</span><?php echo $LANG['add-on-domains']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['parked-domains']; ?></div> + <div class="list-group-item"><span class="badge">10</span><?php echo $LANG['mysql-databases']; ?></div> + <div class="list-group-item"><span class="badge">10 GB</span><?php echo $LANG['disk-quota']; ?></div> + <div class="list-group-item"><span class="badge">100 GB</span><?php echo $LANG['monthly-bandwidth']; ?></div> + <div class="list-group-item"><span class="badge">50000</span><?php echo $LANG['daily-hits']; ?></div> + <div class="list-group-item"><span class="badge">30019</span><?php echo $LANG['host-inodes']; ?></div> + <div class="list-group-item">Latest vPanel with Softaculous</div> + <div class="list-group-item">Latest PHP and mySQL</div> + <div class="list-group-item">SiteBuilder</div> + <div class="list-group-item">1 Click Script Installer</div> + <div class="list-group-item"><span class="badge">Not Support</span>Node.JS</div> + <div class="list-group-item"><span class="badge">Not Support</span>Postgres</div> + <div class="list-group-item"><span class="badge">Not Support</span>Free SSL Certificate</div> + <div class="list-group-item"><span class="badge">Not Support</span>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> + </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> + <?php echo $LANG['host-plan-super']; ?> + </div> + <div class="list-group-item"><span class="badge">100</span><?php echo $LANG['ftp-accounts']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['sub-domains']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['add-on-domains']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['parked-domains']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['mysql-databases']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['disk-quota']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['monthly-bandwidth']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['daily-hits']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['host-inodes']; ?></div> + <div class="list-group-item">Latest cPanel with Softaculous</div> + <div class="list-group-item">Latest PHP and mySQL</div> + <div class="list-group-item">SiteBuilder</div> + <div class="list-group-item">1 Click Script Installer</div> + <div class="list-group-item">Node.JS</div> + <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> + </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> + <?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> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['sub-domains']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['add-on-domains']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['parked-domains']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['mysql-databases']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['disk-quota']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['monthly-bandwidth']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['daily-hits']; ?></div> + <div class="list-group-item"><span class="badge"><?php echo $LANG['unlimited']; ?></span><?php echo $LANG['host-inodes']; ?></div> + <div class="list-group-item">Latest cPanel with Softaculous</div> + <div class="list-group-item">Latest PHP and mySQL</div> + <div class="list-group-item">SiteBuilder</div> + <div class="list-group-item">1 Click Script Installer</div> + <div class="list-group-item">Node.JS</div> + <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> </div> - - </div> - <div class="col-sm-6"> - <div class="list-group"> - <div class="list-group-item"> - <?php echo $LANG['host-plan-paid']; ?> - </div> - <div class="list-group-item"> - <span class="badge">1</span> - <?php echo $LANG['ftp-accounts']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['sub-domains']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['add-on-domains']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['parked-domains']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['mysql-databases']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['disk-quota']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['bandwidth']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['daily-hits']; ?> - </div> - <div class="list-group-item"> - <span class="badge"><?php echo $LANG['unlimited']; ?></span> - <?php echo $LANG['host-inodes']; ?> - </div> - <div class="list-group-item text-center"> - <a class="btn btn-primary disabled" href="/register.php" role="button"><?php echo $LANG['register']; ?></a> - </div> - </ul> - </div> </div> </div> </section> </div> </div> -<?php include ("footer.php"); ?> +<?php include "footer.php";?> </body> </html> \ No newline at end of file