8be36c36ff3337e3cf2793b86304bb1b.php
7.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:37:"themes/simpleboot3/portal\\index.html";i:1539843083;s:35:"themes/simpleboot3/public\head.html";i:1533266978;s:39:"themes/simpleboot3/public\function.html";i:1533266978;s:38:"themes/simpleboot3/public\scripts.html";i:1533266978;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<title>首页 <?php echo (isset($site_info['site_name']) && ($site_info['site_name'] !== '')?$site_info['site_name']:''); ?></title>
<meta name="keywords" content="<?php echo (isset($site_info['site_seo_keywords']) && ($site_info['site_seo_keywords'] !== '')?$site_info['site_seo_keywords']:''); ?>"/>
<meta name="description" content="<?php echo (isset($site_info['site_seo_description']) && ($site_info['site_seo_description'] !== '')?$site_info['site_seo_description']:''); ?>">
<?php
/*可以加多个方法哟!*/
function _sp_helloworld(){
echo "hello bronet!";
}
function _sp_helloworld2(){
echo "hello bronet2!";
}
function _sp_helloworld3(){
echo "hello bronet3!";
}
?>
<meta name="author" content="bronet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link rel="icon" href="__TMPL__/public/assets/images/favicon.png" type="image/png">
<link rel="shortcut icon" href="__TMPL__/public/assets/images/favicon.png" type="image/png">
<link href="__TMPL__/public/assets/simpleboot3/themes/simpleboot3/bootstrap.min.css" rel="stylesheet">
<link href="__TMPL__/public/assets/simpleboot3/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet"
type="text/css">
<!--[if IE 7]>
<link rel="stylesheet" href="__TMPL__/public/assets/simpleboot3/font-awesome/4.4.0/css/font-awesome-ie7.min.css">
<![endif]-->
<link href="__TMPL__/public/assets/css/style.css" rel="stylesheet">
<style>
/*html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);-webkit-filter: grayscale(1);}*/
#backtotop {
position: fixed;
bottom: 50px;
right: 20px;
display: none;
cursor: pointer;
font-size: 50px;
z-index: 9999;
}
#backtotop:hover {
color: #333
}
#main-menu-user li.user {
display: none
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "__ROOT__/",
WEB_ROOT: "__WEB_ROOT__/",
JS_ROOT: "static/js/"
};
</script>
<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="__TMPL__/public/assets/js/jquery-migrate-1.2.1.js"></script>
<script src="__STATIC__/js/wind.js"></script>
<link href="__TMPL__/public/assets/css/slippry/slippry.css" rel="stylesheet">
<style>
.caption-wraper {
position: absolute;
left: 50%;
bottom: 2em;
}
.caption-wraper .caption {
position: relative;
left: -50%;
background-color: rgba(0, 0, 0, 0.54);
padding: 0.4em 1em;
color: #fff;
-webkit-border-radius: 1.2em;
-moz-border-radius: 1.2em;
-ms-border-radius: 1.2em;
-o-border-radius: 1.2em;
border-radius: 1.2em;
}
.tc-gridbox {
margin: 0;
}
@media (max-width: 767px) {
.caption-wraper {
left: 0;
bottom: 0.4em;
}
.caption-wraper .caption {
left: 0;
padding: 0.2em 0.4em;
font-size: 0.92em;
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
-o-border-radius: 0;
border-radius: 0;
}
}
</style>
<?php
\think\Hook::listen('before_head_end',$temp5bc8240c70990,null,false);
?>
</head>
<form class="form-horizontal" style="margin-left: 100px" action="<?php echo url('portal/index/caiji'); ?>">
<fieldset>
<div id="legend" class="">
<legend class="">添加网页</legend>
</div>
<div class="control-group">
<!-- Text input-->
<label class="control-label" for="input01">输入网页链接</label>
<div class="controls">
<input type="text" placeholder="请输入网页链接" class="input-xlarge" name="url" style="width:1500px;">
</div>
</div>
<div class="control-group">
<div class="controls">
<button class="btn btn-success">提交</button>
</div>
</div>
</fieldset>
</form>
<!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="__TMPL__/public/assets/simpleboot3/bootstrap/js/bootstrap.min.js"></script>
<script src="__STATIC__/js/frontend.js"></script>
<script>
$(function(){
$("#main-menu li.dropdown").hover(function(){
$(this).addClass("open");
},function(){
$(this).removeClass("open");
});
$("#main-menu a").each(function() {
if ($(this)[0].href == String(window.location)) {
$(this).parentsUntil("#main-menu>ul>li").addClass("active");
}
});
$.post("<?php echo url('user/index/isLogin'); ?>",{},function(data){
console.log(data);
if(data.code==1){
if(data.data.user.avatar){
}
$("#main-menu-user span.user-nickname").text(data.data.user.user_nickname?data.data.user.user_nickname:data.data.user.user_login);
$("#main-menu-user li.login").show();
$("#main-menu-user li.offline").hide();
}
if(data.code==0){
$("#main-menu-user li.login").hide();
$("#main-menu-user li.offline").show();
}
});
;(function($){
$.fn.totop=function(opt){
var scrolling=false;
return this.each(function(){
var $this=$(this);
$(window).scroll(function(){
if(!scrolling){
var sd=$(window).scrollTop();
if(sd>100){
$this.fadeIn();
}else{
$this.fadeOut();
}
}
});
$this.click(function(){
scrolling=true;
$('html, body').animate({
scrollTop : 0
}, 500,function(){
scrolling=false;
$this.fadeOut();
});
});
});
};
})(jQuery);
$("#backtotop").totop();
});
</script>
<script src="__TMPL__/public/assets/js/slippry.min.js"></script>
<script>
$(function () {
$("#home-slider").slippry({
transition: 'fade',
useCSS: true,
captions: false,
speed: 1000,
pause: 3000,
auto: true,
preload: 'visible'
});
$("#home-slider").show();
});
</script>
<?php
\think\Hook::listen('before_body_end',$temp5bc8240c70d78,null,false);
?>
</body>
</html>