2012 April


MonTueWedThuFriSatSun
 1
Szvoboda Bence - Langenlois - Osztrák Ob
2
TomRacing - Pannónia-ring
3
TomRacing - Pannónia-ring
4567
Szvoboda Bence - Nagykanizsa
TomRacing - Slovakiaring
Bárdi Tímea - Nagykanizsa
8
TomRacing - Slovakiaring
9
Szvoboda Bence - Paldau - Osztrák Ob
101112131415
1617181920
TomRacing - Slovakiaring
21
TomRacing - Slovakiaring
22
Motocross - Hódmezővásárhely - Magyar Ob
TomRacing - Slovakiaring
23242526
Lotus Ladies Cup - Hungaroring
27
Lotus Ladies Cup - Hungaroring
28
Lotus Ladies Cup - Hungaroring
Rozgonyi Ákos - Moldávia
Szekeres Zsolt - Ács
Székely Penge Pál - Csepel Pláza
Major Benedek - Hungaroring
29
Bárdi Tímea - Kőszárhegy
Lotus Ladies Cup - Hungaroring
Rozgonyi Ákos - Moldávia
Szvoboda Bence - Pacov - cseh bajnoki
Lajos Gyula Luigi - Kakucs
Major Benedek - Hungaroring
30 


2012 May


MonTueWedThuFriSatSun
 1
Sinka Zsolt Popey - Samsung Sport majális
234
Sinka Zsolt Popey - Hungaroring WTTC
5
Lotus Ladies Cup - Hungaroring
Rozgonyi Ákos - Románia
Székely Penge Pál - Ecser
Sinka Zsolt Popey - Hungaroring WTTC
Király Gábor - Bükkfürdő
6
Lotus Ladies Cup - Hungaroring
Rozgonyi Ákos - Románia
Szvoboda Bence - Loket - Cseh ob
Székely Penge Pál - Ecser
Sinka Zsolt Popey - Hungaroring WTTC
Király Gábor - Bükkfürdő
7891011
Kiss Pál Tamás - GP3 - Barcelona
TomRacing - Pannónia-ring
12
Kiss Pál Tamás - GP3 - Barcelona
TomRacing - Brno
Rozgonyi Ákos - Bulgária
TomRacing - Pannónia-ring
Truck Race - Istanbul
13
Kiss Pál Tamás - GP3 - Barcelona
TomRacing - Brno
Rozgonyi Ákos - Bulgária
Truck Race - Istanbul
Lajos Gyula Luigi - Nyirád
1415
TomRacing - Hungaroring
16
TomRacing - Hungaroring
17
TomRacing - Hungaroring
18
TomRacing - Hungaroring
Székely Penge Pál - Budai Sport Hotel
19
Lotus Ladies Cup - Salzburgring
Rozgonyi Ákos - Bér
TomRacing - Hungaroring
Truck Race - Misano
Volentér Balázs - Ausztria
Lajos Gyula Luigi - Nova Paca
Szekeres Zsolt - Bér
Székely Penge Pál - Budai Sport Hotel
Major Benedek - Ausztria
20
Nagy Alex - Nagykanizsa
Lotus Ladies Cup - Salzburgring
Rozgonyi Ákos - Nagykanizsa
Lécz Gergely - Nagykanizsa
Motocross - Nagykanizsa - Magyar Ob
TomRacing - Hungaroring
Truck Race - Misano
Marosi Dávid - Nagykanizsa
Volentér Balázs - Ausztria
Lajos Gyula Luigi - Nova Paca
Szekeres Zsolt - Nagykanizsa
Székely Penge Pál - Budai Sport Hotel
Major Benedek - Ausztria
2122
Drift - Kiskunlacháza
2324
Kiss Pál Tamás - GP3 - Monaco
25
Kiss Pál Tamás - GP3 - Monaco
26
Kiss Pál Tamás - GP3 - Monaco
Rozgonyi Ákos - Bulgária
Szabó Krisztián - Bauska
Sinka Zsolt Popey - Splash Sportfesztivál
27
Szvoboda Bence - Prerov - Cseh Ob
Kiss Pál Tamás - GP3 - Monaco
Szabó Krisztián - Bauska
Sinka Zsolt Popey - Splash Sportfesztivál
28293031 


2012 June


MonTueWedThuFriSatSun
 1
Király Gábor - IRC Mecsek Rallye
2
TomRacing - Pannónia-ring
Szabó Krisztián - Seelow
Major Benedek - Banja Luka
Sinka Zsolt Popey - Bambara hotel Rekord Kísérlet
Király Gábor - IRC Mecsek Rallye
3
Rozgonyi Ákos - Krasna Lipa
Szvoboda Bence - Mladina - Mx3 Vb
TomRacing - Pannónia-ring
Szabó Krisztián - Seelow
Major Benedek - Banja Luka
Sinka Zsolt Popey - Bambara hotel Rekord Kísérlet
Király Gábor - IRC Mecsek Rallye
45678
Tomracing - Hungaroring
9
TomRacing - Hungaroring
Truck Race - Jarama
Lajos Gyula Luigi - Slomczyn
Székely Penge Pál - Magyar Darts Liga Döntő
Major Benedek - Slovakiaring
Sinka Zsolt Popey - Szentes Rally
10
TomRacing - Hungaroring
Nagy Alex - Ács
Rozgonyi Ákos - Ács
Lécz Gergely - Ács
Motocross - Ács - Magyar Ob
Truck Race - Jarama
Marosi Dávid - Ács
Lajos Gyula Luigi - Slomczyn
Szekeres Zsolt - Ács
Major Benedek - Slovakiaring
Sinka Zsolt Popey - Szentes Rally
111213
TomRacing - Pannónia-ring
1415
Lotus Ladies Cup - Pannóniaring
16
TomRacing - Rijeka
Bárdi Tímea - Zalaszentgrót
Lotus Ladies Cup - Pannóniaring
Volentér Balázs - Dunaszerdahely
Székely Penge Pál - Steel Országos Csapatbajnoki Döntő
Major Benedek - Pannóniaring
17
TomRacing - Rijeka
Lotus Ladies Cup - Pannóniaring
Volentér Balázs - Dunaszerdahely
Lajos Gyula Luigi - Prerov
Major Benedek - Pannóniaring
1819202122
Kiss Pál Tamás - GP3 - Valencia
23
Drift - Kunmadaras
Truck Race - Nogaro
Kiss Pál Tamás - GP3 - Valencia
Szabó Krisztián - Cunewalde
Székely Penge Pál - Vienna Open
24
Szvoboda Bence - Senkvice - Mx3 Vb
Rozgonyi Ákos - Zomba
Truck Race - Nogaro
Kiss Pál Tamás - GP3 - Valencia
Szabó Krisztián - Cunewalde
2526
TomRacing - Slovakiaring
272829
Lotus Ladies Cup - Slovakiaring
30
Lotus Ladies Cup - Slovakiaring
Truck Race - Donington
Szabó Krisztián - Nová Paka
Major Benedek - Poznan
 


2012 July


MonTueWedThuFriSatSun
 1
Nagy Alex - Kóka
Lotus Ladies Cup - Slovakiaring
Lécz Gergely - Kóka
Rozgonyi Ákos - Kóka
Motocross - Kóka - Magyar Ob
Truck Race - Donington
Marosi Dávid - Kóka
Szekeres Zsolt - Kóka
Szabó Krisztián - Nová Paka
Major Benedek - Poznan
23456
Kiss Pál Tamás - GP3 - Silverstone
Király Gábor - Veszprém Rallye
7
Rozgonyi Ákos - Bakonynána
Kiss Pál Tamás - GP3 - Silverstone
Szekeres Zsolt - Bakonynána
Király Gábor - Veszprém Rallye
8
Szvoboda Bence - Kaplice - Cseh Ob
Rozgonyi Ákos - Nagykanizsa
Kiss Pál Tamás - GP3 - Silverstone
Király Gábor - Veszprém Rallye
9101112
TomRacing - Pannónia-ring
1314
TomRacing - Most
Rozgonyi Ákos - Szerbia
Truck Race - Nürburgring
Volentér Balázs - Ostffyasszonyfa
15
Szvoboda Bence - Orehova Vas - Mx3 Vb
TomRacing - Most
Rozgonyi Ákos - Szerbia
Truck Race - Nürburgring
Volentér Balázs - Pannoniaring
Lajos Gyula Luigi - Prietrž
1617181920
Kiss Pál Tamás - GP3 - Hockenheim
21
Kiss Pál Tamás - GP3 - Hockenheim
22
Szvoboda Bence - Vranov - Cseh Ob
Rozgonyi Ákos - Pécs
Kiss Pál Tamás - GP3 - Hockenheim
Lajos Gyula Luigi - Poříčí
2324252627
Lotus Ladies Cup - Hungaroring
Kiss Pál Tamás - GP3 - Budapest
28
TomRacing - Poznan
Lotus Ladies Cup - Hungaroring
Truck Race - Smolensk
Kiss Pál Tamás - GP3 - Budapest
29
Szvoboda Bence - Balatonszemes - Sprint Cross
TomRacing - Poznan
Lotus Ladies Cup - Hungaroring
Rozgonyi Ákos - Balatonszemes
Truck Race - Smolensk
Kiss Pál Tamás - GP3 - Budapest
3031 


2012 August


MonTueWedThuFriSatSun
 1234
Drift - Hungaroring
Rozgonyi Ákos - Varsány
Szekeres Zsolt - Varsány
Major Benedek - Most
5
Rozgonyi Ákos - Zomba
Major Benedek - Most
67891011
Rozgonyi Ákos - Bulgária
12
Szvoboda Bence - Petrovice - Cseh Ob
Rozgonyi Ákos - Bulgária
Lajos Gyula Luigi - Túrkeve
13
TomRacing - Pannónia-ring
14
TomRacing - Pannónia-ring
151617
Király Gábor - Arad Rallye
18
TomRacing - Rijeka
Rozgonyi Ákos - Anglia
Volentér Balázs - Győr
Szabó Krisztián - Nyirád
Major Benedek - Slovakiaring
Király Gábor - Arad Rallye
19
Szvoboda Bence - Seitenstetten - Osztrák Ob
TomRacing - Rijeka
Rozgonyi Ákos - Anglia
Volentér Balázs - Győr
Lajos Gyula Luigi - Sedlčany
Szabó Krisztián - Nyirád
Major Benedek - Slovakiaring
Király Gábor - Arad Rallye
20
TomRacing - Hungaroring
21
TomRacing - Hungaroring
22
TomRacing - Hungaroring
23
TomRacing - Hungaroring
24
TomRacing - Hungaroring
25
TomRacing - Hungaroring
Szabó Krisztián - Prerov
26
Szvoboda Bence - Ács - Sprint Cross
Rozgonyi Ákos - Ács
TomRacing - Hungaroring
Lajos Gyula Luigi - Kakucs
Szabó Krisztián - Prerov
27
TomRacing - Hungaroring
28
TomRacing - Hungaroring
293031
Kiss Pál Tamás - GP3 - Spa-Francorchamps
 


2012 September


MonTueWedThuFriSatSun
 1
TomRacing - Hungaroring
Bárdi Tímea - Somogyvár
Rozgonyi Ákos - Somogyvár
Truck Race - Most
Kiss Pál Tamás - GP3 - Spa-Francorchamps
2
TomRacing - Hungaroring
Rozgonyi Ákos - Cseh junior
Truck Race - Most
Kiss Pál Tamás - GP3 - Spa-Francorchamps
Kiss Pál Tamás - GP3 - Spa-Francorchamps
34567
Kiss Pál Tamás - GP3 - Monza
8
Kiss Pál Tamás - GP3 - Monza
Major Benedek - Hungaroring
9
Nagy Alex - Bugyi
Lécz Gergely - Bugyi
Rozgonyi Ákos - Bugyi
Motocross - Bugyi - Magyar Ob
Kiss Pál Tamás - GP3 - Monza
Marosi Dávid - Bugyi
Lajos Gyula Luigi - Nyirád
Szekeres Zsolt - Bugyi
Major Benedek - Hungaroring
101112
TomRacing - Pannónia-ring
13
Szekeres Zsolt - Kaposvár
1415
TomRacing - Adria Raceway (I)
Lotus Ladies Cup - Hungaroring
Szekeres Zsolt - Máriahalom
Szabó Krisztián - Saint Igny de Vers
16
TomRacing - Adria Raceway (I)
Lotus Ladies Cup - Hungaroring
Szvoboda Bence - Kramolin - Cseh Ob
Rozgonyi Ákos - Hódmezővásárhely
Szabó Krisztián - Saint Igny de Vers
171819202122
Drift - Kiskunlacháza
Rozgonyi Ákos - Máriahalom
Truck Race - Zolder
Volentér Balázs - Ausztria
Szabó Krisztián - Maggiora
23
Nagy Alex - Nyársapát
Drift - Kiskunlacháza
Lécz Gergely - Nyársapát
Rozgonyi Ákos - Nyársapát
Motocross - Nyársapát - Magyar Ob
Truck Race - Zolder
Marosi Dávid - Nyársapát
Volentér Balázs - Ausztria
Szekeres Zsolt - Nyársapát
Szabó Krisztián - Maggiora
2425
Major Benedek - Podgorica
26
Major Benedek - Podgorica
272829
TomRacing - Hungaroring
Bárdi Tímea - Csákánydoroszló
Rozgonyi Ákos - Csákánydoroszló
30
TomRacing - Hungaroring
Lajos Gyula Luigi - Sedlcany


2012 October


MonTueWedThuFriSatSun
12345
Lotus Ladies Cup - Hungaroring
Király Gábor - Miskolc Rallye
6
Lotus Ladies Cup - Hungaroring
Truck Race - Jarama
Major Benedek - Hungaroring
Király Gábor - Miskolc Rallye
7
Szvoboda Bence - Holice - Cseh Ob
Rozgonyi Ákos - Kőszárhegy
Truck Race - Jarama
Lajos Gyula Luigi - Fuglau
Major Benedek - Hungaroring
Király Gábor - Miskolc Rallye
891011
TomRacing - Pannónia-ring
1213
Bárdi Tímea - Pannonhalma
Rozgonyi Ákos - Pannonhalma
Truck Race - Le Mans
Volentér Balázs - Kecskemét
14
Szvoboda Bence - stribro - Cseh csapat Ob
Rozgonyi Ákos - Pannonhalma
Truck Race - Le Mans
Volentér Balázs - Kecskemét
15161718192021
Motocross - Nyáregyháza - Csapat OB
Lécz Gergely - Nyáregyháza
Rozgonyi Ákos - Nyáregyháza
Nagy Alex - Nyáregyháza
Marosi Dávid - Nyáregyháza
Lajos Gyula Luigi - Sosnova
2223242526
Király Gábor - Baranya Kupa
27
Király Gábor - Baranya Kupa
28
Szekeres Zsolt - Őrbottyán
Király Gábor - Baranya Kupa
293031 



     






Subscribe Unsubscribe

create(); EXAMPLE #2: $myCal = new CALENDAR(2004, 12); echo $myCal->create(); EXAMPLE #3: $myCal = new CALENDAR(); $myCal->year = 2004; $myCal->month = 12; echo $myCal->create(); Returns HTML code ========================================================================================================== */ error_reporting(E_WARNING); $cal_ID = 0; class CALENDAR { //======================================================================================================== // Configuration //======================================================================================================== var $tFontFace = 'Arial, Helvetica'; // title: font family (CSS-spec, e.g. "Arial, Helvetica") var $tFontSize = 14; // title: font size (pixels) var $tFontColor = '#FFFFFF'; // title: font color var $tBGColor = '#000000'; // title: background color var $hFontFace = 'Arial, Helvetica'; // heading: font family (CSS-spec, e.g. "Arial, Helvetica") var $hFontSize = 12; // heading: font size (pixels) var $hFontColor = '#FFFFFF'; // heading: font color var $hBGColor = '#000000'; // heading: background color var $dFontFace = 'Arial, Helvetica'; // days: font family (CSS-spec, e.g. "Arial, Helvetica") var $dFontSize = 14; // days: font size (pixels) var $dFontColor = '#b6b6b6'; // days: font color var $dBGColor = '#000000'; // days: background color var $wFontFace = 'Arial, Helvetica'; // weeks: font family (CSS-spec, e.g. "Arial, Helvetica") var $wFontSize = 12; // weeks: font size (pixels) var $wFontColor = '#FFFFFF'; // weeks: font color var $wBGColor = '#304B90'; // weeks: background color var $saFontColor = '#FFFFFF'; // Saturdays: font color var $saBGColor = '#000000'; // Saturdays: background color var $suFontColor = '#FFFFFF'; // Sundays: font color var $suBGColor = '#000000'; // Sundays: background color var $tdBorderColor = '#FFFFFF'; // today: border color var $borderColor = '#FF0000'; // border color var $hilightColor = '#F0F0F00'; // hilight color (works only in combination with link) var $link = ''; // page to link to when day is clicked var $linkTarget = ''; // link target frame or window, e.g. parent.myFrame var $offset = 2; // week start: 0 - 6 (0 = Saturday, 1 = Sunday, 2 = Monday ...) var $weekNumbers = false; // view week numbers: true = yes, false = no //-------------------------------------------------------------------------------------------------------- // You should change these variables only if you want to translate them into your language: //-------------------------------------------------------------------------------------------------------- // weekdays: must start with Saturday because January 1st of year 1 was a Saturday var $weekdays = array("Sat", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri"); // months: must start with January var $months = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "Octobre", "November", "December"); // error messages var $error = array("Year must be 1 - 3999!", "Month must be 1 - 12!"); //-------------------------------------------------------------------------------------------------------- // Don't change from here: //-------------------------------------------------------------------------------------------------------- var $year, $month, $size; var $mDays = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); var $specDays = array(); //======================================================================================================== // Functions //======================================================================================================== function CALENDAR($year = '', $month = '', $week = '') { if($year == '' && $month == '') { $year = date('Y'); $month = date('n'); } else if($year != '' && $month == '') $month = 1; $this->year = (int) $year; $this->month = (int) $month; $this->week = (int) $week; if($this->linkTarget == '') $this->linkTarget = 'document'; } function set_styles() { global $cal_ID; $cal_ID++; $html = ''; return $html; } function leap_year($year) { return (!($year % 4) && ($year < 1582 || $year % 100 || !($year % 400))) ? true : false; } function get_weekday($year, $days) { $a = $days; if($year) $a += ($year - 1) * 365; for($i = 1; $i < $year; $i++) if($this->leap_year($i)) $a++; if($year > 1582 || ($year == 1582 && $days > 277)) $a -= 10; if($a) $a = ($a - $this->offset) % 7; else if($this->offset) $a += 7 - $this->offset; return $a; } function get_week($year, $days) { $firstWDay = $this->get_weekday($year, 0); if($year == 1582 && $days > 277) $days -= 10; return floor(($days + $firstWDay) / 7) + ($firstWDay <= 3); } function table_cell($content, $class, $date = '', $style = '') { global $cal_ID; $size = round($this->size * 1.4); $html = 'link; $events = array(); $bgColor = ''; if(is_array($this->specDays[$content])) { foreach($this->specDays[$content] as $arr) { if($arr[0]) $bgColor = $arr[0]; if($arr[1]) $events[] = $arr[1]; if($arr[2]) $link = $arr[2]; } $html .= ' title="' . join(' · ', $events) . '"'; if($bgColor) $style .= 'background-color:' . $bgColor . ';'; } if($link) { $link .= strstr($link, '?') ? "&date=$date" : "?date=$date"; $html .= ' onMouseOver="this.className=\'cssHilight' . $cal_ID . '\'"'; $html .= ' onMouseOut="this.className=\'' . $class . '\'"'; $html .= ' onClick="' . $this->linkTarget . '.location.href=\'' . $link . '\'"'; } } if($style) $html .= ' style="' . $style . '"'; $html .= '>' . $content . ''; return $html; } function table_head($content) { global $cal_ID; $cols = $this->weekNumbers ? 8 : 7; $html = '' . $content . ''; for($i = 0; $i < count($this->weekdays); $i++) { $ind = ($i + $this->offset) % 7; $wDay = $this->weekdays[$ind]; $html .= $this->table_cell($wDay, 'cssHeading' . $cal_ID); } if($this->weekNumbers) $html .= $this->table_cell(' ', 'cssHeading' . $cal_ID); $html .= ''; return $html; } function viewEvent($from, $to, $color, $title, $link = '') { if($from > $to) return; if($from < 1 || $from > 31) return; if($to < 1 || $to > 31) return; while($from <= $to) { if(!$this->specDays[$from]) $this->specDays[$from] = array(); $this->specDays[$from][] = array($color, $title, $link); $from++; } } function viewEventEach($weekday, $color, $title, $link = '') { if($weekday < 0 || $weekday > 6) return; for($i = $days = 0; $i < $this->month - 1; $i++) $days += $this->mDays[$i]; for($i = 0; $i < $this->mDays[$this->month-1]; $i++) { if($this->get_weekday($this->year, $days + $i) == $weekday - $this->offset + 1) { if(!$this->specDays[$i]) $this->specDays[$i] = array(); $this->specDays[$i][] = array($color, $title, $link); } } } function create() { global $cal_ID; $this->size = ($this->hFontSize > $this->dFontSize) ? $this->hFontSize : $this->dFontSize; if($this->wFontSize > $this->size) $this->size = $this->wFontSize; list($curYear, $curMonth, $curDay) = explode('-', date('Y-m-d')); if($this->year < 1 || $this->year > 3999) $html = '' . $this->error[0] . ''; else if($this->month < 1 || $this->month > 12) $html = '' . $this->error[1] . ''; else { $this->mDays[1] = $this->leap_year($this->year) ? 29 : 28; for($i = $days = 0; $i < $this->month - 1; $i++) $days += $this->mDays[$i]; $start = $this->get_weekday($this->year, $days); $stop = $this->mDays[$this->month-1]; $html = $this->set_styles(); $html .= ''; $html .= 'borderColor ? ' bgcolor=' . $this->borderColor : '') . '>'; $html .= '
'; $title = htmlentities($this->months[$this->month-1]) . ' ' . $this->year; $html .= $this->table_head($title); $daycount = 1; if(($this->year == $curYear) && ($this->month == $curMonth)) $inThisMonth = true; else $inThisMonth = false; if($this->weekNumbers || $this->week) $weekNr = $this->get_week($this->year, $days); while($daycount <= $stop) { if($this->week && $this->week != $weekNr) { $daycount += 7 - ($daycount == 1 ? $start : 0); $weekNr++; continue; } $html .= ''; for($i = $wdays = 0; $i <= 6; $i++) { $ind = ($i + $this->offset) % 7; if($ind == 0) $class = 'cssSaturdays'; else if($ind == 1) $class = 'cssSundays'; else $class = 'cssDays'; $style = ''; $date = sprintf('%4d-%02d-%02d', $this->year, $this->month, $daycount); if(($daycount == 1 && $i < $start) || $daycount > $stop) $content = ' '; else { $content = $daycount; if($inThisMonth && $daycount == $curDay) { $style = 'padding:0px;border:3px solid ' . $this->tdBorderColor . ';'; } else if($this->year == 1582 && $this->month == 10 && $daycount == 4) $daycount = 14; $daycount++; $wdays++; } $html .= $this->table_cell($content, $class . $cal_ID, $date, $style); } if($this->weekNumbers) { if(!$weekNr) { if($this->year == 1) $content = ' '; else if($this->year == 1583) $content = 51; else $content = $this->get_week($this->year - 1, 365); } else if($this->month == 12 && $weekNr >= 52 && $wdays < 4) $content = 1; else $content = $weekNr; $html .= $this->table_cell($content, 'cssWeeks' . $cal_ID); $weekNr++; } $html .= ''; } $html .= '
'; } return $html; } } ?>