<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><?=$q?> 搜索结果</title>
<link href="../templets/info/style/cls_base.css" rel="stylesheet" type="text/css" />
<link href="../templets/info/style/cls_page.css" rel="stylesheet" type="text/css" />
</head>
<body>

<!--头部LOGO-->
<div class="toplogo cbody margintop">
	<div class="logobox">
		<img src="../templets/info/images/toplogo.gif" width="279" height="43" />
	</div>
	<div class="logoright">
		<ul>
			<li><a href="#">同城交友</a></li>
			<li><a href="#">招聘求职</a></li>
			<li><a href="#">跳蚤市场</a></li>
			<li><a href="#">学习与培训</a></li>
		</ul>
	</div>
</div>

<!--头部搜索-->
<div class="topbox cbody margintop">
	<!--搜索框-->
	<form action="infosearch.php?action=search" name="formsearch" method="post">
	<div class="searchbox">
		<dl>
			<dd class="sboxleft"><!--搜索框图标--></dd>
			<dd class="txtbox">
				<input type="text" name="q" value="" onmouseover="this.select();" onclick="this.value='';"  />
			</dd>
			<dd class="selectbox">
					<select name="areaid">
					<?=$areadata?>
					</select>
			</dd>
		</dl>
	</div>
	<!--按钮-->
	<div class="postbox">
		<input type="submit" value="搜索" class="sbut" />
		<a href="../member/do.php?action=add&channelid=-2" class="pbut">发布信息</a>
	</div>
	</form>
</div>

<!--主内容-->
<div class="main cbody margintop">
	<!--左侧-->
	<div class="pleft">
		<!--位置导航-->
		<div class="thisplace">
			<div class="title"><span>您的位置:</span></div>
			<div class="place"> <a href="../">首页</a> >> 关键词 "<?=$q?>" 搜索结果页:</div>

		</div>
		<!--信息列表-->
		<div class="dbox">
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
	$row['senddate'] = GetDateTimeMK($row['senddate']);
	$row['title'] = str_replace("$q","<strong style='color:red'>$q</strong>",$row['title']);
?>
			<dl>
				<dt><a href="/plus/view.php?aid=<?=$row['ID']?>&tid=<?=$row['typeid']?>" class="title"><?=$row['title']?></a> <a href="../member/index.php?id=<?=$row['memberID']?>" class="username"><?=$row['writer']?></a>  发布于 <span class="dtime"><?=$row['senddate']?></span></dt>
			</dl>
<?php
}
?>

		</div>

		<!--分页-->
		<div class="pages">
<?php echo $dlist->GetPageList(7);?>
		</div>
	</div>

	<!--右侧-->
	<div class="pright">

		<!--信息列表-->
		<div class="slist margintop">
			<dl>
				<dt>热门信息</dt>
				<dd>
					<ul>
<?php
if($hotinfos)
{
	foreach($hotinfos as $info)
	{
		echo '<li><a href="/plus/view.php?aid='.$info['ID'].'&tid='.$info['typeid'].'">'.$info['title']."</a></li>\n";
	}
}
?>
					</ul>
				</dd>
			</dl>
		</div>
	</div>
	<!--清除浮动-->
	<div class="floatclear"></div>
</div>


<!--页面底部-->
<div class="footer cbody margintop">
	<div class="copyright">
		Power by DedeCms Copyright 2004-2007 粤ICP备05010852号<br />
		<span>织梦内容管理系统(DedeCms)--国内最专业的PHP网站管理系统,轻松建站的首选利器. </span>
	</div>
	<div class="slogo">
		<a href="http://www.fzlok.com.cn" target="_blank"><img src="../templets/info/images/s_logo.gif" width="66" height="33" alt="" /></a>
	</div>
	<div class="floatclear"></div>
</div>

</body>
</html>