Codice:
<?xml version="1.0" ?>
<mosinstall type="component">
<name>ArtBannersplus</name>
<creationDate>13/07/2006</creationDate>
<author>Dino Porcaro</author>
<copyright>This component is released under the GNU/GPL License</copyright>
<authorEmail>bporcaro@gmail.com</authorEmail>
<authorUrl>www.dinoporcaro.it</authorUrl>
<version>0.6</version>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<description>ArtBannersPlus, Banner for Joomla</description>
<files>
<filename>artbannersplus.php</filename>
<filename>artbannersplus.class.php</filename>
<filename>artbannersplus.css</filename>
</files>
<images>
<filename>language/english.php</filename>
<filename>language/italian.php</filename>
<filename>language/germanf.php</filename>
<filename>language/german.php</filename>
<filename>language/germani.php</filename>
<filename>language/french.php</filename>
<filename>language/russian.php</filename>
<filename>language/brazilian_portuguese.php</filename>
</images>
<install>
<queries>
<query>DROP TABLE IF EXISTS `#__artbanners_categories`</query>
<query>DROP TABLE IF EXISTS `#__artbanners_clients`</query>
<query>DROP TABLE IF EXISTS `#__artbanners`</query>
<query>
CREATE TABLE `#__artbanners` (
`id` int(11) NOT NULL auto_increment,
`cid` int(11) NOT NULL default '0',
`tid` int(11) NOT NULL default '0',
`type` varchar(10) NOT NULL default 'banner',
`name` varchar(50) NOT NULL default '',
`imp_total` int(11) NOT NULL default '0',
`imp_made` int(11) NOT NULL default '0',
`clicks` int(11) NOT NULL default '0',
`image_url` varchar(100) NULL default '',
`click_url` varchar(200) NULL default '',
`custom_banner_code` text,
`state` tinyint(1) NOT NULL default '0',
`last_show` datetime NOT NULL default '0000-00-00 00:00:00',
`msec` int(11) NOT NULL default '0',
`publish_up_date` date NOT NULL default '0000-00-00',
`publish_up_time` time NOT NULL default '00:00:00',
`publish_down_date` date NOT NULL default '0000-00-00',
`publish_down_time` time NOT NULL default '00:00:00',
`reccurtype` tinyint(1) NOT NULL default '0',
`reccurweekdays` varchar(100) NOT NULL default '',
`access` int(11) NOT NULL default '0',
`target` varchar(15) NOT NULL default '',
`border_value` int(11) NOT NULL default '0',
`border_style` varchar(11) NOT NULL default '',
`border_color` varchar(11) NOT NULL default '',
`click_value` varchar(10) NOT NULL default '',
`complete_clicks` int(11) NOT NULL default '0',
`imp_value` varchar(10) NOT NULL default '',
`dta_mod_clicks` date NULL,
`password` varchar(40) NOT NULL default '',
`checked_out` int(11) unsigned NOT NULL default '0',
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
`alt` varchar(200) NULL default '',
`title` varchar(200) NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
</query>
<query>
CREATE TABLE `#__artbanners_clients` (
`cid` int(11) NOT NULL auto_increment,
`name` varchar(60) NOT NULL default '',
`contact` varchar(60) NOT NULL default '',
`email` varchar(60) NOT NULL default '',
`extrainfo` text NOT NULL,
`published` tinyint(1) NOT NULL default '0',
`checked_out` int(11) unsigned NOT NULL default '0',
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`cid`)
) TYPE=MyISAM;
</query>
<query>
CREATE TABLE `#__artbanners_categories` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
`description` text NOT NULL,
`published` tinyint(1) NOT NULL default '0',
`checked_out` int(11) unsigned NOT NULL default '0',
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
</query>
</queries>
</install>
<uninstall>
<queries>
<query>DROP TABLE IF EXISTS `#__artbanners_categories`</query>
<query>DROP TABLE IF EXISTS `#__artbanners_clients`</query>
<query>DROP TABLE IF EXISTS `#__artbanners`</query>
</queries>
</uninstall>
<installfile>install.artbannersplus.php</installfile>
<uninstallfile>uninstall.artbannersplus.php</uninstallfile>
<administration>
<menu>ArtBannersPlus</menu>
<submenu>
<menu task="banners">Gestione Banner</menu>
<menu task="categories">Gestione Categorie</menu>
<menu task="clients">Gestione Clienti</menu>
<menu task="information">Informazioni</menu>
</submenu>
<files>
<filename>admin.artbannersplus.php</filename>
<filename>admin.artbannersplus.html.php</filename>
<filename>toolbar.artbannersplus.php</filename>
<filename>toolbar.artbannersplus.html.php</filename>
</files>
<images>
<filename>images/icon.png</filename>
<filename>images/logo.png</filename>
<filename>images/preview.png</filename>
<filename>images/preview_disable.png</filename>
<filename>images/paypal.gif</filename>
</images>
</administration>
</mosinstall>