<?php /* Smarty version 2.6.17, created on 2018-04-23 11:34:42
         compiled from error.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php if ($this->_tpl_vars['error'] == 1): ?><div class="wrapper wrapper_404 clear">    
    <div class="v_404_box center">    
        <p><img src="<?php echo $this->_tpl_vars['web_cfg']['cdn']; ?>
/public/static/img/error_icon.png"></p>
        <p><?php echo $this->_tpl_vars['data']['msg']; ?>
</p>
        <!-- <p><a href="<?php echo $this->_tpl_vars['data']['back_url']; ?>
" class="submit_btn_style"><?php echo $this->_tpl_vars['data']['back_text']; ?>
</a></p> -->
        <p><a href="<?php echo $this->_tpl_vars['listUrl']; ?>
" class="submit_btn_style">更多活动</a></p>
    </div>
</div>
<?php endif; ?>

<?php if ($this->_tpl_vars['error'] == 2): ?><div class="wrapper wrapper_404 clear">    
    <div class="v_404_box center">    
        <p><img src="<?php echo $this->_tpl_vars['web_cfg']['cdn']; ?>
/public/static/img/error_icon.png"></p>
        <p>OMG~<br>获取授权失败!</p>
        <p><a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
/connect/" class="submit_btn_style">重新登录</a></p>
    </div>
</div>
<?php endif; ?>

<?php if ($this->_tpl_vars['error'] == 3): ?><div class="wrapper wrapper_404 clear">    
    <div class="v_404_box center">    
        <p><img src="<?php echo $this->_tpl_vars['web_cfg']['cdn']; ?>
/public/static/img/error_icon.png"></p>
        <p>页面未找到!</p>
        <p><a href="<?php echo $this->_tpl_vars['listUrl']; ?>
" class="submit_btn_style">更多活动</a></p>
    </div>
</div>
<?php endif; ?>

<!--底部提示关注层-->
<script>
//关闭分享按钮
document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
	WeixinJSBridge.call('hideOptionMenu');
});
</script>
</body>
</html>