Ayın Panoraması
İlgili Panorama:
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND s.sene=2019 GROUP BY p.id ' at line 26
    SELECT SQL_CALC_FOUND_ROWS p.id,p.mac_id,p.panorama_tur_id,pt.ad AS panorama_ad,pt.uygulanma_tur, t.ad AS takim_ad,p.uye_id,CONCAT(u.ad,' ',u.soyad) AS oyuncu_ad, IF(pt.uygulanma_tur=2,getUserImage(u.resim_id),'') AS oyuncu_resim, IF(pt.uygulanma_tur=1,getTeamLogo(t.resim_id),'') AS takim_logo, IF(pt.uygulanma_tur=3,getNewsCoverImage(h.resim_id),'') AS mac_resim, s.sezon_ad,l.lig_ad,po.ad AS hafta_ad,p.ay_id,p.takim_id, IF(pt.uygulanma_tur=3, (SELECT CONCAT(CAST(t1.ad AS CHAR),': ',m.gol1,'
    ',CAST(t2.ad AS CHAR),': ',m.gol2) FROM takimlar t1,takimlar t2 WHERE m.takim1_id=t1.id AND m.takim2_id=t2.id) ,'') AS takimlar FROM (panorama p,panorama_tur pt,sezon s,ligler l,lig_iller li) LEFT JOIN takimlar t ON (p.takim_id=t.id AND t.uygulama_id=4) LEFT JOIN uyeler u ON (p.uye_id=u.id AND u.uygulama_id=4) LEFT JOIN playoff po ON (po.id=p.playoff_hafta_id) LEFT JOIN haberler h ON(h.mac_id=p.mac_id AND h.uygulama_id=4) LEFT JOIN maclar m ON(m.id=p.mac_id AND m.uygulama_id=4) WHERE l.uygulama_id=4 AND pt.panorama_tur=1 AND p.sezon_id=s.id AND l.id=p.lig_id AND p.panorama_tur_id=pt.id AND p.ay_id=07 AND li.lig_id=l.id AND li.il_id=34 AND l.id= AND s.sene=2019 GROUP BY p.id ORDER BY p.id DESC LIMIT 0,30;