帝国cms修改评论的方法

帝国cms修改评论的方法

来源:帝国CMS模板网 作者:帝国CMS教程 时间:2009-11-25
浏览:8.9千+ 收藏 点赞(4)
简介: script    function CheckPl(obj)    {    if(obj.saytext.value==)    {    alert(您没什么话要说吗?);    obj.saytext.focus();    return false;
<script>
    function CheckPl(obj)
    {

    if(obj.saytext.value=="")
    {
    alert("您没什么话要说吗?");
    obj.saytext.focus();
    return false;
    }
    return true;
    }
    </script>
      <div class="commentsList">
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="0">
       <form action="[!--news.url--]e/enews/index.php" method="post" name="saypl" id="saypl" onSubmit="return CheckPl(document.saypl)">
        <tr>
         <td>用户名:<input name="username" type="text" class="inputText1" id="username" value="" size="20" /></td>
         <td style="display:none;"><input name="nomember" type="checkbox" id="nomember" value="1" checked="checked" /></td>
        </tr>
        <tr>
          <td>
            <textarea name="saytext" cols="80" rows="3" id="saytext" class="inputText2"></textarea></td>
        </tr>
       <tr>
          <td>
<script src="[!--news.url--]d/js/js/plface.js"></script></td>
        </tr>
        <tr>
         <td>
<input name="imageField" type="image" src="/e/data/images/postpl.gif" border="0" />
<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>
       </form>
      </table>
     </div>
帝国CMS模板网 帝国CMS模板网(www.daixiao360.cn)长期承接帝国CMS模板定制,帝国CMS仿站,帝国CMS采集规则,帝国CMS插件,帝国CMS二次开发。