/* ******************************************************* ** NAME: article ** CREATED: 11/7/01 12:13 ******************************************************* ** DESCRIPTION: ** article reader and browser. ** ******************************************************* ** HISTORY: ** ** ** ** ******************************************************* ** ANY CHANGES THAT RESULT IN ERRORS MAY HAVE TO FIXED ** AT _SUBSTANTIAL_ EXTRA COST!! ******************************************************* */ /* INITIALIZE */ //require_once '/home/sites/site7/includes/application_top.php'; require_once '/home2/mergener/public_html/vhosts/weddingconnections.com/includes/application_top.php'; $html_title = "Wedding Planning Tips, Themes, Traditions, Guides and Articles"; // Define the page's html
"; $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.