### IMPORTANT: THERE IS NO HTML IN HERE. DO NOT CHANGE THIS FILE!
### THEY ARE TEMPLATE DRIVEN. MAKE CHANGES TO THE TEMPLATES.
include "store_settings.php";
# Include code for template generation
include "$phplib_template";
# Connect to the database
include("/home/superveg/public_html/allabout/db_connect/$dbconnect_directory/db_connect_admin.php");
# Start assembling the templates
$t = new Template("/home/superveg/public_html/allabout/templates/");
$t->set_file(array(
"detail_page" => "detail_page.html",
"detail_info" => "detail_info.html",
"detail_notfound" => "detail_notfound.html",
"header" => "header.html",
"chapters_main" => "chapters_main.html",
"chapters_notfound" => "chapters_notfound.html",
"chapter_row_link" => "chapter_row_link.html",
"excerpts_main" => "excerpts_main.html",
"excerpts_notfound" => "excerpts_notfound.html",
"excerpt_row_link" => "excerpt_row_link.html",
"excerpt_row_text" => "excerpt_row_text.html",
"product_detail_not_available" => "product_detail_not_available.html",
"footer" => "footer.php"));
# Generate the product detail info
include("/home/superveg/public_html/allabout/scripts/$scripts_directory/product_detail_info.php");
# Generate the excerpts info
include("/home/superveg/public_html/allabout/scripts/$scripts_directory/excerpt_list.php");
# Generate the related stories info
include("/home/superveg/public_html/allabout/scripts/$scripts_directory/chapter_list.php");
$t->parse("header","header");
$t->parse("footer","footer");
$t->pparse("output","detail_page");
?>