PageRenderTime 32ms CodeModel.GetById 8ms RepoModel.GetById 1ms app.codeStats 0ms

/app/Tpl/v2/Index/post/comment.tpl.php

https://bitbucket.org/irlvirus/linxspace
PHP | 33 lines | 33 code | 0 blank | 0 comment | 0 complexity | d3a4468717b9bfc742e36fed268b2da7 MD5 | raw file
  1. {eval $k++;}
  2. {if $v.newcomment}
  3. <li class="newcomment" style="display:none;" id="com-{$v.commentid}">
  4. {else}
  5. <li id="com-{$v.commentid}">
  6. {/if}
  7. <div class="comment-content">
  8. <div class="author">
  9. {if $v['url']}
  10. <a href="{$v.url}" rel="roll" title="{$v.author}???">
  11. {/if}
  12. <img src="http://www.gravatar.com/avatar/{:md5($v.email)}?s=48&amp;d=http://www.leosio.com/images/avatar.gif" width="48" height="48" alt="{$v.author}???" />
  13. {if $v['url']}
  14. </a>
  15. {/if}
  16. </div>
  17. <div class="comment-detail">{:showcomment($v.content)}</div>
  18. {if $v.needcheck}
  19. <p><span class="fail">???????</span></p>
  20. {/if}
  21. <div class="comment-info">
  22. {if $v['url']}
  23. <a href="{$v.url}"><b>{$v.author}</b></a>
  24. {else}
  25. <b>{$v.author}</b>
  26. {/if}
  27. - <span>{:timeintval($v['dateline'], 'cn')} - <a href="javascript:replay({$v.commentid});">Reply</a></span>
  28. </div>
  29. {if !$v.newcomment}
  30. <p class="lou">#{$k}</p>
  31. {/if}
  32. </div>
  33. </li>