<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('showmessage');?>
<?php if($param['login']) { if($_G['inajax']) { dheader('Location:member.php?mod=logging&action=login&inajax=1&infloat=1');exit;?><?php } else { dheader('Location:member.php?mod=logging&action=login');exit;?><?php } } include template('common/header'); if($_G['inajax']) { ?>
<div class="tip" style="height:150px;">
<dt id="messagetext">
<p><?php echo $show_message;?></p>
        <?php if($_G['forcemobilemessage']) { ?>
        	<p >
            	<a href="<?php echo $_G['setting']['mobile']['pageurl'];?>" class="mtn">继续访问</a><br />
                <a href="javascript:history.back();">返回上一页</a>
            </p>
        <?php } if($url_forward && !$_GET['loc']) { ?>
<!--<p><a class="grey" href="<?php echo $url_forward;?>">点击此链接进行跳转</a></p>-->
<script type="text/javascript">
setTimeout(function() {
window.location.href = '<?php echo $url_forward;?>';
}, '3000');
</script>
<?php } elseif($allowreturn) { ?>
<p><input type="button" class="button" onclick="popup.close();" value="关闭"></p>
<?php } ?>
</dt>
</div>
<?php } else { ?>

<!-- header start -->
<div class="wk_header">
<header class="width100">
        <h1 class="wk_fl"><a href="portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
        <div class="wk_fr wk_nav"><div class="toggle-btn wk_hmenu"><span class="icon-i"></span><span class="icon-i"></span><span class="icon-i"></span></div></div>
    </header>
</div>
<div class="clear"></div>
<!-- header end -->
<!-- main jump start -->
<div class="wk_shjump">
<div><?php echo $show_message;?></div>
    <?php if($_G['forcemobilemessage']) { ?>
<p class="cl">
            <a href="<?php echo $_G['setting']['mobile']['pageurl'];?>"  class="wk_jump_c" style="color:#FFF;">继续访问</a><br />
            <a href="javascript:history.back();" class="wk_jump_ba" style="color:#FFF;">返回上一页</a>
        </p>
    <?php } if($url_forward) { ?>
<p><a href="<?php echo $url_forward;?>" class="wk_jump_b" style="color:#FFF;">点击此链接进行跳转</a></p>
<?php } elseif($allowreturn) { ?>
<p><a href="javascript:history.back();" class="wk_jump_b" style="color:#FFF;">[ 点击这里返回上一页 ]</a></p>
<?php } ?>
</div>
<!-- main jump end -->

<?php } include template('common/footer'); ?>