==================
 GUESTBOOK script
==================

Requirements: PHP7 with SimpleXML support

Installation Instructions
---------------------------
Store all files and directories on your webspace. Make sure the file
/gb/scripts/gb-data.xml is writeable by the webserver process.

Admin Panel
---------------------------
The guestbook comes with a built-in admin panel which is accessible
through the very same URL as the guestbook itself. Just add a URL
parameter 'gb_admin' and you'll get to the login form.

Example:
Let's take our example from above. The guestbook is at
'http://example.org/gb/gb.php'. The admin panel is accessible through
'http://example.org/gb/gb.php?gb_admin'.

Customizing
----------------------------
The guestbook script comes in two parts. A "wrapper script" and a
"core script". The wrapper script (the file /gb/gb.php) includes the
core script (the file /gb/scripts/gb.script.inc) and assembles the
final page by first loading a template file and then implanting the
guestbook output. The template file can be customized to all your
needs. You can find it in the 'gb' directory (file /gb/gb-template.html).

If you want to implement this guestbook script in a dynamic PHP-driven
website, things might get complicated. Basically all other URL
parameters that aren't used by the guestbook get passed through,
however since the guestbook script runs with UTF-8 encoding, you will
get UTF-8 content from the guestbook script unless you tell the script
to output a different encoding.

If you'd like to include more smilies, simply add the desired image
files to the directory where the other smiley images already are and
call up the "Smiley Editor" from within the admin panel. There you can
assign shorthands to the smiley images.

Felix Riesterer <https://felix-riesterer.de>
