$hlasky[home] » $hlasky[articles]"; if ($pname != ""){ $pname = upravlinku($pname); $pname2 = str_replace(" ","+",$pname); $dbnavrat = mysql_query("SELECT * FROM t_pages WHERE (title='$pname' OR title='$pname2') LIMIT 1"); if (mysql_num_rows($dbnavrat) == 0){ $pname = ""; $content = "

$hlasky[err_notfound]

"; }else{ $dbhodnota = mysql_fetch_array($dbnavrat); $id = $dbhodnota["id"]; $dbnavrat = mysql_query("SELECT * FROM t_pages_lang WHERE id='$id' AND lang='$jazyk' AND content <> '' LIMIT 1"); if (mysql_num_rows($dbnavrat)==0){$dbnavrat = mysql_query("SELECT * FROM t_pages_lang WHERE id='$id' AND lang='en' AND content <> '' LIMIT 1");} if (mysql_num_rows($dbnavrat)==0){$dbnavrat = mysql_query("SELECT * FROM t_pages_lang WHERE id='$id' AND content <> '' LIMIT 1");} while($dbhodnota = mysql_fetch_array($dbnavrat)){ $q = uprav($dbhodnota[name]); $h1 = $h1." :: $q"; $a .= " » $q"; $page["keywords"] = uprav($dbhodnota["keywords"]); $page["description"] = uprav($dbhodnota["description"]); $content = opravitpreHTML($dbhodnota["content"],1); } } } $page["title"] = $h1." | ".$page["title"]; $page["keywords"] = $h1.", ".$page["keywords"]; include "page_head.php"; echo "

$a

\n"; $lefttext = getpagedesc("articles"); $lefttext = "

$hlasky[articles]

".$lefttext."

"; include "linksnew.php"; echo "
$content\n"; if ($pname == ""){ $dbnavrat = mysql_query("SELECT * FROM t_pages"); while($dbhodnota = mysql_fetch_array($dbnavrat)){ $title = getPageLink($dbhodnota["id"],"t_pages_lang"); echo "

$title

\n"; } } echo "
"; include "page_foot.php"; ?>