Add php files
This commit is contained in:
12
modules/EcmCalendars/ShovNav.php
Executable file
12
modules/EcmCalendars/ShovNav.php
Executable file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
require_once('modules/EcmCalendars/Calendar.php');
|
||||
$c = new Calendar();
|
||||
if ($_REQUEST['date']) {
|
||||
$exp = explode("-", $_REQUEST['date']);
|
||||
$c->year = $exp[0];
|
||||
$c->month = $exp[1];
|
||||
$c->day = $exp[2];
|
||||
}
|
||||
echo $c->showNavDay();
|
||||
?>
|
||||
Reference in New Issue
Block a user