header('Content-Type: text/html; charset=utf-8');
header('Content-type: application/xml');
include"includes/db_engine.php";
include"includes/funcs.php";
$conn_headers=connect_pb('includes/settings_db.php');
$headers_rows=select_pb($conn_headers, "id=='1'");
$headers_title=$headers_rows["title"][0];
$headers_keywords=$headers_rows["keywords"][0];
$headers_description=$headers_rows["description"][0];
echo"";
?>
http://tortykasi.pl
$subpages_conn=connect_pb('includes/subpages_db.php');
$rss_query=select_pb($subpages_conn, " topmenu_status=='show' OR bottommenu_status=='show' ","topmenu_priority ASC");
$rss_query_cnt=count_pb($rss_query);
for($fmqc=0;$fmqc<$rss_query_cnt;$fmqc++)
{
$rss_id=$rss_query[id][$fmqc];
$rss_int_name=$rss_query[int_name][$fmqc];
$rss_ext_name=$rss_query[ext_name][$fmqc];
$rss_alt=$rss_query[alt][$fmqc];
$rss_desc=$rss_query[descr][$fmqc];
$rss_link=$_SERVER['SERVER_NAME']."/index.php?torty_warszawa=$rss_int_name";
echo"
-
$rss_ext_name
http://$rss_link
$rss_desc
http://$rss_link
";
}
?>