| 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 : /inetpub/wwwroot/icd/jeventsComp/site/views/ext/range/ |
Upload File : |
<?php
/**
* JEvents Component for Joomla 1.5.x
*
* @version $Id: view.html.php 1400 2009-03-30 08:45:17Z geraint $
* @package JEvents
* @copyright Copyright (C) 2008-2009 GWE Systems Ltd
* @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html
* @link http://www.jevents.net
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
/**
* HTML View class for the component frontend
*
* @static
*/
class ExtRange extends JEventsExtView
{
function listevents($tpl = null)
{
JEVHelper::componentStylesheet($this);
$params =& JComponentHelper::getParams( JEV_COM_COMPONENT );
list($startdate, $enddate) = $this->getStartEndDates();
list($startyear,$startmonth,$startday)=explode("-",$startdate);
list($endyear,$endmonth,$endday)=explode("-",$enddate);
$this->assign("startdate",$startdate);
$this->assign("startyear",$startyear);
$this->assign("startmonth",$startmonth);
$this->assign("startday",$startday);
$this->assign("enddate",$enddate);
$this->assign("endyear",$endyear);
$this->assign("endmonth",$endmonth);
$this->assign("endday",$endday);
// Note that using a $limit value of -1 the limit is ignored in the query
$this->assign("data",$this->datamodel->getRangeData($startdate,$enddate,$this->limit, $this->limitstart));
}
}