in then html_header $message = 'More Articles'; $message2 = ''; /* START HTML */ //Check of amount of info passed. $get = $_GET; if (!isset($REQUEST_URI)) { $message = "

Wedding Planning
Tips, Themes, Traditions, Guides and Articles

"; $template_file = "listarticles.template.php"; } else { $pathparts = explode('/', $REQUEST_URI); $pathsize = sizeof($pathparts); if ($pathsize > 1) { //check article title aginst DB $pathfilename = urldecode($pathparts[1]); $qid_checkarticle = db_query(" SELECT * FROM mergener_wedcon.tbl_Articles WHERE Filename = '$pathfilename' "); if (! db_num_rows($qid_checkarticle)) { $message = "

Sorry that article is not in our records.
Please select on of the following.

"; $template_file = "listarticles.template.php"; } else { $article_row = db_fetch_object($qid_checkarticle); $Article_ID = $r->Article_ID; $html_title = $r->Title; $template_file = "article.template.php"; } } } require_once DIR_FS_INCLUDES . 'html_header.php'; echo '
' . $message2 . $message . '
'; echo "
"; require_once $template_file; echo "
"; ?>


More Wedding Connections Articles
Search Local Resources

Bookmark and Share