These pages provides demonstrations
of several configurations of the API

Demonstration 1

The API can generate a full html page. This method is dedicated to website using frame (or iframe).

<?php
$qtgapi_path = '';
$qtgapi_head = true;
$qtgapi_count = 8; 
$qtgapi_newline = true; 
include($qtgapi_path.'qtgapi.php');
?>

Here we request the 8 most recent messages, and the messages are displayed with their return charcters (if any).

The result can be shown here in a separate page: qtgapi_demo_1.php

Demonstration 2

The API can generate a div block

<?php
$qtgapi_path = '';
$qtgapi_head = false;
$qtgapi_count = 5;
$qtgapi_backlink = 'Enter the guestbook...';
include($qtgapi_path.'qtgapi.php');
?>

Here we request the 5 most recent messages, and we change the text of the footer link.

Warning: include(soft/qtg2/qtgapi.php): failed to open stream: No such file or directory in /var/www/vhosts/FilerWeb03/q-code.be/httpdocs/qtgapi_demo.php on line 64 Warning: include(soft/qtg2/qtgapi.php): failed to open stream: No such file or directory in /var/www/vhosts/FilerWeb03/q-code.be/httpdocs/qtgapi_demo.php on line 64 Warning: include(): Failed opening 'soft/qtg2/qtgapi.php' for inclusion (include_path='.:/usr/local/php-7.2/lib64/php') in /var/www/vhosts/FilerWeb03/q-code.be/httpdocs/qtgapi_demo.php on line 64

Next demos use jQuery animation

Start page | Demo 3 | Demo 4 | Demo 5