"; $html .= "Cesta: "; $html .= "Funatic » "; $html .= "Archív článků » "; $html .= "«zpět"; $html .= "

"; $html .= "

Archív článků

"; $html .= ""; */ $html = '

zpětArchív článků

'; $i=1; while($pole = MySQL_Fetch_Array($dotaz)) { $dot = MySQL_Query("Select * from fotky Where ID_str='cla_$pole[ID]' and hlavni='ACTIVE'"); $pol = MySQL_Fetch_Array($dot); $url = SERVER."clanky/".PHP_vytvorUrl($pole[nazev])."/"; $text = str_replace("

"," ",$pole[html]); $text = str_replace("

"," ",$text); $text = str_replace("
"," ",$text); $text = str_replace("
"," ",$text); $text = strip_tags($text); $text = HTML_zobrazCastTextu($text,350); $html .= '

'.$pole[nazev].'

'; if (MySQL_Num_Rows($dot) > 0) { $html .= ""; $html .= "$pole[nazev]"; $html .= ""; } $html .= '

'.$text.'

'; if ($i == 3) { $html .= '
'; } $i++; } /* $html .= '

'.$text.'

'; if ($i == ($pocet_zob_p/2)) { $html .= '
'; } $i++; }*/ $html .= '
 
'; $html .= HTML_cislovaniStranek($poc_poc,$page,$pocet_zob_p,SERVER."clanky/"); ////////////////////////////////////////////// $stranka = new Stranka_XHTML; $stranka->server = SERVER; $stranka->title = $title; $stranka->popis = strlen($pol_kat[description]) > 0 ? $pol_kat[description] : $DESCRIPTION; $stranka->klic_slova = strlen($pol_kat[keywords]) > 0 ? $pol_kat[keywords] : $KEYWORDS; //$stranka->pridejCss("inc/css/layout.css"); //$stranka->pridejJs("inc/funkce/fce_java.js"); //$stranka->pridejCss("inc/css/kalendar.css"); //$stranka->pridejJs("inc/funkce/fce_xhr.js"); //$stranka->pridejOnload("XHR.process('GET','".SERVER."system/kal_user.php?month=".date("n")."&year=".date("Y")."&ddd=".date("d")."',null,zobrazKalendar)"); $stranka->telo = HTML_zobrazTelo($html); $stranka->zobrazStranku(); ?>