Skip to content

Commit 2fb0a06

Browse files
committed
Initial project
1 parent 01cf590 commit 2fb0a06

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2798
-1
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2019, UIISC
3+
Copyright (c) 2018, doudoudzj
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,31 @@
11
# simple-site
2+
23
A simple Site for Reseller of MyOwnFreeHost
4+
5+
* Official Site : [uiisc.com](http://uiisc.com "UIISC")
6+
* Demo Site : [site.uiisc.com](http://site.uiisc.com)
7+
* Author : [doudoudzj](https://github.com/doudoudzj "doudoudzj")
8+
9+
## Functions
10+
11+
- [x] Multi-language
12+
- [x] Register Hosting Account
13+
- [x] Login to Hosting Control Panel
14+
15+
## Screenshot
16+
17+
##### <u>Solution Page</u>
18+
19+
>
20+
> ![Solution Page](assets/screenshot/solution.png)
21+
22+
##### <u>Login Page</u>
23+
24+
>
25+
> ![Login Page](assets/screenshot/login.png)
26+
27+
##### <u>Register Page</u>
28+
29+
>
30+
> ![Register Page](assets/screenshot/register.png)
31+

about.php

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
define('IN_SYS', true);
3+
require_once "core.php";
4+
?>
5+
<?php include("include/header.php"); ?>
6+
7+
<div class="container">
8+
<div class="page-header">
9+
<h1><?php echo I18N('about'); ?> UIISC</h1>
10+
</div>
11+
</div>
12+
<div class="container">
13+
<div class="">
14+
<p>We are providers of free hosting, premium hosting via our parent company <a href="https://ifastnet.com/portal/aff.php?aff=<?php echo $iFastNetAff; ?>" target="blank">iFastNet</a>, with over 5 years experience offering web hosting services and over one million clients, you are sure to enjoy your stay with us! We provide free support on all our services and pride ourselves on service quality.</p>
15+
</div>
16+
</div>
17+
18+
<?php include("include/footer.php"); ?>

assets/bootstrap/css/bootstrap.min.css

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/bootstrap/css/bootstrap.min.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

assets/bootstrap/fonts/glyphicons-halflings-regular.svg

+288
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.

assets/bootstrap/js/bootstrap.min.js

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/bootstrap/js/npm.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
2+
require('../../js/transition.js')
3+
require('../../js/alert.js')
4+
require('../../js/button.js')
5+
require('../../js/carousel.js')
6+
require('../../js/collapse.js')
7+
require('../../js/dropdown.js')
8+
require('../../js/modal.js')
9+
require('../../js/tooltip.js')
10+
require('../../js/popover.js')
11+
require('../../js/scrollspy.js')
12+
require('../../js/tab.js')
13+
require('../../js/affix.js')

assets/css/style.css

+197
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
body {
2+
margin: 0;
3+
padding: 0;
4+
padding-top: 20px;
5+
padding-bottom: 100px;
6+
line-height: 1.5;
7+
color: #000;
8+
background-color: #fff;
9+
outline: 0;
10+
overflow-x: hidden;
11+
overflow-y: auto;
12+
}
13+
14+
input {
15+
border: 0;
16+
outline-width: 0 !important;
17+
}
18+
19+
button {
20+
outline-width: 0 !important;
21+
}
22+
23+
24+
.section-wrap {
25+
padding: 10px 0;
26+
}
27+
28+
.home {
29+
width: 100%;
30+
height: 100%;
31+
height: 100vh;
32+
min-height: 100%;
33+
position: relative;
34+
color: #fff;
35+
background: #0000008a;
36+
background-image: url(../images/banner.jpg);
37+
background-repeat: no-repeat;
38+
background-size: cover;
39+
}
40+
41+
body.fixed-header-on {
42+
padding-top: 0;
43+
}
44+
45+
.fixed-header-on .navbar-nav>li>a,
46+
.fixed-header-on .navbar-brand {
47+
color: #fff;
48+
}
49+
50+
.fixed-header-on .navbar-nav>li>a:hover,
51+
.fixed-header-on .navbar-brand:hover {
52+
color: #ffc400;
53+
}
54+
55+
.fixed-header-on .header {
56+
background-color: rgba(0, 0, 0, 0);
57+
border-color: rgba(0, 0, 0, 0);
58+
}
59+
60+
.fixed-header-on .footer {
61+
border-color: transparent;
62+
background-color: transparent;
63+
background: transparent;
64+
}
65+
66+
67+
.home-banner {
68+
position: absolute;
69+
top: 50%;
70+
left: 50%;
71+
z-index: 20;
72+
text-align: center;
73+
-webkit-transform: translate(-50%, -50%);
74+
-moz-transform: translate(-50%, -50%);
75+
transform: translate(-50%, -50%);
76+
}
77+
78+
.bs-docs-header {
79+
position: relative;
80+
padding: 30px 0;
81+
color: #cdbfe3;
82+
text-align: center;
83+
text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
84+
background-color: #6f5499;
85+
background-image: -webkit-gradient(linear, left top, left bottom, from(#563d7c), to(#6f5499));
86+
background-image: -webkit-linear-gradient(top, #563d7c 0%, #6f5499 100%);
87+
background-image: -o-linear-gradient(top, #563d7c 0%, #6f5499 100%);
88+
background-image: linear-gradient(to bottom, #563d7c 0%, #6f5499 100%);
89+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0);
90+
background-repeat: repeat-x;
91+
}
92+
93+
.bs-docs-header {
94+
margin-bottom: 40px;
95+
font-size: 20px;
96+
}
97+
98+
.bs-docs-header h1 {
99+
margin-top: 0;
100+
color: #fff;
101+
}
102+
103+
.bs-docs-header p {
104+
margin-bottom: 0;
105+
font-weight: 300;
106+
line-height: 1.4;
107+
}
108+
109+
.bs-docs-header .container {
110+
position: relative;
111+
}
112+
113+
@media (min-width: 768px) {
114+
.bs-docs-header {
115+
padding-top: 60px;
116+
padding-bottom: 60px;
117+
font-size: 24px;
118+
}
119+
120+
.bs-docs-header h1 {
121+
font-size: 60px;
122+
line-height: 1;
123+
}
124+
}
125+
126+
.form-account {
127+
max-width: 300px;
128+
padding: 15px;
129+
margin: 0 auto;
130+
}
131+
132+
.form-domain {
133+
max-width: 430px;
134+
padding: 15px;
135+
margin: 0 auto;
136+
}
137+
138+
.form-domain input {
139+
color: #fff;
140+
background: transparent;
141+
}
142+
143+
.form-domain .form-control:hover {
144+
color: #333;
145+
background-color: #fff;
146+
background-image: none;
147+
}
148+
149+
@media (min-width: 300px) {
150+
.form-domain {
151+
min-width: 300px;
152+
}
153+
}
154+
155+
@media (min-width: 768px) {
156+
.form-domain {
157+
max-width: 530px;
158+
}
159+
}
160+
161+
@media (min-width: 992px) {
162+
.form-domain {
163+
max-width: 500px;
164+
}
165+
}
166+
167+
.language-change {
168+
max-height: 450px;
169+
overflow-y: auto;
170+
}
171+
172+
.octocat:hover .octocat-arm {
173+
animation: wave-arm .56s infinite;
174+
transform-origin: 13rem 10.6rem
175+
}
176+
177+
.octocat .octocat-arm,
178+
.octocat .octocat-body {
179+
fill: #f4f5f6
180+
}
181+
182+
@keyframes wave-arm {
183+
184+
0%,
185+
50% {
186+
transform: rotate(0)
187+
}
188+
189+
25%,
190+
75% {
191+
transform: rotate(-25deg)
192+
}
193+
}
194+
195+
.footer .co {
196+
display: inline-block;
197+
}

assets/html5shiv/html5shiv.min.js

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/images/cluster.jpg

17.5 KB
Loading

assets/images/emails.jpg

35.4 KB
Loading

assets/images/forums.jpg

23.6 KB
Loading

assets/images/img2.jpg

56.5 KB
Loading

assets/images/img5.jpg

5.66 KB
Loading

assets/images/img6.jpg

9.06 KB
Loading

assets/images/tickets.jpg

39.9 KB
Loading

assets/jquery/jquery.min.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/common.js

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
$(".language-change-click").click(function (x) {
2+
change_language(x.target.dataset.language);
3+
})
4+
5+
if (document.getElementsByName("jump-ifastnet").length) {
6+
document.getElementsByName("jump-ifastnet")[0].onclick = function (x) {
7+
jumpLink("https://ifastnet.com/portal/aff.php?aff=" + ifastnet_aff, null, "_target");
8+
x.preventDefault();
9+
x.stopPropagation();
10+
};
11+
}
12+
13+
function change_language(lang) {
14+
setCookie('lang', lang, 1, '/', domain, false);
15+
if (cur_lang == lang) {
16+
return;
17+
}
18+
// to reload after changed
19+
window.location.href = window.location.href;
20+
}
21+
22+
function jumpLink(action, params, target) {
23+
var fm = document.createElement("form");
24+
var params = params || {};
25+
fm.action = action;
26+
fm.method = "post";
27+
fm.target = target || "";
28+
fm.style.display = "none";
29+
for (var x in params) {
30+
var opt = document.createElement("input");
31+
opt.name = x;
32+
opt.value = params[x];
33+
fm.appendChild(opt);
34+
}
35+
document.body.appendChild(fm);
36+
fm.submit();
37+
document.body.removeChild(fm); // remove form after submit
38+
}
39+
40+
function setCookie(name, value, expires, path, domain, secure) {
41+
var today = new Date();
42+
today.setTime(today.getTime());
43+
if (expires) {
44+
expires = expires * 1000 * 60 * 60 * 24;
45+
}
46+
var expires_date = new Date(today.getTime() + (expires));
47+
document.cookie = name + '=' + escape(value) +
48+
((expires) ? ';expires=' + expires_date.toGMTString() : '') + //expires.toGMTString()
49+
((path) ? ';path=' + path : '') +
50+
((domain) ? ';domain=' + domain : '') +
51+
((secure) ? ';secure' : '');
52+
}

assets/respond/respond.min.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/screenshot/login.png

42 KB
Loading

assets/screenshot/register.png

63.5 KB
Loading

assets/screenshot/solution.png

160 KB
Loading

contact.php

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
define('IN_SYS', true);
3+
require_once ("core.php");
4+
$title = $title . ' - ' . $LANG['contact_us'];
5+
?>
6+
<?php include ("include/header.php"); ?>
7+
8+
<div class="container">
9+
<div class="page-header">
10+
<h1><?php echo $LANG['contact_us']; ?></h1>
11+
</div>
12+
</div>
13+
<div class="container">
14+
<div class="row">
15+
<div class="col-sm-12 col-md-12">
16+
<h2>Contact</h2>
17+
<p>If you have any problems or have the need to contact us to ask a question,
18+
you can use the <span>integrated support system</span> in your control panel to create a support ticket.</p>
19+
<p>We will reply to your question as soon as possible.</p>
20+
<p>For technical support please look at the <a href="http://byet.net" target="_blank">Knowledge Base</a></p>
21+
</div>
22+
<div class="col-sm-12 col-md-12">
23+
<h2><?php echo $LANG['address']; ?></h2>
24+
<p>Shanghai China.</p>
25+
</div>
26+
<div class="col-sm-12 col-md-12">
27+
<h2>Others</h2>
28+
<p class="alert alert-warning"><i class="glyphicon glyphicon-info-sign"></i> Crogram Inc.</p>
29+
</div>
30+
</div>
31+
</div>
32+
33+
<?php include ("include/footer.php"); ?>

core.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
if (!defined('IN_SYS')) {
3+
// exit('禁止访问');
4+
header("Location: index.php");
5+
exit;
6+
}
7+
$ROOT = __DIR__;
8+
9+
$rooturl = $_SERVER['HTTP_HOST'];
10+
$domain = preg_replace('/^www\./', '', $rooturl);
11+
12+
$static_release = '1559728996134';
13+
$brandName = "UIISC";
14+
$iFastNetAff = 19474;
15+
$CopyRightYear = "2013 - " . date("Y");
16+
$title = "UIISC";
17+
$title_s = "UIISC";
18+
$author = 'Crogram Inc.';
19+
$description = "uiisc, freewebhost, webhost, Crogram, iFastNet";
20+
$google_site_verification = "5O6Wxt0gIyGb7btMuXiQqddZJ516n-xBOW_9RLMBeSY";
21+
22+
include_once "{$ROOT}/lib/language.php";

favicon.ico

1.12 KB
Binary file not shown.

0 commit comments

Comments
 (0)