mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#30 New Theme based on Bootstrap3
This commit is contained in:
parent
5bd997de34
commit
26475042af
57
web/lend.php
57
web/lend.php
@ -453,12 +453,12 @@ if (isset($servertype)) {
|
|||||||
|
|
||||||
$tFile = (isset($lendIPBlock)) ? 'lenddata_ipblock.tpl' : 'lenddata.tpl';
|
$tFile = (isset($lendIPBlock)) ? 'lenddata_ipblock.tpl' : 'lenddata.tpl';
|
||||||
|
|
||||||
if (isset($template_to_use) and is_file(EASYWIDIR . '/template/' . $template_to_use . '/cms/' . $tFile)) {
|
if (isset($template_to_use) and is_file(EASYWIDIR . '/template/' . $template_to_use . '/standalone/' . $tFile)) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/cms/' . $tFile);
|
include(EASYWIDIR . '/template/' . $template_to_use . '/standalone/' . $tFile);
|
||||||
} else if (isset($template_to_use) and is_file(EASYWIDIR . '/template/' . $template_to_use . '/' . $tFile)) {
|
} else if (isset($template_to_use) and is_file(EASYWIDIR . '/template/' . $template_to_use . '/' . $tFile)) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/' . $tFile);
|
include(EASYWIDIR . '/template/' . $template_to_use . '/' . $tFile);
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/cms/' . $tFile)) {
|
} else if (is_file(EASYWIDIR . '/template/default/standalone/' . $tFile)) {
|
||||||
include(EASYWIDIR . '/template/default/cms/' . $tFile);
|
include(EASYWIDIR . '/template/default/standalone/' . $tFile);
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/' . $tFile)) {
|
} else if (is_file(EASYWIDIR . '/template/default/' . $tFile)) {
|
||||||
include(EASYWIDIR . '/template/default/' . $tFile);
|
include(EASYWIDIR . '/template/default/' . $tFile);
|
||||||
} else {
|
} else {
|
||||||
@ -940,18 +940,14 @@ if (!isset($template_file) and ((!isset($servertype) and isset($page_include) an
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/cms/lenddata.tpl')) {
|
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/standalone/lenddata.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/cms/lenddata.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/standalone/lenddata.tpl');
|
||||||
|
|
||||||
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/lenddata.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/lenddata.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/lenddata.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/lenddata.tpl');
|
||||||
|
} else if (is_file(EASYWIDIR . '/template/default/standalone/lenddata.tpl')) {
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/cms/lenddata.tpl')) {
|
include(EASYWIDIR . '/template/default/standalone/lenddata.tpl');
|
||||||
include(EASYWIDIR . '/template/default/cms/lenddata.tpl');
|
|
||||||
|
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/lenddata.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/default/lenddata.tpl')) {
|
||||||
include(EASYWIDIR . '/template/default/lenddata.tpl');
|
include(EASYWIDIR . '/template/default/lenddata.tpl');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
include(EASYWIDIR . '/template/lenddata.tpl');
|
include(EASYWIDIR . '/template/lenddata.tpl');
|
||||||
}
|
}
|
||||||
@ -994,19 +990,14 @@ if (!isset($template_file) and ((!isset($servertype) and isset($page_include) an
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/cms/lend.tpl')) {
|
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/standalone/lend.tpl')) {
|
||||||
|
include(EASYWIDIR . '/template/' . $template_to_use . '/standalone/lend.tpl');
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/cms/lend.tpl');
|
|
||||||
|
|
||||||
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/lend.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/lend.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/lend.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/lend.tpl');
|
||||||
|
} else if (is_file(EASYWIDIR . '/template/default/standalone/lend.tpl')) {
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/cms/lend.tpl')) {
|
include(EASYWIDIR . '/template/default/standalone/lend.tpl');
|
||||||
include(EASYWIDIR . '/template/default/cms/lend.tpl' );
|
|
||||||
|
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/lend.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/default/lend.tpl')) {
|
||||||
include(EASYWIDIR . '/template/default/lend.tpl');
|
include(EASYWIDIR . '/template/default/lend.tpl');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
include(EASYWIDIR . '/template/lend.tpl');
|
include(EASYWIDIR . '/template/lend.tpl');
|
||||||
}
|
}
|
||||||
@ -1355,18 +1346,14 @@ if (!isset($template_file) and ((!isset($servertype) and isset($page_include) an
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/cms/lenddata.tpl')) {
|
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/standalone/lenddata.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/cms/lenddata.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/standalone/lenddata.tpl');
|
||||||
|
|
||||||
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/lenddata.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/lenddata.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/lenddata.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/lenddata.tpl');
|
||||||
|
} else if (is_file(EASYWIDIR . '/template/default/standalone/lenddata.tpl')) {
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/cms/lenddata.tpl')) {
|
include(EASYWIDIR . '/template/default/standalone/lenddata.tpl');
|
||||||
include(EASYWIDIR . '/template/default/cms/lenddata.tpl');
|
|
||||||
|
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/lenddata.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/default/lenddata.tpl')) {
|
||||||
include(EASYWIDIR . '/template/default/lenddata.tpl');
|
include(EASYWIDIR . '/template/default/lenddata.tpl');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
include(EASYWIDIR . '/template/lenddata.tpl');
|
include(EASYWIDIR . '/template/lenddata.tpl');
|
||||||
}
|
}
|
||||||
@ -1402,18 +1389,14 @@ if (!isset($template_file) and ((!isset($servertype) and isset($page_include) an
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/cms/lend.tpl')) {
|
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/standalone/lend.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/cms/lend.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/standalone/lend.tpl');
|
||||||
|
|
||||||
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/lend.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/lend.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/lend.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/lend.tpl');
|
||||||
|
} else if (is_file(EASYWIDIR . '/template/default/standalone/lend.tpl')) {
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/cms/lend.tpl')) {
|
include(EASYWIDIR . '/template/default/standalone/lend.tpl');
|
||||||
include(EASYWIDIR . '/template/default/cms/lend.tpl');
|
|
||||||
|
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/lend.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/default/lend.tpl')) {
|
||||||
include(EASYWIDIR . '/template/default/lend.tpl');
|
include(EASYWIDIR . '/template/default/lend.tpl');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
include(EASYWIDIR . '/template/lend.tpl');
|
include(EASYWIDIR . '/template/lend.tpl');
|
||||||
}
|
}
|
||||||
|
@ -728,8 +728,8 @@ if ($ui->st('w', 'get') == 'lo') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($include) and isset($template_to_use)) {
|
if (isset($include) and isset($template_to_use)) {
|
||||||
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/cms/' . $include)) {
|
if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/standalone/' . $include)) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/cms/' . $include);
|
include(EASYWIDIR . '/template/' . $template_to_use . '/standalone/' . $include);
|
||||||
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/' . $include)) {
|
} else if (is_file(EASYWIDIR . '/template/' . $template_to_use . '/' . $include)) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/' . $include);
|
include(EASYWIDIR . '/template/' . $template_to_use . '/' . $include);
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/cms/' . $include)) {
|
} else if (is_file(EASYWIDIR . '/template/default/cms/' . $include)) {
|
||||||
|
@ -150,12 +150,12 @@ if ($ui->ipport('serveraddress', 'post')) {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (file_exists(EASYWIDIR . '/template/' . $template_to_use . '/cms/protectioncheck.tpl')) {
|
if (file_exists(EASYWIDIR . '/template/' . $template_to_use . '/standalone/protectioncheck.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/cms/protectioncheck.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/standalone/protectioncheck.tpl');
|
||||||
} else if (file_exists(EASYWIDIR . '/template/' . $template_to_use . '/protectioncheck.tpl')) {
|
} else if (file_exists(EASYWIDIR . '/template/' . $template_to_use . '/protectioncheck.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/protectioncheck.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/protectioncheck.tpl');
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/cms/protectioncheck.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/default/standalone/protectioncheck.tpl')) {
|
||||||
include(EASYWIDIR . '/template/default/cms/protectioncheck.tpl');
|
include(EASYWIDIR . '/template/default/standalone/protectioncheck.tpl');
|
||||||
} else if (file_exists(EASYWIDIR . '/template/default/protectioncheck.tpl')) {
|
} else if (file_exists(EASYWIDIR . '/template/default/protectioncheck.tpl')) {
|
||||||
include(EASYWIDIR . '/template/default/protectioncheck.tpl');
|
include(EASYWIDIR . '/template/default/protectioncheck.tpl');
|
||||||
} else {
|
} else {
|
||||||
@ -232,12 +232,12 @@ XML;
|
|||||||
$template_file = 'page_protectioncheck.tpl';
|
$template_file = 'page_protectioncheck.tpl';
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (file_exists(EASYWIDIR . '/template/' . $template_to_use . '/cms/protectioncheck.tpl')) {
|
if (file_exists(EASYWIDIR . '/template/' . $template_to_use . '/standalone/protectioncheck.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/cms/protectioncheck.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/standalone/protectioncheck.tpl');
|
||||||
} else if (file_exists(EASYWIDIR . '/template/' . $template_to_use . '/protectioncheck.tpl')) {
|
} else if (file_exists(EASYWIDIR . '/template/' . $template_to_use . '/protectioncheck.tpl')) {
|
||||||
include(EASYWIDIR . '/template/' . $template_to_use . '/protectioncheck.tpl');
|
include(EASYWIDIR . '/template/' . $template_to_use . '/protectioncheck.tpl');
|
||||||
} else if (is_file(EASYWIDIR . '/template/default/cms/protectioncheck.tpl')) {
|
} else if (is_file(EASYWIDIR . '/template/default/standalone/protectioncheck.tpl')) {
|
||||||
include(EASYWIDIR . '/template/default/cms/protectioncheck.tpl');
|
include(EASYWIDIR . '/template/default/standalone/protectioncheck.tpl');
|
||||||
} else if (file_exists(EASYWIDIR . '/template/default/protectioncheck.tpl')) {
|
} else if (file_exists(EASYWIDIR . '/template/default/protectioncheck.tpl')) {
|
||||||
include(EASYWIDIR . '/template/default/protectioncheck.tpl');
|
include(EASYWIDIR . '/template/default/protectioncheck.tpl');
|
||||||
} else {
|
} else {
|
||||||
|
@ -21,10 +21,6 @@
|
|||||||
.form-signin input[type="text"],
|
.form-signin input[type="text"],
|
||||||
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
|
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
|
||||||
</style>
|
</style>
|
||||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
@ -21,10 +21,6 @@
|
|||||||
.form-signin input[type="text"],
|
.form-signin input[type="text"],
|
||||||
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
|
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
|
||||||
</style>
|
</style>
|
||||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
@ -21,10 +21,6 @@
|
|||||||
.form-signin input[type="text"],
|
.form-signin input[type="text"],
|
||||||
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
|
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
|
||||||
</style>
|
</style>
|
||||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
@ -22,13 +22,6 @@
|
|||||||
|
|
||||||
<?php echo implode('',$htmlExtraInformation['css']);?>
|
<?php echo implode('',$htmlExtraInformation['css']);?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
|
|
||||||
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<?php echo implode('',$htmlExtraInformation['js']);?>
|
<?php echo implode('',$htmlExtraInformation['js']);?>
|
||||||
|
|
||||||
</head>
|
</head>
|
@ -19,10 +19,6 @@
|
|||||||
.form-signin .form-signin-heading,
|
.form-signin .form-signin-heading,
|
||||||
.form-signin { margin-bottom: 10px;}
|
.form-signin { margin-bottom: 10px;}
|
||||||
</style>
|
</style>
|
||||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
@ -19,10 +19,6 @@
|
|||||||
.form-signin .form-signin-heading,
|
.form-signin .form-signin-heading,
|
||||||
.form-signin .checkbox { margin-bottom: 10px;}
|
.form-signin .checkbox { margin-bottom: 10px;}
|
||||||
</style>
|
</style>
|
||||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php if(isset($header)) echo '<div id="redirect"><img src="images/16_notice.png" alt="notice" />$text</div>'; ?>
|
<?php if(isset($header)) echo '<div id="redirect"><img src="images/16_notice.png" alt="notice" />$text</div>'; ?>
|
@ -21,10 +21,6 @@
|
|||||||
.form-signin input[type="text"],
|
.form-signin input[type="text"],
|
||||||
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
|
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
|
||||||
</style>
|
</style>
|
||||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
Loading…
x
Reference in New Issue
Block a user