0) { $old_stat_sor=mysql_fetch_array($old_stat_eredmeny); $stat_napok=explode("|",$old_stat_sor['napok']); for($stat_i=0;$stat_i<$stat_currentday;$stat_i++) { //ezen a napon már van bejegyzés: if(isset($stat_napok[$stat_i])) { //ez a mai nap: növelem if($stat_i == $stat_currentday-1) { $stat_uj_napok[$stat_i]=($stat_napok[$stat_i]+1); } //ez nem a mai nap else { $stat_uj_napok[$stat_i]=$stat_napok[$stat_i]; } } //ezen a napon nincs bejegyzés else { //ez a mai nap: if($stat_i == ($stat_currentday-1)) { $stat_uj_napok[$stat_i]="1"; //////////////////////////////////////////////////////////////////// //Levélküldés: if($stat_uj_napok[$stat_i]=="1" and $stat_sendmail==1 and $stat_mailto!="") { $stat_tegnap=$stat_uj_napok[($stat_i-1)]; $to =$stat_mailto; $sub = "[ $stat_sitename számláló: $stat_currentyear.$stat_currentmonth.$stat_i. : $stat_tegnap]"; $content = "A $stat_sitename látogatóinak száma $stat_currentyear.$stat_currentmonth.$stat_i.-á(é)n : $stat_tegnap\n\n"; $content .= "Ez egy automatikusan generált üzenet a szerverről, ne válaszolj rá !"; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=utf-8\n"; $headers .= "From: $stat_sitename <$to>\n"; $headers .= "Reply-To: $to <$to>\n"; $headers .= "X-Sender: <$to>\n"; $headers .= "X-Mailer: PHP\n"; $headers .= "Return-Path: <$to>\n"; @mail($to, $sub, $content, $headers); } //Levélküldés vége ////////////////////////////////////////////////////////////////////// } //ez NEM a mai nap: else { $stat_uj_napok[$stat_i]="0"; } }//end ezen a napon nincs bejegyzés... }//end for... $stat_uj_ho_total=array_sum ($stat_uj_napok); $stat_uj_napok=implode("|",$stat_uj_napok); //bejegyzés mysql_query("LOCK TABLES $table_stat WRITE"); $new_stat_eredmeny=mysql_query("UPDATE $table_stat SET napok='$stat_uj_napok', ho_total='$stat_uj_ho_total' WHERE( ev='$stat_currentyear') AND (ho='$stat_currentmonth') ") or die ("Hiba a kérésben!"); mysql_query("UNLOCK TABLES"); }//End if($old_stat_sordb>0) ################### //Ebben az évben és hónapban még nem volt bejegyzés //HIBA! az előző hó utolsó napjáról nem küld E-mailt! else { for($stat_i=0;$stat_i<$stat_currentday;$stat_i++) { //ez a mai nap if( $stat_i==($stat_currentday-1) ) { $stat_uj_napok[$stat_i]=1; } //ez NEM a mai nap else { $stat_uj_napok[$stat_i]="0"; } } $stat_uj_napok=implode("|",$stat_uj_napok); //bejegyzés mysql_query("LOCK TABLES $table_stat WRITE"); $new_stat_eredmeny=mysql_query("INSERT INTO $table_stat SET napok='$stat_uj_napok', ho_total='1', ev='$stat_currentyear', ho='$stat_currentmonth' ") or die ("Hiba a kérésben!"); mysql_query("UNLOCK TABLES"); } ###################}//end if... még nincs bejegyezve, vagy már törölve lett, mert lejárt...#################//Useronline$stat_online_eredmeny=mysql_query("SELECT sess_id FROM $table_stat_useronline WHERE (time>='$stat_timeout') ") or die ("Hiba a kérésben!");$stat_online_sordb = mysql_num_rows($stat_online_eredmeny);$stat_useronline=$stat_online_sordb>=0 ? $stat_online_sordb : "0";##############//Rekord$stat_recordonline_old_eredmeny=mysql_query("SELECT * FROM $table_stat_record ") or die ("Hiba a kérésben!");$stat_recordonline_old_sordb = mysql_num_rows($stat_recordonline_old_eredmeny);//van már record...if($stat_recordonline_old_sordb>0){ $stat_recordonline_old_sor=mysql_fetch_array($stat_recordonline_old_eredmeny); $stat_old_record=$stat_recordonline_old_sor['uonlinerecord']; if($stat_useronline>$stat_old_record) { mysql_query("LOCK TABLES $table_stat_record WRITE"); mysql_query("UPDATE $table_stat_record SET uonlinerecord='$stat_useronline', urecordtime='$stat_realtime' ") or die ("Hiba a kérésben!"); mysql_query("UNLOCK TABLES"); }}//még nem volt record...else{ mysql_query("LOCK TABLES $table_stat_record WRITE"); mysql_query("INSERT INTO $table_stat_record SET uonlinerecord='$stat_useronline', urecordtime='$stat_realtime' ") or die ("Hiba a kérésben!"); mysql_query("UNLOCK TABLES");}#################//Total$stat_total_eredmeny=mysql_query("SELECT SUM(ho_total) AS stat_total FROM $table_stat ") or die ("Hiba a kérésben!");$stat_total_sordb = mysql_num_rows($stat_total_eredmeny);if($stat_total_sordb>0){ $stat_total_sor=mysql_fetch_array($stat_total_eredmeny); $stat_total=$stat_total_sor['stat_total'];}else{ $stat_total="0";}$stat_total=($stat_total + $stat_startnum);#################//ma$stat_ma_eredmeny=mysql_query("SELECT * FROM $table_stat WHERE( ev='$stat_currentyear') AND (ho='$stat_currentmonth') ") or die ("Hiba a kérésben!");$stat_ma_sordb = mysql_num_rows($stat_ma_eredmeny);if($stat_ma_sordb>0){ $stat_ma_sor=mysql_fetch_array($stat_ma_eredmeny); $stat_napok=explode("|",$stat_ma_sor['napok']); for($stat_i=0;$stat_i<$stat_currentday;$stat_i++) { if($stat_i == $stat_currentday-1) { $stat_ma=$stat_napok[$stat_i]; } }}$stat_ma=$stat_ma>=0 ? $stat_ma : "0";#################//hó$stat_ho=$stat_ma_sor['ho_total'];$stat_ho=$stat_ho>=0 ? $stat_ho : "0";?> Cegléd város hivatalos honlapja

Cegléd Város Hivatalos Honlapja

betűméret:
Alapértelmezett színséma

SPORTEGYESÜLETEK, SZAKOSZTÁLYOK


Sportegyesület Kapcsolattartó Weboldal Facebook oldal
Neve Telefonszáma
Ceglédi VSE - Atlétika Keszthelyi Ferenc +36 70 949 3125    
Ceglédi VSE - Asztalitenisz Gergye Zoltán +36 30 550 1173   https://www.facebook.com/groups/206117176137590
Ceglédi VSE - Bírkózás Pap Ferenc +36 20 213 5602   https://www.facebook.com/cegledivse.birkozoszakosztaly
Ceglédi VSE - Boksz Kovács István +36 53 311 379    
Ceglédi VSE - Darts Lukácsi Ferenc +36 20 392 0875   https://www.facebook.com/cvsedartscegled
Ceglédi VSE - FitKid Randos Gabriella +36 20 204 2909    
Ceglédi VSE - Judo Bíró Tamás +36 20 933 4038   https://www.facebook.com/cvse.judo
Ceglédi VSE - Labdarúgás Jankovics István +36 30 693 5487 weboldal https://www.facebook.com/cegledfociofficial
Ceglédi VSE - Lovasok        
Ceglédi VSE - Tájékozódási futók        
Ceglédi VSE - Teke Hűvös Zsolt +36 70 605 8506   https://www.facebook.com/groups/137858872934621
Ceglédi VSE - Tenisz        
Ceglédi VSE - Vízilabda Zám Attila +36 70 374 0141 weboldal https://www.facebook.com/CeglediVizilabda
Ceglédi Kézilabda Klub SE Varga Péter   weboldal https://www.facebook.com/Cegl%C3%A9di-K%C3%A9zilabda-Klub-SE-401896553207706
Ceglédi Kék Cápák Pudics Zsolt +36 30 951 4994 weboldal  
Ceglédi Kosárlabda Egyesület Kalmár Bálint +36 70 329 9103 weboldal https://www.facebook.com/CeglediKE
Ceglédi Elefántkölykök Kosárlabda Klub   +36 30 248 5460 weboldal https://www.facebook.com/cekkhungary
Ceglédi Ashihara Karate Sportegyesület Abuczky Csaba +36 30 628 4443   https://www.facebook.com/Cegl%C3%A9di-Ashihara-Karate-Sportegyes%C3%BClet-103085821057050
Váradi Acro Team - Torna Váradi László +36 20 941 6351 weboldal https://www.facebook.com/V%C3%A1radi-Acro-Team-500153130180588
Életmód SE - Tollaslabda Nagy Krisztián +36 20 745 9985 weboldal https://www.facebook.com/living.sport.cegled
Ceglédi Kettlebell SE Majorosi-Lázár Anita +36 70 380 8170   https://www.facebook.com/kettlebellcegled
Seijin SE - Kyokushin Karate Orosz Zoltán +36 70 364 7386   https://www.facebook.com/Seijin-SE-109170027150732
Spirit SE - Kyokushin Karate Gál Csaba +36 30 626 0088   https://www.facebook.com/eromucegled
Startolunk Sport Egyesület - röplabda, futsal Majláth Árpád   weboldal https://www.facebook.com/Startolunk-SE-PIMI-Futsal-648503472282214