Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 19 | | All time: 11,306 This week: 41 |
|
Description | | Author |
This package can get the dates of the Easter holiday over the years.
It can take as parameters the number of the start and end years.
The package can return an array with the Orthodox Easter in all the specified year ranges.
It can also output the Easter data in HTML to display as part of the current script page content. | |
|
|
Innovation award
Nominee: 8x |
|
Example
<?php
/**
* __ _ ___ ___ ___ ___ ___ ____ _ __ ___ ___
* / _` |/ / / __/ _ \ / _ \ / / / __/| '_ ` _ \ / /
* | (_| |\ \| (_| (_) | (_) |\ \ | (__ | | | | | |\ \
* \__,_|/__/ \___\___/ \___/ /__/ \___\|_| |_| |_|/__/
*
*************************************************************************************
* @ASCOOS-NAME : ASCOOS CMS 24' *
* @ASCOOS-VERSION : 24.0.0 *
* @ASCOOS-CATEGORY : Kernel (Frontend and Administration Side) *
* @ASCOOS-CREATOR : Drogidis Christos *
* @ASCOOS-SITE : www.ascoos.com *
* @ASCOOS-LICENSE : [Commercial] http://docs.ascoos.com/lics/ascoos/AGL-F.html *
* @ASCOOS-COPYRIGHT : Copyright (c) 2007 - 2023, AlexSoft Software. *
*************************************************************************************
*
* @package : ASCOOS CMS - Orthodox Easter
* @subpackage : Example for Orthodox Easter
* @source : /OrthodoxEaster/src/test/orthodox-easter.php
* @version : **** - $release: 1.0 - $revision: 1 - $build: ****
* @created : 2023-07-07 07:00:00 UTC+3
* @updated : 2023-07-09 01:00:00 UTC+3
* @author : Drogidis Christos
* @authorSite : www.alexsoft.gr
*
* @since 1.0.1
*/
define('ALEXSOFT_RUN_CMS', true);
$cms_path = str_replace('/OrthodoxEaster/test', '',str_replace('\\', '/', __DIR__));
require_once($cms_path."/OrthodoxEaster/src/kernel/coreEaster.php");
$yearStart = 2024;
$yearEnd = 2050;
$params = [
'class="default"',
'data-role="easters"'
];
$objEaster = new \ASCOOS\CMS\KERNEL\CORE\Dates\Easter\TEasterHandler($yearStart, $yearEnd);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>ASCOOS - Test Orthodox Easter</title>
<link rel="icon" href="favicon.ico" />
</head>
<body>
<!-- Orthodox Easter of current year -->
<div>
<p><b><?php echo 'Orthodox Easter of current year :</b> '.$objEaster->getDateEasters(); ?></p>
</div>
<hr>
<!-- Orthodox Easter of year... -->
<div>
<p><b>Orthodox Easter of year <?php echo $yearStart; ?>:</b> <?php echo $objEaster->getDateEasters($yearStart); ?></p>
</div>
<hr>
<!-- Orthodox Easter HTML Select list -->
<div>
<form>
<label for="easters"><b>Choose a Orthodox Easter:</b></label>
<?php
echo $objEaster->getHtmlSelect('easters', $params);
?>
</form>
</div>
<hr>
<!-- Orthodox Easter in a period of years -->
<div>
<p><b><?php echo 'Orthodox Easter of years '.$yearStart.' - '.$yearEnd; ?>: </b></p>
<?php echo $objEaster->getDateEasters($yearStart, $yearEnd); ?>
</div>
</body>
</html>
|
Details
<p align="center"><img src="https://dl.ascoos.com/images/ascoos.png" height=120 /></p>
orthodox-easter
This package shows the dates on which the Orthodox Easter is celebrated.
*
Descript
This package can get the dates of the Easter holiday over the years.
It can take as parameters the number of the start and end years.
The package can return an array with the Orthodox Easter in all the specified year ranges.
It can also output the Easter data in HTML to display as part of the current script page content.
*
<p align="center"><img src="https://github.com/ascoos/orthodox-easter/blob/main/screenshot/oeaster-02-010001.png" /></p>
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.