<!doctype html>
<html lang="zh_CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"  />
<meta name="apple-mobile-web-app-capable" content="yes">
<title>{?$cname?}频道_{?$saxue_sitename?}手机版</title>
<link rel="stylesheet" href="{?$saxue_skin_url?}/css/touch-app.css" />
<link rel="apple-touch-startup-image" href="{?$saxue_skin_url?}/images/320x460.png" />
<link rel="apple-touch-icon" apple-touch-icon-precomposed="false" sizes="57x57" href="{?$saxue_skin_url?}/images/cover.png"/>
<script src="{?$saxue_skin_url?}/js/zepto.min.js"></script>
<script src="{?$saxue_skin_url?}/js/app.js"></script>
<script>(function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(d.href.indexOf("http")||~d.href.indexOf(e.host))&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone")</script>
</head>
<body>
<div class="AdPositionId"><script>ad_header();</script></div>
<div class="ui-container">
    <header>
        <div class="ui-header-bar">
            <a href="/" class="ui-gohomepage"></a>
            <div class="ui-pagetitle">{?$cname?}</div>
            <div class="ui-menu-trigger js-menubtn-top"></div>
        </div>
    </header>
    <div class="ui-cateandsearch js-category-search">
		<!-- 栏目导航 -->
		{?include file = "menu.html"?}
		<!-- @end 栏目导航 -->
	</div>
	<section class="mod_cata">
		<ul class="clearfix">{?section name=i loop=$catedir?}<li><a{?if $catedir[i].cid==$cid?} class="cur"{?/if?} href="{?$catedir[i].curl?}">{?$catedir[i].cname?}</a></li>{?/section?}</ul>
	</section>
	<section class="ui-articles-container">
        <div class="ui-section-block">
			<div class="ui-mod-lists ui-cate-list ui-category-list ui-model-left">
				<div class="ul">
					{?section name=i loop=$rows?}
					<div class="ui-mod-picsummary ui-border-bottom-gray js-container">
						<a href="{?$rows[i].url?}">{?if $rows[i].isslide==1?}
							<h3 class="ui-title">{?$rows[i].title?}</h3>{?section name=j loop=$rows[i]['album']?}
							<img class="ui-album" src="{?$j.value?}"/>{?/section?}{?else?}
							{?if $rows[i].isthumb==1?}<img class="ui-pic" src="{?$rows[i].thumb?}">{?/if?}
							<h3 class="ui-title">{?$rows[i].title?}</h3>
							<div class="ui-summary" style="word-wrap:break-word; white-space:pre-wrap;">{?$rows[i].intro|cutstr:60?}...<div class="ui-comment-count">{?$rows[i].addtime|date:'m-d'?}</div></div>{?/if?}
						</a>
					</div>
					{?/section?}
				</div>
				<a class="ui-more">点击查看更多</a>
			</div>
			<div class="clearfix"></div>
		</div>
    </section>
</div>
{?include file = "footer.html"?}
<script src="{?$saxue_skin_url?}/js/scrolllist.js"></script>
<script>
$(function() {
	var list = $('.ui-mod-lists > .ul');
	new ScrollList({
		url: '{?$cpage?}',
		item: '.js-container',
		trigger: list.next('.ui-more'),
		container: list,
		page: {?$Saxue.request.page?},
		totalpage: {?$totalpage?}
	})
})
</script>
</body>
</html>
