-- phpMyAdmin SQL Dump -- version 4.1.6 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Apr 22, 2014 alle 23:11 -- Versione del server: 5.6.16 -- PHP Version: 5.5.9 DROP TABLE `soraldo_ele_conf`; CREATE TABLE `soraldo_ele_conf` ( `id_conf` int(11) NOT NULL AUTO_INCREMENT, `descrizione` varchar(50) NOT NULL, `limite` int(2) NOT NULL, `consin` enum('0','1') NOT NULL DEFAULT '1', `infpremio` int(3) NOT NULL, `supsbarramento` int(3) NOT NULL, `suppremio` int(3) NOT NULL, `listinfsbar` int(3) NOT NULL DEFAULT '1', `listinfconta` enum('0','1') NOT NULL DEFAULT '1', `listsupconta` enum('0','1') NOT NULL DEFAULT '1', `supminpremio` int(3) NOT NULL, `infminpremio` int(3) NOT NULL, `infdisgiunto` enum('0','1') NOT NULL DEFAULT '0', `supdisgiunto` enum('0','1') NOT NULL DEFAULT '0', `votolista` enum('0','1') NOT NULL DEFAULT '0', `inffisso` enum('0','1') NOT NULL DEFAULT '0', `supfisso` enum('0','1') NOT NULL DEFAULT '0', `fascia_capoluogo` int(2) NOT NULL DEFAULT '0', PRIMARY KEY (`id_conf`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `soraldo_ele_conf` -- /*!40000 ALTER TABLE `soraldo_ele_conf` DISABLE KEYS */; LOCK TABLES `soraldo_ele_conf` WRITE; INSERT INTO `soraldo_ele_conf` (`id_conf`, `descrizione`, `limite`, `consin`, `infpremio`, `supsbarramento`, `suppremio`, `listinfsbar`, `listinfconta`, `listsupconta`, `supminpremio`, `infminpremio`, `infdisgiunto`, `supdisgiunto`, `votolista`, `inffisso`, `supfisso`, `fascia_capoluogo`) VALUES (1, 'Legge Italiana 267/2000', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6), (2, 'Regione Sicilia precedente al 2008', 2, '0', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6), (3, 'Regione Sicilia Legge n. 22 del 16/12/2008', 2, '0', 67, 5, 60, 3, '1', '0', 40, 40, '0', '0', '0', '0', '0', 7), (4, 'Regione Sicilia Legge n.6/2011', 5, '1', 67, 5, 60, 5, '1', '1', 40, 40, '1', '1', '0', '0', '0', 7), (5, 'Legge Italiana 267/2000 con riduzione 2011', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7), (6, 'Legge Italiana 267/2000 con riduzione 2012', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 7), (7, 'Legge Italiana 267/2000 con modifiche 2014', 3, '1', 67, 3, 60, 3, '1', '1', 40, 40, '0', '0', '0', '0', '0', 6); UNLOCK TABLES; /*!40000 ALTER TABLE `soraldo_ele_conf` ENABLE KEYS */; -- -- Database: `eleonline` -- -- -------------------------------------------------------- -- -- Struttura della tabella `soraldo_ele_fasce` -- DROP TABLE `soraldo_ele_fasce`; CREATE TABLE IF NOT EXISTS `soraldo_ele_fasce` ( `id_fascia` int(2) NOT NULL, `abitanti` int(11) NOT NULL, `seggi` int(4) NOT NULL, `id_conf` int(11) DEFAULT '1', KEY `id_fascia` (`id_fascia`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dump dei dati per la tabella `soraldo_ele_fasce` -- INSERT INTO `soraldo_ele_fasce` (`id_fascia`, `abitanti`, `seggi`, `id_conf`) VALUES (1, 3000, 12, 1), (2, 10000, 16, 1), (3, 15000, 20, 1), (4, 30000, 20, 1), (5, 100000, 30, 1), (6, 250000, 40, 1), (7, 500000, 46, 1), (8, 1000000, 50, 1), (9, 100000000, 60, 1), (1, 3000, 12, 2), (2, 10000, 16, 2), (3, 15000, 20, 2), (4, 30000, 20, 2), (5, 100000, 30, 2), (6, 250000, 40, 2), (7, 500000, 46, 2), (8, 1000000, 50, 2), (9, 100000000, 60, 2), (1, 3000, 9, 3), (2, 5000, 9, 3), (4, 15000, 16, 3), (3, 10000, 12, 3), (5, 30000, 16, 3), (6, 100000, 24, 3), (7, 250000, 32, 3), (8, 500000, 36, 3), (9, 1000000, 40, 3), (10, 100000000, 48, 3), (1, 3000, 6, 4), (2, 5000, 7, 4), (3, 10000, 12, 4), (4, 15000, 16, 4), (5, 30000, 16, 4), (6, 100000, 24, 4), (7, 250000, 32, 4), (8, 500000, 36, 4), (9, 1000000, 40, 4), (10, 100000000, 48, 4), (1, 3000, 9, 5), (2, 5000, 9, 5), (3, 10000, 12, 5), (4, 15000, 16, 5), (5, 30000, 16, 5), (6, 100000, 24, 5), (7, 250000, 32, 5), (8, 500000, 36, 5), (9, 1000000, 40, 5), (10, 100000000, 48, 5), (1, 3000, 6, 6), (2, 5000, 7, 6), (3, 10000, 10, 6), (4, 15000, 16, 6), (5, 30000, 16, 6), (6, 100000, 24, 6), (7, 250000, 32, 6), (8, 500000, 36, 6), (9, 1000000, 40, 6), (10, 100000000, 48, 6), (1, 3000, 10, 7), (2, 10000, 12, 7), (3, 15000, 16, 7), (4, 30000, 16, 7), (5, 100000, 24, 7), (6, 250000, 32, 7), (7, 500000, 36, 7), (8, 1000000, 40, 7), (9, 100000000, 48, 7);