ini_set('display_errors', 'Off'); $pervye=''; $poslednie=''; $redday=''; //eti dannye mozhno menjat $adr_google='https://calendar.google.com/calendar/ical/dimitri.surigin%40gmail.com/public/basic.ics';// Adres stranicy kalendarja v google $skolko_dnej=367; //Na 366 dnej // vysokij sezon $sen = 18; // sentjabr - do $maj = 27; // maj - ot $aprel_ot = 8; $aprel_do = 26; $decabr = 24; $janvar = 2; // dvigaem $nachalo_kalendar=idate('y'); // Na kakoj god kalendar $nachalo_mesjac=idate('m'); //$nachalo_mesjac=1; //$nachalo_kalendar=15; // Na kakoj god kalendar //$nachalo_mesjac=11; //.red {background-color:red} - cvet zanjatyx dnej //td { background-color:red; font-size: 5pt; padding: 0} - ljubaja jachejka tablicy ?>
Belegungskalender für Ferienwohnung Seerose
20=$nachalo_kalendar?> | 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 | 30 | 31 |
'.idate('Y',$date).' | 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 | 30 | 31 |
'.iconv("ISO-8859-1","UTF-8",strftime("%B", $date))." | ";} // Novaja stroka esli novyj mesjac print "\n".'5) and ($u<9)) or (($u==9) and ($d<=$sen)) or (($u==5) and ($d>=$maj)) or (($u==4) and ($d>=$aprel_ot) and ($d<=$aprel_do)) or (($u==12) and ($d>=$decabr)) or (($u==1) and ($d<=$janvar)) ) { // Vysokij sezon if (((stripos($pervye, $_) !== false)) and (stripos($poslednie, $_) !== false)) {print ' class="endbegin"';} elseif (stripos($pervye, $_) !== false) {print ' class="pervye"';} elseif (stripos($poslednie, $_) !== false) {print ' class="posledhie"';} elseif (stripos($redday, $_) !== false) {print ' class="red"';} else print ' class="vysokij"'; } else {// Nizkij sezon if (((stripos($pervye, $_) !== false)) and (stripos($poslednie, $_) !== false)) {print ' class="endbegin"';} elseif (stripos($pervye, $_) !== false) {print ' class="begin-niz"';} elseif (stripos($poslednie, $_) !== false) {print ' class="end-niz"';} elseif (stripos($redday, $_) !== false) {print ' class="red"';} } print '>'; //print date('c',$date); //print "---$pos---"; print strftime("%a", $date).' | '; } ?>
- frei Nebensaison | - frei Hochsaison | - belegt | ![]() |
- Anreisetag | ![]() |
- Abreisetag |
Der Кalender wurde zuletzt am =strftime('%d.%m.%Y um %R',strtotime($modif));?> aktualisiert.