------------------------------------------------------------------------------------------------------------------------ -= Структура папок =- ------------------------------------------------------------------------------------------------------------------------ trunk/site/App/Slide │ │ ├- AbstractObj.php │ │ ├- AdminObj.php │ │ ├- AdminView.php │ │ ├- HotSpotAbstractObj.php │ │ ├- HotSpotAdminObj.php │ │ ├- HotSpotAdminView.php │ │ ├- HotSpotObj.php │ │ ├- Obj.php │ │ └- View.php │ ... │ └- tpl/Slide │ ├- view.tpl │ └- spot_form.tpl│ │ └- www ├- css │ ├- admin-slide.css │ └- slide.css │ ├- js/app │ ├- admin-slide.js │ └- slide.js │ ├- js/lib/yui-build/paginator.js │ └- images/slide ------------------------------------------------------------------------------------------------------------------------ -= Зміни до sitemap.xml =- ------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------ -= Зміни до DB =- ------------------------------------------------------------------------------------------------------------------------ CREATE TABLE `qs_Slide` ( `id` int(11) NOT NULL auto_increment, `type` enum('image','html') NOT NULL, `title` varchar(255) NOT NULL, `image` varchar(255) default NULL, `html` text NOT NULL, `backgroundImage` varchar(255) default NULL, `linkType` enum('none','url','cms') NOT NULL, `idPage` int(11) NOT NULL, `url` varchar(255) NOT NULL, `linkText` varchar(255) NOT NULL, `show` enum('y','n') NOT NULL, `sorter` int(11) NOT NULL, `added` datetime NOT NULL, `changed` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE `qs_SlideHotSpot` ( `id` int(11) NOT NULL auto_increment, `idSlide` int(11) NOT NULL, `type` enum('rect','circle') NOT NULL, `top` int(11) NOT NULL, `left` int(11) NOT NULL, `width` int(11) NOT NULL, `height` int(11) NOT NULL, `urlType` enum('page','url') NOT NULL, `idPage` int(11) NOT NULL, `url` varchar(255) NOT NULL, `added` datetime NOT NULL, `changed` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE `qs_DSlideEffect` ( `name` varchar(16) NOT NULL, `title` varchar(255) NOT NULL, `sorter` int(11) NOT NULL, UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `qs_DSlideEffect` (`name`, `title`, `sorter`) VALUES ('fade', 'Fade', 0), ('slide', 'Slide', 1); CREATE TABLE `qs_DSlideType` ( `id` enum('image','html') NOT NULL, `title` varchar(255) NOT NULL, `sorter` int(11) NOT NULL, UNIQUE KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `qs_DSlideType` (`id`, `title`, `sorter`) VALUES ('image', 'Image', 0), ('html', 'HTML Content', 1); INSERT INTO `qs_zz_DPageItemType` (`id`, `type`, `title`, `sorter`) VALUES (NULL, 'Slide_', 'Slide Block', '60') ; ------------------------------------------------------------------------------------------------------------------------ -= Додаткові вимоги =- ------------------------------------------------------------------------------------------------------------------------ - jQuery, jQuery UI with Draggable and Resizable - php.js - qs.js - YAHOO Paginator