升级post-message页面
This commit is contained in:
parent
fa2636b857
commit
27acb69498
|
@ -1,13 +1,25 @@
|
|||
<div class="container">
|
||||
<div class="hero-unit">
|
||||
<h2><?= $this->message ?><?php if(!empty($this->url)) echo ",系统正在为您跳转..."?></h2>
|
||||
<?php if(isset($this->message)) { ?>
|
||||
<?php if(is_array($this->message)) {?>
|
||||
<ul>
|
||||
<?php foreach($this->message as $k=>$v) { ?>
|
||||
<li><?= $k ?>. <?= $v ?></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php }else{ ?>
|
||||
<h4><?= $this->message ?></h4>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php if(!empty($this->url)) {?>
|
||||
<?php if($this->url == -1) { ?>
|
||||
<a href="javascript:history.go(-1);">如果没有跳转请点击这样</a>
|
||||
系统正在为您跳转,<a href="javascript:history.go(-1);">如果没有跳转请点击这里</a>
|
||||
<script language="javascript">setTimeout("history.go(-1)",3000);</script>
|
||||
<?php }else {?>
|
||||
<a href="<?= $this->url ?>">如果没有跳转请点击这样</a>
|
||||
系统正在为您跳转,<a href="<?= $this->url ?>">如果没有跳转请点击这里</a>
|
||||
<script language="javascript">setTimeout("self.location='<?= $this->url?>'",3000);</script>
|
||||
<?php } } ?>
|
||||
<?php } }else{ ?>
|
||||
<a href="javascript:history.go(-1);">返回前页</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue