唐钰豆豆 há 7 anos atrás
pai
commit
26876e5678

+ 27 - 0
about_crogram.php

@@ -0,0 +1,27 @@
+<?php
+  define('IN_SYS', true);
+  require_once ("core.php");
+?>
+<!DOCTYPE html>
+<html lang="<?php echo $current_language; ?>">
+<head>
+    <meta charset="utf-8">
+    <title><?=$title?> - About Crogram</title>
+    <?php include ("headmate.php"); ?>
+</head>
+<body>
+<?php include ("nav.php"); ?>
+<div class="bs-docs-header">
+  <div class="container">
+    <h1>CROGRAM</h1>
+    <p>About Crogram, Inc.</p>
+  </div>
+</div>
+<div class="container">
+  <div class="row">
+
+  </div>
+</div>
+<?php include ("footer.php"); ?>
+</body>
+</html>

+ 26 - 0
about_uiisc.php

@@ -0,0 +1,26 @@
+<?php
+  define('IN_SYS', true);
+  require_once ("core.php");
+?>
+<!DOCTYPE html>
+<html lang="<?php echo $current_language; ?>">
+<head>
+    <meta charset="utf-8">
+    <title><?=$title?> - About UIISC</title>
+    <?php include ("headmate.php"); ?>
+</head>
+<body>
+<?php include ("nav.php"); ?>
+<div class="bs-docs-header">
+  <div class="container">
+    <h1>UIISC</h1>
+    <p>About UIISC</p>
+  </div>
+</div>
+<div class="container">
+  <div class="row">
+  </div>
+</div>
+<?php include ("footer.php"); ?>
+</body>
+</html>

+ 7 - 4
contact.php

@@ -11,20 +11,23 @@
 </head>
 <body>
 <?php include ("nav.php"); ?>
+<div class="bs-docs-header">
+  <div class="container">
+    <h1><?php echo $LANG['contact_us']; ?></h1>
+    <p><?php echo $LANG['contact_us']; ?></p>
+  </div>
+</div>
 <div class="container">
   <div class="row">
     <section class="section-wrap">
       <div class="container">
         <div class="row">
-          <div class="hidden-xs col-sm-12 col-md-12 termsHead">
-            <h1><?php echo $LANG['contact_us']; ?></h1>
-          </div>
           <div class="col-sm-12 col-md-12">
             <h2>Contact</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="http://byet.net/forumdisplay.php?f=28" target="_blank">Knowledge Base</a></p>
+            <p>For technical support please look at the <a href="mailto:&#100;&#111;&#117;&#100;&#111;&#117;&#100;&#122;&#106;&#64;&#115;&#105;&#110;&#97;&#46;&#99;&#111;&#109;" target="_blank">Email Support</a></p>
           </div>
           <div class="col-sm-12 col-md-12">
             <h2><?php echo $LANG['address']; ?></h2>

+ 172 - 25
css/style.css

@@ -1,45 +1,192 @@
+* {
+  margin: 0;
+  padding: 0;
+}
+
+input {
+  border: 0;
+  outline-width: 0 !important;
+}
+
+button {
+  outline-width: 0 !important;
+}
+
 body {
-    padding-top: 60px;
-    padding-bottom: 100px;
-    line-height: 1.5;
-    color: #000;
-    background-color: #fff;
-    outline: 0;
-    overflow-x: hidden;
-    overflow-y: auto;
+  padding-top: 51px;
+  padding-bottom: 100px;
+  line-height: 1.5;
+  color: #000;
+  background-color: #fff;
+  outline: 0;
+  overflow-x: hidden;
+  overflow-y: auto;
 }
+
 .section-wrap {
-    padding: 10px 0;
+  padding: 10px 0;
 }
+
 .section-wrap.title {
-    /*background: #349424;*/
-    /*color: #fff;*/
-    border-bottom: 1px solid;
+  border-bottom: 1px solid;
+}
+
+.home {
+  width: 100%;
+  height: 100%;
+  height: 100vh;
+  min-height: 100%;
+  position: relative;
+  color: #fff;
+  background: #0000008a;
+  background-image: url(../images/banner.jpg);
+  background-repeat: no-repeat;
+  background-size: cover;
+}
+
+body.fixed-header-on {
+  padding-top: 0;
+}
+
+.fixed-header-on .navbar-nav>li>a,
+.fixed-header-on .navbar-brand {
+  color: #fff;
+}
+
+.fixed-header-on .navbar-nav>li>a:hover,
+.fixed-header-on .navbar-brand:hover {
+  color: #ffc400;
+}
+
+.fixed-header-on .header {
+  background-color: rgba(0, 0, 0, 0);
+  border-color: rgba(0, 0, 0, 0);
+}
+
+.fixed-header-on .footer {
+  border-color: transparent;
+  background-color: transparent;
+  background: transparent;
+}
+
+
+.home-banner {
+  position: absolute;
+  top: 50%;
+  left: 50%;
+  z-index: 20;
+  text-align: center;
+  -webkit-transform: translate(-50%, -50%);
+  -moz-transform: translate(-50%, -50%);
+  transform: translate(-50%, -50%);
+}
+
+.bs-docs-header {
+  position: relative;
+  padding: 30px 0;
+  color: #cdbfe3;
+  text-align: center;
+  text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
+  background-color: #6f5499;
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#563d7c), to(#6f5499));
+  background-image: -webkit-linear-gradient(top, #563d7c 0%, #6f5499 100%);
+  background-image: -o-linear-gradient(top, #563d7c 0%, #6f5499 100%);
+  background-image: linear-gradient(to bottom, #563d7c 0%, #6f5499 100%);
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0);
+  background-repeat: repeat-x;
 }
+
+.bs-docs-header {
+  margin-bottom: 40px;
+  font-size: 20px;
+}
+
+.bs-docs-header h1 {
+  margin-top: 0;
+  color: #fff;
+}
+
+.bs-docs-header p {
+  margin-bottom: 0;
+  font-weight: 300;
+  line-height: 1.4;
+}
+
+.bs-docs-header .container {
+  position: relative;
+}
+
+@media (min-width: 768px) {
+  .bs-docs-header {
+    padding-top: 60px;
+    padding-bottom: 60px;
+    font-size: 24px;
+    text-align: left;
+  }
+  .bs-docs-header h1 {
+    font-size: 60px;
+    line-height: 1;
+  }
+}
+
+@media (min-width: 992px) {
+  .bs-docs-header h1,
+  .bs-docs-header p {
+    margin-right: 380px;
+  }
+}
+
 .terms_policies_menu ul {
-    list-style-type: circle;
+  list-style-type: circle;
 }
-.form-signin {
+
+.form-account {
   max-width: 330px;
   padding: 15px;
   margin: 0 auto;
 }
-.form-signin .form-control {
+
+.form-account .form-control {
   position: relative;
   height: auto;
   -webkit-box-sizing: border-box;
-     -moz-box-sizing: border-box;
-          box-sizing: border-box;
+  -moz-box-sizing: border-box;
+  box-sizing: border-box;
   padding: 10px;
   font-size: 16px;
 }
-.form-signin input[name="uname"] {
-  margin-bottom: -1px;
-  border-bottom-right-radius: 0;
-  border-bottom-left-radius: 0;
+
+.form-domain {
+  max-width: 430px;
+  padding: 15px;
+  margin: 0 auto;
+}
+
+.form-domain input {
+  color: #fff;
+  background: transparent;
+}
+
+.form-domain .form-control:hover {
+  color: #333;
+  background-color: #fff;
+  background-image: none;
+}
+
+@media (min-width: 300px) {
+  .form-domain {
+    min-width: 300px;
+  }
 }
-.form-signin input[type="password"] {
-  margin-bottom: 10px;
-  border-top-left-radius: 0;
-  border-top-right-radius: 0;
+
+@media (min-width: 768px) {
+  .form-domain {
+    max-width: 530px;
+  }
 }
+
+@media (min-width: 992px) {
+  .form-domain {
+    max-width: 500px;
+  }
+}

+ 43 - 39
footer.php

@@ -5,44 +5,48 @@
     exit;
   }
 ?>
-<footer class="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>&copy; 2018 <a href="./index.php"><?=$title_s?></a> &nbsp;&nbsp;&nbsp; Powered By <a href="https://crogram.com" target="blank">Crogram</a> & <a href="https://ifastnet.com" target="blank">iFastNet</a></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_language]; ?></a>
-                    </div>
-                    <ul class="dropdown-menu" aria-labelledby="changelanguage">
-                      <?php foreach($languages as $key=>$value) {
-                        echo '<li><a href="javascript://" onclick="change_language(\'',$key,'\')">',$languages[$key],'</a></li>';}
-                      ?>
-                    </ul>
+
+  <footer class="navbar navbar-default navbar-fixed-bottom footer">
+      <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>
+                  &copy; 2018 <a href="./index.php"><?=$title_s?></a> &nbsp;&nbsp;&nbsp;
+                  Powered by <a href="https://crogram.com" target="blank">Crogram</a> & <a href="https://ifastnet.com" target="blank">iFastNet</a>
                 </li>
-                <li><a href="./contact.php"><?php echo $LANG['contact_us']; ?></a></li>
-                <li><a href="//help.<?=$domain?>"><?php echo $LANG['help']; ?></a></li>
-            </ul>
-        </div>
-    </div>
-</footer>
-<script src="./js/jquery.min.js"></script>
-<script src="./js/bootstrap.min.js"></script>
-<script src="./js/ie10-viewport-bug-workaround.js"></script>
-<script src="./js/common.js?_=<?=$static_release?>"></script>
-<script type="text/javascript">
-  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;
+              </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_language]; ?></a>
+                      </div>
+                      <ul class="dropdown-menu" aria-labelledby="changelanguage">
+                        <?php foreach($languages as $key=>$value){
+                          echo '<li><a href="javascript://" onclick="change_language(\'',$key,'\')">',$languages[$key],'</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>
+      </div>
+  </footer>
+  <script src="./js/jquery.min.js"></script>
+  <script src="./js/bootstrap.min.js"></script>
+  <script src="./js/ie10-viewport-bug-workaround.js"></script>
+  <script src="./js/common.js?_=<?=$static_release?>"></script>
+  <script type="text/javascript">
+    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;
+      }
+      <?php if(!$_POST) { ?>
+      document.location.reload();
+      <?php } ?>
     }
-    <?php if(!$_POST) { ?>
-    document.location.reload();
-    <?php } ?>
-  }
-</script>
+  </script>

+ 18 - 10
headmate.php

@@ -1,10 +1,18 @@
-<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="<?=$description?>">
-<meta name="author" content="<?=$author?>">
-<link href="favicon.ico?_=<?=$static_release?>" rel="icon">
-<link href="./css/bootstrap.min.css?_=<?=$static_release?>" rel="stylesheet">
-<link href="./css/style.css?_=<?=$static_release?>" rel="stylesheet">
-<script src="./js/ie-emulation-modes-warning.js?_=<?=$static_release?>"></script><!--[if lt IE 9]>
-<script src="./js/html5shiv.min.js"></script>
-<script src="/./js/respond.min.js"></script><![endif]-->
+<?php
+  if(!defined('IN_SYS')) { 
+    // exit('禁止访问');
+    header("Location:"."index.php");
+    exit;
+  }
+?>
+
+    <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="<?=$description?>">
+    <meta name="author" content="<?=$author?>">
+    <link href="favicon.ico?_=<?=$static_release?>" rel="icon">
+    <link href="./css/bootstrap.min.css?_=<?=$static_release?>" rel="stylesheet">
+    <link href="./css/style.css?_=<?=$static_release?>" rel="stylesheet">
+    <script src="./js/ie-emulation-modes-warning.js?_=<?=$static_release?>"></script><!--[if lt IE 9]>
+    <script src="./js/html5shiv.min.js"></script>
+    <script src="./js/respond.min.js"></script><![endif]-->

+ 39 - 0
help.php

@@ -0,0 +1,39 @@
+<?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['contact_us']; ?></title>
+    <?php include ("headmate.php"); ?>
+</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">
+      <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:&#100;&#111;&#117;&#100;&#111;&#117;&#100;&#122;&#106;&#64;&#115;&#105;&#110;&#97;&#46;&#99;&#111;&#109;" target="_blank">Email Support</a></p>
+          </div>
+        </div>
+      </div>
+  </section>
+  </div>
+</div>
+<?php include ("footer.php"); ?>
+</body>
+</html>

BIN
images/banner.jpg


+ 6 - 6
include/language.php

@@ -26,7 +26,7 @@ class Language
       $this->initLanguageDir();
   }
   /* 
-  取得语言文件的绝对路径 
+  取得翻译文件的绝对路径 
   */
   public function getFileDir($file)
   {
@@ -40,11 +40,11 @@ class Language
         if (file_exists($dir . $this->language_country . "/" . $file)) {
           return $dir . $this->language_country . "/" . $file;
         } else {
-          if (file_exists($dir . "en-US/" . $file)) {
-            return $dir . "en-US/" . $file;
-          } else {
-            return false;
-          }
+          // if (file_exists($dir . "en-US/" . $file)) {
+          return $dir . "en-US/" . $file;
+          // } else {
+          //   return false;
+          // }
         }
       }
     }

+ 5 - 2
include/language/en-US/language.php

@@ -8,7 +8,7 @@ $LANG = array(
   'contact_us' => 'Contact Us',
   'help' => 'Help',
   'login' => 'Login',
-  'signup' => 'Signup',
+  'register' => 'Register',
   'username' => 'Username',
   'input_username' => 'Please Input Username',
   'password' => 'Password',
@@ -52,5 +52,8 @@ $LANG = array(
   'bandwidth' => 'Bandwidth',
   'daily-hits' => 'Daily Hits Quota',
   'host-inodes' => 'Inodes Quota',
-  'unlimited' => 'Unlimited'
+  'unlimited' => 'Unlimited',
+  'resetpassword' => 'Reset Password',
+  'domain' => 'Domain',
+  'input_domain' => 'Please Input Domain',
 );

+ 5 - 2
include/language/zh-CN/language.php

@@ -8,7 +8,7 @@ $LANG = array(
   'contact_us' => '联系我们',
   'help' => '帮助',
   'login' => '登录',
-  'signup' => '注册',
+  'register' => '注册',
   'username' => '用户名',
   'input_username' => '请输入用户名',
   'password' => '密码',
@@ -52,5 +52,8 @@ $LANG = array(
   'bandwidth' => '流量配额',
   'daily-hits' => '每日点击配额',
   'host-inodes' => '使用Inode配额',
-  'unlimited' => '无限'
+  'unlimited' => '无限',
+  'resetpassword' => '找回密码',
+  'domain' => '域名',
+  'input_domain' => '请输入域名',
 );

+ 5 - 2
include/language/zh-HK/language.php

@@ -8,7 +8,7 @@ $LANG = array(
   'contact_us' => '聯繫我們',
   'help' => '幫助',
   'login' => '登錄',
-  'signup' => '註冊',
+  'register' => '註冊',
   'username' => '用戶名',
   'input_username' => '請輸入用戶名',
   'password' => '密碼',
@@ -52,6 +52,9 @@ $LANG = array(
   'bandwidth' => '月流量額度',
   'daily-hits' => '每日點擊額度',
   'host-inodes' => '信息節點額度',
-  'unlimited' => '無限'
+  'unlimited' => '無限',
+  'resetpassword' => 'Reset Password',
+  'domain' => 'Domain',
+  'input_domain' => 'Please Input Domain',
 );
 

+ 5 - 2
include/language/zh-TW/language.php

@@ -8,7 +8,7 @@ $LANG = array(
   'contact_us' => '聯繫我們',
   'help' => '幫助',
   'login' => '登錄',
-  'signup' => '註冊',
+  'register' => '註冊',
   'username' => '用戶名',
   'input_username' => '請輸入用戶名',
   'password' => '密碼',
@@ -52,6 +52,9 @@ $LANG = array(
   'bandwidth' => '月流量額度',
   'daily-hits' => '每日點擊額度',
   'host-inodes' => '信息節點額度',
-  'unlimited' => '無限'
+  'unlimited' => '無限',
+  'resetpassword' => 'Reset Password',
+  'domain' => 'Domain',
+  'input_domain' => 'Please Input Domain',
 );
 

+ 64 - 69
index.php

@@ -9,81 +9,76 @@
     <title><?=$title?></title>
     <?php include ("headmate.php"); ?>
 </head>
-<body>
-<?php include ("nav.php"); ?>
-<div class="jumbotron">
-  <div class="container">
-    <h1>Choice Domain</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> -->
-    <div class="row">
-      <div class="col-sm-5">
-        <div class="form-group form-horizontal">
-          <label for="domainInput">Choice Domain</label>
+<body class="fixed-header-on">
+    <?php include ("nav.php"); ?>
+
+    <div class="home">
+      <div class="container home-banner">
+        <div class="form-group form-domain">
           <div class="input-group input-group-lg">
-            <span class="input-group-addon">www</span>
-            <input type="text" class="form-control" id="domainInput" placeholder="yourDomainName">
-            <span class="input-group-addon" id="basic-addon2">.com</span>
-            <!-- <div class="input-group-btn">
-              <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
-              Action <span class="caret"></span>
-                <span class="sr-only">Toggle Dropdown</span>
-              </button>
-              <ul class="dropdown-menu dropdown-menu-right">
-                <li><a href="#">Action</a></li>
-                <li><a href="#">Another action</a></li>
-                <li><a href="#">Something else here</a></li>
-                <li role="separator" class="divider"></li>
-                <li><a href="#">Separated link</a></li>
-              </ul>
-            </div> -->
-          </div>
-          <div class="btn-group">
-            <input type="button" class="btn btn-default btn-lg check-domain" value="Check" />
+            <!-- <span class="input-group-addon">www</span> -->
+            <input type="text" class="form-control" id="domainInput" placeholder="DomainName">
+            <span class="input-group-btn">
+              <input type="button" class="btn btn-lg btn-default check-domain" value="Start" />
+            </span>
           </div>
         </div>
       </div>
     </div>
-  </div>
-</div>
-<div class="container">
-
-</div>
-<div class="container">
-  <div class="row">
-    <div class="col-md-6">
-      <h2>Automated features!</h2>
-      <img src="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>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="images/img5.jpg" alt="server" class="img-rounded">
-      <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 class="container">
+      <div class="row">
+        <div class="col-md-6">
+          <h2>Automated features!</h2>
+          <img src="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>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="images/img5.jpg" alt="server" class="img-rounded">
+          <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>
-  </div>
-</div>
-<?php include ("footer.php"); ?>
-<script type="text/javascript">
-  $('.check-domain').click(function () {
-    var domain = $('#domainInput').val()
-    if (domain) {
-      $.ajax({
-        type: 'post',
-        url: 'https://api.croidc.cn/mofh/DomainCheck',
-        dataType: 'json',
-        contentType : "application/json",
-        data: JSON.stringify({
-          domain: domain
-        }),
-        success: function (x) {
-          console.log(x);
+
+    <?php include ("footer.php"); ?>
+
+    <script type="text/javascript">
+      window.onscroll = function () {
+        var a = document.documentElement.scrollTop || document.body.scrollTop;//滚动条y轴上的距离
+        if (a > 0) {
+          $('body').removeClass('fixed-header-on');
+        } else {
+          $('body').addClass('fixed-header-on');
+        }
+      }
+      $('.check-domain').click(function () {
+        subCheck();
+      });
+      $('#domainInput').keyup(function(event){
+        if(event.keyCode == 13) {
+          subCheck();
+        }
+      });
+      function subCheck () {
+        var domain = $('#domainInput').val()
+        if (domain) {
+          $.ajax({
+            type: 'post',
+            url: 'https://api.croidc.cn/mofh/DomainCheck',
+            dataType: 'json',
+            contentType : "application/json",
+            data: JSON.stringify({
+              domain: domain
+            }),
+            success: function (x) {
+              console.log(x);
+            }
+          })
         }
-      })
-    }
-  })
-</script>
+      }
+    </script>
 </body>
 </html>

+ 10 - 2
legal_cancellation-refund.php

@@ -13,14 +13,22 @@
 </head>
 <body>
 <?php include ("nav.php"); ?>
+
+<div class="bs-docs-header">
+    <div class="container">
+        <h1>Cancelation policy &amp; Refund policy</h1>
+        <p>Cancelation &amp; refund information</p>
+    </div>
+</div>
+
 <div class="container">
     <div class="row">
-        <section class="section-wrap title">
+        <!-- <section class="section-wrap title">
             <div class="container">
                 <h2 class="text-center">Cancelation policy &amp; Refund policy</h2>
                 <p class="text-center">Cancelation &amp; refund information</p>
             </div>
-        </section>
+        </section> -->
         <section class="section-wrap cancelationInfo">
             <div class="container">
                 <div class="row">

+ 10 - 2
legal_payment-methods.php

@@ -13,14 +13,22 @@
 </head>
 <body>
 <?php include ("nav.php"); ?>
+
+<div class="bs-docs-header">
+    <div class="container">
+      <h1><?php echo $LANG['payment_methods']; ?></h1>
+      <p>Payment methods information</p>
+    </div>
+</div>
+
 <div class="container">
   <div class="row">
-    <section class="section-wrap title">
+    <!-- <section class="section-wrap title">
       <div class="container">
         <h2 class="text-center"><?php echo $LANG['payment_methods']; ?></h2>
         <p class="text-center">Payment methods information</p>
       </div>
-    </section>
+    </section> -->
     <section class="section-wrap paymentsInfo">
       <div class="container">
         <div class="row">

+ 10 - 2
legal_privacy.php

@@ -13,14 +13,22 @@
 </head>
 <body>
 <?php include ("nav.php"); ?>
+
+<div class="bs-docs-header">
+    <div class="container">
+    <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">
+        <!-- <section class="section-wrap title">
             <div class="container">
                 <h2 class="text-center"><?php echo $LANG['privacy_policy']; ?></h2>
                 <p class="text-center">Privacy policy information</p>
             </div>
-        </section>
+        </section> -->
         <section class="section-wrap privacyInfo">
             <div class="container">
                 <div class="row">

+ 9 - 2
legal_terms.php

@@ -13,14 +13,21 @@
 </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">
-        <section class="section-wrap title">
+        <!-- <section class="section-wrap title">
             <div class="container">
                 <h2 class="text-center"><?php echo $LANG['tos']; ?></h2>
                 <p class="text-center">Service conditions and policies</p>
             </div>
-        </section>
+        </section> -->
         <section class="section-wrap termsInfo">
             <div class="container">
                 <div class="row">

+ 29 - 14
login.php

@@ -9,23 +9,38 @@
   <title><?=$title?> - <?php echo $LANG['login']; ?></title>
   <?php include ("headmate.php"); ?>
 </head>
+
 <body>
 <?php include ("nav.php"); ?>
-<div class="container">
-  <form class="form-signin" role="form" action="//cpanel.<?=$domain?>/login.php" method="post" name="login">
-    <h2 class="form-signin-heading"><?php echo $LANG['please_login']; ?></h2>
-    <input type="text" name="uname" class="form-control" placeholder="<?php echo $LANG['input_username']; ?>" required autofocus>
-    <input type="password" name="passwd" class="form-control" placeholder="<?php echo $LANG['input_password']; ?>" required>
-    <input type="hidden" name="language" value="<?php echo $LANG['language']; ?>">
-    <div class="checkbox">
-      <label>
-        <input type="checkbox" value="remember-me"><span><?php echo $LANG['remember_me']; ?></span>
-        <a href="//cpanel.<?=$domain?>/lostpassword.php"><?php echo $LANG['lost_password']; ?></a>
-      </label>
+
+  <div class="bs-docs-header">
+    <div class="container">
+      <h1><?php echo $LANG['please_login']; ?></h1>
+      <p>Enter your Username and Password</p>
     </div>
-    <button type="submit" name="submit" class="btn btn-lg btn-primary btn-block"><?php echo $LANG['login']; ?></button>
-  </form>
-</div>
+  </div>
+  <div class="container">
+    <form class="form-group form-horizontal form-account" role="form" action="//cpanel.<?=$domain?>/login.php" method="post" name="login">
+      <div class="form-group">
+        <label for="inputUsername" class="control-label">Username</label>
+        <input type="text" name="uname" class="form-control" id="inputUsername" placeholder="<?php echo $LANG['input_username']; ?>" required autofocus>
+      </div>
+      <div class="form-group">
+        <label for="inputPassword" class="control-label">Password</label>
+        <input type="password" name="passwd" class="form-control" id="inputPassword" placeholder="<?php echo $LANG['input_password']; ?>" required autofocus>
+      </div>
+      <input type="hidden" name="language" value="<?php echo $LANG['language']; ?>">
+      <div class="form-group">
+        <label><input type="checkbox" value="remember-me"> <span><?php echo $LANG['remember_me']; ?></span></label>
+        <label><a href="resetpass.php"><?php echo $LANG['lost_password']; ?></a></label>
+      </div>
+      <div class="form-group">
+        <button type="submit" name="submit" class="btn btn-lg btn-primary btn-block"><?php echo $LANG['login']; ?></button>
+      </div>
+    </form>
+  </div>
+
 <?php include ("footer.php"); ?>
+
 </body>
 </html>

+ 38 - 38
nav.php

@@ -5,42 +5,42 @@
     exit;
   }
 ?>
-<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
-  <div class="container">
-    <div class="navbar-header">
-      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
-        <span class="sr-only">Navigation</span>
-        <span class="icon-bar"></span>
-        <span class="icon-bar"></span>
-        <span class="icon-bar"></span>
-      </button>
-      <a class="navbar-brand" href="index.php"><?=$title_s?></a>
-    </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="//help.<?=$domain?>"><?php echo $LANG['help']; ?></a></li>
-          <li class="dropdown">
-            <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">About <span class="caret"></span></a>
-            <ul class="dropdown-menu" role="menu">
-              <li><a href="javascript:void(0)">UIISC</a></li>
-              <li><a href="javascript:void(0)">CROGRAM</a></li>
-              <li class="divider"></li>
-              <li class="dropdown-header"><?php echo $LANG['legal_information']; ?></li>
-              <li><a href="./legal_terms.php"><?php echo $LANG['tos']; ?></a></li>
-              <li><a href="./legal_cancellation-refund.php"><?php echo $LANG['cancellation_refund']; ?></a></li>
-              <li><a href="./legal_privacy.php"><?php echo $LANG['privacy_policy']; ?></a></li>
-              <li><a href="./legal_payment-methods.php"><?php echo $LANG['payment_methods']; ?></a></li>
+
+    <nav class="navbar navbar-default navbar-fixed-top header" role="navigation">
+      <div class="container">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
+            <span class="sr-only">Navigation</span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </button>
+          <a class="navbar-brand" href="index.php"><?=$title_s?></a>
+        </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="help.php"><?php echo $LANG['help']; ?></a></li>
+              <li class="dropdown">
+                <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">About <span class="caret"></span></a>
+                <ul class="dropdown-menu" role="menu">
+                  <li><a href="about_uiisc.php">UIISC</a></li>
+                  <li><a href="about_crogram.php">CROGRAM</a></li>
+                  <li class="divider"></li>
+                  <li class="dropdown-header"><?php echo $LANG['legal_information']; ?></li>
+                  <li><a href="./legal_terms.php"><?php echo $LANG['tos']; ?></a></li>
+                  <li><a href="./legal_cancellation-refund.php"><?php echo $LANG['cancellation_refund']; ?></a></li>
+                  <li><a href="./legal_privacy.php"><?php echo $LANG['privacy_policy']; ?></a></li>
+                  <li><a href="./legal_payment-methods.php"><?php echo $LANG['payment_methods']; ?></a></li>
+                </ul>
+              </li>
             </ul>
-          </li>
-        </ul>
-        <ul class="nav navbar-nav navbar-right">
-          <li><a href="./index.php"><?php echo $LANG['home']; ?></a></li>
-          <li><a href="./login.php"><?php echo $LANG['login']; ?></a></li>
-          <li><a href="./signup.php"><?php echo $LANG['signup']; ?></a></li>
-        </ul>
-    </div>
-  </div>
-</nav>
+            <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>
+            </ul>
+        </div>
+      </div>
+    </nav>

+ 182 - 0
register.php

@@ -0,0 +1,182 @@
+<?php
+  define('IN_SYS', true);
+  require_once ("core.php");
+   $security_id = md5(rand(6000,getrandmax())); // $security_id = md5(rand(6000,PHP_INT_MAX));
+?>
+<!DOCTYPE html>
+<html lang="<?php echo $current_language; ?>">
+<head>
+  <meta charset="utf-8">
+  <title><?=$title?> - <?php echo $LANG['register']; ?></title>
+  <?php include ("headmate.php"); ?>
+</head>
+<body>
+<?php include ("nav.php"); ?>
+<div class="bs-docs-header">
+  <div class="container">
+    <h1><?php echo $LANG['signup_free_hosting']; ?></h1>
+    <p>You can sign up here for fast free PHP & MySQL hosting including a free sub domain. Fill out the form below and your free hosting account will be created.  <em>Enjoy :)</em></p>
+  </div>
+</div>
+<div class="container">
+    <div class="form-group form-horizontal form-account">
+        <input type="hidden" name="plan_name" value="free webhosting">
+        <div class="form-group">
+            <label for="inputUsername" class="control-label"><?php echo $LANG['username']; ?></label>
+            <input type="text" name="username" class="form-control" id="inputUsername" placeholder="<?php echo $LANG['input_username']; ?>" value="<?php if (isset($_GET['username'])) { echo $_GET['username']; }?>">
+        </div>
+        <div class="form-group">
+            <label for="inputDomain" class="control-label"><?php echo $LANG['domain']; ?></label>
+            <input type="text" name="domain" class="form-control" id="inputDomain" placeholder="<?php echo $LANG['input_domain']; ?>" value="<?php if (isset($_GET['domain'])) { echo $_GET['domain']; }?>">
+        </div>
+        <div class="form-group">
+            <label for="inputPassword" class="control-label"><?php echo $LANG['password']; ?></label>
+            <input type="password" name="password" class="form-control" id="inputPassword" placeholder="<?php echo $LANG['input_password']; ?>">
+        </div>
+        <div class="form-group">
+            <label for="inputEmail" class="control-label"><?php echo $LANG['email']; ?></label>
+            <input type="email" name="email" class="form-control" id="inputEmail" placeholder="<?php echo $LANG['input_email']; ?>" value="<?php if (isset($_GET['email'])) { echo $_GET['email']; }?>">
+        </div>
+        <div class="form-group">
+            <label for="inputCategory" class="control-label"><?php echo $LANG['site_category']; ?></label>
+            <select class="form-control" name="website_category" id="inputCategory">
+                <option><?php echo $LANG['choose_from_below']; ?></option>
+                <option><?php echo $LANG['personal']; ?></option>
+                <option><?php echo $LANG['business']; ?></option>
+                <option><?php echo $LANG['hobby']; ?></option>
+                <option><?php echo $LANG['forum']; ?></option>
+                <option><?php echo $LANG['dating']; ?></option>
+                <option><?php echo $LANG['software_download']; ?></option>
+            </select>
+        </div>
+        <div class="form-group">
+            <label for="inputLanguage" class="control-label"><?php echo $LANG['site_language']; ?></label>
+            <select class="form-control" name="website_language" id="inputLanguage">
+                <option><?php echo $LANG['choose_from_below']; ?></option>
+                <!-- <option data-i18n="english">English</option> -->
+                <!-- <option data-i18n="non_english">Non-English</option> -->
+                <option selected="selected" value="English">Auto: English</option>
+                <option>Afrikaans</option>
+                <option>Albanian</option>
+                <option>Amharic</option>
+                <option>Arabic</option>
+                <option>Armenian</option>
+                <option>Azeerbaijani</option>
+                <option>Basque</option>
+                <option>Belarusian</option>
+                <option>Bengali</option>
+                <option>Bosnian</option>
+                <option>Bulgarian</option>
+                <option>Burmese</option>
+                <option>Catalan</option>
+                <option>Cebuano</option>
+                <option>Chichewa</option>
+                <option>Chinese_simplified</option>
+                <option>Chinese_traditional</option>
+                <option>Corsican</option>
+                <option>Croatian</option>
+                <option>Czech</option>
+                <option>Danish</option>
+                <option>Dutch</option>
+                <option>English</option>
+                <option>Esperanto</option>
+                <option>Estonian</option>
+                <option>Farsi</option>
+                <option>Filipino</option>
+                <option>Finnish</option>
+                <option>French</option>
+                <option>Frisian</option>
+                <option>Galician</option>
+                <option>Georgian</option>
+                <option>German</option>
+                <option>Greek</option>
+                <option>Gujarati</option>
+                <option>Haitian Creole</option>
+                <option>Hausa</option>
+                <option>Hawaiian</option>
+                <option>Hebrew</option>
+                <option>Hindi</option>
+                <option>Hmong</option>
+                <option>Hungarian</option>
+                <option>Icelandic</option>
+                <option>Igbo</option>
+                <option>Indonesian</option>
+                <option>Irish</option>
+                <option>Italian</option>
+                <option>Japanese</option>
+                <option>Javanese</option>
+                <option>Kannada</option>
+                <option>Kazakh</option>
+                <option>Khmer</option>
+                <option>Korean</option>
+                <option>Kurdish</option>
+                <option>Kyrgyz</option>
+                <option>Lao</option>
+                <option>Latin</option>
+                <option>Latvian</option>
+                <option>Lithuanian</option>
+                <option>Luxembourgish</option>
+                <option>Macedonian</option>
+                <option>Malagasy</option>
+                <option>Malay</option>
+                <option>Malayalam</option>
+                <option>Maltese</option>
+                <option>Maori</option>
+                <option>Marathi</option>
+                <option>Mongolian</option>
+                <option>Nepali</option>
+                <option>Norwegian</option>
+                <option>Pashto</option>
+                <option>Persian</option>
+                <option>Polish</option>
+                <option>Portuguese</option>
+                <option>Punjabi</option>
+                <option>Romanian</option>
+                <option>Russian</option>
+                <option>Samoan</option>
+                <option>Scots Gaelic</option>
+                <option>Serbian</option>
+                <option>Sesotho</option>
+                <option>Shona</option>
+                <option>Sindhi</option>
+                <option>Sinhala</option>
+                <option>Slovak</option>
+                <option>Slovenian</option>
+                <option>Somali</option>
+                <option>Spanish</option>
+                <option>Sundanese</option>
+                <option>Swahili</option>
+                <option>Swedish</option>
+                <option>Tajik</option>
+                <option>Tamil</option>
+                <option>Telugu</option>
+                <option>Thai</option>
+                <option>Turkish</option>
+                <option>Ukrainian</option>
+                <option>Urdu</option>
+                <option>Uzbek</option>
+                <option>Vietnamese</option>
+                <option>Welsh</option>
+                <option>Xhosa</option>
+                <option>Yiddish</option>
+                <option>Yoruba</option>
+                <option>Zulu</option>
+            </select>
+        </div>
+        <div class="form-group">
+            <label for="inputID" class="control-label"><?php echo $LANG['security_code']; ?></label>
+            <img width="90px" height="25px" src="./security_code.php?id=<?=$security_id?>">
+            <input type="hidden" name="id" class="form-control" id="inputID" value="<?=$security_id?>">
+        </div>
+        <div class="form-group">
+            <label for="inputSecurityCode" class="control-label"><?php echo $LANG['input_security_code']; ?></label>
+            <input type="text" name="number" class="form-control" id="inputSecurityCode" placeholder="<?php echo $LANG['input_security_code_above']; ?>">
+        </div>
+        <div class="form-group">
+            <button type="submit" name="submit" class="btn btn-lg btn-primary"><?php echo $LANG['register']; ?></button>
+        </div>
+    </div>
+</div>
+<?php include ("footer.php"); ?>
+</body>
+</html>

+ 6 - 2
reset_password.php

@@ -21,7 +21,7 @@
     <!--<?=$str_code?>-->
     <blink>ipaddress logged <?=$logged_ipaddress?></blink>
     <h2 data-i18n="password_eset">Lost Password Retrieval System</h2>
-    <form class="form-signin" role="form" action="http://cpanel.<?=$domain?>/passwords.php" method="post" name="password_reset">
+    <div class="form-group form-horizontal form-account" role="form" action="http://cpanel.<?=$domain?>/passwords.php" method="post" name="password_reset">
         <h2 data-i18n="password_eset">Password Reset</h2>
         <input type="hidden" name="token" value="<?=$password_reset_token_id?>">
         <div class="form-group">
@@ -32,10 +32,14 @@
             <label for="inputEmail" class="control-label" data-i18n="email">Email Address</label>
             <input type="email" name="email" class="form-control" id="inputEmail" placeholder="Email Address" data-i18n="input_email" required>
         </div>
+        <div class="form-group checkbox">
+            <label>Not yet have an account?</label>
+            <a href="./register.php"><?php echo $LANG['register']; ?></a>
+        </div>
         <div class="form-group">
             <button type="submit" name="submit" class="btn btn-lg btn-primary btn-block" data-i18n="Fetch">Fetch</button>
         </div>
-    </form>
+    </div>
     <div class="row">
         <p>In the above form, enter the username and the REGISTERED email address that was used when signing up for the account.<br>
 		We will then email the registered email address with reset account details.

+ 52 - 0
resetpass.php

@@ -0,0 +1,52 @@
+<?php
+  define('IN_SYS', true);
+  require_once ("core.php");
+  $domain = "uiisc.com";
+  $logged_ipaddress = "116.228.234.98";
+?>
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="utf-8">
+    <title><?=$title?> - Lost Password / Password Recovery</title>
+    <?php include ("headmate.php"); ?>
+</head>
+<body>
+<?php include ("nav.php"); ?>
+<div class="bs-docs-header">
+  <div class="container">
+    <h1>Password Reset</h1>
+    <p>Lost Password Retrieval System</p>
+  </div>
+</div>
+<div class="container">
+    <blink>ipaddress logged <?=$logged_ipaddress?></blink>
+    <!-- <h2 data-i18n="password_eset">Lost Password Retrieval System</h2> -->
+    <div class="form-group form-horizontal form-account">
+        <!-- <h2 data-i18n="password_eset">Password Reset</h2> -->
+        <input type="hidden" name="ipaddress" value="<?=$logged_ipaddress?>">
+        <div class="form-group">
+            <label for="inputUsername" class="control-label" data-i18n="username">Username</label>
+            <input type="text" name="username" class="form-control" id="inputUsername" placeholder="Username" data-i18n="input_username" required autofocus>
+        </div>
+        <div class="form-group">
+            <label for="inputEmail" class="control-label" data-i18n="email">Email Address</label>
+            <input type="email" name="email" class="form-control" id="inputEmail" placeholder="Email Address" data-i18n="input_email" required>
+        </div>
+        <div class="form-group">
+            <label>Not yet have an account ?</label>
+            <label><a href="./register.php"><?php echo $LANG['register']; ?></a></label>
+        </div>
+        <div class="form-group">
+            <button type="submit" name="submit" class="btn btn-lg btn-primary btn-block">Submit</button>
+        </div>
+    </div>
+    <div class="row">
+        <p>In the above form, enter the username and the REGISTERED email address that was used when signing up for the account.<br>
+		We will then email the registered email address with reset account details.
+        </p>
+    </div>
+</div>
+<?php include ("footer.php"); ?>
+</body>
+</html>

+ 0 - 98
signup.php

@@ -1,98 +0,0 @@
-<?php
-  define('IN_SYS', true);
-  require_once ("core.php");
-   $security_id = md5(rand(6000,getrandmax())); // $security_id = md5(rand(6000,PHP_INT_MAX));
-?>
-<!DOCTYPE html>
-<html lang="<?php echo $current_language; ?>">
-<head>
-  <meta charset="utf-8">
-  <title><?=$title?> - <?php echo $LANG['signup']; ?></title>
-  <?php include ("headmate.php"); ?>
-</head>
-<body>
-<?php include ("nav.php"); ?>
-<div class="container">
-    <div class="panel panel-default">
-        <div class="panel-body">
-            <h2><?php echo $LANG['signup_free_hosting']; ?></h2>
-            <p>You can sign up here for fast free PHP & MySQL hosting including a free sub domain. Fill out the form below and your free hosting account will be created.  <em>Enjoy :)</em></p>
-        </div>
-    </div>
-    <div class="panel panel-default">
-        <!--<div class="panel-heading">
-            <h3 class="panel-title"><h2>Sign Up</h2>
-            <p>You can sign up here for fast free PHP & MySQL hosting including a free sub domain. 
-            Fill out the form below and your free hosting account will be created.  <em>Enjoy :)</em>
-            </p></h3>
-        </div>-->
-        <div class="panel-body">
-            <form class="form-horizontal" role="form" method=post action="//order.<?=$domain?>/register.php"><!--remote_reg.php-->
-                <input type="hidden" name="plan_name" value="free webhosting">
-                <div class="form-group">
-                    <label for="inputUsername" class="col-sm-4 control-label"><?php echo $LANG['username']; ?></label>
-                    <div class="col-sm-5">
-                    <input type="text" name="username" class="form-control" id="inputUsername" placeholder="<?php echo $LANG['input_username']; ?>" value="<?php if (isset($_GET['username'])) { echo $_GET['username']; }?>">
-                    </div>
-                </div>
-                <div class="form-group">
-                    <label for="inputPassword" class="col-sm-4 control-label"><?php echo $LANG['password']; ?></label>
-                    <div class="col-sm-5">
-                    <input type="password" name="password" class="form-control" id="inputPassword" placeholder="<?php echo $LANG['input_password']; ?>">
-                    </div>
-                </div>
-                <div class="form-group">
-                    <label for="inputEmail" class="col-sm-4 control-label"><?php echo $LANG['email']; ?></label>
-                    <div class="col-sm-5">
-                    <input type="email" name="email" class="form-control" id="inputEmail" placeholder="<?php echo $LANG['input_email']; ?>" value="<?php if (isset($_GET['email'])) { echo $_GET['email']; }?>">
-                    </div>
-                </div>
-                <div class="form-group">
-                  <label for="inputCategory" class="col-sm-4 control-label"><?php echo $LANG['site_category']; ?></label>
-                  <div class="col-sm-5">
-                    <select class="form-control" name="website_category" id="inputCategory">
-                      <option><?php echo $LANG['choose_from_below']; ?></option>
-                      <option><?php echo $LANG['personal']; ?></option>
-                      <option><?php echo $LANG['business']; ?></option>
-                      <option><?php echo $LANG['hobby']; ?></option>
-                      <option><?php echo $LANG['forum']; ?></option>
-                      <option><?php echo $LANG['dating']; ?></option>
-                      <option><?php echo $LANG['software_download']; ?></option>
-                    </select>
-                  </div>
-                </div>
-                <div class="form-group">
-                    <label for="inputLanguage" class="col-sm-4 control-label"><?php echo $LANG['site_language']; ?></label>
-                    <div class="col-sm-5">
-                        <select class="form-control" name="website_language" id="inputLanguage">
-                            <option><?php echo $LANG['choose_from_below']; ?></option>
-                            <option data-i18n="english">English</option>
-                            <option data-i18n="non_english">Non-English</option>
-                        </select>
-                    </div>
-                </div>
-                <div class="form-group">
-                    <label for="inputID" class="col-sm-4 control-label"><?php echo $LANG['security_code']; ?></label>
-                    <div class="col-sm-5">
-                    <img width="90px" height="25px" src="./security_code.php?id=<?=$security_id?>">
-                    <input type="hidden" name="id" class="form-control" id="inputID" value="<?=$security_id?>">
-                    </div>
-                </div>
-                <div class="form-group">
-                    <label for="inputSecurityCode" class="col-sm-4 control-label"><?php echo $LANG['input_security_code']; ?></label>
-                    <div class="col-sm-5">
-                    <input type="text" name="number" class="form-control" id="inputSecurityCode" placeholder="<?php echo $LANG['input_security_code_above']; ?>">
-                    </div>
-                </div>
-                <div class="form-group">
-                    <div class="col-sm-offset-4 col-sm-6">
-                    <button type="submit" name="submit" class="btn btn-default"><?php echo $LANG['signup']; ?></button>
-                    </div>
-                </div>
-            </form>
-        </div>
-    </div>
-</div>
-<?php include ("footer.php"); ?>
-</body>
-</html>

+ 100 - 103
solution.php

@@ -11,114 +11,111 @@
 </head>
 <body>
 <?php include ("nav.php"); ?>
-<div class="container">
-  <div class="row">
-    <section class="section-wrap">
-      <div class="container">
-        <div class="row">
-          <div class="hidden-xs col-sm-12 col-md-12 termsHead">
-            <h1><?php echo $LANG['solution']; ?></h1>
+
+  <div class="bs-docs-header">
+    <div class="container">
+      <h1><?php echo $LANG['solution']; ?></h1>
+      <p>You can sign up here for fast free PHP & MySQL hosting including a free sub domain. Fill out the form below and your free hosting account will be created.  <em>Enjoy :)</em></p>
+    </div>
+  </div>
+  <section class="section-wrap">
+    <div class="container">
+      <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>
         </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="./signup.php" role="button"><?php echo $LANG['signup']; ?></a>
-              </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="./signup.php" role="button"><?php echo $LANG['signup']; ?></a>
-              </div>
-            </ul>
-          </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"); ?>
 </body>
 </html>