### 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(
"excerpt_page" => "excerpt_page.html",
"category" => "category.html",
"category_row" => "category_row.html",
"excerpt_details" => "excerpt_details.html",
"excerpts_notfound" => "excerpts_notfound.html",
"shopcartnav1" => "shopcartnav1.html",
"header" => "header.html",
"footer" => "footer.php",
"excerpts_main" => "excerpts_main.html",
"excerpts_notfound" => "excerpts_notfound.html",
"excerpt_row_link" => "excerpt_row_link.html",
"detail_info" => "detail_info.html",
"detail_page" => "detail_page.html",
"detail_info_additional" => "detail_info_additional.html",
"detail_notfound" => "detail_notfound.html",
"excerpt_row_text" => "excerpt_row_text.html",
"chapters_main" => "chapters_main.html",
"chapters_notfound" => "chapters_notfound.html",
"chapter_row_link" => "chapter_row_link.html",
"product_detail_cart_code" => "product_detail_cart_code.html",
"product_detail_not_available" => "product_detail_not_available.html",
"copyright_info" => "copyright.html"));
$t->set_var("product_id",$id);
# Generate the exceprt detail information
include("/home/superveg/public_html/allabout/scripts/$scripts_directory/excerpt_detail_info.php");
# Generate the excerpts info
include("/home/superveg/public_html/allabout/scripts/$scripts_directory/excerpt_list.php");
# Generate the chapter info
include("/home/superveg/public_html/allabout/scripts/$scripts_directory/chapter_list.php");
$t->parse("shopping_cart_nav","shopcartnav1");
$t->parse("header","header");
$t->parse("footer","footer");
$t->parse("copyright","copyright_info");
$t->pparse("output","excerpt_page");
?>