stat == 0 ) { header('Location: '.$record->redirect_url,true, 301); } else { $s_id=$record->id; $body=$record->content; $keywords=$record->keywords; $description=$record->description; $title=$record->title; $subtitle=$bar_title=$record->nav_title; $p_id=$record->p_id; mysql_free_result($result); include("header.php"); if ($level0=="articles.html") include("articles.php"); elseif ($level0=="sitemap.html") include("sitemap.xml"); else include("body.php"); include("footer.php"); } ?>