*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); JHtml::_('behavior.multiselect'); JHtml::_('behavior.tooltip'); $model = $this->getModel(); $statistics = $this->get('Statistics'); $lastCreatedComments = $this->get('lastCreatedComments'); $lastCreatedListings = $model->getListings("lastCreatedListings"); $lastUpdatedListings = $model->getListings("lastUpdatedListings"); $popularListings = $model->getListings("popularListings"); $totalUnreadReports = $model->getTotalUnreadReports(); $totalClaims = $model->getTotalClaims(); $totalMailqs = $model->getTotalMailqs(); $totalPendingListing = JUDirectoryHelper::getTotalPendingListings(); $totalPendingComment = JUDirectoryHelper::getTotalPendingComments(); ?> <div class="jubootstrap"> <div id="iframe-help"></div> <div class="adminform"> <div class="cpanel-left"> <div id="position-icon" class="pane-sliders"> <?php if (JUDirectoryHelper::checkGroupPermission(null, "listcats")) { ?> <div class="cpanel"> <div class="icon-wrapper"> <div class="icon"> <a href="<?php
<div class="judir-option-approve-item input-prepend input-append pull-left"> <span class="add-on"> <input type="radio" name="approval_option" value="delete" id="reject-comment" /> </span> <label for="reject-comment" class="btn btn-danger"> <i class="icon-cancel"></i> <?php echo JText::_('COM_JUDIRECTORY_REJECT'); ?> </label> </div> <div class="clr"></div> </div> <?php $totalNextPendingComments = JUDirectoryHelper::getTotalPendingComments('next', $this->item->id); if ($totalNextPendingComments) { ?> <button class="judir-next btn btn-info" onclick="Joomla.submitbutton('pendingcomment.saveAndNext')"> <?php echo JText::sprintf('COM_JUDIRECTORY_SAVE_AND_NEXT_N', $totalNextPendingComments); ?> <i class="icon-arrow-right-2"></i> </button> <?php } ?> </div> </div> <div class="clr"></div>