<?php /*a:1:{s:66:"D:\phpstudy\WWW\12xz\app\admin\view/default\public\jump_error.html";i:1782629701;}*/ ?>
<?php echo ModuleInclude('public/header'); ?>

<!-- right content start  -->
<div class="content-right">
    <div class="content">
        <div class="am-text-center am-margin-top-xl am-padding-xl">
            <p><i class="am-icon-info-circle am-icon-lg am-text-xl am-text-warning"></i></p>
            <p class="am-margin-top-xs am-text-sm"><?php if(isset($msg)): ?><?php echo htmlentities((string) $msg); else: ?><?php echo MyLang('operate_fail'); ?><?php endif; ?></p>
            <p class="am-margin-top-xl">
                <a href="<?php if(empty($url)): ?>javascript:history.go(-1)<?php else: ?><?php echo htmlentities((string) $url); ?><?php endif; ?>" class="am-text-primary"><?php echo MyLang('back_prev_page_name'); ?></a>
                <span class="am-margin-left-sm"><span class="wait-time"><?php if(empty($wait_time)): ?>5<?php else: ?><?php echo htmlentities((string) $wait_time); ?><?php endif; ?></span><?php echo MyLang('back_prev_time_auto_text'); ?></span>
            </p>
        </div>
    </div>
</div>
<!-- right content end  -->

<!-- footer start -->
<?php echo ModuleInclude('public/footer'); ?>
<script type="text/javascript">
    var interval = setInterval(function()
    {
        var time = parseInt($('.wait-time').text() || 5)-1;
        if(time <= 0)
        {
            clearInterval(interval);
            <?php if(empty($url)): ?>
                history.go(-1);
            <?php else: ?>
                window.location.href = '<?php echo htmlentities((string) $url); ?>';
            <?php endif; ?>
        } else {
            $('.wait-time').text(time);
        }
    }, 1000);
</script>