2010-01-25 13:18:18 +00:00
{if marked_spammed($comment)}
{assign var='comment_attr' value='style="display:none"'}
{assign var='spam_attr' value='style="display:block"'}
{else}
{assign var='comment_attr' value=''}
{assign var='spam_attr' value='style="display:none"'}
2009-11-30 19:46:45 +00:00
{/if}
2010-01-25 13:18:18 +00:00
2010-02-09 06:32:47 +00:00
< div id = "comment_{$comment.comment_id}" class = "comment clearfix" { $ comment_attr } >
< div class = "user_com_thumb_con" >
2010-01-25 13:18:18 +00:00
< img src = "{$userquery->getuserthumb($comment)}" class = "user_com_thumb" / >
2009-11-30 19:46:45 +00:00
< / div >
< div class = "comm_other" >
< div class = "user_bar" >
< div style = "width:70%; float:left" >
{if $comment.userid !='' & & $comment.userid!=0}
2010-01-25 13:18:18 +00:00
< a href = "#" > {$comment.username}< / a > commmented {$comment.date_added|niceTime}
2009-11-30 19:46:45 +00:00
{else}
< a href = '#comment_{$comment.comment_id}' > {$comment.anonym_name}< / a > commmented {$comment.date_added|niceTime}
{/if}
< / div >
2010-01-25 19:17:29 +00:00
< div style = "width:28%; float:right" align = "right" > < a href = "javascript:void(0)" onclick = "to_reply('{$comment.comment_id}')" > Reply< / a > | < a href = "javascript:void(0)" onclick = "spam_comment('{$comment.comment_id}')" > Spam< / a >
2010-02-02 16:19:41 +00:00
{if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} | < a href = "javascript:void(0)" onclick = "delete_comment('{$comment.comment_id}','{$type}')" > Delete< / a > {/if}< / div >
2009-11-30 19:46:45 +00:00
< / div >
< div class = "comment_cont" > {$comment.comment|comment}< / div >
2010-01-25 13:18:18 +00:00
< div class = "comment_rating_cont" > < span class = "thumb_up" onclick = "rate_comment('{$comment.comment_id}','up')" > Thumbs Up< / span > < span class = "thumb_down" onclick = "rate_comment('{$comment.comment_id}','down')" > Thumbs Down< / span > < span id = "comment_rating_{$comment.comment_id}" class = "comment_rating" > {$comment.vote|comment_rating}< / span > < / div >
2009-11-30 19:46:45 +00:00
< / div >
2010-01-25 13:18:18 +00:00
< / div >
< div id = "spam_comment_{$comment.comment_id}" class = "spam" { $ spam_attr } >
Marked as spam, comment by {if $comment.username}< em > {$comment.username}< / em > {else}< em > {$comment.anonym_name}< / em > {/if} | < a href = "javascript:void(0)" onclick = "delete_comment('{$comment.comment_id}','{$type}')" > Delete< / a >
2009-11-30 19:46:45 +00:00
< / div >