Server :
Apache
System :
Linux webd003.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User :
atwiofrxug (73666)
PHP Version :
8.4.10
Disable Functions :
_dyuweyrj4,_dyuweyrj4r,dl
Current Directory :
/home/atwiofrxug/mylittletelaviv/wp-content/plugins/dpProEventCalendar/classes/
Directory Status:
Writeable | Document Root:
Writeable
Upload File
Viewing: /home/atwiofrxug/mylittletelaviv/wp-content/plugins/dpProEventCalendar/classes/dates.class.php
<?php
// Dates Handler Class
class DPPEC_Dates {
var $currentMonth;
var $currentYear;
var $currentDate;
var $prevMonth;
var $prevYear;
var $lastDayNum;
var $firstDayNum;
var $daysInCurrentMonth;
var $daysInPrevMonth;
function __construct( $defaultDate )
{
$this->currentMonth = date('n', $defaultDate);
$this->currentYear = date('Y', $defaultDate);
$this->currentDate = date('j', $defaultDate);
$this->prevMonth = $this->currentMonth - 1 == 0 ? 12 : ($this->currentMonth - 1);
$this->prevYear = $this->prevMonth == 12 ? ($this->currentYear - 1) : $this->currentYear;
$this->daysInCurrentMonth = $this->daysInMonth( $this->currentYear, $this->currentMonth );
$this->daysInPrevMonth = $this->daysInMonth( $this->prevYear, $this->prevMonth );
$this->lastDayNum = date('w', mktime( 0, 0, 0, $this->currentMonth, $this->daysInCurrentMonth, $this->currentYear ));
$this->firstDayNum = date('w', mktime( 0, 0, 0, $this->currentMonth, 0, $this->currentYear ));
}
function daysInMonth($year, $month)
{
return date("t", strtotime($year . "-" . $month . "-01"));
}
}
?>
Cyb3r Drag0nz Team • Google Edition