init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
52
ThinkPHP/Tpl/dispatch_jump.tpl
可执行文件
52
ThinkPHP/Tpl/dispatch_jump.tpl
可执行文件
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
if(C('LAYOUT_ON')) {
|
||||
echo '{__NOLAYOUT__}';
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>跳转提示</title>
|
||||
<style type="text/css">
|
||||
*{ padding: 0; margin: 0; }
|
||||
body{ background: #fff; font-family: '微软雅黑'; color: #333; font-size: 16px; }
|
||||
.system-message{ padding: 24px 48px; }
|
||||
.system-message h1{ font-size: 100px; font-weight: normal; line-height: 120px; margin-bottom: 12px; width: 120px; height: 120px; text-align: center; background: #39ca74; color: #fff; -webkit-border-radius: 50%; border-radius: 50%; margin: 0 auto;}
|
||||
.system-message h1.no{background: #e75845;}
|
||||
.system-message .jump{ padding-top: 10px; text-align: center;}
|
||||
.system-message .jump a{ color: #333;}
|
||||
.system-message .success,.system-message .error{ line-height: 1.8em; font-size: 36px ; text-align: center;}
|
||||
.system-message .success{color: #39ca74;}
|
||||
.system-message .error{color: #e75845;}
|
||||
.system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display:none; text-align: center;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="system-message">
|
||||
<?php if(isset($message)) {?>
|
||||
<h1>✔</h1>
|
||||
<p class="success"><?php echo($message); ?></p>
|
||||
<?php }else{?>
|
||||
<h1 class="no">✖</h1>
|
||||
<p class="error"><?php echo($error); ?></p>
|
||||
<?php }?>
|
||||
<p class="detail"></p>
|
||||
<p class="jump">
|
||||
页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间: <b id="wait"><?php echo($waitSecond); ?></b>
|
||||
</p>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
|
||||
var interval = setInterval(function(){
|
||||
var time = --wait.innerHTML;
|
||||
if(time <= 0) {
|
||||
location.href = href;
|
||||
clearInterval(interval);
|
||||
};
|
||||
}, 1000);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
67
ThinkPHP/Tpl/page_trace.tpl
可执行文件
67
ThinkPHP/Tpl/page_trace.tpl
可执行文件
@@ -0,0 +1,67 @@
|
||||
<div id="think_page_trace" style="position: fixed;bottom:0;right:0;font-size:14px;width:100%;z-index: 999999;color: #000;text-align:left;font-family:'微软雅黑';">
|
||||
<div id="think_page_trace_tab" style="display: none;background:white;margin:0;height: 250px;">
|
||||
<div id="think_page_trace_tab_tit" style="height:30px;padding: 6px 12px 0;border-bottom:1px solid #ececec;border-top:1px solid #ececec;font-size:16px">
|
||||
<?php foreach($trace as $key => $value){ ?>
|
||||
<span style="color:#000;padding-right:12px;height:30px;line-height: 30px;display:inline-block;margin-right:3px;cursor: pointer;font-weight:700"><?php echo $key ?></span>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div id="think_page_trace_tab_cont" style="overflow:auto;height:212px;padding: 0; line-height: 24px">
|
||||
<?php foreach($trace as $info) { ?>
|
||||
<div style="display:none;">
|
||||
<ol style="padding: 0; margin:0">
|
||||
<?php
|
||||
if(is_array($info)){
|
||||
foreach ($info as $k=>$val){
|
||||
echo '<li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">' . (is_numeric($k) ? '' : $k.' : ') . htmlentities($val,ENT_COMPAT,'utf-8') .'</li>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ol>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="think_page_trace_close" style="display:none;text-align:right;height:15px;position:absolute;top:10px;right:12px;cursor: pointer;"><img style="vertical-align:top;" src="data:image/gif;base64,R0lGODlhDwAPAJEAAAAAAAMDA////wAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUQxMjc1MUJCQUJDMTFFMTk0OUVGRjc3QzU4RURFNkEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUQxMjc1MUNCQUJDMTFFMTk0OUVGRjc3QzU4RURFNkEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxRDEyNzUxOUJBQkMxMUUxOTQ5RUZGNzdDNThFREU2QSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxRDEyNzUxQUJBQkMxMUUxOTQ5RUZGNzdDNThFREU2QSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAAAAAAALAAAAAAPAA8AAAIdjI6JZqotoJPR1fnsgRR3C2jZl3Ai9aWZZooV+RQAOw==" /></div>
|
||||
</div>
|
||||
<div id="think_page_trace_open" style="height:30px;float:right;text-align: right;overflow:hidden;position:fixed;bottom:0;right:0;color:#000;line-height:30px;cursor:pointer;"><div style="background:#232323;color:#FFF;padding:0 6px;float:right;line-height:30px;font-size:14px"><?php echo G('beginTime','viewEndTime').'s ';?></div><img width="30" style="" title="ShowPageTrace" src="data:image/png;base64,<?php echo \Think\App::logo() ?>"></div>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var tab_tit = document.getElementById('think_page_trace_tab_tit').getElementsByTagName('span');
|
||||
var tab_cont = document.getElementById('think_page_trace_tab_cont').getElementsByTagName('div');
|
||||
var open = document.getElementById('think_page_trace_open');
|
||||
var close = document.getElementById('think_page_trace_close').childNodes[0];
|
||||
var trace = document.getElementById('think_page_trace_tab');
|
||||
var cookie = document.cookie.match(/thinkphp_show_page_trace=(\d\|\d)/);
|
||||
var history = (cookie && typeof cookie[1] != 'undefined' && cookie[1].split('|')) || [0,0];
|
||||
open.onclick = function(){
|
||||
trace.style.display = 'block';
|
||||
this.style.display = 'none';
|
||||
close.parentNode.style.display = 'block';
|
||||
history[0] = 1;
|
||||
document.cookie = 'thinkphp_show_page_trace='+history.join('|')
|
||||
}
|
||||
close.onclick = function(){
|
||||
trace.style.display = 'none';
|
||||
this.parentNode.style.display = 'none';
|
||||
open.style.display = 'block';
|
||||
history[0] = 0;
|
||||
document.cookie = 'thinkphp_show_page_trace='+history.join('|')
|
||||
}
|
||||
for(var i = 0; i < tab_tit.length; i++){
|
||||
tab_tit[i].onclick = (function(i){
|
||||
return function(){
|
||||
for(var j = 0; j < tab_cont.length; j++){
|
||||
tab_cont[j].style.display = 'none';
|
||||
tab_tit[j].style.color = '#999';
|
||||
}
|
||||
tab_cont[i].style.display = 'block';
|
||||
tab_tit[i].style.color = '#000';
|
||||
history[1] = i;
|
||||
document.cookie = 'thinkphp_show_page_trace='+history.join('|')
|
||||
}
|
||||
})(i)
|
||||
}
|
||||
parseInt(history[0]) && open.click();
|
||||
(tab_tit[history[1]] || tab_tit[0]).click();
|
||||
})();
|
||||
</script>
|
||||
41
ThinkPHP/Tpl/show_error.tpl
可执行文件
41
ThinkPHP/Tpl/show_error.tpl
可执行文件
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cn">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>跳转提示</title>
|
||||
<!-- Bootstrap -->
|
||||
<link rel="stylesheet" href="__THEME__/style/css/style.css?v=20170113" />
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="__THEME__/style/js/jquery-1.11.1/jquery.min.js"></script>
|
||||
</head>
|
||||
<body class="result">
|
||||
<article class="contanter">
|
||||
<div class="title">
|
||||
<h2>提示信息</h2>
|
||||
</div>
|
||||
<div class="rel-cont">
|
||||
<p class="status">
|
||||
<php> if(isset($message)) {</php>
|
||||
<php> echo($message);</php>s
|
||||
<php>} else{</php>
|
||||
<php> echo($error);</php>e
|
||||
<php>}</php>
|
||||
</p>
|
||||
<p class="code">等待时间:<span id="wait">{$waitSecond}</span>秒后跳转</p>
|
||||
<!-- <button class="btn" type="button" onclick="doAfter()">报告异常</button> -->
|
||||
<a class="abtn" href="{$jumpUrl}">点此立即跳转</a>
|
||||
</div>
|
||||
</article>
|
||||
<footer>
|
||||
<img src="__THEME__/style/images/ad_07.jpg" />
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
59
ThinkPHP/Tpl/show_info.tpl
可执行文件
59
ThinkPHP/Tpl/show_info.tpl
可执行文件
@@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/css/reset.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/css/quitSuccess.css"/>
|
||||
<title>
|
||||
<php> if(isset($message)) {</php>
|
||||
<php> echo($message);</php>
|
||||
<php>} else{</php>
|
||||
<php> echo($error);</php>
|
||||
<php>}</php>
|
||||
</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<div class="login_a">
|
||||
<div class="login_a_img"><img src="__PUBLIC__/Home/images/Z_F.png" /></div>
|
||||
<span>
|
||||
<php> if(isset($message)) {</php>
|
||||
<php> echo($message);</php>
|
||||
<php>} else{</php>
|
||||
<php> echo($error);</php>
|
||||
<php>}</php>
|
||||
</span>
|
||||
<div class="downtime" hr="{$jumpUrl}">2</div>
|
||||
</div>
|
||||
|
||||
<div class="biaoyu">
|
||||
<img src="__PUBLIC__/Home/images/z_by.png"/>
|
||||
</div>
|
||||
|
||||
<php>if(!empty($Ad)){</php>
|
||||
<div class="zanzhu">
|
||||
<div class="zanzhu_line01"></div>
|
||||
<div class="zanzhu_line03">赞助商广告</div>
|
||||
<div class="zanzhu_line02"></div>
|
||||
</div>
|
||||
<a class="guanggao" href="{$Ad['url']}">
|
||||
<img src="__UPLOADS__{$Ad['picture']}"/>
|
||||
</a>
|
||||
<php>}</php>
|
||||
</div>
|
||||
<script src="__THEME__/style/js/jquery-1.11.1/jquery.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
var time = 2;
|
||||
var timer = setInterval(function(){
|
||||
time--;
|
||||
if(time<=0){
|
||||
location.href = $('.downtime').attr('hr');
|
||||
clearInterval(timer);
|
||||
}else {
|
||||
$('.downtime').html(time);
|
||||
}
|
||||
},1000)
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
64
ThinkPHP/Tpl/show_info1.tpl
可执行文件
64
ThinkPHP/Tpl/show_info1.tpl
可执行文件
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cn">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>跳转提示</title>
|
||||
<!-- Bootstrap -->
|
||||
<link rel="stylesheet" href="__THEME__/style/css/style.css?v=20170113" />
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="__THEME__/style/js/jquery-1.11.1/jquery.min.js"></script>
|
||||
</head>
|
||||
<body class="result">
|
||||
<article class="contanter">
|
||||
<div class="title">
|
||||
<h2>提示信息</h2>
|
||||
</div>
|
||||
<div class="rel-cont">
|
||||
<p class="status">
|
||||
<php> if(isset($message)) {</php>
|
||||
<php> echo($message);</php>
|
||||
<php>} else{</php>
|
||||
<php> echo($error);</php>
|
||||
<php>}</php>
|
||||
</p>
|
||||
<p class="code">等待时间:<span id="wait">{$waitSecond}</span>秒后跳转</p>
|
||||
<a class="abtn" href="{$jumpUrl}">点此立即跳转</a>
|
||||
<php>if(!empty($Ad)){</php>
|
||||
<div class="ad">
|
||||
<div class="ad-title">
|
||||
<h6>广告</h6>
|
||||
</div>
|
||||
<a href="{$Ad['url']}"><img src="__UPLOADS__{$Ad['picture']}" /></a>
|
||||
</div>
|
||||
<php>}</php>
|
||||
</div>
|
||||
</article>
|
||||
<footer>
|
||||
<img src="__THEME__/style/images/ad_07.jpg" />
|
||||
</footer>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var wait = $('#wait');
|
||||
var href = $("a.abtn").attr("href");
|
||||
var interval = setInterval(function(){
|
||||
var time = parseInt(wait.text())-1;
|
||||
if(time <= 0) {
|
||||
location.href = href;
|
||||
clearInterval(interval);
|
||||
}
|
||||
else{
|
||||
wait.text(time);
|
||||
}
|
||||
}, 1000);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
58
ThinkPHP/Tpl/think_exception.tpl
可执行文件
58
ThinkPHP/Tpl/think_exception.tpl
可执行文件
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
if(C('LAYOUT_ON')) {
|
||||
echo '{__NOLAYOUT__}';
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
<title>系统发生错误</title>
|
||||
<style type="text/css">
|
||||
*{ padding: 0; margin: 0; }
|
||||
html{ overflow-y: scroll; }
|
||||
body{ background: #fff; font-family: '微软雅黑'; color: #333; font-size: 16px; }
|
||||
img{ border: 0; }
|
||||
.error{ padding: 24px 48px; }
|
||||
.face{ font-size: 100px; font-weight: normal; line-height: 120px; margin-bottom: 12px; }
|
||||
h1{ font-size: 32px; line-height: 48px; }
|
||||
.error .content{ padding-top: 10px}
|
||||
.error .info{ margin-bottom: 12px; }
|
||||
.error .info .title{ margin-bottom: 3px; }
|
||||
.error .info .title h3{ color: #000; font-weight: 700; font-size: 16px; }
|
||||
.error .info .text{ line-height: 24px; }
|
||||
.copyright{ padding: 12px 48px; color: #999; }
|
||||
.copyright a{ color: #000; text-decoration: none; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="error">
|
||||
<p class="face">:(</p>
|
||||
<h1><?php echo strip_tags($e['message']);?></h1>
|
||||
<div class="content">
|
||||
<?php if(isset($e['file'])) {?>
|
||||
<div class="info">
|
||||
<div class="title">
|
||||
<h3>错误位置</h3>
|
||||
</div>
|
||||
<div class="text">
|
||||
<p>FILE: <?php echo $e['file'] ;?>  LINE: <?php echo $e['line'];?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if(isset($e['trace'])) {?>
|
||||
<div class="info">
|
||||
<div class="title">
|
||||
<h3>TRACE</h3>
|
||||
</div>
|
||||
<div class="text">
|
||||
<p><?php echo nl2br($e['trace']);?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p><a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a><sup><?php echo THINK_VERSION ?></sup> { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
在新工单中引用
屏蔽一个用户