优化post页面的功能

This commit is contained in:
Li Jianxuan 2013-09-29 10:18:25 +00:00
parent 8ab7186eab
commit 737a967a51
2 changed files with 5 additions and 2 deletions

View File

@ -10,9 +10,9 @@ if(!empty($this->pageTitle))
<div class="hero-unit">
<h2><?= $this->content ?><?php if(!empty($this->url)) echo ",系统正在为您跳转..."?></h2>
<?php if(!empty($this->url)) {?>
<?php if($this->url == -1) { ?>
<?php if(is_numeric($this->url)) { ?>
<a href="javascript:history.go(-1);">如果没有跳转请点击这样</a>
<script language="javascript">setTimeout("history.go(-1)",3000);</script>
<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>

View File

@ -12,4 +12,7 @@ class Table
//数据申请
public $offlineapp = "offlineapp";
//Source
public $source = "source";
}