id; $title=$radek_stranka->nazev; if($_GET[galerie]) { $query = "SELECT a.blok AS id, a.obsah_ret AS nazev, b.obsah_int AS galerie, c.obsah_int AS datum, d.obsah_text AS text, e.obsah_int AS aktivni FROM obsah_tlacitek AS a, obsah_tlacitek AS b, obsah_tlacitek AS c, obsah_tlacitek AS d, obsah_tlacitek AS e WHERE a.tlacitko = 215 AND b.tlacitko = 216 AND c.tlacitko = 217 AND d.tlacitko = 219 AND e.tlacitko = 220 AND a.blok = b.blok AND a.blok = c.blok AND a.blok = d.blok AND e.obsah_int='48' AND a.blok='".intval($_GET[galerie])."'"; $da_galerie=MySQL_Query($query); $radek_galerie = MySQL_Fetch_Object($da_galerie); $title=$radek_galerie->nazev; } else { $keywords=$radek_stranka->keywords; $description=$radek_stranka->description; } include "header.php"; ?>
id) { ?>

nazev; ?>

pocet; $query = "SELECT a.blok AS id, a.obsah_ret AS nazev, b.obsah_int AS galerie, c.obsah_int AS datum, d.obsah_text AS perex, e.obsah_int AS aktivni FROM obsah_tlacitek AS a, obsah_tlacitek AS b, obsah_tlacitek AS c, obsah_tlacitek AS d, obsah_tlacitek AS e WHERE a.tlacitko = 215 AND b.tlacitko = 216 AND c.tlacitko = 217 AND d.tlacitko = 218 AND e.tlacitko = 220 AND a.blok = b.blok AND a.blok = c.blok AND a.blok = d.blok AND a.blok = e.blok AND e.obsah_int=48 order by datum desc, id desc limit $min, $posun"; $da_gotogalerie=MySQL_Query($query); $i=0; while($radek_gotogalerie = MySQL_Fetch_Object($da_gotogalerie)) { ?>
datum) ?>. datum)); echo " ".date("y",$radek_gotogalerie->datum); ?>

nazev; ?>

perex; ?>

více...

$posun) { $pulka=5; ?>
=0) { ?> " class="prev">Předchozí =$rozsah_od && $i<$rozsah_do) || ($i+1)%10==0 || $i==0) { ?> class="aktual"> =25) { break; } } } if(($min+$posun)<$pocet) { ?>