<?php include_once tpl('header');?>
<card title="<?php echo setting('webname');?>">
<onevent type="ontimer">
<go href="<?php echo $forward;?>" method="get"/>
</onevent>
<timer value="<?php echo isset($sleep) ? $sleep : 120000;?>" />
<p align="left">
<?php if (!empty($message)):?>
    <?php if (is_array($message)):?>
        <?php foreach ($message as $value):?>
            <?php echo $value;?><br/>
        <?php endforeach;?>
    <?php else:?>
        <?php echo $message;?><br/>
    <?php endif;?>
<?php else:?>
    非法访问<br/>
<?php endif;?>
<?php if (isViewAd()):?>
【精彩内容不可错过】
<br/>
<?php echo randAd();?>
<?php echo randAd();?>
<?php echo randAd();?>
<?php echo randAd();?>
<?php echo randAd();?>
<?php endif;?>
<?php if (!empty($goto)):?><?php echo $goto;?><br/><?php endif;?>
<anchor>返回上级<prev/></anchor>
<br/>
<?php include_once tpl('footer');?>