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

21 lines
800 B
PHTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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 "System will auto redirect..."?></h2>
<?php if(!empty($this->url)) {?>
<?php if($this->url == -1) { ?>
<a href="javascript:history.go(-1);">Click for redirect manually</a>
<script language="javascript">setTimeout("history.go(-1)",3000);</script>
<?php }else {?>
<a href="<?= $this->url ?>">Click for redirect manually</a>
<script language="javascript">setTimeout("self.location='<?= $this->url?>'",3000);</script>
<?php } } ?>
</div>
</div>