set($rcat); $tpl->set("hrefc", href2('category', $rcat['cat_id'])); make_img($tpl, "ximg", "/upload/page/", $rcat['cat_ximg'], '', 'absmiddle'); $tpl->parse("rss_cat", ".rss_cat"); } @mysql_free_result($res); /* page body */ $SQL = "SELECT category_text.cat_title, category_text.cat_text FROM category LEFT JOIN category_text ON ct_cat=cat_id AND ct_lang=$lang WHERE cat_id=".(int)$cat; $res = mysql_query($SQL); $row = @mysql_fetch_array($res); @mysql_free_result($res); if (is_array($row)) $tpl->set("text", $row['cat_text']); $tpl->parse("main", "main"); ?> CYPRUS MIRROR Daily News | RSS