### 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" => "plain_excerpt_page.html",
"excerpt_details" => "plain_excerpt_details.html",
"excerpts_notfound" => "excerpts_notfound.html",
"header" => "plainheader.html",
"footer" => "plainfooter.php",
"excerpts_main" => "plain_excerpts_main.html",
"excerpt_row_link" => "plain_excerpt_row_link.html",
"detail_info" => "detail_info.html",
"detail_page" => "detail_page.html",
"detail_notfound" => "detail_notfound.html",
"excerpt_row_text" => "plain_excerpt_row_text.html",
"chapters_main" => "chapters_main.html",
"chapters_notfound" => "chapters_notfound.html",
"chapter_row_link" => "plain_chapter_row_link.html"));
# Generate the exceprt detail information
include("/home/superveg/public_html/allabout/scripts/$scripts_directory/plain_excerpt_detail_info.php");
# Generate the excerpts list 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","excerpt_page");
?>