1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?php $yesno = array("Nu", "Da"); $months = array("", "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie");
$anarhivat = 2009; $anarh =array();
$currentyear = date('Y'); $currentmonth = date('n');
if ($currentmonth == 12){ $nextmonth = 1; $nextyear = $currentyear + 1; } else { $nextmonth = $currentmonth + 1; $nextyear = $currentyear; }
$weekday = date("l", mktime(0,0,0,06,21,2007));
for ($i=$currentyear; $i>=$anarhivat; $i--){ $anarh[$i] .= $i; }
?>
|