<?php
		include("header.tpl.php");
		include("bodytop.tpl.php"); 
		include("navigation.tpl.php"); 
		?>
		<div class="g_navigation">
		<a href="index.php">网站首页</a> >> 搜索结果
		</div>
    <div class="clear"></div>
	<div id="searchlist">
       <div class="rl_u">&nbsp;</div>
		<div class="content"><h2>本次为您搜索到 <?php echo $totalrecord?> 条记录</h2><br />

		<table class="searchtable">
				<tr>
					<th class="search_title_label">标题</th>
					<th class="search_date_label">发布时间</th>
				</tr>

			<?php foreach($search_result as $key => $searchitem){?>
			<tr>
				<td class="search_title_label">
				<a href="<?php echo $searchitem['url']?>"><?php echo $searchitem['searchtitle']?></a>
				</a>
				</td>
				<td class="search_date_label">
					<?php echo gmdate('Y-n-j',$searchitem['subtime']+3600*8)?>
				</td>
			    </tr>
				<?php }?>
				</table>
		</div>
		<div class="rl_d">&nbsp;</div>

				<div class="pages_btns font_14">
				<?php echo $multipage?>
				</div>
	</div>
	<div class="clear"></div>

<?php
include("tail.tpl.php"); 
?>
