{{include file=head.tpl}}
	<div class="category">
		<div class="category_left">
			<div class="category_left_list">
				<div class="sort">
					<span>搜索列表</span>
					<span></span>
				</div>
				<ul class="list">
					<if condition="$getlist">
					<foreach array="getlist">
					<li>
						<a href="{{	U(['aid'=>$row[aid],'cid'=>$row[cid]])}}" title="{{$row[title]}}">{{Get_word_strpos($row[title],'20');}}</a>
						<span class="time">{{date("Y-m-d H:i",$row[posttime]);}}</span>
					</li>
					</foreach>
					<else>
					<div class="none">
						没有查询到相关信息
					</div>
					</if>
				</ul>
				<div class="c"></div>
				<div class="page">{{$Get_Page}}</div>
			</div>
		</div>
		<div class="category_right">
			<div class="category_right_content main_content_2">
				<div class="sort">
					<span>最新图片</span>
					<span>
						<a href="{{U(['cid'=>2])}}">更多》</a>
					</span>
				</div>
				<ul class="photo_list list">
					<foreach array="new_photo">
						<li>
							<a href="{{U(['aid'=>$row[aid],'cid'=>$row[cid]])}}" title="{{$row[title]}}">
								<img src="{{get_img_url($row['thumb'])}}" alt="{{$row[title]}}"/>
								<div class="title">{{$row[title]}}</div>
							</a>	
						</li>
					</foreach>
				</ul>
			</div>
			<div class="category_right_content main_content_2">
				<div class="sort">
					<span>最新资讯</span>
					<span>
						<a href="{{U(['cid'=>1])}}">更多》</a>
					</span>
				</div>
				<ul class="list">
					<sql out="news" from="jab.article"  select="*" start_limit="0" where="state='1'" order="aid" by="desc" limit="10">
					<foreach array="news">
						<li>
							<a href="{{U(['aid'=>$row[aid],'cid'=>$row[cid]])}}" title="{{$row[title]}}">{{$row[title]}}</a>
							<span class="time">{{date('Y-m-d H:i:s',$row[posttime])}}</span>
						</li>
					</foreach>
				</ul>
			</div>
		</div>
		<div class="c"></div>
	</div>
{{include file=foot.tpl}}
