doudoudzj 6 years ago
parent
commit
cd80052f47

+ 1 - 7
admin/views/footer.php

@@ -22,13 +22,7 @@ if (!defined('IN_SYS')) {
                             <span class="glyphicon glyphicon-globe"></span>
                             <span class="glyphicon glyphicon-globe"></span>
                             <a href="#"><?php echo $languages[$current_lang][0]; ?></a>
                             <a href="#"><?php echo $languages[$current_lang][0]; ?></a>
                         </div>
                         </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>
+                        <ul class="dropdown-menu language-change"><?php echo $language_tags; ?></ul>
                     </li>
                     </li>
                     <li><a href="about.php"><?php echo I18N('about'); ?></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="contact.php"><?php echo I18N('contact'); ?></a></li>

+ 2 - 2
admin/views/navbar.php

@@ -50,14 +50,14 @@ if (!defined('IN_SYS')) {
                                 <li><a href="<?php echo setRouter('admin', 'edit_details'); ?>">Edit 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><a href="<?php echo setRouter('admin', 'change_password'); ?>">Change password</a></li>
                                 <li role="separator" class="divider"></li>
                                 <li role="separator" class="divider"></li>
-                                <li><a href="<?php echo setRouter('clientarea'); ?>" target="_blank"><?php echo I18N('ClientArea'); ?></a></li>
+                                <li><a href="<?php echo setRouter('clientarea'); ?>" target="_blank"><?php echo I18N('clientarea'); ?></a></li>
                                 <li role="separator" class="divider"></li>
                                 <li role="separator" class="divider"></li>
                                 <li><a href="<?php echo setRouter('admin', 'logout'); ?>"><?php echo I18N('Logout'); ?></a></li>
                                 <li><a href="<?php echo setRouter('admin', 'logout'); ?>"><?php echo I18N('Logout'); ?></a></li>
                             </ul>
                             </ul>
                         </li>
                         </li>
                     <?php } else { ?>
                     <?php } else { ?>
                         <li><a href="<?php echo setRouter('admin'); ?>"><?php echo I18N('ControlArea'); ?></a></li>
                         <li><a href="<?php echo setRouter('admin'); ?>"><?php echo I18N('ControlArea'); ?></a></li>
-                        <li><a href="<?php echo setRouter('clientarea'); ?>"><?php echo I18N('ClientArea'); ?></a></li>
+                        <li><a href="<?php echo setRouter('clientarea'); ?>"><?php echo I18N('clientarea'); ?></a></li>
                     <?php } ?>
                     <?php } ?>
                 </ul>
                 </ul>
             </div>
             </div>

+ 5 - 0
clientarea/controllers/emails.php

@@ -6,6 +6,11 @@ if (!defined('IN_SYS')) {
     exit;
     exit;
 }
 }
 
 
+if (!isUserLoggedIn()) {
+    setMsg("msg_notify", "You need to login before accessing the Email History page.", "warning");
+    redirect("clientarea", "login");
+}
+
 $err = getMsg("errors");
 $err = getMsg("errors");
 $data = getMsg("form_data");
 $data = getMsg("form_data");
 
 

+ 12 - 0
clientarea/controllers/main.php

@@ -0,0 +1,12 @@
+<?php
+
+if (!defined('IN_SYS')) {
+    // exit('禁止访问');
+    header("Location: ../../clientarea.php");
+    exit;
+}
+
+if (!isUserLoggedIn()) {
+    setMsg("msg_notify", "You need to login before accessing the Client Area.", "warning");
+    redirect("clientarea", "login");
+}

+ 5 - 0
clientarea/controllers/tickets.php

@@ -6,6 +6,11 @@ if (!defined('IN_SYS')) {
     exit;
     exit;
 }
 }
 
 
+if (!isUserLoggedIn()) {
+    setMsg("msg_notify", "You need to login before accessing the Support Tickets page.", "warning");
+    redirect("clientarea", "login");
+}
+
 $err = getMsg("errors");
 $err = getMsg("errors");
 $data = getMsg("form_data");
 $data = getMsg("form_data");
 
 

+ 10 - 2
clientarea/views/footer.php

@@ -17,7 +17,14 @@ if (!defined('IN_SYS')) {
                 </li>
                 </li>
             </ul>
             </ul>
             <ul class="legal navbar-right list-inline text-center">
             <ul class="legal navbar-right list-inline text-center">
-                <li><a href="#">About</a></li>
+                <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"><?php echo $language_tags; ?></ul>
+                </li>
+                <li><a href="<?php echo setRouter('about'); ?>"><?php echo I18N('about'); ?></a></li>
             </ul>
             </ul>
         </div>
         </div>
     </div>
     </div>
@@ -25,7 +32,8 @@ if (!defined('IN_SYS')) {
 
 
 <script src="assets/jquery/jquery.min.js"></script>
 <script src="assets/jquery/jquery.min.js"></script>
 <script src="assets/bootstrap/js/bootstrap.min.js"></script>
 <script src="assets/bootstrap/js/bootstrap.min.js"></script>
-<script src="assets/js/clientarea.js"></script>
+<script src="assets/js/common.js?_=<?php echo $static_release; ?>"></script>
+<script src="assets/js/clientarea.js?_=<?php echo $static_release; ?>"></script>
 
 
 </body>
 </body>
 
 

+ 5 - 0
clientarea/views/header.php

@@ -24,6 +24,11 @@ if (!defined('IN_SYS')) {
     <script src="assets/html5shiv/html5shiv.min.js"></script>
     <script src="assets/html5shiv/html5shiv.min.js"></script>
     <script src="assets/respond/respond.min.js"></script>
     <script src="assets/respond/respond.min.js"></script>
     <![endif]-->
     <![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>
 </head>
 
 
 <body>
 <body>

+ 1 - 1
clientarea/views/login.php

@@ -12,7 +12,7 @@ if (!defined('IN_SYS')) {
             <?php echo getMsg("msg_notify"); ?>
             <?php echo getMsg("msg_notify"); ?>
             <div class="panel panel-default">
             <div class="panel panel-default">
                 <div class="panel-heading">
                 <div class="panel-heading">
-                    <h3 class="panel-title">Login</h3>
+                    <h3 class="panel-title"><?php echo I18N('login'); ?></h3>
                 </div>
                 </div>
                 <div class="panel-body">
                 <div class="panel-body">
                     <p>Please fill in credentials to log in.</p>
                     <p>Please fill in credentials to log in.</p>

+ 2 - 2
clientarea/views/main.php

@@ -7,13 +7,13 @@ if (!defined('IN_SYS')) {
 ?>
 ?>
 
 
 <div class="container">
 <div class="container">
-    <p><h1>Client Area</h1></p>
+    <p><h1><?php echo I18N('clientarea'); ?></h1></p>
     <div class="row">
     <div class="row">
         <div class="col-md-12">
         <div class="col-md-12">
             <?php echo getMsg("msg_notify"); ?>
             <?php echo getMsg("msg_notify"); ?>
             <div class="panel panel-default">
             <div class="panel panel-default">
                 <div class="panel-heading">
                 <div class="panel-heading">
-                    <h3 class="panel-title">Client Area</h3>
+                    <h3 class="panel-title"><?php echo I18N('clientarea'); ?></h3>
                 </div>
                 </div>
                 <div class="panel-body">
                 <div class="panel-body">
                     <p>Please fill in credentials to log in.</p>
                     <p>Please fill in credentials to log in.</p>

+ 1 - 1
clientarea/views/navbar.php

@@ -58,7 +58,7 @@ if (!defined('IN_SYS')) {
                                 <li><a href="<?php echo setRouter('clientarea', 'logout'); ?>">Logout</a></li>
                                 <li><a href="<?php echo setRouter('clientarea', 'logout'); ?>">Logout</a></li>
                             </ul>
                             </ul>
                         <?php } else { ?>
                         <?php } else { ?>
-                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Client Area&nbsp;<span class="caret"></span></a>
+                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo I18N('clientarea'); ?>&nbsp;<span class="caret"></span></a>
                             <ul class="dropdown-menu">
                             <ul class="dropdown-menu">
                                 <li><a href="<?php echo setRouter('clientarea', 'login'); ?>">Login</a></li>
                                 <li><a href="<?php echo setRouter('clientarea', 'login'); ?>">Login</a></li>
                                 <li><a href="<?php echo setRouter('clientarea', 'register'); ?>">Register </a></li>
                                 <li><a href="<?php echo setRouter('clientarea', 'register'); ?>">Register </a></li>

+ 5 - 9
core/views/footer.php

@@ -11,7 +11,7 @@ if (!defined('IN_SYS')) {
         <div class="navbar-inner navbar-content-center" style="padding-top:15px;">
         <div class="navbar-inner navbar-content-center" style="padding-top:15px;">
             <ul class="navbar-left list-inline text-center text-muted credit">
             <ul class="navbar-left list-inline text-center text-muted credit">
                 <li>
                 <li>
-                    <span class="co">&copy;&nbsp;<?php echo $CopyRightYear; ?>&nbsp;<a href="index.php"><?= $title_s ?></a>&nbsp;</span>
+                    <span class="co">&copy;&nbsp;<?php echo $CopyRightYear; ?>&nbsp;<a href="index.php"><?=$title_s?></a>&nbsp;</span>
                     <span class="co">&nbsp;Powered by <a href="https://crogram.com" target="blank">Crogram</a>&nbsp;</span>
                     <span class="co">&nbsp;Powered by <a href="https://crogram.com" target="blank">Crogram</a>&nbsp;</span>
                     <span class="co">&nbsp;Partnered with <a href="https://ifastnet.com/" name="jump-ifastnet" target="blank">iFastNet</a>&nbsp;</span>
                     <span class="co">&nbsp;Partnered with <a href="https://ifastnet.com/" name="jump-ifastnet" target="blank">iFastNet</a>&nbsp;</span>
                 </li>
                 </li>
@@ -22,13 +22,7 @@ if (!defined('IN_SYS')) {
                         <span class="glyphicon glyphicon-globe"></span>
                         <span class="glyphicon glyphicon-globe"></span>
                         <a href="#"><?php echo $languages[$current_lang][0]; ?></a>
                         <a href="#"><?php echo $languages[$current_lang][0]; ?></a>
                     </div>
                     </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>
+                    <ul class="dropdown-menu language-change"><?php echo $language_tags; ?></ul>
                 </li>
                 </li>
                 <li><a href="about.php"><?php echo I18N('about'); ?></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="contact.php"><?php echo I18N('contact'); ?></a></li>
@@ -40,7 +34,9 @@ if (!defined('IN_SYS')) {
 <script src="assets/jquery/jquery.min.js"></script>
 <script src="assets/jquery/jquery.min.js"></script>
 <script src="assets/bootstrap/js/bootstrap.min.js"></script>
 <script src="assets/bootstrap/js/bootstrap.min.js"></script>
 <script src="assets/js/common.js?_=<?php echo $static_release; ?>"></script>
 <script src="assets/js/common.js?_=<?php echo $static_release; ?>"></script>
-<?php include("google_analytics.php"); ?>
+<?php
+// include("google_analytics.php");
+?>
 
 
 </body>
 </body>
 
 

+ 1 - 1
core/views/navbar.php

@@ -49,7 +49,7 @@ if (!defined('IN_SYS')) {
                 <ul class="nav navbar-nav navbar-right">
                 <ul class="nav navbar-nav navbar-right">
                     <li><a href="login.php"><?php echo $LANG['login']; ?></a></li>
                     <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="register.php"><?php echo $LANG['register']; ?></a></li>
-                    <li><a href="<?php echo setRouter('clientarea'); ?>"><?php echo I18N('ClientArea'); ?></a></li>
+                    <li><a href="<?php echo setRouter('clientarea'); ?>"><?php echo I18N('clientarea'); ?></a></li>
                 </ul>
                 </ul>
             </div>
             </div>
         </div>
         </div>

+ 16 - 16
library/language.php

@@ -5,7 +5,9 @@ if (!defined('IN_SYS')) {
     exit;
     exit;
 }
 }
 
 
-$languages = array(
+global $lang, $languages;
+
+$languages = [
     'en-US' => array('English', 'English'),
     'en-US' => array('English', 'English'),
     'zh-CN' => array('简体中文', 'Chinese_simplified'),
     'zh-CN' => array('简体中文', 'Chinese_simplified'),
     'zh-SG' => array('简体中文(新加坡)', 'Chinese_simplified'),
     'zh-SG' => array('简体中文(新加坡)', 'Chinese_simplified'),
@@ -112,8 +114,8 @@ $languages = array(
     'xh' => array('Xhosa', 'Xhosa'),
     'xh' => array('Xhosa', 'Xhosa'),
     'yi' => array('Yiddish', 'Yiddish'),
     'yi' => array('Yiddish', 'Yiddish'),
     'yo' => array('Yorùbá', 'Yoruba'),
     'yo' => array('Yorùbá', 'Yoruba'),
-    'zu' => array('Zulu', 'Zulu')
-);
+    'zu' => array('Zulu', 'Zulu'),
+];
 
 
 class Language
 class Language
 {
 {
@@ -252,19 +254,17 @@ class Language
 }
 }
 
 
 $lang = new Language();
 $lang = new Language();
-// print_r($lang->language_area);
-$current_lang = getCurrentLanguage();
-// print_r($current_lang);
-function getCurrentLanguage()
-{
-    global $lang, $languages;
-    if (array_key_exists($lang->language_area, $languages)) {
-        return $lang->language_area;
-    } else if (array_key_exists($lang->language_country, $languages)) {
-        return $lang->language_country;
-    } else {
-        return 'en-US';
-    }
+$current_lang = 'en-US';
+if (array_key_exists($lang->language_area, $languages)) {
+    $current_lang = $lang->language_area;
+} else if (array_key_exists($lang->language_country, $languages)) {
+    $current_lang = $lang->language_country;
+}
+
+$language_tags = '';
+foreach ($languages as $k => $value) {
+    $actived = $k == $current_lang ? ' class="active"' : '';
+    $language_tags .= '<li' . $actived . '><a class="language-change-click" data-language="' . $k . '" href="javascript://">' . $languages[$k][0] . '</a></li>';
 }
 }
 
 
 include $lang->getFileDir('language.php');
 include $lang->getFileDir('language.php');

+ 66 - 65
library/language/en-US/language.php

@@ -1,66 +1,67 @@
 <?php
 <?php
-$LANG = array(
-  'home' => 'Home',
-  'solution' => 'Solution',
-  'news' => 'News',
-  'contact' => 'Contact',
-  'contact_us' => 'Contact Us',
-  'help' => 'Help',
-  'login' => 'Login',
-  'register' => 'Register',
-  'username' => 'Username',
-  'input_username' => 'Please Input Username',
-  'password' => 'Password',
-  'input_password' => 'Please Input Password',
-  'email' => 'Email',
-  'input_email' => 'Please Input Email Address',
-  'site_category' => 'Site Category',
-  'personal' => 'Personal',
-  'business' => 'Business',
-  'hobby' => 'Hobby',
-  'forum' => 'Forum',
-  'adult' => 'Adult',
-  'dating' => 'Dating',
-  'software_download' => 'Software / Download',
-  'choose_from_below' => 'Choose from Below',
-  'site_language' => 'Site Language',
-  'english' => 'English',
-  'non_english' => 'Non English',
-  'security_code' => 'Security Code',
-  'input_security_code' => 'Please Input Security Code',
-  'input_security_code_above' => 'Please Input Security Code Above',
-  'legal_information' => 'Legal Information',
-  'privacy_policy' => 'Privacy Policy',
-  'tos' => 'Terms of service',
-  'cancellation_refund' => 'Cancellation & Refund',
-  'payment_methods' => 'Payment Methods & Information',
-  'signup_free_hosting' => 'Sign Up For Free Hosting',
-  'remember_me' => 'Remember me',
-  'please_login' => 'Please sign in',
-  'lost_password' => 'Lost your password?',
-  'address' => 'Address',
-  'host-plan' => 'Host Plan',
-  'host-plan-free' => 'Free Hosting',
-  'host-plan-paid' => 'Paid Hosting',
-  'host-plan-super' => 'Super Hosting',
-  'host-plan-ultimate' => 'Ultimate Hosting',
-  'ftp-accounts' => 'FTP Accounts',
-  'free-domains' => 'Free Domains',
-  'sub-domains' => 'SubDomains',
-  'add-on-domains' => 'Addon Domains',
-  'parked-domains' => 'Parked Domains',
-  'mysql-databases' => 'MySQL Databases',
-  'disk-quota' => 'Web Disk Space',
-  'monthly-bandwidth' => 'Monthly Bandwidth',
-  'daily-hits' => 'Daily Hits Quota',
-  'host-inodes' => 'Inodes Quota',
-  'unlimited' => 'Unlimited',
-  'reset-password' => 'Reset Password',
-  'domain' => 'Domain',
-  'input-domain' => 'Please Input Domain',
-  'support' => 'Support',
-  'not-support' => 'Not Support',
-  'more' => 'More',
-  'about' => 'About',
-  'aboutus'             => 'About',
-);
+$LANG = [
+    'home' => 'Home',
+    'solution' => 'Solution',
+    'news' => 'News',
+    'contact' => 'Contact',
+    'contact_us' => 'Contact Us',
+    'help' => 'Help',
+    'login' => 'Login',
+    'register' => 'Register',
+    'username' => 'Username',
+    'input_username' => 'Please Input Username',
+    'password' => 'Password',
+    'input_password' => 'Please Input Password',
+    'email' => 'Email',
+    'input_email' => 'Please Input Email Address',
+    'site_category' => 'Site Category',
+    'personal' => 'Personal',
+    'business' => 'Business',
+    'hobby' => 'Hobby',
+    'forum' => 'Forum',
+    'adult' => 'Adult',
+    'dating' => 'Dating',
+    'software_download' => 'Software / Download',
+    'choose_from_below' => 'Choose from Below',
+    'site_language' => 'Site Language',
+    'english' => 'English',
+    'non_english' => 'Non English',
+    'security_code' => 'Security Code',
+    'input_security_code' => 'Please Input Security Code',
+    'input_security_code_above' => 'Please Input Security Code Above',
+    'legal_information' => 'Legal Information',
+    'privacy_policy' => 'Privacy Policy',
+    'tos' => 'Terms of service',
+    'cancellation_refund' => 'Cancellation & Refund',
+    'payment_methods' => 'Payment Methods & Information',
+    'signup_free_hosting' => 'Sign Up For Free Hosting',
+    'remember_me' => 'Remember me',
+    'please_login' => 'Please sign in',
+    'lost_password' => 'Lost your password?',
+    'address' => 'Address',
+    'host-plan' => 'Host Plan',
+    'host-plan-free' => 'Free Hosting',
+    'host-plan-paid' => 'Paid Hosting',
+    'host-plan-super' => 'Super Hosting',
+    'host-plan-ultimate' => 'Ultimate Hosting',
+    'ftp-accounts' => 'FTP Accounts',
+    'free-domains' => 'Free Domains',
+    'sub-domains' => 'SubDomains',
+    'add-on-domains' => 'Addon Domains',
+    'parked-domains' => 'Parked Domains',
+    'mysql-databases' => 'MySQL Databases',
+    'disk-quota' => 'Web Disk Space',
+    'monthly-bandwidth' => 'Monthly Bandwidth',
+    'daily-hits' => 'Daily Hits Quota',
+    'host-inodes' => 'Inodes Quota',
+    'unlimited' => 'Unlimited',
+    'reset-password' => 'Reset Password',
+    'domain' => 'Domain',
+    'input-domain' => 'Please Input Domain',
+    'support' => 'Support',
+    'not-support' => 'Not Support',
+    'more' => 'More',
+    'about' => 'About',
+    'aboutus' => 'About',
+    'clientarea' => 'Client Area',
+];

+ 66 - 65
library/language/ko/language.php

@@ -1,66 +1,67 @@
 <?php
 <?php
-$LANG = array(
-  'home' => 'Home',
-  'solution' => 'Solution',
-  'news' => '뉴스',
-  'contact' => '접촉',
-  'contact_us' => '문의하기',
-  'help' => '도움',
-  'login' => '로그인',
-  'register' => '레지스터',
-  'username' => '사용자 이름',
-  'input_username' => '사용자 이름을 입력하십시오.',
-  'password' => '암호',
-  'input_password' => '암호를 입력하십시오',
-  'email' => '이메일',
-  'input_email' => '이메일 주소를 입력 해주세요',
-  'site_category' => 'Site Category',
-  'personal' => '개인적인',
-  'business' => '사업',
-  'hobby' => '취미',
-  'forum' => '게시판',
-  'adult' => '성인',
-  'dating' => '약속',
-  'software_download' => 'Software / Download',
-  'choose_from_below' => 'Choose from Below',
-  'site_language' => '웹 사이트 언어',
-  'english' => 'English',
-  'non_english' => 'Non English',
-  'security_code' => 'Security Code',
-  'input_security_code' => 'Please Input Security Code',
-  'input_security_code_above' => 'Please Input Security Code Above',
-  'legal_information' => 'Legal Information',
-  'privacy_policy' => 'Privacy Policy',
-  'tos' => 'Terms of service',
-  'cancellation_refund' => 'Cancellation & Refund',
-  'payment_methods' => 'Payment Methods & Information',
-  'signup_free_hosting' => 'Sign Up For Free Hosting',
-  'remember_me' => 'Remember me',
-  'please_login' => '로그인 해주세요',
-  'lost_password' => 'Lost your password?',
-  'address' => 'Address',
-  'host-plan' => 'Host Plan',
-  'host-plan-free' => '무료 호스팅',
-  'host-plan-paid' => 'Paid Hosting',
-  'host-plan-super' => 'Super Hosting',
-  'host-plan-ultimate' => 'Ultimate Hosting',
-  'ftp-accounts' => 'FTP 계정',
-  'free-domains' => '무료 도메인',
-  'sub-domains' => '서브도메인',
-  'add-on-domains' => '추가 도매인',
-  'parked-domains' => '도메인 파킹',
-  'mysql-databases' => 'MySQL 계정',
-  'disk-quota' => '저장 용량',
-  'monthly-bandwidth' => '트래픽',
-  'daily-hits' => '일일 조회수 사용됨',
-  'host-inodes' => '사용 된 Inode',
-  'unlimited' => '제한 없는',
-  'reset-password' => '암호를 재설정',
-  'domain' => '도메인 이름',
-  'input-domain' => 'Please Input Domain',
-  'support' => '지원됨',
-  'not-support' => '지원 안함',
-  'more'                => '많은',
-  'about'               => '정보',
-  'aboutus'             => '회사 소개',
-);
+$LANG = [
+    'home' => 'Home',
+    'solution' => 'Solution',
+    'news' => '뉴스',
+    'contact' => '접촉',
+    'contact_us' => '문의하기',
+    'help' => '도움',
+    'login' => '로그인',
+    'register' => '레지스터',
+    'username' => '사용자 이름',
+    'input_username' => '사용자 이름을 입력하십시오.',
+    'password' => '암호',
+    'input_password' => '암호를 입력하십시오',
+    'email' => '이메일',
+    'input_email' => '이메일 주소를 입력 해주세요',
+    'site_category' => '사이트 유형',
+    'personal' => '개인적인',
+    'business' => '사업',
+    'hobby' => '취미',
+    'forum' => '게시판',
+    'adult' => '성인',
+    'dating' => '약속',
+    'software_download' => 'Software / Download',
+    'choose_from_below' => 'Choose from Below',
+    'site_language' => '웹 사이트 언어',
+    'english' => '영어',
+    'non_english' => 'Non English',
+    'security_code' => 'Security Code',
+    'input_security_code' => 'Please Input Security Code',
+    'input_security_code_above' => 'Please Input Security Code Above',
+    'legal_information' => 'Legal Information',
+    'privacy_policy' => 'Privacy Policy',
+    'tos' => 'Terms of service',
+    'cancellation_refund' => 'Cancellation & Refund',
+    'payment_methods' => 'Payment Methods & Information',
+    'signup_free_hosting' => 'Sign Up For Free Hosting',
+    'remember_me' => 'Remember me',
+    'please_login' => '로그인 해주세요',
+    'lost_password' => 'Lost your password?',
+    'address' => 'Address',
+    'host-plan' => 'Host Plan',
+    'host-plan-free' => '무료 호스팅',
+    'host-plan-paid' => 'Paid Hosting',
+    'host-plan-super' => 'Super Hosting',
+    'host-plan-ultimate' => 'Ultimate Hosting',
+    'ftp-accounts' => 'FTP 계정',
+    'free-domains' => '무료 도메인',
+    'sub-domains' => '서브도메인',
+    'add-on-domains' => '추가 도매인',
+    'parked-domains' => '도메인 파킹',
+    'mysql-databases' => 'MySQL 계정',
+    'disk-quota' => '저장 용량',
+    'monthly-bandwidth' => '트래픽',
+    'daily-hits' => '일일 조회수 사용됨',
+    'host-inodes' => '사용 된 Inode',
+    'unlimited' => '제한 없는',
+    'reset-password' => '암호를 재설정',
+    'domain' => '도메인 이름',
+    'input-domain' => 'Please Input Domain',
+    'support' => '지원됨',
+    'not-support' => '지원 안함',
+    'more' => '많은',
+    'about' => '정보',
+    'aboutus' => '회사 소개',
+    'clientarea' => '고객센터',
+];

+ 4 - 3
library/language/zh-CN/language.php

@@ -1,5 +1,5 @@
 <?php
 <?php
-$LANG = array(
+$LANG = [
     "home"              => "主页",
     "home"              => "主页",
     "solution"          => "方案",
     "solution"          => "方案",
     "news"              => "新闻",
     "news"              => "新闻",
@@ -62,5 +62,6 @@ $LANG = array(
     'not-support'       => '不支持',
     'not-support'       => '不支持',
     'more'              => '更多',
     'more'              => '更多',
     'about'             => '关于',
     'about'             => '关于',
-    'aboutus'             => '关于我们',
-);
+    'aboutus'           => '关于我们',
+    'clientarea'        => '客户中心',
+];

+ 66 - 66
library/language/zh-HK/language.php

@@ -1,67 +1,67 @@
 <?php
 <?php
-$LANG = array(
-  'home' => '主頁',
-  'solution' => '方案',
-  'news' => '新聞',
-  'contact' => '聯繫',
-  'contact_us' => '聯繫我們',
-  'help' => '幫助',
-  'login' => '登錄',
-  'register' => '註冊',
-  'username' => '用戶名',
-  'input_username' => '請輸入用戶名',
-  'password' => '密碼',
-  'input_password' => '請輸入密碼',
-  'email' => '電子郵箱地址',
-  'input_email' => '請輸入電子郵箱地址',
-  'site_category' => '網站類型',
-  'personal' => '個人',
-  'business' => '商業',
-  'hobby' => '愛好',
-  'forum' => '論壇',
-  'adult' => '成人',
-  'dating' => '約會',
-  'software_download' => '軟件/下載',
-  'choose_from_below' => '下拉選擇',
-  'site_language' => '網站語言',
-  'english' => '英文',
-  'non_english' => '非英文',
-  'security_code' => '驗證碼',
-  'input_security_code' => '輸入驗證碼',
-  'input_security_code_above' => '請輸入上面圖中驗證碼',
-  'legal_information' => '法律信息',
-  'privacy_policy' => '隱私政策',
-  'tos' => '服務條款',
-  'cancellation_refund' => '取消與退款',
-  'payment_methods' => '支付方式',
-  'signup_free_hosting' => '註冊免費空間',
-  'remember_me' => '記住我',
-  'please_login' => '請登錄',
-  'lost_password' => '忘記密碼了?',
-  'address' => '地址',
-  'host-plan' => '主機方案',
-  'host-plan-free' => '免費主機',
-  'host-plan-paid' => '收費主機',
-  'host-plan-super' => '高級主機套餐',
-  'host-plan-ultimate' => '頂級主機套餐',
-  'ftp-accounts' => 'FTP 帳號',
-  'free-domains'      => '免費域名',
-  'sub-domains' => '子網域',
-  'add-on-domains' => '附加網域',
-  'parked-domains' => '寄放網域',
-  'mysql-databases' => 'MySQL 資料庫',
-  'disk-quota' => '磁碟空間額度',
-  'monthly-bandwidth' => '月流量額度',
-  'daily-hits' => '每日點擊額度',
-  'host-inodes' => '信息節點額度',
-  'unlimited' => '無限',
-  'reset-password' => '重置密碼',
-  'domain' => '域名',
-  'input-domain' => '請輸入域名',
-  'support' => '支持',
-  'not-support' => '不支持',
-  'more'              => '更多',
-  'about'             => '關於',
-  'aboutus'             => '關於我們',
-);
-
+$LANG = [
+    'home' => '主頁',
+    'solution' => '方案',
+    'news' => '新聞',
+    'contact' => '聯繫',
+    'contact_us' => '聯繫我們',
+    'help' => '幫助',
+    'login' => '登錄',
+    'register' => '註冊',
+    'username' => '用戶名',
+    'input_username' => '請輸入用戶名',
+    'password' => '密碼',
+    'input_password' => '請輸入密碼',
+    'email' => '電子郵箱地址',
+    'input_email' => '請輸入電子郵箱地址',
+    'site_category' => '網站類型',
+    'personal' => '個人',
+    'business' => '商業',
+    'hobby' => '愛好',
+    'forum' => '論壇',
+    'adult' => '成人',
+    'dating' => '約會',
+    'software_download' => '軟件/下載',
+    'choose_from_below' => '下拉選擇',
+    'site_language' => '網站語言',
+    'english' => '英文',
+    'non_english' => '非英文',
+    'security_code' => '驗證碼',
+    'input_security_code' => '輸入驗證碼',
+    'input_security_code_above' => '請輸入上面圖中驗證碼',
+    'legal_information' => '法律信息',
+    'privacy_policy' => '隱私政策',
+    'tos' => '服務條款',
+    'cancellation_refund' => '取消與退款',
+    'payment_methods' => '支付方式',
+    'signup_free_hosting' => '註冊免費空間',
+    'remember_me' => '記住我',
+    'please_login' => '請登錄',
+    'lost_password' => '忘記密碼了?',
+    'address' => '地址',
+    'host-plan' => '主機方案',
+    'host-plan-free' => '免費主機',
+    'host-plan-paid' => '收費主機',
+    'host-plan-super' => '高級主機套餐',
+    'host-plan-ultimate' => '頂級主機套餐',
+    'ftp-accounts' => 'FTP 帳號',
+    'free-domains' => '免費域名',
+    'sub-domains' => '子網域',
+    'add-on-domains' => '附加網域',
+    'parked-domains' => '寄放網域',
+    'mysql-databases' => 'MySQL 資料庫',
+    'disk-quota' => '磁碟空間額度',
+    'monthly-bandwidth' => '月流量額度',
+    'daily-hits' => '每日點擊額度',
+    'host-inodes' => '信息節點額度',
+    'unlimited' => '無限',
+    'reset-password' => '重置密碼',
+    'domain' => '域名',
+    'input-domain' => '請輸入域名',
+    'support' => '支持',
+    'not-support' => '不支持',
+    'more' => '更多',
+    'about' => '關於',
+    'aboutus' => '關於我們',
+    'clientarea' => '客戶中心',
+];

+ 57 - 56
library/language/zh-SG/language.php

@@ -1,66 +1,67 @@
 <?php
 <?php
-$LANG = array(
-    "home"              => "主页",
-    "solution"          => "方案",
-    "news"              => "新闻",
-    "contact"           => "联系",
-    "contact_us"        => "联系我们",
-    "help"              => "帮助",
-    "login"             => "登录",
-    "register"          => "注册",
-    "username"          => "用户名",
-    "input_username"    => "请输入用户名",
-    "password"          => "密码",
-    "input_password"    => "请输入密码",
-    "email"             => "电子邮箱地址",
-    "input_email"       => "请输入电子邮箱地址",
-    "site_category"     => "网站类型",
-    "personal"          => "个人",
-    "business"          => "商业",
-    "hobby"             => "爱好",
-    "forum"             => "论坛",
-    "adult"             => "成人",
-    "dating"            => "约会",
+$LANG = [
+    "home" => "主页",
+    "solution" => "方案",
+    "news" => "新闻",
+    "contact" => "联系",
+    "contact_us" => "联系我们",
+    "help" => "帮助",
+    "login" => "登录",
+    "register" => "注册",
+    "username" => "用户名",
+    "input_username" => "请输入用户名",
+    "password" => "密码",
+    "input_password" => "请输入密码",
+    "email" => "电子邮箱地址",
+    "input_email" => "请输入电子邮箱地址",
+    "site_category" => "网站类型",
+    "personal" => "个人",
+    "business" => "商业",
+    "hobby" => "爱好",
+    "forum" => "论坛",
+    "adult" => "成人",
+    "dating" => "约会",
     "software_download" => "软件/下载",
     "software_download" => "软件/下载",
     "choose_from_below" => "下拉选择",
     "choose_from_below" => "下拉选择",
-    "site_language"     => "网站语言",
-    "english"           => "英文",
-    "non_english"       => "非英文",
-    "security_code"     => "验证码",
+    "site_language" => "网站语言",
+    "english" => "英文",
+    "non_english" => "非英文",
+    "security_code" => "验证码",
     "input_security_code" => "输入验证码",
     "input_security_code" => "输入验证码",
     "input_security_code_above" => "请输入上面图中验证码",
     "input_security_code_above" => "请输入上面图中验证码",
     "legal_information" => "法律信息",
     "legal_information" => "法律信息",
-    "privacy_policy"    => "隐私政策",
-    "tos"               => "服务条款",
+    "privacy_policy" => "隐私政策",
+    "tos" => "服务条款",
     "cancellation_refund" => "取消与退款",
     "cancellation_refund" => "取消与退款",
-    "payment_methods"   => "支付方式",
+    "payment_methods" => "支付方式",
     "signup_free_hosting" => "注册免费空间",
     "signup_free_hosting" => "注册免费空间",
-    "remember_me"       => "记住我",
-    "please_login"      => "请登录",
-    "lost_password"     => "忘记密码了?",
-    "address"           => "地址",
-    "host-plan"         => "主机方案",
-    "host-plan-free"    => "免费主机",
-    "host-plan-paid"    => "收费主机",
-    'host-plan-super'   => '高级主机',
+    "remember_me" => "记住我",
+    "please_login" => "请登录",
+    "lost_password" => "忘记密码了?",
+    "address" => "地址",
+    "host-plan" => "主机方案",
+    "host-plan-free" => "免费主机",
+    "host-plan-paid" => "收费主机",
+    'host-plan-super' => '高级主机',
     'host-plan-ultimate' => '顶级主机',
     'host-plan-ultimate' => '顶级主机',
-    "ftp-accounts"      => "FTP账号",
-    'free-domains'      => '免费域名',
-    "sub-domains"       => "子域名",
-    "add-on-domains"    => "绑定域名",
-    "parked-domains"    => "停放域名",
-    "mysql-databases"   => "MySQL数据库",
-    "disk-quota"        => "总空间配额",
+    "ftp-accounts" => "FTP账号",
+    'free-domains' => '免费域名',
+    "sub-domains" => "子域名",
+    "add-on-domains" => "绑定域名",
+    "parked-domains" => "停放域名",
+    "mysql-databases" => "MySQL数据库",
+    "disk-quota" => "总空间配额",
     "monthly-bandwidth" => "每月流量限制",
     "monthly-bandwidth" => "每月流量限制",
-    "daily-hits"        => "每日点击配额",
-    "host-inodes"       => "使用Inode配额",
-    "unlimited"         => "无限",
-    "reset-password"    => "重置密码",
-    "domain"            => "域名",
-    "input-domain"      => "请输入域名",
-    'support'           => '支持',
-    'not-support'       => '不支持',
-    'more'              => '更多',
-    'about'             => '关于',
-    'aboutus'             => '关于我们',
-);
+    "daily-hits" => "每日点击配额",
+    "host-inodes" => "使用Inode配额",
+    "unlimited" => "无限",
+    "reset-password" => "重置密码",
+    "domain" => "域名",
+    "input-domain" => "请输入域名",
+    'support' => '支持',
+    'not-support' => '不支持',
+    'more' => '更多',
+    'about' => '关于',
+    'aboutus' => '关于我们',
+    'clientarea' => '客户中心',
+];

+ 66 - 65
library/language/zh-TW/language.php

@@ -1,66 +1,67 @@
 <?php
 <?php
-$LANG = array(
-  'home' => '主頁',
-  'solution' => '方案',
-  'news' => '新聞',
-  'contact' => '聯繫',
-  'contact_us' => '聯繫我們',
-  'help' => '幫助',
-  'login' => '登錄',
-  'register' => '註冊',
-  'username' => '用戶名',
-  'input_username' => '請輸入用戶名',
-  'password' => '密碼',
-  'input_password' => '請輸入密碼',
-  'email' => '電子郵箱地址',
-  'input_email' => '請輸入電子郵箱地址',
-  'site_category' => '網站類型',
-  'personal' => '個人',
-  'business' => '商業',
-  'hobby' => '愛好',
-  'forum' => '論壇',
-  'adult' => '成人',
-  'dating' => '約會',
-  'software_download' => '軟件/下載',
-  'choose_from_below' => '下拉選擇',
-  'site_language' => '網站語言',
-  'english' => '英文',
-  'non_english' => '非英文',
-  'security_code' => '驗證碼',
-  'input_security_code' => '輸入驗證碼',
-  'input_security_code_above' => '請輸入上面圖中驗證碼',
-  'legal_information' => '法律信息',
-  'privacy_policy' => '隱私政策',
-  'tos' => '服務條款',
-  'cancellation_refund' => '取消與退款',
-  'payment_methods' => '支付方式',
-  'signup_free_hosting' => '註冊免費空間',
-  'remember_me' => '記住我',
-  'please_login' => '請登錄',
-  'lost_password' => '忘記密碼了?',
-  'address' => '地址',
-  'host-plan' => '主機方案',
-  'host-plan-free' => '免費主機',
-  'host-plan-paid' => '收費主機',
-  'host-plan-super' => '高級主機套餐',
-  'host-plan-ultimate' => '頂級主機套餐',
-  'ftp-accounts' => 'FTP 帳號',
-  'free-domains'      => '免費域名',
-  'sub-domains' => '子網域',
-  'add-on-domains' => '附加網域',
-  'parked-domains' => '寄放網域',
-  'mysql-databases' => 'MySQL 資料庫',
-  'disk-quota' => '磁碟空間額度',
-  'monthly-bandwidth' => '月流量額度',
-  'daily-hits' => '每日點擊額度',
-  'host-inodes' => '信息節點額度',
-  'unlimited' => '無限',
-  'reset-password' => '重置密碼',
-  'domain' => '域名',
-  'input-domain' => '請輸入域名',
-  'support' => '支持',
-  'not-support' => '不支持',
-  'more'              => '更多',
-  'about'             => '關於',
-  'aboutus'             => '關於我們',
-);
+$LANG = [
+    'home' => '主頁',
+    'solution' => '方案',
+    'news' => '新聞',
+    'contact' => '聯繫',
+    'contact_us' => '聯繫我們',
+    'help' => '幫助',
+    'login' => '登錄',
+    'register' => '註冊',
+    'username' => '用戶名',
+    'input_username' => '請輸入用戶名',
+    'password' => '密碼',
+    'input_password' => '請輸入密碼',
+    'email' => '電子郵箱地址',
+    'input_email' => '請輸入電子郵箱地址',
+    'site_category' => '網站類型',
+    'personal' => '個人',
+    'business' => '商業',
+    'hobby' => '愛好',
+    'forum' => '論壇',
+    'adult' => '成人',
+    'dating' => '約會',
+    'software_download' => '軟件/下載',
+    'choose_from_below' => '下拉選擇',
+    'site_language' => '網站語言',
+    'english' => '英文',
+    'non_english' => '非英文',
+    'security_code' => '驗證碼',
+    'input_security_code' => '輸入驗證碼',
+    'input_security_code_above' => '請輸入上面圖中驗證碼',
+    'legal_information' => '法律信息',
+    'privacy_policy' => '隱私政策',
+    'tos' => '服務條款',
+    'cancellation_refund' => '取消與退款',
+    'payment_methods' => '支付方式',
+    'signup_free_hosting' => '註冊免費空間',
+    'remember_me' => '記住我',
+    'please_login' => '請登錄',
+    'lost_password' => '忘記密碼了?',
+    'address' => '地址',
+    'host-plan' => '主機方案',
+    'host-plan-free' => '免費主機',
+    'host-plan-paid' => '收費主機',
+    'host-plan-super' => '高級主機套餐',
+    'host-plan-ultimate' => '頂級主機套餐',
+    'ftp-accounts' => 'FTP 帳號',
+    'free-domains' => '免費域名',
+    'sub-domains' => '子網域',
+    'add-on-domains' => '附加網域',
+    'parked-domains' => '寄放網域',
+    'mysql-databases' => 'MySQL 資料庫',
+    'disk-quota' => '磁碟空間額度',
+    'monthly-bandwidth' => '月流量額度',
+    'daily-hits' => '每日點擊額度',
+    'host-inodes' => '信息節點額度',
+    'unlimited' => '無限',
+    'reset-password' => '重置密碼',
+    'domain' => '域名',
+    'input-domain' => '請輸入域名',
+    'support' => '支持',
+    'not-support' => '不支持',
+    'more' => '更多',
+    'about' => '關於',
+    'aboutus' => '關於我們',
+    'clientarea' => '客戶中心',
+];