doudoudzj 6 лет назад
Родитель
Сommit
2cad83c3d5
13 измененных файлов с 222 добавлено и 212 удалено
  1. 16 16
      about_crogram.php
  2. 29 0
      about_ifastnet.php
  3. 16 16
      about_uiisc.php
  4. 126 103
      css/style.css
  5. 1 6
      help.php
  6. 11 11
      js/common.js
  7. 0 13
      js/npm.js
  8. 17 16
      lang.php
  9. 0 7
      legal_privacy.php
  10. 0 6
      legal_terms.php
  11. 5 6
      login.php
  12. 0 6
      register_bak.php
  13. 1 6
      resetpass.php

+ 16 - 16
about_crogram.php

@@ -1,27 +1,27 @@
 <?php
-  define('IN_SYS', true);
-  require_once ("core.php");
+define('IN_SYS', true);
+require_once "core.php";
 ?>
 <!DOCTYPE html>
 <html lang="<?php echo $current_language; ?>">
 <head>
     <meta charset="utf-8">
-    <title><?=$title?> - About Crogram</title>
-    <?php include ("headmate.php"); ?>
+    <title>About Crogram - <?php echo $title;?></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">
+    <?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"); ?>
+        </div>
+    </div>
+    <?php include "footer.php";?>
 </body>
 </html>

+ 29 - 0
about_ifastnet.php

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

+ 16 - 16
about_uiisc.php

@@ -1,26 +1,26 @@
 <?php
-  define('IN_SYS', true);
-  require_once ("core.php");
+define('IN_SYS', true);
+require_once "core.php";
 ?>
 <!DOCTYPE html>
 <html lang="<?php echo $current_language; ?>">
 <head>
     <meta charset="utf-8">
-    <title><?=$title?> - About UIISC</title>
-    <?php include ("headmate.php"); ?>
+    <title>About UIISC - <?php echo $title;?></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"); ?>
+    <?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>

+ 126 - 103
css/style.css

@@ -1,192 +1,215 @@
 * {
-  margin: 0;
-  padding: 0;
+    margin: 0;
+    padding: 0;
 }
 
 input {
-  border: 0;
-  outline-width: 0 !important;
+    border: 0;
+    outline-width: 0 !important;
 }
 
 button {
-  outline-width: 0 !important;
+    outline-width: 0 !important;
 }
 
 body {
-  padding-top: 20px;
-  padding-bottom: 100px;
-  line-height: 1.5;
-  color: #000;
-  background-color: #fff;
-  outline: 0;
-  overflow-x: hidden;
-  overflow-y: auto;
+    padding-top: 20px;
+    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 {
-  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;
+    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;
+    padding-top: 0;
 }
 
 .fixed-header-on .navbar-nav>li>a,
 .fixed-header-on .navbar-brand {
-  color: #fff;
+    color: #fff;
 }
 
 .fixed-header-on .navbar-nav>li>a:hover,
 .fixed-header-on .navbar-brand:hover {
-  color: #ffc400;
+    color: #ffc400;
 }
 
 .fixed-header-on .header {
-  background-color: rgba(0, 0, 0, 0);
-  border-color: rgba(0, 0, 0, 0);
+    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;
+    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%);
+    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;
+    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;
+    margin-bottom: 40px;
+    font-size: 20px;
 }
 
 .bs-docs-header h1 {
-  margin-top: 0;
-  color: #fff;
+    margin-top: 0;
+    color: #fff;
 }
 
 .bs-docs-header p {
-  margin-bottom: 0;
-  font-weight: 300;
-  line-height: 1.4;
+    margin-bottom: 0;
+    font-weight: 300;
+    line-height: 1.4;
 }
 
 .bs-docs-header .container {
-  position: relative;
+    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;
-  }
+    .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;
-  }
+
+    .bs-docs-header h1,
+    .bs-docs-header p {
+        margin-right: 380px;
+    }
 }
 
 .terms_policies_menu ul {
-  list-style-type: circle;
+    list-style-type: circle;
 }
 
 .form-account {
-  max-width: 330px;
-  padding: 15px;
-  margin: 0 auto;
+    max-width: 330px;
+    padding: 15px;
+    margin: 0 auto;
 }
 
 .form-account .form-control {
-  position: relative;
-  height: auto;
-  -webkit-box-sizing: border-box;
-  -moz-box-sizing: border-box;
-  box-sizing: border-box;
-  padding: 10px;
-  font-size: 16px;
+    position: relative;
+    height: auto;
+    -webkit-box-sizing: border-box;
+    -moz-box-sizing: border-box;
+    box-sizing: border-box;
+    padding: 10px;
+    font-size: 16px;
+}
+
+.form-account .form-control:focus {
+    z-index: 2;
+}
+
+.form-account .checkbox {
+    margin-bottom: 10px;
+    font-weight: normal;
+}
+
+.form-account input[type="text"] {
+    margin-bottom: -1px;
+    border-bottom-right-radius: 0;
+    border-bottom-left-radius: 0;
+}
+
+.form-account input[type="password"] {
+    margin-bottom: 10px;
+    border-top-left-radius: 0;
+    border-top-right-radius: 0;
 }
 
 .form-domain {
-  max-width: 430px;
-  padding: 15px;
-  margin: 0 auto;
+    max-width: 430px;
+    padding: 15px;
+    margin: 0 auto;
 }
 
 .form-domain input {
-  color: #fff;
-  background: transparent;
+    color: #fff;
+    background: transparent;
 }
 
 .form-domain .form-control:hover {
-  color: #333;
-  background-color: #fff;
-  background-image: none;
+    color: #333;
+    background-color: #fff;
+    background-image: none;
 }
 
 @media (min-width: 300px) {
-  .form-domain {
-    min-width: 300px;
-  }
+    .form-domain {
+        min-width: 300px;
+    }
 }
 
 @media (min-width: 768px) {
-  .form-domain {
-    max-width: 530px;
-  }
+    .form-domain {
+        max-width: 530px;
+    }
 }
 
 @media (min-width: 992px) {
-  .form-domain {
-    max-width: 500px;
-  }
+    .form-domain {
+        max-width: 500px;
+    }
 }

+ 1 - 6
help.php

@@ -11,12 +11,7 @@
 </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">

+ 11 - 11
js/common.js

@@ -1,13 +1,13 @@
 function setCookie(name, value, expires, path, domain, secure) {
-  var today = new Date();
-  today.setTime(today.getTime());
-  if (expires) {
-    expires = expires * 1000 * 60 * 60 * 24;
-  }
-  var expires_date = new Date(today.getTime() + (expires));
-  document.cookie = name + '=' + escape(value) +
-    ((expires) ? ';expires=' + expires_date.toGMTString() : '') + //expires.toGMTString()
-    ((path) ? ';path=' + path : '') +
-    ((domain) ? ';domain=' + domain : '') +
-    ((secure) ? ';secure' : '');
+    var today = new Date();
+    today.setTime(today.getTime());
+    if (expires) {
+        expires = expires * 1000 * 60 * 60 * 24;
+    }
+    var expires_date = new Date(today.getTime() + (expires));
+    document.cookie = name + '=' + escape(value) +
+        ((expires) ? ';expires=' + expires_date.toGMTString() : '') + //expires.toGMTString()
+        ((path) ? ';path=' + path : '') +
+        ((domain) ? ';domain=' + domain : '') +
+        ((secure) ? ';secure' : '');
 }

+ 0 - 13
js/npm.js

@@ -1,13 +0,0 @@
-// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
-require('../../js/transition.js')
-require('../../js/alert.js')
-require('../../js/button.js')
-require('../../js/carousel.js')
-require('../../js/collapse.js')
-require('../../js/dropdown.js')
-require('../../js/modal.js')
-require('../../js/tooltip.js')
-require('../../js/popover.js')
-require('../../js/scrollspy.js')
-require('../../js/tab.js')
-require('../../js/affix.js')

+ 17 - 16
lang.php

@@ -1,23 +1,24 @@
 <?php
-if(!defined('IN_SYS')) { 
-  // exit('禁止访问');
-  header("Location:"."index.php");
-  exit;
+if (!defined('IN_SYS')) {
+    // exit('禁止访问');
+    header("Location:" . "index.php");
+    exit;
 }
-include_once (dirname ( __FILE__ ) . '/include/language.php');
+include_once dirname(__FILE__) . '/include/language.php';
 $lang = new Language();
 // print_r($lang->language_area);
 $current_language = getCurrentLanguage();
 // print_r($current_language);
-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';
-  }
+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';
+    }
 }
-$language_file=$lang->getFileDir('language.php');  
-include($language_file);
+$language_file = $lang->getFileDir('language.php');
+include $language_file;

+ 0 - 7
legal_privacy.php

@@ -14,13 +14,6 @@
 <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">

+ 0 - 6
legal_terms.php

@@ -13,12 +13,6 @@
 </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">

+ 5 - 6
login.php

@@ -13,13 +13,12 @@
 <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']; ?>">
+    <form class="form-group form-horizontal form-account" role="form" action="//cpanel.<?=$domain?>/login.php" method="post" name="login">
+        <h2><?php echo $LANG['please_login']; ?></h2>
+        <input type="text" name="uname" class="form-control" placeholder="<?php echo $LANG['input_username']; ?>" required autofocus autocomplete="off">
+        <input type="password" name="passwd" class="form-control" placeholder="<?php echo $LANG['input_password']; ?>" required autocomplete="off">
+        <input type="hidden" name="language" class="hide" value="<?php echo $LANG['language']; ?>">
         <div class="checkbox">
         <label>
             <input type="checkbox" value="remember-me"><span><?php echo $LANG['remember_me']; ?></span>

+ 0 - 6
register_bak.php

@@ -14,12 +14,6 @@
 <body>
 <?php include ("nav.php"); ?>
 
-<div class="bs-docs-header">
-    <div class="container">
-        <h1><?php echo $LANG['signup_free_hosting']; ?></h1>
-    </div>
-</div>
-
 <div class="container">
     <div class="form-group form-horizontal form-account">
         <input type="hidden" name="plan_name" value="free webhosting">

+ 1 - 6
resetpass.php

@@ -13,12 +13,7 @@
 </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> -->