SQL/DB Error -- [
    Error establishing a database connection!
  1. Are you sure you have the correct user/password?
  2. Are you sure that you have typed the correct hostname?
  3. Are you sure that the database server is running?
]
SQL/DB Error -- [
    Error establishing a database connection!
  1. Are you sure you have the correct user/password?
  2. Are you sure that you have typed the correct hostname?
  3. Are you sure that the database server is running?
]
SQL/DB Error -- []
SELECT prefix_box.id_box, prefix_box.unikatni_id, prefix_box.nazev, prefix_box.url, prefix_box.staticky_nadpis, prefix_box.staticky_obsah, prefix_box.staticky_odkaz, prefix_box.staticky_clanek, prefix_box.typ, prefix_box.pozice, prefix_box.vypis, prefix_box.pocet, prefix_box.data, prefix_box.stanice, prefix_box.box_barva, prefix_box.box_dekorace, prefix_box.layout, CASE WHEN box_2_rubrika.priorita IS NOT NULL THEN box_2_rubrika.priorita ELSE prefix_box.priorita END AS priorita FROM prefix_box LEFT JOIN ( SELECT * FROM prefix_box_2_rubrika WHERE prefix_box_2_rubrika.rubrika_id = 0 ) AS box_2_rubrika ON prefix_box.id_box = box_2_rubrika.box_id WHERE prefix_box.pozice IN (0,1,2) AND prefix_box.active_state = 1 AND ( CASE WHEN 0 != ANY(prefix_box.zobrazovat) THEN CASE WHEN -1 = -1 THEN -1 = ANY(prefix_box.zobrazovat) ELSE CASE WHEN -2 = ANY(prefix_box.zobrazovat) THEN TRUE ELSE CASE WHEN prefix_box.zobrazovat_vnorene = 1 THEN (0 = ANY(prefix_box.zobrazovat) OR 0 = ANY(prefix_box.zobrazovat) OR 0 = ANY(prefix_box.zobrazovat)) ELSE -1 = ANY(prefix_box.zobrazovat) END END END ELSE TRUE END ) AND (1 = ANY(prefix_box.layout) OR prefix_box.pozice = 0) AND 1 = ANY(prefix_box.stanice) ORDER BY priorita DESC, typ ASC
TV Barrandov - baví nás bavit