get_row("select * from infopages_pageinfo where pathinfo='$pathinfo'"); $dir = ereg_replace("[a-zA-Z0-9_-]*\.html","",$pathinfo); if(!$pageinfo->title) { header ('HTTP/1.1 301 Moved Permanently'); header ('Location: ' . $dir); exit(0); } if($_GET['header']) $pageinfo->header = $_GET['header']; if($_GET['footer']) $pageinfo->footer = $_GET['footer']; ?> <? echo ucwords($pageinfo->title) ?> header) { include($pageinfo->header); } else { include('includes/header.php'); } ?> content ?> newsgrab_keyword; if(!$newsgrab_keyword) { $newsgrab_keyword = $pageinfo->keyword; } include('../newsgrabincludes/rsshandler.php'); ?>

links ?>

footer) { include($pageinfo->footer); } else { include('includes/footer.php'); } ?>