<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="{viicms::RES}/css/weimob-ui-1-1.css" media="all" />
<link rel="stylesheet" type="text/css" href="{viicms::RES}/css/common.css" media="all" />
<link rel="stylesheet" type="text/css" href="{viicms::RES}/css/list-1.css" media="all" />

<link rel="stylesheet" type="text/css" href="{viicms::RES}/css/template/common.css" media="all" />
<link rel="stylesheet" type="text/css" href="{viicms::RES}/css/template/reset.css" media="all" />
<link rel="stylesheet" type="text/css" href="{viicms::RES}/css/template/list-10.css" media="all" />
<if condition="$menuid gt 0">
<link rel="stylesheet" type="text/css" href="{viicms::RES}/css/menu-2.css?2013-10-21-2" media="all" />
</if>
<script type="text/javascript" src="{viicms::RES}/js/jQuery.js"></script>
<script type="text/javascript" src="{viicms::RES}/js/swipe.js"></script>
<script type="text/javascript" src="{viicms::RES}/js/zepto.js"></script>
<title>{viicms:$home['webname']}</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="keywords" content="{viicms::C('keyword')}" />
<meta name="description" content="{viicms::C('content')}" />
<!-- Mobile Devices Support @begin -->
<meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<meta content="telephone=no, address=no" name="format-detection">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<!-- Mobile Devices Support @end -->
<link rel="shortcut icon" href="/tpl/static/favicon.ico" />
<style>
img {
	width:100%!important;
}
</style>
</head>
<body onselectstart="return true;" ondragstart="return false;">
<link rel="stylesheet" type="text/css" href="{viicms::RES}/css/font-awesome.css?v=2013-08-17" media="all" />
<div class="weimob-page">
  <div class="top_bar">
    <nav>
      <ul class="top_menu">
        <li onClick="window.history.go(-1);"><span class="icon-chevron-sign-left"></span></li>
        <li onClick="location.href='{viicms::U('Index/index',array('token'=>$tpl['token']))}'"><span class="icon-home"></span></li>
        <li><a href="tel:<if condition="$homeInfo.dianhua neq false">{viicms:$homeInfo.dianhua}
          <else/>
          没有留电话
          </if>
          "><span class="icon-phone"></span></a></li>
         <li onClick="$('#menu_font').toggleClass('hidden');"> <span class="icon-list-ul"></span>
          <ul id="menu_font" class="menu_font hidden" onClick="$('#menu_font').toggleClass('hidden');">
            <volist name="info" id="vo">
              <li> <a href="<if condition="$vo['url'] eq ''">{viicms::U('Wap/Index/lists',array('classid'=>$vo['id'],'token'=>$vo['token']))}
                <else/>
                {viicms:$vo.url|htmlspecialchars_decode}
                </if>
                " class="{viicms:$vo.icon}">
                {viicms:$vo.name} </a> </li>
            </volist>
          </ul>
        </li>
      </ul>
    </nav>
  </div>
    <section>

    <div class="weimob-list">
      <div align="center" >{viicms:$notice}</div>
      <volist name="res" id="so">
        <if condition="$so['url']">
        <a class="weimob-list-item" href="{viicms:$so.url}">
        <else />
        <a class="weimob-list-item" href="{viicms::U('Index/content',array('id'=>$so['id'],'token'=>$so['token'],'wecha_id'=>$wecha_id,'weiwin'=>'mp.weixin.qq.com'))}">
        </if>
        <div class="weimob-list-item-line">
          <div class="weimob-list-item-title">{viicms:$so.title}</div>
        </div>
        <div class="weimob-list-item-icon-two icon-arrow-r" style="display:none;"></div>
        </a> </volist>
    </div>
 </section>
<!--
下一页 上一页 开始
-->
  <section id="Page_wrapper">
    <div id="pNavDemo" class="c-pnav-con">
      <section class="c-p-sec">
        <div class='c-p-pre <eq name="p" value="1"> c-p-grey </eq> '><span class="c-p-p"><em></em></span><a 
          <eq name="p" value="1">
            <else/>
            href="{viicms::C('site_url')}/index.php?g=Wap&m=Index&a=lists&classid=
            <php>echo $_GET['classid'];</php>
            &token={viicms:$tpl.token}&p=
            <php>echo $p-1;</php>
            "</eq>
          >上一页</a></div>
        <div class="c-p-cur">
          <div class="c-p-arrow c-p-down"><span>{viicms:$p}/{viicms:$page}</span><span></span></div>
          <select class="c-p-select" onChange="dourl('{viicms::C('site_url')}/index.php?g=Wap&m=Index&a=lists&classid=<php>echo $_GET['classid'];</php>&token={viicms:$tpl.token}&p='+this.value)">
            <?php
			for($i=1;$i<=$page;$i++){
				if($i==$p){
					echo '<option value="'.$i.'" selected>第'.$i.'页</option>';
				}else{
					echo '<option value="'.$i.'">第'.$i.'页</option>';
				}
			}
		?>
          </select>
        </div>
        <div class='c-p-next <eq name="p" value="$page"> c-p-grey </eq>'  >
          <?php
	if($p<$page){
		echo '<a href="'.C('site_url').'/index.php?g=Wap&m=Index&a=lists&classid='.(int)$_GET['classid'].'&token='.$tpl['token'].'&p='.($p+1).'">';
	}else{
		echo '<a>';
	}
?>
          下一页</a><span class="c-p-p"><em></em></span></div>
      </section>
    </div>
  </section>
  <!--
下一页 上一页 结束
-->
</div><br>
<include file="Public:footer"/>
</body>
</html>