set('box_top', box_top('Book Review')); $template->set('box_bottom', box_bottom()); if($_GET['id']=='') $id=1; else $id = $_GET['id']; $section = $db->get_sql_row("SELECT * FROM f_book WHERE id=".$id.""); $section = $db->add_special_chars_array($section); $template->set('data', $section); $template_output .= $template->process('book_review.tpl.php'); include_once ('global_footer.php'); echo $template_output; ?>