Query("SELECT `page_id`,`last_update`,`parent_id`,`page_title`,`header_title`,`meta_keywords`,`meta_description`,`page_name`,`robots_index`,`robots_follow`,`is_active_flag`,`display` FROM `page_editor` WHERE (`page_name`='index.php' OR `page_name` = 'home' OR `page_name` = '') LIMIT 1", __FILE__, __LINE__); if( $row = mysql_fetch_assoc($result) ) { foreach($row as $key => $value) ${$key} = htmlspecialchars($value); } include("header.php"); /*$header_title = !empty($header_title) ? $header_title : $page_title; ?>

Query("SELECT `content` FROM `page_editor_sections` WHERE (`page_id`='".$page_id."' AND `is_active_flag` = 'Yes') ORDER BY `order_id`", __FILE__, __LINE__); while( $row=mysql_fetch_assoc($result) ) { echo $row["content"]; } } */ include("footer.php"); ?>