帝国cms 评论表单简单改一下排版

 <script>

 function CheckPl(obj)
 {
 if(obj.saytext.value=="")
 {
 alert("您没什么话要说吗?");
 obj.saytext.focus();
 return false;
 }
 return true;
 }
 </script><form action="[!--news.url--]e/pl/doaction.php" method="post" name="saypl" id="saypl" onSubmit="return CheckPl(document.saypl)">
<table width="52%" border="0" cellpadding="0" cellspacing="0" id="plpost">
 
<tr>
 
 
<td width="33%" height="21"><strong>发表评论</strong></td>
<td></td><td></td><td></td>
<td align="right"><a href="[!--news.url--]e/pl/?classid=[!--classid--]&amp;id=[!--id--]">共有<span><script type="text/javascript" src="[!--news.url--]e/public/ViewClick/?classid=[!--classid--]&id=[!--id--]&down=2"></script></span>条评论</a></td>
</tr>
<tr>
<td colspan="5"><textarea name="saytext" cols="90" rows="6" id="saytext"></textarea></td><td width="1%"></td>
</tr>
<tr>
<td align="left">验证码:
<input name="key" type="text" class="inputText" size="10" />
<img src="[!--news.url--]e/ShowKey/?v=pl" align="absmiddle" name="plKeyImg" id="plKeyImg" onClick="plKeyImg.src='[!--news.url--]e/ShowKey/?v=pl&t='+Math.random()" title="看不清楚,点击刷新" /> </td>
<td width="20%" align="left">账号
  <input name="username" type="text" class="inputText" id="username" value="" size="5" /></td>
<td width="18%" align="left">密码
<input name="password" type="password" class="inputText" id="password" value="" size="5" /></td>
<td width="13%" align="left"><input name="nomember" type="checkbox" id="nomember" value="1" checked="checked" />
匿名发表</td>
<td width="15%">
<input name="imageField" type="image" src="[!--news.url--]e/data/images/postpl.gif"/>
<input name="id" type="hidden" id="id" value="[!--id--]" />
<input name="classid" type="hidden" id="classid" value="[!--classid--]" />
<input name="enews" type="hidden" id="enews" value="AddPl" />
<input name="repid" type="hidden" id="repid" value="0" />
<input type="hidden" name="ecmsfrom" value="[!--titleurl--]"></td>
</tr>
</table>
</td>
</tr>
</table></form>
 
 
 
改完之后的效果是这样的
09125e3dfa0dc6a64b4872145d94b624.jpg

·关于我们·免责声明·服务条款·RSS订阅·dede168.com技术支持

Copyright © 1998-2015  All rights reserved.