<?exit?>
<!--{eval include template($tpldir.'/header.html.php', 1);}-->
<!--{eval $ads2 = getad('system',$modelsinfoarr[modelname], 2);}-->
<!--{if !empty($ads2['pageheadad'])}-->
<div class="adbanner">$ads2[pageheadad]</div>
<!--{/if}-->
<div class="models-content">
	<div class="models-main">
		<div class="models-nav">
			您的位置：<a href="{S_URL}/">$_SCONFIG[sitename]</a>
			<!--{loop $guidearr $value}-->
			&gt;&gt; <a href="$value[url]">$value[name]</a>
			<!--{/loop}-->
		</div>
		<div class="models-articletitle">
			<h1>$item[subject]</h1>
			<p>发布者：$item[username]&nbsp;&nbsp;浏览次数：$item[viewnum]&nbsp;&nbsp;发布时间：#date('Y-n-d H:i', $item["dateline"])#
				&nbsp;&nbsp;评论数：$item[replynum]</p>
		</div>
		<!--{if !empty($ads2['pagecenterad'])}-->
		<div class="adbox">
			$ads2[pagecenterad]
		</div>
		<!--{/if}-->
		<!--{if !empty($modelsinfoarr['allowcomment'])}-->
			<!--{if !empty($iarr)}-->
			<dl class="models-commentlist">
				<!--{loop $iarr $value}-->
				<dt>
					<span style="float: right;">
					<a href="#action/modelcomment/name/$modelsinfoarr[modelname]/itemid/$value[itemid]/cid/$value[cid]/op/delete/php/1#">删除</a> 
					<!--{if !empty($value['message'])}-->
					<a href="javascript:;" onclick="getModelQuote('$modelsinfoarr[modelname]', '$value[cid]')">引用</a>
					<!--{/if}-->
					</span>
					<!--{if empty($value[authorid])}-->
					$value[author]
					<!--{else}-->
					<a href="#uid/$value[authorid]#" target="_blank" class="author">$value[author]</a>
					<!--{/if}-->
					&nbsp; 评论时间 #date("Y-n-d H:i:s", $value["dateline"])#
				</dt>
				<dd>
					<!--{if !empty($value['message'])}-->
					$value[message]
					<!--{/if}-->
				</dd>
				<!--{/loop}-->
			</dl>
			<div class="pages">
				<div class="models-page">
					$multipage
				</div>
			</div>
			<!--{/if}-->

			<div class="models-commentwrite">
				<h3>我来说两句</h3>
				<form id="postcomm" action="#action/modelcomment/itemid/$item[itemid]/name/$modelsinfoarr[modelname]/php/1#" method="post">
					<p><label for="messagecomm">内 容：</label><textarea id="messagecomm" name="messagecomm"  cols="100%" rows="5"></textarea></p>
					<!--{if empty($_SCONFIG['noseccode'])}-->
					<p><label for="seccode">验 证：</label><input type="text" id="seccode" name="seccode" class="submitcode" value="" size="5" /> <img id="xspace-imgseccode" src="{S_URL}/batch.seccode.php" onclick="javascript:newseccode(this);" alt="seccode" title="看不清？点击换一个" /></p>
					<!--{/if}-->
					<p><button type="submit" id="submitcomm" name="submitcomm" value="submit" class="submitcomm">发表评论</button>
					<input type="hidden" id="itemid" name="itemid" value="$item[itemid]" />
					<input type="hidden" id="name" name="name" value="nxnaown" /></p>
				</form>
			</div>
		<!--{/if}-->
	</div>
	<div class="models-side">
		<!--{if !empty($cacheinfo[perms][$_SGLOBAL[supe_uid]])}-->
		<div class="models-sideblock">
			<a href="javascript:;" onclick="javascript:OpenWindow('$siteurl/admincp.php?action=modelmanages&mid=$modelsinfoarr[mid]','check',770,500);" title="信息管理"><img src="$siteurl/$tpldir/images/models_btn_admin.jpg" title="信息管理" /></a>
		</div>
		<!--{/if}-->
		<!--{if $modelsinfoarr[allowpost]}-->
		<div class="models-sideblock">
			<a href="$posturl" title="发布信息"><img src="$siteurl/$tpldir/images/models_btn_vote.jpg" alt="发布信息"/></a>
		</div>
		<!--{/if}-->
		<!-- 用户面板 -->
		<div class="models-sidelogin">
			<script src="{S_URL}/batch.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script>
		</div>
		<!--{if !empty($gatherarr)}-->
		<!--{loop $gatherarr $key $value}-->
		<!--{if !empty($value)}-->
		<div class="models-sidetags">
			<h3>$cacheinfo[columns][$key][fieldcomment]</h3>
			<p>
				<!--{loop $value $tmpvalue}-->
				<a href="$siteurl/m.php?name=$modelsinfoarr[modelname]&mo_$key=<!--{eval echo rawurlencode($tmpvalue);}-->">$tmpvalue</a>
				<!--{/loop}-->
			</p>
		</div>
		<!--{/if}-->
		<!--{/loop}-->
		<!--{/if}-->
	</div>
</div>
<!--{if !empty($ads2['pagefootad'])}-->
<div class="adbox">$ads2[pagefootad]</div>
<!--{/if}-->

<!--{if !empty($ads2['pagemovead']) || !empty($ads2['pageoutad'])}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($ads2['pageoutad'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, "<div style=\"position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;\"><!--{eval echo jsstrip($ads2['pageoutad']);}--><\/div>").floatIt();
<!--{/if}-->
<!--{if !empty($ads2['pagemovead'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, "<div style=\"position: absolute; left: 6px; top: 6px;\"><!--{eval echo jsstrip($ads2['pagemovead']);}--><br \/><img src=\"{S_URL}/images/base/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"><\/div><div style=\"position: absolute; right: 6px; top: 6px;\"><!--{eval echo jsstrip($ads2['pagemovead']);}--><br \/><img src=\"{S_URL}/images/base/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"><\/div>").floatIt();
<!--{/if}-->
</script>
<!--{/if}-->

<!--{if !empty($ads2['pageoutindex'])}-->
$ads2[pageoutindex]
<!--{/if}-->
<!--{eval include template($tpldir.'/footer.html.php', 1);}-->