Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. <div class="itemFullText">
  2. <?php echo $this->item->fulltext; ?>
  3. <?php echo base64_decode($sj_mar); ?>
  4. <?php if($this->item->params->get('itemDateModified') && intval($this->item->modified)!=0): ?>
  5. <!-- Item date modified -->
  6. <span class="itemDateModified">
  7. <?php echo JText::_('K2_LAST_MODIFIED_ON'); ?> <?php echo JHTML::_('date', $this->item->modified, JText::_('TEMPLATE_DATE_DEFAULT')); ?>
  8. </span>
  9. <?php endif; ?>
  10. </div>
  11.  
  12. <div class="item-info">
  13. <span class="item-date">
  14. <i class="fa fa-clock-o"></i><?php echo JHTML::_('date', $item->created, JText::_('TEMPLATE_DATE_DEFAULT')); ?>
  15. </span>
  16.  
  17. <span class="item-comments">
  18.  
  19. <?php if(!empty($item->event->K2CommentsCounter)): ?>
  20. <!-- K2 Plugins: K2CommentsCounter -->
  21. <?php echo $item->event->K2CommentsCounter; ?>
  22. <?php else: ?>
  23. <?php if($item->numOfComments>0): ?>
  24. <a class="moduleItemComments" href="<?php echo $item_first->link.'#itemCommentsAnchor'; ?>">
  25. <i class="fa fa-comments-o"></i> <?php echo $item->numOfComments; ?> <?php if($item->numOfComments>1) echo JText::_('K2_COMMENTS'); else echo JText::_('K2_COMMENT'); ?>
  26. </a>
  27. <?php else: ?>
  28. <a class="moduleItemComments" href="<?php echo $item_first->link.'#itemCommentsAnchor'; ?>">
  29. <i class="fa fa-comments-o"></i> <?php echo JText::_('TEMPLATE_THE_FIRST_TO_COMMENT'); ?>
  30. </a>
  31. <?php endif; ?>
  32. <?php endif; ?>
  33. </span>
  34. </div>
  35.  
  36. <div class="item-info">
  37. <span class="item-date">
  38. <i class="fa fa-clock-o"></i> <?php echo JHTML::_('date', $item->created, JText::_('TEMPLATE_DATE_DEFAULT')); ?>
  39. </span>
  40.  
  41. <span class="item-comments">
  42.  
  43. <?php if(!empty($item->event->K2CommentsCounter)): ?>
  44. <!-- K2 Plugins: K2CommentsCounter -->
  45. <?php echo $item->event->K2CommentsCounter; ?>
  46. <?php else: ?>
  47. <?php if($item->numOfComments>0): ?>
  48. <a class="moduleItemComments" href="<?php echo $item->link.'#itemCommentsAnchor'; ?>">
  49. <i class="fa fa-comments-o"></i> <?php echo $item->numOfComments; ?> <?php if($item->numOfComments>1) echo JText::_('K2_COMMENTS'); else echo JText::_('K2_COMMENT'); ?>
  50. </a>
  51. <?php else: ?>
  52. <a class="moduleItemComments" href="<?php echo $item->link.'#itemCommentsAnchor'; ?>">
  53. <i class="fa fa-comments-o"></i> <?php echo JText::_('TEMPLATE_THE_FIRST_TO_COMMENT'); ?>
  54. </a>
  55. <?php endif; ?>
  56. <?php endif; ?>
  57. </span>
  58. </div>
  59.  
  60. <div class="item-info">
  61. <span class="item-date">
  62. <i class="fa fa-clock-o"></i> <?php echo JHTML::_('date', $item->created, JText::_('TEMPLATE_DATE_DEFAULT')); ?>
  63.  
  64. </span>
  65.  
  66. <span class="item-comments">
  67.  
  68. <?php if(!empty($item->event->K2CommentsCounter)): ?>
  69. <!-- K2 Plugins: K2CommentsCounter -->
  70. <?php echo $item->event->K2CommentsCounter; ?>
  71. <?php else: ?>
  72. <?php if($item->numOfComments>0): ?>
  73. <a class="moduleItemComments" href="<?php echo $item_first->link.'#itemCommentsAnchor'; ?>">
  74. <i class="fa fa-comments-o"></i> <?php echo $item->numOfComments; ?> <?php if($item->numOfComments>1) echo JText::_('K2_COMMENTS'); else echo JText::_('K2_COMMENT'); ?>
  75. </a>
  76. <?php else: ?>
  77. <a class="moduleItemComments" href="<?php echo $item_first->link.'#itemCommentsAnchor'; ?>">
  78. <i class="fa fa-comments-o"></i> <?php echo JText::_('TEMPLATE_THE_FIRST_TO_COMMENT'); ?>
  79. </a>
  80. <?php endif; ?>
  81. <?php endif; ?>
  82. </span>
  83. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement