200fb9bab2bcc9a5e91b319fc6bd9bbb.php
14.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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<?php /*a:3:{s:89:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/page_show_contace.html";i:1535165210;s:83:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_head.html";i:1535161327;s:85:"/Applications/XAMPP/xamppfiles/htdocs/cltphp/application/home/view/common_footer.html";i:1535161013;}*/ ?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="zh-cn"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="zh-cn"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-cn"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title><?php echo isset($info['title']) ? htmlentities($info['title']) : ($title ? $title : $sys['title']); ?></title>
<meta name="keywords" content="<?php echo isset($info['keywords']) ? htmlentities($info['keywords']) : ($keywords ? $keywords : $sys['key']); ?>" />
<meta name="description" content="<?php echo isset($info['description']) ? htmlentities($info['description']) : ($description ? $description : $sys['des']); ?>" />
<!-- ////////////////////////////////// -->
<!-- // Stylesheets Files // -->
<!-- ////////////////////////////////// -->
<link rel="stylesheet" href="/static/home/css/base.css" id="camera-css" />
<link rel="stylesheet" href="/static/home/css/framework.css" />
<link rel="stylesheet" href="/static/home/css/style.css" />
<link rel="stylesheet" href="/static/home/css/noscript.css" media="screen,all" id="noscript" />
<!-- ////////////////////////////////// -->
<!-- // Favicon Files // -->
<!-- ////////////////////////////////// -->
<link rel="shortcut icon" href="/static/home/images/favicon.ico" />
<!-- ////////////////////////////////// -->
<!-- // Javascript Files // -->
<!-- ////////////////////////////////// -->
<script>
var HOME = '/static/home';
</script>
<script src="/static/home/js/jquery.min.js"></script>
<script src="/static/home/js/jquery.easing-1.3.min.js"></script>
<script src="/static/home/js/tooltip.js"></script>
<script src="/static/home/js/dropdown.js"></script>
<script src="/static/home/js/tinynav.min.js"></script>
<script src="/static/home/js/camera.min.js"></script>
<script src="/static/home/js/jquery.fancybox.js?v=2.0.6"></script>
<script src="/static/home/js/jquery.fancybox-media.js?v=1.0.3"></script>
<script src="/static/home/js/jquery.ui.totop.min.js"></script>
<script src="/static/home/js/ddaccordion.js"></script>
<script src="/static/home/js/jquery.twitter.js"></script>
<script src="/static/home/js/jflickrfeed.min.js"></script>
<script src="/static/home/js/faq-functions.js"></script>
<script src="/static/home/js/isotope.js"></script>
<script src="/static/home/js/theme-functions.js"></script>
<script>
//设为首页 www.jb51.net
function SetHome(obj,url){
try{
obj.style.behavior='url(#default#homepage)';
obj.setHomePage(url);
}catch(e){
if(window.netscape){
try{
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
}catch(e){
alert("抱歉,此操作被浏览器拒绝!\n\n请在浏览器地址栏输入“about:config”并回车然后将[signed.applets.codebase_principal_support]设置为'true'");
}
}else{
alert("抱歉,您所使用的浏览器无法完成此操作。\n\n您需要手动将【"+url+"】设置为首页。");
}
}
}
//收藏本站 www.jb51.net
function AddFavorite(title, url) {
try {
window.external.addFavorite(url, title);
}
catch (e) {
try {
window.sidebar.addPanel(title, url, "");
}
catch (e) {
alert("抱歉,您所使用的浏览器无法完成此操作。\n\n加入收藏失败,请进入新网站后使用Ctrl+D进行添加");
}
}
}
</script>
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div class="user">
<div id="top-social">
<div class="social-panel">
<ul>
<li><a href="javascript:void(0);" onclick="SetHome(this,'<?php echo config('url_domain_root'); ?>');">设为首页</a></li>
<li><a href="javascript:void(0);" onclick="AddFavorite('<?php echo config('sys_name'); ?>','<?php echo config('url_domain_root'); ?>')">加入收藏</a></li>
<li><a href="<?php echo url('user/index/index'); ?>" target="_blank"><?php if(session('user.username')): ?><?php echo session('user.username'); else: ?>会员中心<?php endif; ?></a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
<!-- header start here -->
<header>
<div id="main-wrapper">
<!-- logo start here -->
<div id="logo">
<a href="<?php echo url('home/index/index'); ?>" title="内容管理系统"><img src="<?php echo htmlentities($sys['logo']); ?>" alt="CLTPHP" style="width: 160px;height: 43px;" /></a>
</div>
<!-- logo end here -->
<!-- mainmenu start here -->
<nav id="mainmenu">
<ul id="menu">
<li <?php if($controller == 'index'): ?>class="selected"<?php endif; ?>><a href="<?php echo url('home/index/index'); ?>" title="内容管理系统">首页</a></li>
<?php if(is_array($category) || $category instanceof \think\Collection || $category instanceof \think\Paginator): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<li <?php if($controller == $vo['catdir']): ?>class="selected"<?php endif; ?>>
<?php if($vo['child'] == 1): ?>
<a href="#"><?php echo htmlentities($vo['catname']); ?></a>
<ul>
<?php if(is_array($vo['sub']) || $vo['sub'] instanceof \think\Collection || $vo['sub'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
<li><a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$v['id']] ); ?>" title="<?php echo htmlentities($v['catname']); ?>-内容管理系统"><span>-</span> <?php echo htmlentities($v['catname']); ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php else: ?>
<a href="<?php echo url('home/'.$vo['catdir'].'/index',['catId'=>$vo['id']] ); ?>" title="<?php echo htmlentities($vo['catname']); ?>-内容管理系统"><?php echo htmlentities($vo['catname']); ?></a>
<?php endif; ?>
</li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</nav>
<!-- mainmenu end here -->
</div>
</header>
<!-- header end here -->
<!-- pagetitle start here -->
<section id="pagetitle-wrapper">
<div class="pagetitle-content">
<h2><?php echo htmlentities($title); ?></h2>
</div>
</section>
<!-- pagetitle end here -->
<!-- breadcrumb start here -->
<section id="breadcrumb-wrapper">
<div id="breadcrumb-content">
<ul>
<li><a href="<?php echo url('home/index/index'); ?>" title="<?php echo htmlentities($sys['title']); ?>">首页</a></li>
<li><a href="<?php echo url('home/'.MODULE_NAME.'/index',array('catId'=>input('catId'))); ?>" title="<?php echo htmlentities($title); ?>"><?php echo htmlentities($title); ?></a></li>
<li><?php echo htmlentities($info['title']); ?></li>
</ul>
</div>
</section>
<section id="content-wrapper">
<div class="row">
<div class="six columns">
<h5>留下您宝贵的意见</h5>
<div id="contact-form-area">
<!-- Contact Form Start //-->
<form action="#" id="contactform" />
<fieldset>
<label>标题 <em>*</em></label>
<input type="text" name="title" class="textfield" id="title"/>
<label>称呼 <em>*</em></label>
<input type="text" name="name" class="textfield" id="name"/>
<label>邮箱 <em>*</em></label>
<input type="text" name="email" class="textfield" id="email" />
<textarea name="content" id="content" class="textarea" cols="2" rows="4"></textarea>
<div class="clear"></div>
<label> </label>
<input type="button" name="submit" class="buttoncontact" id="buttonsend" value="提交" />
<span class="loading" style="display: none;">Please wait..</span>
<div class="clear"></div>
</fieldset>
</form>
<!-- Contact Form End //-->
</div>
</div>
<div class="six columns">
<div class="panel stamp">
<h5>联系信息</h5>
<?php echo $info['content']; ?>
<ul class="contact-info">
<li class="address-icon"><a href="" title="CLTPHP">纳极科技</a></li>
<li class="qq-icon"><a target="_blank" href=""><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="交流群0001" title="交流群0002"></a></li>
<li class="qq-icon">站长QQ号 : <a href="tencent://message/?uin=1034677692&Site=&Menu=yes" title="点击加好友">1034677692</a></li>
<li class="email-icon">Email : teemitop@126.com</li>
<li class="time-icon">当前时间: <?php echo toDate(time(),'Y-m-d H:i:s'); ?></li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="twelve columns">
</div>
</div>
</section>
<script>
$('#buttonsend').click(function(){
var title = $('#title').val();
var name = $('#name').val();
var email = $('#email').val();
var content = $('#content').val();
if($.trim(title)==''){
alert('标题不能为空');
return false;
}
if($.trim(name)==''){
alert('称呼不能为空');
return false;
}
if($.trim(email)==''){
alert('邮箱不能为空');
return false;
}
if($.trim(content)==''){
alert('内容不能为空');
return false;
}
$.post("<?php echo url('home/index/senmsg'); ?>",{title:title,name:name,email:email,content:content},function(data){
console.log(data);
if(data.status==1){
alert('留言成功!感谢您对我们的支持!');
window.location.href = "<?php echo url('home/contact/index',array('catId'=>input('catId'))); ?>"
}else{
alert('留言失败!重新提交试试!');
}
})
})
</script>
<!-- maincontent end here -->
<!-- footer start here -->
<footer>
<div class="row">
<div class="three columns mobile-two">
<!--<img src="/static/home/images/logo2.png" alt="CLTPHP" class="img-left" />-->
<p class="copyright-text">
©<?php echo htmlentities($sys['copyright']); ?> <a href="http://www.cltphp.com/" style="color: #747373" rel="external" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a><br>
<a href="http://www.miitbeian.gov.cn/" style="color: #747373" target="_blank" rel="nofollow"><?php echo htmlentities($sys['bah']); ?></a><br>
</p>
</div>
<div class="three columns mobile-two">
<h5>联系我们</h5>
<ul>
<li class="address-icon"><a href="<?php echo htmlentities($sys['url']); ?>" title="<?php echo htmlentities($sys['title']); ?>"><?php echo htmlentities($sys['title']); ?></a></li>
<li class="qq-icon"><a target="_blank" href=""><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="CLTPHP交流群0002" title="CLTPHP交流群0002"></a></li>
<li class="qq-icon">站长QQ号 : <a target="_blank" rel="nofollow" title="点击加好友" href="tencent://message/?uin=1034677692&Site=&Menu=yes">1034677692</a></li>
<li class="email-icon">Email : <?php echo htmlentities($sys['email']); ?></li>
</ul>
</div>
<div class="three columns mobile-two">
<h5>友情链接</h5>
<ul>
<?php if(is_array($linkList) || $linkList instanceof \think\Collection || $linkList instanceof \think\Paginator): $i = 0; $__LIST__ = $linkList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<!--<li><a href="<?php echo htmlentities($vo['url']); ?>" rel="external" title="<?php echo htmlentities($vo['name']); ?>"><?php echo htmlentities($vo['name']); ?></a></li>-->
<?php endforeach; endif; else: echo "" ;endif; ?>
<li><a href="https://www.kancloud.cn/chichu/cltphp" target="_blank" rel="nofollow" title="CLTPHP操作开发手册">CLTPHP操作开发手册</a></li>
</ul>
</div>
<div class="three columns mobile-two">
<h5>扫码捐助</h5>
<div class="wxsq">
<!--<img src="/static/home/images/wxsq.png" alt="CLTPHP微信二维码" title="CLTPHP微信二维码">-->
</div>
</div>
</div>
</footer>
<!-- footer end here -->
<script>
$('#noscript').remove();
jQuery(function($){
//external加上target="_blank"
$("a[rel*=external]").attr("target","_blank");
});
</script>
</body>
</html>