Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {foreach from=$aComments_bad item="com" name="comment"}
- {if $smarty.foreach.comment.iteration <= 5}
- <div class="comment_gray">
- <b><a href="{router page='notes_bad'}/read/{$com.note_id}">#{$com.comment_id}</a> {$com.date|date_format:"%Y.%m.%d %T"}, <a href="{router page='profile'}{$com.user_login}">{$com.user_login}</a> said:</b>
- <div class="text">
- {$com.comment}
- </div><br>
- </div>
- {/if}
- {/foreach}
- {if count($aComments_bad)}
- <div class="comment_gray">
- <a href="{router page='profile'}{$oUserProfile->getLogin()}?show_bad=100">Read more ...</a>
- </div>
- {/if}
- {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement