test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
1.4 KiB

{php include wl_template('common/header-base');}
<style>
body{background-color: #1ab394;}
.jumbotron{background-color: white!important;border-color: white!important;}
</style>
<div class="container-fluid" style="margin-top: 36px;margin-bottom: 88px;min-height: 700px;max-width: 1400px;">
<div class="jumbotron clearfix alert alert-{$label}">
<div class="row">
<div class="col-xs-12 col-sm-3 col-lg-2">
<i class="fa fa-5x fa-{if $label=='success'}check-circle{/if}{if $label=='danger'}times-circle{/if}{if $label=='info'}info-circle{/if}{if $label=='warning'}exclamation-triangle{/if}"></i>
</div>
<div class="col-xs-12 col-sm-8 col-sm-9 col-lg-10">
{if is_array($msg)}
<h2>MYSQL 错误:</h2>
<p>{php echo cutstr($msg['sql'], 300, 1);}</p>
<p><b>{$msg['error'][0]} {$msg['error'][1]}:</b>{$msg['error'][2]}</p>
{else}
<h2>{$caption}</h2>
<p>{$msg}</p>
{/if}
{if $type != 'fixed'}
{if $redirect}
<p><a href="{$redirect}">如果你的浏览器没有自动跳转,请点击此链接</a></p>
<script type="text/javascript">
setTimeout(function () {
location.href = "{$redirect}";
}, 3000);
</script>
{else}
<p>[<a href="javascript:history.go(-1);">点击这里返回上一页</a>] &nbsp; [<a href="./?refresh">首页</a>]</p>
{/if}
{/if}
</div>
</div>
</div>
</div>
</body>
</html>