include "config.inc.php"; session_start(); header("Content-type: text/html; charset=windows-1253"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); //$_GET["thema_name"] = "istorika"; //$_GET["poli_id"] = 1; ?> if (!isset($_GET["thema_name"])) { $thema_query = mysql_query("select thema_name from ".$db_prefix."themata where menu = 'left' order by cat_order limit 0,1") or die(mysql_error()); $thema_q = mysql_fetch_array($thema_query); $_GET["thema_name"] = $thema_q['thema_name']; } echo "
"; $polis_name_query = mysql_query("select ".$_GET["thema_name"]."_".$_SESSION["interface_lang"]." as thema_descr from ".$db_prefix."nav_polis where id = ".$_GET["poli_id"]) or die(mysql_error()); while ($polis_name_q = mysql_fetch_array($polis_name_query)) { $descr = $polis_name_q['thema_descr']; echo stripslashes($descr); } echo "