westdc-zf1/application/admin/views/scripts/post-message.phtml

21 lines
862 B
PHTML
Raw Normal View History

<?php
$this->headTitle('寒区旱区科学数据中心');
if(!empty($this->pageTitle))
{
$this->headTitle()->setSeparator(' - ');
$this->headTitle($this->pageTitle);
}
?>
<div class="row-fluit">
<div class="hero-unit">
<h2><?= $this->content ?><?php if(!empty($this->url)) echo ",系统正在为您跳转..."?></h2>
<?php if(!empty($this->url)) {?>
2013-10-28 14:54:21 +00:00
<?php if(is_numeric($this->url)) { ?>
<a href="javascript:history.go(-1);">如果没有跳转请点击这样</a>
2013-10-28 14:54:21 +00:00
<script language="javascript">setTimeout("history.go(<?= $this->url ?>)",3000);</script>
<?php }else {?>
<a href="<?= $this->url ?>">如果没有跳转请点击这样</a>
<script language="javascript">setTimeout("self.location='<?= $this->url?>'",3000);</script>
<?php } } ?>
</div>
</div>