#!/usr/bin/php<?phprequire_once '../include/class.dialog.php';$dialog = Dialog::factory('infobox', array( 'backtitle' => 'Info Box'));$seconds = 5;$dialog->setHeight(3) ->setWidth(30);while($seconds > 0) { $dialog->setCaption("Please wait $seconds seconds...") ->show(); sleep(1); $seconds--;}$dialog->setCaption('Hello World') ->show();sleep(2);