帝国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)">

 <div class="pltextarea">
     <textarea name="saytext" rows="6" id="saytext" class="pltextarea2"></textarea>
    </div>
    <div class="plmore">
        <input name="username" type="text"  id="username" value="" size="16" class="plusername"  placeholder="用户名"/>
        <input name="password" type="password"  id="password" value="" size="16"  class="plpassword" placeholder="密码"/>
       
      
       
       
        <input name="key" type="text"  size="10" class="plyanzhegnma" placeholder="验证码"/>
        <div class="plyanzhengmaimg">
         <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="看不清楚,点击刷新"/>
        </div>
        <div class="plniming">
            <input name="nomember" type="checkbox" id="nomember" value="1" checked="checked" />匿名发表
        </div>
        <div class="plqqlogin"><a href="#" onclick='toQzoneLogin()'>QQ登录</a></div>
        <input name="imageField" type="submit"  value="发布评论" class="plsubmit"/>
        <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--]">
    </div>
</form>
 

css样式

 

.pltextarea{ border:2px solid #CCC; border-bottom:none}
.pltextarea{ border:none}
.plmore{ background:#FFF; border:1px solid #CCC; border-top:none; height:36px; line-height:40px}
.plusername{height:36px; line-height:36px; width:100px; float:left ; border-top:none; border-bottom:none; border-left:none; padding-left:10px}
.plpassword{height:36px; line-height:36px; width:100px;float:left; border-top:none; border-bottom:none; border-left:none; padding-left:10px}
.plyanzhegnma{height:36px; line-height:36px;width:60px; float:left; border-top:none; border-bottom:none; border-left:none; padding-left:10px}
.plyanzhengmaimg{ float:left; height:26px; width:50px; padding-top:10px}
.plniming{ float:left; width:100px; height:36px}
.plqqlogin{ float:left; height:26px;line-height:28px; border:1px #CCC solid; border-radius:3px; margin-top:5px}
.plqqlogin:hover{ background:#CCC}
.plqqlogin a{float:left; height:26px; display:block; width:60px; background:url(../images/plqqlogin.png) no-repeat; padding-left:36px; background-position:0px -5px;}
.plsubmit{ float:right; height:36px; width:72px; background:#3D89E4; border:none; margin:0 0 0 0; color:#FFF; font-weight:bold}

 

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

Copyright © 1998-2015  All rights reserved.