<?php /****************************************************** * Created by: Randy Baker * Created on: 23-JUL-2012 * ---------------------------------------------------- * IFRAME Rendering Page (render.php) ******************************************************/ /************************************ * Environment setup... ************************************/ require 'includes/application.php'; /************************************ * Get the news headline data... ************************************/ $objHeadline = arrayToObject(getNewsHeadlineData($intRenderID)); echo $objHeadline->news_body;
/****************************************************** * Created by: Randy Baker * Created on: 23-JUL-2012 * ---------------------------------------------------- * News Article Page (article.php) ******************************************************/ /************************************ * Environment setup... ************************************/ require 'includes/application.php'; /************************************ * Get the news headline data... ************************************/ $intArticleID = getHeadlineID($strModifierClean); $objHeadline = arrayToObject(getNewsHeadlineData($intArticleID)); $strPageTitle = $objHeadline->news_title; $strPageDescription = $objHeadline->news_summary; $strPageKeywords = $objHeadline->news_tags; /************************************ * Get the previous/next headline... ************************************/ $objPrevURL = arrayToObject(getPrevNextArticle($objHeadline->id, 'prev')); $objNextURL = arrayToObject(getPrevNextArticle($objHeadline->id, 'next')); /************************************ * Include the HTML header... ************************************/ include 'include/public_header.php'; ?> <!-- BEGIN: PREV / NEXT --> <div class="divPrevNext" style="width:99%; height:25px; margin-top:5px;">