0) { $sqlcat = "SELECT id,parent_id,title,heading,content,description,keywords,extra FROM ".$prefix."menu".$lang_suffix." WHERE id=".$searched_id.";"; $resultdata = mysql_query($sqlcat, $spojenie); $dbdata = mysql_fetch_array($resultdata); $title=$dbdata[title]; $seo_title=$dbdata[title]; if ($dbdata[heading]!="") {$title=$dbdata[heading];$seo_title=$dbdata[heading];} $cat=$dbdata[id]; $description=$dbdata[description]; $keywords=$dbdata[keywords]; $content=$content.$dbdata[content]; //$content=str_replace("&","&",$content); if ($cat==6) {include "inc/modul_news.php";} //novinky if ($cat==3 || $cat==7) {include "inc/modul_contactform.php";} //kontaktny-formular //if ($error!="") {$slogan=$error;$title="404";$content="";} //ak stranka nie je najdena } else { exit(Header("Location: /404")); } ?> <? if ($seo_title!="") {echo $seo_title;}?> "> ">
'; echo $news_links; echo $content; echo '
'; } else if ($mainpage!=1) { echo '
'; echo get_snippet(6); echo $content; echo '
'; } else { if ($content!="") {echo '
'.$content.'
';} ?>