This commit is contained in:
doudoudzj 2019-05-20 19:26:52 +08:00
parent 9a4058e198
commit 91c6c0f57e
21 changed files with 327 additions and 408 deletions

View file

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

View file

@ -1,16 +1,9 @@
<?php
define('IN_SYS', true);
require_once "core.php";
define('IN_SYS', true);
require_once "core.php";
$title = 'About iFastNet';
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title>About Crogram - <?php echo $title;?></title>
<?php include "headmate.php";?>
</head>
<body>
<?php include "nav.php";?>
<?php include ("header.php"); ?>
<div class="bs-docs-header">
<div class="container">
@ -25,5 +18,3 @@ require_once "core.php";
</div>
<?php include "footer.php";?>
</body>
</html>

View file

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

View file

@ -1,17 +1,9 @@
<?php
define('IN_SYS', true);
require_once ("core.php");
define('IN_SYS', true);
require_once ("core.php");
$title = $title . ' - ' . $LANG['contact_us'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['contact_us']; ?></title>
<?php include ("headmate.php"); ?>
</head>
<body>
<?php include ("nav.php"); ?>
<?php include ("header.php"); ?>
<div class="container">
<div class="page-header">
@ -39,5 +31,3 @@
</div>
<?php include ("footer.php"); ?>
</body>
</html>

View file

@ -4,7 +4,7 @@ if (!defined('IN_SYS')) {
header("Location: index.php");
exit;
}
include_once 'lang.php';
include_once dirname(__FILE__) . '/include/language.php';
$title = "UIISC";
$title_s = "UIISC";
$author = 'Crogram Inc.';

View file

@ -69,3 +69,6 @@ if (!defined('IN_SYS')) {
gtag('js', new Date());
gtag('config', 'UA-28162642-10');
</script> -->
</body>
</html>

68
header.php Normal file
View file

@ -0,0 +1,68 @@
<?php
if (!defined('IN_SYS')) {
// exit('禁止访问');
header("Location: index.php");
exit;
}
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="description" content="<?php echo $description; ?>">
<meta name="author" content="<?php echo $author; ?>">
<!-- <meta name="google-site-verification" content="5O6Wxt0gIyGb7btMuXiQqddZJ516n-xBOW_9RLMBeSY" /> -->
<link href="/favicon.ico?_=<?php echo $static_release; ?>" rel="icon">
<link href="/lib/bootstrap/css/bootstrap.min.css?_=<?php echo $static_release; ?>" rel="stylesheet">
<link href="/assets/css/style.css?_=<?php echo $static_release; ?>" rel="stylesheet">
<!--[if lt IE 9]>
<script src="/lib/html5shiv/html5shiv.min.js"></script>
<script src="/lib/respond/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<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="javascript:void(0);"><?php echo $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"><?php echo $LANG['more']; ?>&nbsp;<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="javascript:void(0)"><?php echo $LANG['home']; ?></a></li>
<li><a href="javascript:void(0)"><?php echo $LANG['tos']; ?></a></li>
<li class="divider"></li>
<li class="dropdown-header"><?php echo $LANG['legal_information']; ?></li>
<li><a href="/legal_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>
<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>
<a class="hidden-xs" href="https://github.com/uiisc/uiisc.com" title="Source on Github" target="_blank"><svg class="octocat" viewBox="0 0 250 250" style="border: 0;color: #f4f5f6;fill: #5e6772;height: 5.2rem;width: 5.2rem;position: fixed;right: 0;top: 0;z-index: 1"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path class="octocat-arm" d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"></path><path class="octocat-body" d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"></path></svg></a>
</nav>
</div>

View file

@ -1,13 +0,0 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="description" content="<?php echo $description; ?>">
<meta name="author" content="<?php echo $author; ?>">
<!-- <meta name="google-site-verification" content="5O6Wxt0gIyGb7btMuXiQqddZJ516n-xBOW_9RLMBeSY" /> -->
<link href="/favicon.ico?_=<?php echo $static_release; ?>" rel="icon">
<link href="/lib/bootstrap/css/bootstrap.min.css?_=<?php echo $static_release; ?>" rel="stylesheet">
<link href="/assets/css/style.css?_=<?php echo $static_release; ?>" rel="stylesheet">
<!--[if lt IE 9]>
<script src="/lib/html5shiv/html5shiv.min.js"></script>
<script src="/lib/respond/respond.min.js"></script>
<![endif]-->

View file

@ -1,17 +1,10 @@
<?php
define('IN_SYS', true);
require_once ("core.php");
define('IN_SYS', true);
require_once ("core.php");
$title = $title . ' - ' . $LANG['help'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['contact_us']; ?></title>
<?php include ("headmate.php"); ?>
</head>
<body>
<?php include ("header.php"); ?>
<?php include ("nav.php"); ?>
<div class="container">
<div class="page-header">
<h1><?php echo $LANG['help']; ?></h1>
@ -30,5 +23,3 @@
</div>
<?php include ("footer.php"); ?>
</body>
</html>

View file

@ -239,3 +239,21 @@ class 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';
}
}
$language_file = $lang->getFileDir('language.php');
include $language_file;

View file

@ -1,16 +1,8 @@
<?php
define('IN_SYS', true);
require_once ("core.php");
define('IN_SYS', true);
require_once ("core.php");
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?></title>
<?php include ("headmate.php"); ?>
</head>
<body>
<?php include ("nav.php"); ?>
<?php include ("header.php"); ?>
<div class="container">
<div class="jumbotron">
@ -44,25 +36,23 @@
</div>
</div>
</div>
<?php include ("footer.php"); ?>
<script type="text/javascript">
$('.check-domain').click(function () {
var domain = $('#domainInput').val()
if (domain) {
$.ajax({
method: 'post',
url: 'https://api.croidc.cn/mofh/DomainCheck',
dataType: 'json',
contentType : "application/json",
data: JSON.stringify({
domain: domain
}),
success: function (x) {
console.log(x);
}
})
}
})
$('.check-domain').click(function () {
var domain = $('#domainInput').val()
if (domain) {
$.ajax({
method: '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>
</body>
</html>
<?php include ("footer.php"); ?>

View file

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

View file

@ -3,18 +3,10 @@
require_once ("core.php");
// $html = file_get_contents('https://ifastnet.com/portal/cancellation-refund.php');
// preg_match('/<footer[^>]*id="footer"[^>]*>(.*?) <//footer>/si', $html, $match);
$title = $title . ' - ' . $LANG['cancellation_refund'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - Cancellation & Refund</title>
<?php include ("headmate.php"); ?>
</head>
<?php include ("header.php"); ?>
<body>
<?php include ("nav.php"); ?>
<div class="container">
<div class="page-header">
<h1 class="text-center"><?php echo $LANG['cancellation_refund']; ?></a></h1>
@ -93,6 +85,4 @@
</div>
</section>
<?php include ("footer.php"); ?>
</body>
</html>
<?php include ("footer.php"); ?>

View file

@ -3,17 +3,10 @@
require_once ("core.php");
// $html = file_get_contents('https://ifastnet.com/payment-methods.php');
// preg_match('/<footer[^>]*id="footer"[^>]*>(.*?) <//footer>/si', $html, $match);
$title = $title . ' - ' . $LANG['payment_methods'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['payment_methods']; ?></title>
<?php include ("headmate.php"); ?>
</head>
<body>
<?php include ("header.php"); ?>
<?php include ("nav.php"); ?>
<div class="container">
<div class="page-header">
<h1 class="text-center"><?php echo $LANG['payment_methods']; ?></a></h1>
@ -84,5 +77,3 @@
</section>
<?php include ("footer.php"); ?>
</body>
</html>

View file

@ -3,17 +3,10 @@
require_once ("core.php");
// $html = file_get_contents('https://ifastnet.com/privacy.php');
// preg_match('/<footer[^>]*id="footer"[^>]*>(.*?) <//footer>/si', $html, $match);
$title = $title . ' - ' . $LANG['privacy_policy'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['privacy_policy']; ?></title>
<?php include ("headmate.php"); ?>
</head>
<body>
<?php include ("header.php"); ?>
<?php include ("nav.php"); ?>
<div class="container">
<div class="page-header">
<h1 class="text-center"><?php echo $LANG['privacy_policy']; ?></a></h1>
@ -102,5 +95,3 @@
</section>
<?php include ("footer.php"); ?>
</body>
</html>

View file

@ -3,17 +3,10 @@
require_once ("core.php");
// $html = file_get_contents('https://ifastnet.com/portal/terms.php');
// preg_match('/<footer[^>]*id="footer"[^>]*>(.*?) <//footer>/si', $html, $match);
$title = $title . ' - ' . $LANG['tos'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['tos']; ?></title>
<?php include ("headmate.php"); ?>
</head>
<body>
<?php include ("header.php"); ?>
<?php include ("nav.php"); ?>
<div class="container">
<div class="page-header">
<h1 class="text-center"><?php echo $LANG['tos']; ?></a></h1>
@ -860,5 +853,3 @@
</section>
<?php include ("footer.php"); ?>
</body>
</html>

View file

@ -1,57 +1,48 @@
<?php
define('IN_SYS', true);
require_once ("core.php");
$title = $title . ' - ' . $LANG['login'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['login']; ?></title>
<?php include ("headmate.php"); ?>
</head>
<?php include ("header.php"); ?>
<body>
<?php include ("nav.php"); ?>
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $LANG['please_login']; ?></h3>
</div>
<div class="panel-body">
<form class="form-group form-horizontal form-account" role="form" action="//cpanel.<?=$domain?>/login.php" method="post" name="login">
<div class="form-group">
<input type="text" name="uname" class="form-control" placeholder="<?php echo $LANG['input_username']; ?>" required autofocus autocomplete="off">
</div>
<div class="form-group">
<input type="password" name="passwd" class="form-control" placeholder="<?php echo $LANG['input_password']; ?>" required autocomplete="off">
</div>
<div class="form-group">
<select class="form-control" name="language" id="inputLanguage">
<option disabled><?php echo $LANG['choose_from_below']; ?></option>
<?php foreach ($languages as $key => $value) {
$selected = $key == $current_lang ? 'selected="selected"' : '';
echo '<option value="' .$languages[$key][1]. '" ' .$selected . '>' .$languages[$key][0]. '</option>';
}?>
</select>
</div>
<div class="form-group">
<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="container">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $LANG['please_login']; ?></h3>
</div>
<div class="panel-body">
<form class="form-group form-horizontal form-account" role="form" action="//cpanel.<?=$domain?>/login.php" method="post" name="login">
<div class="form-group">
<input type="text" name="uname" class="form-control" placeholder="<?php echo $LANG['input_username']; ?>" required autofocus autocomplete="off">
</div>
</div>
<div class="form-group">
<button type="submit" name="submit" class="btn btn-primary btn-block"><?php echo $LANG['login']; ?></button>
</div>
</form>
<div class="form-group">
<input type="password" name="passwd" class="form-control" placeholder="<?php echo $LANG['input_password']; ?>" required autocomplete="off">
</div>
<div class="form-group">
<select class="form-control" name="language" id="inputLanguage">
<option disabled><?php echo $LANG['choose_from_below']; ?></option>
<?php foreach ($languages as $key => $value) {
$selected = $key == $current_lang ? 'selected="selected"' : '';
echo '<option value="' .$languages[$key][1]. '" ' .$selected . '>' .$languages[$key][0]. '</option>';
}?>
</select>
</div>
<div class="form-group">
<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>
</div>
<div class="form-group">
<button type="submit" name="submit" class="btn btn-primary btn-block"><?php echo $LANG['login']; ?></button>
</div>
</form>
</div>
</div>
</div>
</div>
<?php include ("footer.php"); ?>
<!-- <script type="text/javascript">
var domain = "<?php echo $lang->getDomain(); ?>";
var cur_language = "<?php echo $current_lang; ?>";
@ -67,5 +58,4 @@
change_language(x.target.dataset.language);
})
</script> -->
</body>
</html>
<?php include ("footer.php"); ?>

View file

@ -1,62 +1,55 @@
<?php
define('IN_SYS', true);
require_once ("core.php");
define('IN_SYS', true);
require_once ("core.php");
$title = $title . ' - ' . $LANG['news'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['news']; ?></title>
<?php include ("headmate.php"); ?>
</head>
<body>
<?php include ("nav.php"); ?>
<div class="container">
<div class="panel panel-default">
<div class="panel-body">
<h2>free hosting news</h2>
<p>We proudly announce the following new features on all free hosting accounts!..</p>
<?php include ("header.php"); ?>
<div class="container">
<div class="panel panel-default">
<div class="panel-body">
<h2>free hosting news</h2>
<p>We proudly announce the following new features on all free hosting accounts!..</p>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">1. cPanel x3 theme</h3>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">1. cPanel x3 theme</h3>
</div>
<div class="panel-body">
The popular and professional x3 theme is now available for all free hosting accounts.
</div>
</div>
<div class="panel-body">
The popular and professional x3 theme is now available for all free hosting accounts.
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">2. Automatic HTTP/SSL</h3>
</div>
<div class="panel-body">
We are the only webhost's in the world to offer automatic free SSL/HTTP's encryption on all free hosted domain names. You can instantly browse any domain on our network on a https:// url.
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">2. Automatic HTTP/SSL</h3>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">3. Softaculous 1 click script installer</h3>
</div>
<div class="panel-body">
Softaculous is an auto installer for cPanel. Unlike other auto installers Softaculous is much faster, well designed and it installs all scripts in just ONE STEP.
</div>
</div>
<div class="panel-body">
We are the only webhost's in the world to offer automatic free SSL/HTTP's encryption on all free hosted domain names. You can instantly browse any domain on our network on a https:// url.
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">3. Softaculous 1 click script installer</h3>
</div>
<div class="panel-body">
Softaculous is an auto installer for cPanel. Unlike other auto installers Softaculous is much faster, well designed and it installs all scripts in just ONE STEP.
</div>
</div>
<div class="panel panel-default">
<div class="panel-body">
<div class="media">
<div class="media-left media-middle">
<img src="images/cluster.jpg" alt="rack">
</div>
<div class="media-body">
<h4 class="media-heading">Value for free</h4>
<p>Our cluster-based GRID network features hundreds of server nodes using the right software for the right job powered by Linux and Unix operating systems.</p>
<p><?=$title_s?> hosting has the right services for you and at the right price... $0.00!</p>
<div class="panel panel-default">
<div class="panel-body">
<div class="media">
<div class="media-left media-middle">
<img src="images/cluster.jpg" alt="rack">
</div>
<div class="media-body">
<h4 class="media-heading">Value for free</h4>
<p>Our cluster-based GRID network features hundreds of server nodes using the right software for the right job powered by Linux and Unix operating systems.</p>
<p><?=$title_s?> hosting has the right services for you and at the right price... $0.00!</p>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include ("footer.php"); ?>
</body>
</html>

View file

@ -1,90 +1,81 @@
<?php
define('IN_SYS', true);
require_once "core.php";
$security_id = md5(rand(6000, getrandmax())); // $security_id = md5(rand(6000,PHP_INT_MAX));
define('IN_SYS', true);
require_once "core.php";
$security_id = md5(rand(6000, getrandmax())); // $security_id = md5(rand(6000,PHP_INT_MAX));
$title = $title . ' - ' . $LANG['register'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['register']; ?></title>
<?php include "headmate.php";?>
</head>
<body>
<?php include "nav.php";?>
<?php include ("header.php"); ?>
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $LANG['signup_free_hosting']; ?></h3>
</div>
<div class="panel-body">
<form class="form-horizontal" role="form" method=post action="//order.<?php echo $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 class="container">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $LANG['signup_free_hosting']; ?></h3>
</div>
<div class="panel-body">
<form class="form-horizontal" role="form" method=post action="//order.<?php echo $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>
<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 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>
<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 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>
<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 value=""><?php echo $LANG['choose_from_below']; ?></option>
<option value="personal"><?php echo $LANG['personal']; ?></option>
<option value="business"><?php echo $LANG['business']; ?></option>
<option value="hobby"><?php echo $LANG['hobby']; ?></option>
<option value="forum"><?php echo $LANG['forum']; ?></option>
<option value="dating"><?php echo $LANG['dating']; ?></option>
<option value="software_download"><?php echo $LANG['software_download']; ?></option>
</select>
<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 value=""><?php echo $LANG['choose_from_below']; ?></option>
<option value="personal"><?php echo $LANG['personal']; ?></option>
<option value="business"><?php echo $LANG['business']; ?></option>
<option value="hobby"><?php echo $LANG['hobby']; ?></option>
<option value="forum"><?php echo $LANG['forum']; ?></option>
<option value="dating"><?php echo $LANG['dating']; ?></option>
<option value="software_download"><?php echo $LANG['software_download']; ?></option>
</select>
</div>
</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 value=""><?php echo $LANG['choose_from_below']; ?></option>
<option value="english" data-i18n="english">English</option>
<option value="non-english" data-i18n="non_english">Non-English</option>
</select>
<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 value=""><?php echo $LANG['choose_from_below']; ?></option>
<option value="english" data-i18n="english">English</option>
<option value="non-english" data-i18n="non_english">Non-English</option>
</select>
</div>
</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=<?php echo $security_id; ?>">
<input type="hidden" name="id" class="form-control" id="inputID" value="<?php echo $security_id; ?>">
<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=<?php echo $security_id; ?>">
<input type="hidden" name="id" class="form-control" id="inputID" value="<?php echo $security_id; ?>">
</div>
</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 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>
<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['register']; ?></button>
<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['register']; ?></button>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
</div>
</div>
<?php include "footer.php";?>
</body>
</html>

View file

@ -1,47 +1,39 @@
<?php
define('IN_SYS', true);
require_once ("core.php");
$domain = "uiisc.com";
// $html = file_get_contents("http://cpanel.".$domain."/lostpassword.php");
// preg_match('/<footer[^>]*id="footer"[^>]*>(.*?) <//footer>/si', $html, $match);
$password_reset_token_id = "b374b5bd4e35d2cadd98caa77d68c19a";
$logged_ipaddress = "116.228.234.98";
define('IN_SYS', true);
require_once ("core.php");
$domain = "uiisc.com";
// $html = file_get_contents("http://cpanel.".$domain."/lostpassword.php");
// preg_match('/<footer[^>]*id="footer"[^>]*>(.*?) <//footer>/si', $html, $match);
$password_reset_token_id = "b374b5bd4e35d2cadd98caa77d68c19a";
$logged_ipaddress = "116.228.234.98";
$title = $title . ' - Lost Password / Password Recovery';
?>
<!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="container">
<!--<?=$match?>-->
<!--<?=$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">
<h2 data-i18n="password_eset">Password Reset</h2>
<input type="hidden" name="token" value="<?=$password_reset_token_id?>">
<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>
<?php include ("header.php"); ?>
<div class="container">
<!--<?=$match?>-->
<!--<?=$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">
<h2 data-i18n="password_eset">Password Reset</h2>
<input type="hidden" name="token" value="<?=$password_reset_token_id?>">
<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">
<button type="submit" name="submit" class="btn btn-primary btn-block" data-i18n="Fetch">Fetch</button>
</div>
</form>
<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 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">
<button type="submit" name="submit" class="btn btn-primary btn-block" data-i18n="Fetch">Fetch</button>
</div>
</form>
<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>

View file

@ -1,17 +1,9 @@
<?php
define('IN_SYS', true);
require_once "core.php";
$title = $title . ' - ' . $LANG['solution'];
?>
<!DOCTYPE html>
<html lang="<?php echo $current_lang; ?>">
<head>
<meta charset="utf-8">
<title><?=$title?> - <?php echo $LANG['solution']; ?></title>
<?php include "headmate.php";?>
</head>
<body>
<?php include "nav.php";?>
<?php include ("header.php"); ?>
<div class="container">
<div class="page-header">
@ -111,5 +103,3 @@
</div>
<?php include "footer.php";?>
</body>
</html>