From 2180e05d111a3c481ee2679b04c44b2cef2e2177 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 9 Feb 2010 16:16:06 +0000 Subject: [PATCH] adding rotating images --- admin/rotatingImages.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 admin/rotatingImages.php diff --git a/admin/rotatingImages.php b/admin/rotatingImages.php new file mode 100644 index 0000000..c914295 --- /dev/null +++ b/admin/rotatingImages.php @@ -0,0 +1,29 @@ +parseConfig( + BASE . 'Toolkit/RotatingImages/config.ini', + 'IniFile' +); + +// get reference to [conf] section of config file +$rotatingImagesName + = $rotatingImagesRoot->getItem('section', 'conf') + ->getItem('directive', 'applicationName') + ->getContent(); + +$ri = new Toolkit_RotatingImages(); +$nav = $ri->createNav(); +$rotatingImages = $ri->toHtml( + Toolkit_Database::getInstance(), + $rotatingImagesRoot +); + +GLM_TOOLBOX::top($rotatingImagesName, ''); +echo $nav; +echo $rotatingImages; + +GLM_TOOLBOX::footer(); +?> -- 2.17.1