From: Steve Sutton Date: Tue, 9 Feb 2010 16:16:06 +0000 (+0000) Subject: adding rotating images X-Git-Tag: v1.0.0~93 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2180e05d111a3c481ee2679b04c44b2cef2e2177;p=web%2FTroutCreek.git adding rotating images --- 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(); +?>