| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/icd/jeventsComp/site/views/default/admin/tmpl/ |
Upload File : |
<?php
defined('_JEXEC') or die('Restricted access');
$cfg = & JEVConfig::getInstance();
$data = $this->datamodel->getDataForAdmin( $this->creator_id, $this->limit, $this->limitstart );
$frontendPublish = intval($cfg->get('com_frontendPublish', 0)) > 0;
$view = $this->getViewName();
echo $this->loadTemplate('cell' );
$eventCellClass = "EventCalendarCell_".$view;
$num_events = count( $data['rows'] );
$chdate = '';
echo '<fieldset><legend class="ev_fieldset">' . JText::_('JEV_ADMINPANEL') . '</legend>' . "\n";
$myItemid = JEVHelper::getAdminItemid();
$form_link = JRoute::_(
'index.php?option=' . JEV_COM_COMPONENT
. '&task=admin.listevents'
. "&Itemid=".$myItemid
,false);
?>
<form action="<?php echo $form_link;?>" method="post">
<?php
$filters = jevFilterProcessing::getInstance(array("startdate"));
$filterHTML = $filters->getFilterHTML();
foreach ($filterHTML as $filter){
echo "<div class='jev_adminfilter'>".$filter["title"]."<br/>".$filter["html"]."</div>";
}
?>
</form>
<?php
echo '<table align="center" width="90%" cellspacing="0" cellpadding="5" class="ev_table">' . "\n";
if( $num_events > 0 ){
for( $r = 0; $r < $num_events; $r++ ) {
$row = $data['rows'][$r];
$event_month_year = $row->mup().$row->yup();
if( $event_month_year <> $chdate && $chdate <> ""){
echo '</ul></td></tr>' . "\n";
}
if( $event_month_year <> $chdate ){
echo '<tr><td class="ev_td_left">'. "\n"
. JEventsHTML::getDateFormat( $row->yup(), $row->mup(), '', 3 ) .'</td>' . "\n";
echo '<td class="ev_td_right"><ul class="ev_ul">' . "\n";
}
/*
$ecc = new $eventCellClass($row,$this->datamodel);
echo "<div ";
echo $ecc->calendarCell_popup($row->getUnixStartDate());
echo ">";
*/
$this->viewEventRowAdmin($row);
//echo "</div>";
$chdate = $event_month_year;
}
echo '</ul></td>' . "\n";
} else {
echo '<tr>' . "\n";
echo '<td align="left" valign="top" class="ev_td_right">' . "\n";
echo JText::_('JEV_NO_EVENTS');
}
echo '</tr></table><br />' . "\n";
echo '</fieldset><br />' . "\n";
// Create the pagination object
if ($data["total"]>$data["limit"]){
$this->paginationForm($data["total"], $data["limitstart"], $data["limit"]);
}