开发手册
-
散文随笔网...
散文随笔网是用HDHCMS开发的一家集会员注册、散文投稿的文学平台...[详情]
发布时间:2019/10/25 7:21:59 -
和动画漫影网官网...
和动画漫影网...[详情]
发布时间:2019/1/6 10:04:24
文章评论标签(请原样放于内容展示模块):
<div>
<form action="{hedonghua:indexlink}" method="post" >
<textarea style="width:98%;margin:auto 1%;height:80px;" required="required" name="DonforLr"></textarea>
<b>验证码:</b><input type="text" name="DonforYzm" required="required" value="" />
{hedonghua:yzm}<br />
<input type="submit" value="发表评论" />
<input type="hidden" name="get" value="1" />
<input type="hidden" name="DYj" value="{hedonghua:dyj}" />
<input type="hidden" name="DEj" value="{hedonghua:dej}" />
<input type="hidden" name="DSj" value="{hedonghua:dsj}" />
<input type="hidden" name="DId" value="{hedonghua:did}" />
<input type="hidden" name="DonforDo" value="hdhpl" />
</form>
</div>
文章评论分页显示标签调用(不带盖楼功能):
{hedonghua:comment pageno num=2}
<div>
<div>
[comment:donfornc] 发表评论 [comment:donforsj] ip:[comment:donforip]
</div>
[comment:donforlr]
</div>
{/hedonghua:comment}
文章评论分页标签(统一调用通用标签,请注意参数的设置):
{hedonghua:pageno comment num=2 sort=desc order=donforsj}
<a href="[page:first]">首页</a>
<a href="[page:front]">前一页</a>
{pagenum:2}
{class:class1}{checked:class2}
<a href="[page:url]" [class]>[page:num]</a>
{/pagenum}
<a href="[page:next]">后一页</a>
<a href="[page:last]">尾页</a>
{/hedonghua:pageno}
评论盖楼列表及回复标签综合使用:
{hedonghua:comment pageno num=20}
<div>
<div>
[comment:donfornc] 发表评论 [comment:donforsj] ip:[comment:donforip]
</div>
{comment:reply}
<span style="display:block;margin:2px;padding:2px;border:1px solid #efefef;background:#fff;">
[reply:comment]
[reply:donfornc]:[reply:donforlr]
</span>
{/comment:reply}
<span>
[comment:donforlr]
</span>
<span onClick="openclose('pl[comment:donforid]')">回复</span>
<div id="pl[comment:donforid]">
<form action="{hedonghua:indexlink}" method="post" >
<textarea style="width:98%;margin:auto 1%;height:80px;" required name="DonforLr"></textarea>
<input type="submit" value="回复此贴" />
<input type="hidden" name="get" value="1" />
<input type="hidden" name="DonforYt" value="[comment:donforid]" />
<input type="hidden" name="DYj" value="{hedonghua:dyj}" />
<input type="hidden" name="DEj" value="{hedonghua:dej}" />
<input type="hidden" name="DSj" value="{hedonghua:dsj}" />
<input type="hidden" name="DId" value="{hedonghua:did}" />
<input type="hidden" name="DonforDo" value="hdhpl" />
</form>
</div>
</div>
{/hedonghua:comment}
<div>
{hedonghua:pageno comment num=20 sort=desc order=donforsj}
<a href="[page:first]">首页</a>
<a href="[page:front]">前一页</a>
{pagenum:6}
{class:class1}{checked:class2}
<a href="[page:url]" [class]>[page:num]</a>
{/pagenum}
<a href="[page:next]">后一页</a>
<a href="[page:last]">尾页</a>
{/hedonghua:pageno}
<script type="text/javascript">
function openclose(doid){
if(document.getElementById(doid).style.display=="block"){
document.getElementById(doid).style.display="none";
}else{
document.getElementById(doid).style.display="block";
}
}
</script>