I am currently running a PHP weblog script on my site and I want to insert it between the Catagories table and the New Images table. I have created the new table in home.html and included the weblog php files in index.php. My log appears outside of 4images. I can send you a link by email if you need to see what I mean. Is there anyway to get 4images to include the necessary weblog files correctly? Here the code I changed:
//-----------------------------------------------------
//--- Show Categories ---------------------------------
//-----------------------------------------------------
$categories = get_categories(0);
if (!$categories) {
$categories = $lang['no_categories'];
}
$site_template->register_vars("categories", $categories);
unset($categories);
//-- // Weblog Includes --------------------------
$blog = 1;
$cat = "3+4+6+8+10";
include(ROOT_PATH.'b2/blog.header.php');
include(ROOT_PATH.'b2/news.php');
include(ROOT_PATH.'b2/b2archives.php');
//-----------------------------------------------------
//--- Show New Images ---------------------------------
//-----------------------------------------------------
How can I include external PHP files into 4images?