include_once($_SERVER['DOCUMENT_ROOT'] .'/code/connect.php'); $page = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE pages_id = '1'")); $subpage = mysql_fetch_assoc(mysql_query("SELECT * FROM subpages WHERE subpages_sef = 'novosti'")); function broadcrumb($id) { $s = mysql_fetch_assoc(mysql_query("SELECT * FROM subpages WHERE subpages_sef = 'novosti'")); broad('/', ' Главная'); //if ($_GET['news'] == true) {broad('/'.$s['subpages_sef'].'/',$s['subpages_title']);} else { broadend($s['subpages_metatitle']);} } include($_SERVER['DOCUMENT_ROOT'] .'/top.php'); ?> /* echo ''.$subpage['subpages_metatitle'].''; */?>