Lines Matching refs:cy
23 $cy = isset($_GET['cy']) ? (int) $_GET['cy'] : 0; variable
30 if ($cy != 0 && !valid_year($cy)) {
31 $cy = date("Y"); variable
49 elseif ($cy && $cm && $cd) {
52 if (checkdate($cm,$cd,$cy)) {
55 $date = mktime(0, 0, 1, $cm, $cd, $cy);
77 …$errors[] = "The specified date (" . htmlentities("$cy/$cm/$cd", ENT_QUOTES | ENT_IGNORE, 'UTF-8')…
78 unset($cm, $cd, $cy);
83 if ($cm && $cy && !checkdate($cm,1,$cy)) {
84 …$errors[] = "The specified year and month (" . htmlentities("$cy, $cm", ENT_QUOTES | ENT_IGNORE, '…
85 unset($cm, $cy);
90 if (empty($cy)) { $cy = date("Y"); } variable
93 $date = mktime(0, 0, 1, $cm, 1, $cy);
128 $bom = mktime(0, 0, 1, $cm, 1, $cy);
129 $eom = mktime(0, 0, 1, $cm + 1, 0, $cy);
132 $prev_link = (function () use ($cm, $cy) {
133 $lm = mktime(0, 0, 1, $cm, 0, $cy);
149 $next_link = (function () use ($cm, $cy) {
150 $nm = mktime(0, 0, 1, $cm + 1, 1, $cy);
190 echo '<td><a class="day" href="/cal.php', "?cm=$cm&cd=$i&cy=$cy",
235 global $cm, $cy, $COUNTRY;
246 "?id=$event[id]&cm=$cm&cy=$cy", '">',