<!-start->
<link href="css/commentquery_pw.css" rel="stylesheet" type="text/css" />
<link href="css/pages.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="{#CP#}js/comment.js"></script>

<div id="commentquery">

<ul>
<!-start->


<!-list-> 
<li>
<table width="100%"  border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="85" valign="top">
		<div class="face"><a href="{#memberurl#}"><img src="{#face#}" width="70" border="0" /></a>
		</div></td>
      <td valign="top" >
	 <a href="{#link#}" target="{#target#}" class="bt" >{#title#}</a> {#dtime#} BY <a href="{#memberurl#}" >{#pname#}</a>
		
		
		<div style="margin:10px 0px;line-height:18px">
		{#body#}
		</div>
		<div class="cl">共被查看 {#cl#} 次 已有 {#backcount#} 个回复 &nbsp; 最后回复：{#dtime#} BY {#lastname#}</div>
		</td>
    </tr>
  </table>

</li>
<!-list->
<!-end->
</ul>

</div>


<div id="showpages">
	  <div id="pagesinfo">共{#totalnums#}条 每页{#pagesshownum#}条 页次：{#pagesnow#}/{#pagestotal#}</div>
	  <div id="pages">{#showpages#}</div>
</div>



<div id="commentForm" style="display:{#showform#}">
	<div class="formtitlebg">
		<div class="formtitle">发帖/留言</div>
	</div>

<div class="formzone">
<a name="feedback"></a>
<div  id="notice" class="noticediv"></div>

<form id="commentSend" action="" method="post" name="commentSend">
      
<div class="row">
<div class="left">选择分类</div>
<div class="con">
<select name="catid">
{#catlist#}
</select>
</div>
</div>

<div class="row">
<div class="left">发贴主题</div>
<div class="con">
<input name="title" type="text" class="input" style="width:475px" />
</div>
</div>

<div class="row">
<div class="left">发贴内容</div>
<div class="con">
<input type="hidden" name="body" value="" />
<input type="hidden" name="useedit" value="1" />
			<div id="kedit" style="position:relative">
			<script type="text/javascript" src="{#RP#}kedit/simpleEditor.js"></script>
            <script type="text/javascript">
            var editor = new KindEditor("editor");
            editor.hiddenName = "body";
            editor.editorWidth = "480px";
            editor.editorHeight = "200px";
            editor.skinPath = "{#RP#}kedit/skins/default/";
			editor.uploadPath = "{#RP#}comment/upload.php";
			editor.imageAttachPath="comment/pics/";
            editor.iconPath = "{#RP#}kedit/icons/";
            editor.show();
            function KindSubmit() {
	          editor.data();
            }
             </script>
		  </div>
</div>
</div>


<div class="row">
<div class="left">验 证 码</div>
<div class="con">
<table border="0" cellspacing="1" cellpadding="0" height="20">
<tr>
<td >
<input type="text" name="ImgCode" style="width:55px"  class="input" >
</td>
<td>
<img id="codeimg" src="{#RP#}codeimg.php" width="60" height="20" style="border:1px #dddddd solid">
							 
</td>
<td><span id="getImgCode" style="cursor:pointer;margin-left:10px;line-height:20px">看不清？更换一张</span></td>
</tr>
</table>
</div>
</div>

<div class="row">
	
	<div  style="float:left;line-height:30px;margin:0px 10px 0px 98px">
	<input id="nomember"  name="nomember" type="checkbox" value="1" checked="true" /> 匿名发表&nbsp; 
	</div>

	<div id="notLogin" style="display:none;float:left;line-height:33px">您尚未登录 <span class="loginlink">登录</span> | <a href="{#RP#}member/reg.php" class="nomal">注册</a></div>
	<div id="isLogin" style="display:none;float:left;line-height:33px">您已登录,登录账号: <span id="username"></span> &nbsp; | &nbsp;<a href="{#RP#}member/" class="nomal">会员中心</a> | &nbsp;<span class="logoutlink">退出</span></div>
	
</div>

<div class="row">
	<div style="text-align:left;padding:5px 3px 0px 100px">
	<input type="submit" name="cc" onClick="KindSubmit();" value="提交"  class="submit" />
	<input name="rid" type="hidden" id="rid" value="{#rid#}" />
	<input type="hidden" name="pid" value="0" />
	<input type="hidden" name="act" value="commentsend" />
	<input name="nowpage" type="hidden" id="nowpage" value="" />
	</div>

</div>


</form>
</div>
</div>


<!-end->