Guest User

Untitled

a guest
Feb 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <div id="comment_list">
  2. <ul id="user_comment_list">
  3. <%
  4. unless @num_comments == 0
  5. count = 0
  6. %>
  7.  
  8. <%
  9. for entry in @comment_entries
  10. @poster_image = @photo_entry[count]
  11. %>
  12. <li><div class="journal_comment_box">
  13. <div class="journal_comment_post_info">
  14. <span class="journal_comments_poster_name"><span class="bold_text">Posted By </span> <%=link_to h(@poster_name[count]),{:controller=>'main', :action=>'navigate_to_page'}, {:class=>'comment_poster_name'}%></span>
  15.  
  16. <span class="journal_comments_post_date"><span class="bold_text">Post Date </span> <%=entry.comment_date.strftime("%b %d %Y")%></span>
  17. </div>
  18. <%=image_tag url_for_file_column("poster_image", "image", "thumb"), :class=>"journal_entry_pic"%><p class="journal_comment_post"><%=entry.comment_text%></p>
  19. <br/>
  20. </div>
  21. </li>
  22.  
  23. <%
  24. count=count+1
  25. end
  26. %>
  27. <%else%>
  28. <li>No comments posted</li>
  29. <%end%>
  30. </ul>
  31. </div>
Add Comment
Please, Sign In to add comment