dzzoffice/dzz/comment/template/reply_item.htm
2025-03-27 09:05:55 +08:00

103 lines
5.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="comment_$value1[cid]" class="cmt_fed">
<a name="comment_anchor_$value1[cid]"></a>
<div class="item_cfed">
<div class="left_icfed">
<a href="user.php?uid=$value1[authorid]" title="" hidefocus="true"> {eval echo avatar_block($value['authorid']);} </a>
</div>
<div class="right_icfed">
<div class="master_cfed">
<a href="user.php?uid=$value1[authorid]" title="" class="avatar_mcfed skip_cmfed" hidefocus="true">$value1[author]</a>
<!--{if $value1['rpost']}-->
<span class="amal_fed">{lang reply}</span>
<a href="user.php?uid=$value1[rpost][authorid]" title="" class="avatar_mcfed skip_cmfed" hidefocus="true" target="_blank">$value1[rpost][author]</a>
<!--{/if}-->
<span>$value1[message]</span>
</div>
<div class="attachment_fed">
<!--{loop $value1[attachs] $attach}-->
<div class="item_afed">
<!--{if $attach[isimage]}-->
<div class="pic_fed clearfix">
<div class="img_pfed">
<a class="min_ipfed" hidefocus="true" href="javascript:;"><img src="$attach[img]" data-original="$attach[img]&original=1" alt="$attach[title]" class=""></a>
</div>
</div>
<div class="file_fed imgfile_fed clearfix"> $attach[title]<span class="kb_nffed">($attach[filesize])</span>
<p class="down_ffed">
<a href="javascript:;" title="" hidefocus="true" class="btn_dffed skip_mmfed" onclick="feed_downAttach('$attach[qid]')">{lang download}
<!--{if $attach[downloads]>0}-->($attach[downloads]{lang degree})
<!--{/if}-->
</a>
<a href="javascript:void(0);" title="" hidefocus="true" class="save_dffed skip_mmfed" onclick="feed_attach_saveto('$attach[qid]')">{lang js_saved_my_documents}</a>
</p>
</div>
<!--{elseif $attach['type']=='video'}-->
<div class="file_fed file_fed_{$attach[type]} clearfix">
<div class="ico_ffed " style="margin-right:20px">
<a href="javascript:;" onclick="feed_attach_preview('$attach[qid]')"><img src="$attach[img]" alt="$attach[title]" class="videoclass50_50"></a>
</div>
<p class="name_ffed">$attach[title]</p>
<p class="down_ffed">
<!--{if $attach[preview]>0}-->
<a href="javascript:void(0);" title="" hidefocus="true" class="preview_dffed skip_mmfed" onclick="feed_attach_preview('$attach[qid]')">{lang preview}</a>
<!--{/if}-->
</p>
</div>
<!--{elseif $attach['type']=='dzzdoc' || $attach['type']=='link'}-->
<div class="file_fed file_fed_{$attach[type]} clearfix">
<div class="ico_ffed ">
<a href="javascript:;" onclick="feed_attach_preview('$attach[qid]')"><img src="$attach[img]" alt="$attach[title]" style="max-height:50px;"></a>
</div>
<p class="name_ffed">$attach[title]</p>
<p class="down_ffed">
<a href="javascript:void(0);" title="" hidefocus="true" class="preview_dffed skip_mmfed" onclick="feed_attach_preview('$attach[qid]')">{lang preview}</a>
</p>
</div>
<!--{else}-->
<div class="file_fed file_fed_{$attach[type]} clearfix">
<div class="ico_ffed">
<a href="javascript:;" onclick="feed_attach_preview('$attach[qid]')"><img src="$attach[img]" alt="$attach[filename]" style="max-height:50px;"></a>
</div>
<p class="name_ffed">$attach[filename]<span class="kb_nffed">($attach[filesize])</span> </p>
<p class="down_ffed">
<!--{if $attach[preview]>0}-->
<a href="javascript:void(0);" title="" hidefocus="true" class="preview_dffed skip_mmfed" onclick="feed_attach_preview('$attach[qid]')">{lang preview}</a>
<!--{/if}-->
<a href="javascript:;" title="" hidefocus="true" class="btn_dffed skip_mmfed" onclick="feed_downAttach('$attach[qid]')">{lang download}
<!--{if $attach[downloads]>0}--><span class="text-gray">($attach[downloads]{lang degree})</span>
<!--{/if}-->
</a>
<a href="javascript:void(0);" title="" hidefocus="true" class="save_dffed skip_mmfed" onclick="feed_attach_saveto('$attach[qid]')">{lang js_saved_my_documents}</a>
</p>
</div>
<!--{/if}-->
</div>
<!--{/loop}-->
</div>
<div class="action_cfed clearfix">
<div class="btn_acfed">
<ul>
<!--{if $_G['uid']==$value1[authorid] || $_G[adminid]==1}-->
<!--<li class="more_bacfed">
<a hidefocus="true" class="dcolor" href="javascript:void(0);" onclick="feed_edit('$value1[cid]','$_GET[allowattach]','$_GET[allowat]','$_GET[allowsmiley]')">{lang edit}</a>
</li>-->
<li class="more_bacfed">
<a hidefocus="true" class="dcolor" href="javascript:void(0);" onclick="feed_delete('$value1[cid]','comment_$value1[cid]','$value1[pcid]')">{lang delete}</a>
</li>
<!--{/if}-->
<!--{if $_G['uid']>0}-->
<li class="reply_bacfed">
<a hidefocus="true" class="dcolor" href="javascript:void(0);" onclick="getReplyForm('$value1[pcid]','$value1[cid]','$_GET[allowattach]','$_GET[allowat]','$_GET[allowsmiley]');">{lang reply}</a>
</li>
<!--{/if}-->
</ul>
</div>
<span class="time_acfed">$value1[xtllq] <!--{if $_G[adminid]==1}-->$value1[ip]<!--{/if}--> $value1['dateline']</span> </div>
</div>
</div>
</div>