*/ // get template $html = file_get_contents('./gb-template.html'); // create GuestBook object include './scripts/gb.script.inc'; $gb = new GuestBook(); // insert GB contents into template file $html = str_replace('{gb-output}', $gb->html, $html); // custom heading for admin area if ($gb->is_admin() && array_key_exists('gb_admin', $_GET)) { $html = str_replace( '