<!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" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>{aspmps:field.title} - {aspmps:global.cfg_sitename} - Powered by Aspmps</title>
<meta name="keywords" content="{aspmps:field.keywords}" />
<meta name="description" content="{aspmps:field.description}" />
<meta name="generator" content="aspmps v{aspmps:global.cfg_version}" />
<meta name="author" content="www.aspmps.com" />
<link rel="stylesheet" href="{aspmps:global.cfg_skinurl}/style/common.css" type="text/css" />
<link rel="stylesheet" href="{aspmps:global.cfg_skinurl}/style/view.css" type="text/css" />
<script type="text/javascript">var id={aspmps:field.id};</script>
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/config.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/jquery.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/jquery.thickbox.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_skinurl}/js/common.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_skinurl}/js/view.js"></script>
</head>
<body>
<div id="aspmps_layout">
<!--#include file="head.tpl"-->
	<div id="aspmps_location"><h4>您所在的位置：{aspmps:field.location}</h4></div>
	<div id="aspmps_body">	
		<div class="viewtitle">
			<h1>{aspmps:field.title}</h1>
			<div class="info">
				<ul>
					<li class="clicks">浏览次数：<span id="clicks"></span></li>
					<li class="time">发布时间：<span>{aspmps:field.addtime}</span></li>
				</ul>
			</div>
		</div>
		<div class="leftbox">
			<div class="viewbox">
				{aspmps:asp}
					if {aspmps:field.rank}>0 then
						response.write "<div class=""top""></div>"
					end if
				{/aspmps:asp}
				<div class="box1">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td class="user">
								<div class="user">
								{if:{aspmps:field.userid}=0}
									<div class="avatar"><img src="{aspmps:global.cfg_baseurl}/file/images/avatar.gif" /></div>
									<ul>
										<li class="username">发布者:<strong>游客</strong></li>
										<li class="phone">电话:<strong>{aspmps:field.telephone}</strong></li>
										<li class="qq">QQ:<strong>{aspmps:field.qq}</strong></li>
									</ul>
								{else}
									{aspmps:member $table=[aspmps_member] $row=1 $field=[username],[avatar] $where=[id] = {aspmps:field.userid} $cache=10}
									<div class="avatar"><img src="{aspmps:global.cfg_baseurl}[member:avatar $empty=/file/images/avatar.gif]" /></div>
									<ul>
										<li class="username">用户名:<strong>[member:username]</strong></li>
										<li class="phone">电话:<strong>{aspmps:field.telephone}</strong></li>
										<li class="qq">QQ:<strong>{aspmps:field.qq}</strong></li>
									</ul>
									{/aspmps:member}
								{end if}
									<div class="infoedit">
										 <input type="button" value="删除信息" id="delete" />
										 <input type="button" value="举报信息" id="report" />
									</div>
								</div>
							</td>
							<td class="fields">
								<div class="fields">
									<table width="100%" border="0" cellspacing="1" cellpadding="0">
										<tr>
											<th><strong>信息分类：</strong></th>
											<td>{aspmps:field.classname}</td>
										</tr>
										<tr>
											<th><strong>地区：</strong></th>
											<td>{aspmps:field.districtname}</td>
										</tr>
										{aspmps:field $sql=select * from [aspmps_info_fielddata] where [infoid] = {aspmps:field.id} $cache=10}
										<tr>
											<th><strong>[field:name]：</strong></th>
											<td>[field:data]</td>
										</tr>
										{/aspmps:field}
									</table>
								</div>
								<div class="telephone">
									<dl>
										<dt>{aspmps:field.name}<span>({aspmps:field.usertype})</span></dt>
										<dd>{aspmps:field.telephone}</dd>
									</dl>
								</div>
							</td>
						</tr>
					</table>
				</div>
				<div class="title">
					<div class="current">详细信息</div>
					<div class="default"><a href="#photo">信息图片</a></div>
					<div class="default"><a href="#contact">联系方式</a></div>
					<div class="id">信息编号：<span>{aspmps:field.id}</span></div>
				</div>
				<div class="content">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td>{aspmps:field.content}</td>
						</tr>
					</table>
					<div class="photo" id="photo">
						<a name="photo"></a>
						<ul>
							{aspmps:pictures $sql=select [id],[filename] from [aspmps_uploadfile] where [channelid]=1 and [infoid] = {aspmps:field.id} $cache=10}
							<li><a href="[pictures:filename]" target=""_blank""><img src="[pictures:filename]" /></a></li>
							{/aspmps:pictures}
						</ul>
					</div>
					<div class="telephone">
						<a name="contact"></a>
						<dl>
							<dt>{aspmps:field.name}<span>({aspmps:field.usertype})</span></dt>
							<dd>{aspmps:field.telephone}</dd>
						</dl>
					</div>
					<div style="clear:both"></div>
				</div>
			</div>
		</div>

		<div class="rightbox">
			<div class="menu box2">
				<div class="title">分类导航</div>
				<div class="infoclass">
					<ul>
						{aspmps:class $sql=select * from [aspmps_info_class] where id in({aspmps:field.fatherids}) order by [order] desc,[id] desc $cache=10}
						<li{if:[class:id]={aspmps:field.classid}} class="current"{end if}><a href="[class:url]" target="_blank">[class:name]</a></li>
						{/aspmps:class}
					</ul>
				</div>
				<div class="infosearch">
					<form action="{aspmps:global.cfg_baseurl}/plus/info.asp" method="get" target="_blank">
						<input name="classid" type="hidden" value="{aspmps:field.classid}" />
						<input name="keyword" type="text" class="keyword" id="s_keyword" />
						<input type="submit" value="搜索" class="submit" id="s_submit" />
					</form>
				</div>
			</div>
		</div>
	</div>

<!--#include file="foot.tpl"-->

</div>
</body>
</html>
