<?php /* Smarty version Smarty-3.1.8, created on 2015-11-21 16:23:16
         compiled from "D:\wwwroot\o2o\htdocs\themes\default\ucenter\message\index.html" */ ?>
<?php /*%%SmartyHeaderCode:16469565029d7cfbfa0-77194957%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1b11512cf60add916a9b5e8cac32d1d512a85bfe' => 
    array (
      0 => 'D:\\wwwroot\\o2o\\htdocs\\themes\\default\\ucenter\\message\\index.html',
      1 => 1448094193,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16469565029d7cfbfa0-77194957',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_565029d7dafac2_57125204',
  'variables' => 
  array (
    'status' => 0,
    'items' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_565029d7dafac2_57125204')) {function content_565029d7dafac2_57125204($_smarty_tpl) {?><?php if (!is_callable('smarty_function_link')) include 'D:\\wwwroot\\o2o\\htdocs\\system\\plugins/smarty\\function.link.php';
if (!is_callable('smarty_modifier_format')) include 'D:\\wwwroot\\o2o\\htdocs\\system\\plugins/smarty\\modifier.format.php';
if (!is_callable('smarty_modifier_cutstr')) include 'D:\\wwwroot\\o2o\\htdocs\\system\\plugins/smarty\\modifier.cutstr.php';
?><!DOCTYPE HTML>
<html>
    <head>
        <?php echo $_smarty_tpl->getSubTemplate ("xiche/block/sheader.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

       
    </head>
    <body>
 
       <header>
            <i class="left"><a id="icon_goback" href="<?php echo smarty_function_link(array('ctl'=>'ucenter/index'),$_smarty_tpl);?>
"></a></i>
            <div class="title">通知中心</div>
            <i class="right"></i>
        </header>
        <section class="page_center_box">
            <div class="order_top">
                <div class="order_chose"> <a href="<?php echo smarty_function_link(array('ctl'=>'ucenter/message:index','arg'=>1),$_smarty_tpl);?>
" <?php if ($_smarty_tpl->tpl_vars['status']->value==1){?> class="current" <?php }?> > 未浏览 </a> <a href="<?php echo smarty_function_link(array('ctl'=>'ucenter/message:index','arg'=>0),$_smarty_tpl);?>
" <?php if ($_smarty_tpl->tpl_vars['status']->value==0){?> class="current" <?php }?> > 已浏览 </a> </div>
            </div>
            <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['items']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
            <div class="message_list">
                <?php if ($_smarty_tpl->tpl_vars['item']->value['is_read']==0){?><i class="notbw"></i> <?php }else{ ?><i class="overbw"></i><?php }?>
                <div class="message_box">
                    <h4>
                        <span class="fl"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</span><span class="fr graycl"><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['item']->value['dateline'],'m-d H:i');?>
</span><p class="clear"></p>
                        <?php if ($_smarty_tpl->tpl_vars['item']->value['type']==1){?><i class="meg_bag"></i><?php }else{ ?><i class="meg_qx"></i><?php }?>
                    </h4>
                    <a href="<?php echo smarty_function_link(array('ctl'=>'ucenter/message:detail','args'=>$_smarty_tpl->tpl_vars['item']->value['message_id']),$_smarty_tpl);?>
"><span class="graycl"><?php echo smarty_modifier_cutstr($_smarty_tpl->tpl_vars['item']->value['content'],70);?>
</span>（点击查看详情）</a>
                </div>
            </div>
            <?php }
if (!$_smarty_tpl->tpl_vars['item']->_loop) {
?>
            <div class="order_no">
		<img src="/themes/default/mobile/static/images/mesIco1.png">
		<h2>暂无新消息</h2>
		<p class="graycl">亲，不急啊，消息总会有的！</p>
	</div>
            <?php } ?>
        </section>
        
         <script type="text/javascript">
        require(["zepto", "underscore", "frozen"], function($, _, fz) {
            $(document).ready(function () {
               $('#list3').addClass('on');
            });//首页轮播js
        });    
     </script>

        <?php echo $_smarty_tpl->getSubTemplate ("xiche/block/sfooter.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

    </body>
</html><?php }} ?>