-- Table structure for table `llx_element_contact`
--

CREATE TABLE `llx_element_contact` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datecreate` datetime DEFAULT NULL,
  `statut` smallint(6) DEFAULT '5',
  `element_id` int(11) NOT NULL,
  `fk_c_type_contact` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_contact_idx1` (`element_id`,`fk_c_type_contact`,`fk_socpeople`),
  KEY `fk_element_contact_fk_c_type_contact` (`fk_c_type_contact`),
  KEY `idx_element_contact_fk_socpeople` (`fk_socpeople`),
  CONSTRAINT `fk_element_contact_fk_c_type_contact` FOREIGN KEY (`fk_c_type_contact`) REFERENCES `llx_c_type_contact` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_element_contact`
--

INSERT INTO `llx_element_contact` (`rowid`, `datecreate`, `statut`, `element_id`, `fk_c_type_contact`, `fk_socpeople`) VALUES (1,'2017-11-02 18:39:28',4,1,160,2),(2,'2017-11-02 18:40:16',4,1,41,1),(3,'2017-11-02 19:01:33',4,1,101,1),(4,'2017-11-02 19:01:33',4,1,101,2),(5,'2017-11-04 16:23:59',4,2,41,1),(6,'2017-11-11 18:42:20',4,3,41,102);

--
-- Table structure for table `llx_element_element`
--

CREATE TABLE `llx_element_element` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_source` int(11) NOT NULL,
  `sourcetype` varchar(32) NOT NULL,
  `fk_target` int(11) NOT NULL,
  `targettype` varchar(32) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_element_idx1` (`fk_source`,`sourcetype`,`fk_target`,`targettype`),
  KEY `idx_element_element_fk_target` (`fk_target`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_element_element`
--

INSERT INTO `llx_element_element` (`rowid`, `fk_source`, `sourcetype`, `fk_target`, `targettype`) VALUES (1,1,'propal',1,'commande');

--
-- Table structure for table `llx_element_resources`
--

CREATE TABLE `llx_element_resources` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `element_id` int(11) DEFAULT NULL,
  `element_type` varchar(64) DEFAULT NULL,
  `resource_id` int(11) DEFAULT NULL,
  `resource_type` varchar(64) DEFAULT NULL,
  `busy` int(11) DEFAULT NULL,
  `mandatory` int(11) DEFAULT NULL,
  `duree` double DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_resources_idx1` (`resource_id`,`resource_type`,`element_id`,`element_type`),
  KEY `idx_element_element_element_id` (`element_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_element_resources`
--


--
-- Table structure for table `llx_element_tag`
--

CREATE TABLE `llx_element_tag` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `lang` varchar(5) NOT NULL,
  `tag` varchar(255) NOT NULL,
  `fk_element` int(11) NOT NULL,
  `element` varchar(64) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_element_tag` (`entity`,`lang`,`tag`,`fk_element`,`element`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_element_tag`
--


--
-- Table structure for table `llx_entrepot`
--

CREATE TABLE `llx_entrepot` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `ref` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `description` text,
  `lieu` varchar(64) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(10) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_departement` int(11) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT '0',
  `statut` tinyint(4) DEFAULT '1',
  `fk_user_author` int(11) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_parent` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_entrepot_label` (`ref`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_entrepot`
--

INSERT INTO `llx_entrepot` (`rowid`, `datec`, `tms`, `ref`, `entity`, `description`, `lieu`, `address`, `zip`, `town`, `fk_departement`, `fk_pays`, `statut`, `fk_user_author`, `model_pdf`, `import_key`, `fk_parent`) VALUES (1,'2017-11-02 19:22:23','2017-11-02 18:22:23','cassettiera',1,'cassettiera in ufficio','cassettiera','','','',NULL,3,1,2,NULL,NULL,NULL),(2,'2017-11-02 19:23:04','2017-11-02 18:23:04','primo cassetto',1,'primo cassetto in alto a desta della cassettiera in ufficio','primocassetto','','','',NULL,3,1,2,NULL,NULL,1);

--
-- Table structure for table `llx_establishment`
--

CREATE TABLE `llx_establishment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `name` varchar(50) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_state` int(11) DEFAULT '0',
  `fk_country` int(11) DEFAULT '0',
  `profid1` varchar(20) DEFAULT NULL,
  `profid2` varchar(20) DEFAULT NULL,
  `profid3` varchar(20) DEFAULT NULL,
  `phone` varchar(20) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `status` tinyint(4) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_establishment`
--


--
-- Table structure for table `llx_event_element`
--

CREATE TABLE `llx_event_element` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_source` int(11) NOT NULL,
  `fk_target` int(11) NOT NULL,
  `targettype` varchar(32) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_event_element`
--


--
-- Table structure for table `llx_events`
--

CREATE TABLE `llx_events` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `type` varchar(32) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `dateevent` datetime DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `description` varchar(250) NOT NULL,
  `ip` varchar(250) DEFAULT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `fk_object` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_events_dateevent` (`dateevent`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_events`
--


--
-- Table structure for table `llx_expedition`
--

CREATE TABLE `llx_expedition` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(30) DEFAULT NULL,
  `ref_customer` varchar(30) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_delivery` datetime DEFAULT NULL,
  `date_expedition` datetime DEFAULT NULL,
  `fk_address` int(11) DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `tracking_number` varchar(50) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `billed` smallint(6) DEFAULT '0',
  `height` float DEFAULT NULL,
  `width` float DEFAULT NULL,
  `size_units` int(11) DEFAULT NULL,
  `size` float DEFAULT NULL,
  `weight_units` int(11) DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_expedition_uk_ref` (`ref`,`entity`),
  KEY `idx_expedition_fk_soc` (`fk_soc`),
  KEY `idx_expedition_fk_user_author` (`fk_user_author`),
  KEY `idx_expedition_fk_user_valid` (`fk_user_valid`),
  KEY `idx_expedition_fk_shipping_method` (`fk_shipping_method`),
  CONSTRAINT `fk_expedition_fk_shipping_method` FOREIGN KEY (`fk_shipping_method`) REFERENCES `llx_c_shipment_mode` (`rowid`),
  CONSTRAINT `fk_expedition_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_expedition_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_expedition_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expedition`
--


--
-- Table structure for table `llx_expedition_extrafields`
--

CREATE TABLE `llx_expedition_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expedition_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expedition_extrafields`
--


--
-- Table structure for table `llx_expeditiondet`
--

CREATE TABLE `llx_expeditiondet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expedition` int(11) NOT NULL,
  `fk_origin_line` int(11) DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `rang` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  KEY `idx_expeditiondet_fk_expedition` (`fk_expedition`),
  CONSTRAINT `fk_expeditiondet_fk_expedition` FOREIGN KEY (`fk_expedition`) REFERENCES `llx_expedition` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expeditiondet`
--


--
-- Table structure for table `llx_expeditiondet_batch`
--

CREATE TABLE `llx_expeditiondet_batch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expeditiondet` int(11) NOT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `batch` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `qty` double NOT NULL DEFAULT '0',
  `fk_origin_stock` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_fk_expeditiondet` (`fk_expeditiondet`),
  CONSTRAINT `fk_expeditiondet_batch_fk_expeditiondet` FOREIGN KEY (`fk_expeditiondet`) REFERENCES `llx_expeditiondet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expeditiondet_batch`
--


--
-- Table structure for table `llx_expeditiondet_extrafields`
--

CREATE TABLE `llx_expeditiondet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expeditiondet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expeditiondet_extrafields`
--


--
-- Table structure for table `llx_expensereport`
--

CREATE TABLE `llx_expensereport` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(50) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_number_int` int(11) DEFAULT NULL,
  `ref_ext` int(11) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `date_debut` date NOT NULL,
  `date_fin` date NOT NULL,
  `date_create` datetime NOT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_approve` datetime DEFAULT NULL,
  `date_refuse` datetime DEFAULT NULL,
  `date_cancel` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_validator` int(11) DEFAULT NULL,
  `fk_user_approve` int(11) DEFAULT NULL,
  `fk_user_refuse` int(11) DEFAULT NULL,
  `fk_user_cancel` int(11) DEFAULT NULL,
  `fk_statut` int(11) NOT NULL,
  `fk_c_paiement` int(11) DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT '0',
  `note_public` text,
  `note_private` text,
  `detail_refuse` varchar(255) DEFAULT NULL,
  `detail_cancel` varchar(255) DEFAULT NULL,
  `integration_compta` int(11) DEFAULT NULL,
  `fk_bank_account` int(11) DEFAULT NULL,
  `model_pdf` varchar(50) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_expensereport_uk_ref` (`ref`,`entity`),
  KEY `idx_expensereport_date_debut` (`date_debut`),
  KEY `idx_expensereport_date_fin` (`date_fin`),
  KEY `idx_expensereport_fk_statut` (`fk_statut`),
  KEY `idx_expensereport_fk_user_author` (`fk_user_author`),
  KEY `idx_expensereport_fk_user_valid` (`fk_user_valid`),
  KEY `idx_expensereport_fk_user_approve` (`fk_user_approve`),
  KEY `idx_expensereport_fk_refuse` (`fk_user_approve`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expensereport`
--


--
-- Table structure for table `llx_expensereport_det`
--

CREATE TABLE `llx_expensereport_det` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expensereport` int(11) NOT NULL,
  `docnumber` varchar(128) DEFAULT NULL,
  `fk_c_type_fees` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `comments` text NOT NULL,
  `product_type` int(11) DEFAULT '-1',
  `qty` double NOT NULL,
  `value_unit` double NOT NULL,
  `remise_percent` double DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `total_ht` double(24,8) NOT NULL DEFAULT '0.00000000',
  `total_tva` double(24,8) NOT NULL DEFAULT '0.00000000',
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) NOT NULL DEFAULT '0.00000000',
  `date` date NOT NULL,
  `info_bits` int(11) DEFAULT '0',
  `special_code` int(11) DEFAULT '0',
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_facture` int(11) DEFAULT '0',
  `fk_code_ventilation` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL,
  `rule_warning_message` text,
  `fk_c_exp_tax_cat` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expensereport_det`
--


--
-- Table structure for table `llx_expensereport_extrafields`
--

CREATE TABLE `llx_expensereport_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expensereport_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expensereport_extrafields`
--


--
-- Table structure for table `llx_expensereport_ik`
--

CREATE TABLE `llx_expensereport_ik` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_c_exp_tax_cat` int(11) NOT NULL DEFAULT '0',
  `fk_range` int(11) NOT NULL DEFAULT '0',
  `coef` double NOT NULL DEFAULT '0',
  `ikoffset` double NOT NULL DEFAULT '0',
  `active` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expensereport_ik`
--

INSERT INTO `llx_expensereport_ik` (`rowid`, `datec`, `tms`, `fk_c_exp_tax_cat`, `fk_range`, `coef`, `ikoffset`, `active`) VALUES (1,NULL,'2018-12-18 19:45:08',4,1,0.41,0,1),(2,NULL,'2018-12-18 19:45:08',4,2,0.244,824,1),(3,NULL,'2018-12-18 19:45:08',4,3,0.286,0,1),(4,NULL,'2018-12-18 19:45:08',5,4,0.493,0,1),(5,NULL,'2018-12-18 19:45:08',5,5,0.277,1082,1),(6,NULL,'2018-12-18 19:45:08',5,6,0.332,0,1),(7,NULL,'2018-12-18 19:45:08',6,7,0.543,0,1),(8,NULL,'2018-12-18 19:45:08',6,8,0.305,1180,1),(9,NULL,'2018-12-18 19:45:08',6,9,0.364,0,1),(10,NULL,'2018-12-18 19:45:08',7,10,0.568,0,1),(11,NULL,'2018-12-18 19:45:08',7,11,0.32,1244,1),(12,NULL,'2018-12-18 19:45:09',7,12,0.382,0,1),(13,NULL,'2018-12-18 19:45:09',8,13,0.595,0,1),(14,NULL,'2018-12-18 19:45:09',8,14,0.337,1288,1),(15,NULL,'2018-12-18 19:45:09',8,15,0.401,0,1);

--
-- Table structure for table `llx_expensereport_rules`
--

CREATE TABLE `llx_expensereport_rules` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `dates` datetime NOT NULL,
  `datee` datetime NOT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `restrictive` tinyint(4) NOT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_usergroup` int(11) DEFAULT NULL,
  `fk_c_type_fees` int(11) NOT NULL,
  `code_expense_rules_type` varchar(50) NOT NULL,
  `is_for_all` tinyint(4) DEFAULT '0',
  `entity` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_expensereport_rules`
--


--
-- Table structure for table `llx_export_compta`
--

CREATE TABLE `llx_export_compta` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(12) NOT NULL,
  `date_export` datetime NOT NULL,
  `fk_user` int(11) NOT NULL,
  `note` text,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_export_compta`
--


--
-- Table structure for table `llx_export_model`
--

CREATE TABLE `llx_export_model` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_user` int(11) NOT NULL DEFAULT '0',
  `label` varchar(50) NOT NULL,
  `type` varchar(20) NOT NULL,
  `field` text NOT NULL,
  `filter` text,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_export_model` (`label`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_export_model`
--


--
-- Table structure for table `llx_extrafields`
--

CREATE TABLE `llx_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `elementtype` varchar(64) NOT NULL DEFAULT 'member',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(255) NOT NULL,
  `type` varchar(8) DEFAULT NULL,
  `size` varchar(8) DEFAULT NULL,
  `fieldcomputed` text,
  `fielddefault` varchar(255) DEFAULT NULL,
  `fieldunique` int(11) DEFAULT '0',
  `fieldrequired` int(11) DEFAULT '0',
  `perms` varchar(255) DEFAULT NULL,
  `pos` int(11) DEFAULT '0',
  `alwayseditable` int(11) DEFAULT '0',
  `param` text,
  `list` varchar(128) DEFAULT NULL,
  `langs` varchar(64) DEFAULT NULL,
  `ishidden` int(11) DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `enabled` varchar(255) DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_extrafields_name` (`name`,`entity`,`elementtype`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_extrafields`
--


--
-- Table structure for table `llx_facture`
--

CREATE TABLE `llx_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `facnumber` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `ref_client` varchar(255) DEFAULT NULL,
  `type` smallint(6) NOT NULL DEFAULT '0',
  `increment` varchar(10) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `date_pointoftax` date DEFAULT NULL,
  `date_valid` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `close_code` varchar(16) DEFAULT NULL,
  `close_note` varchar(128) DEFAULT NULL,
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `revenuestamp` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_fac_rec_source` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) NOT NULL DEFAULT '1',
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `situation_cycle_ref` smallint(6) DEFAULT NULL,
  `situation_counter` smallint(6) DEFAULT NULL,
  `situation_final` smallint(6) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `last_main_doc` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_facture_uk_facnumber` (`facnumber`,`entity`),
  KEY `idx_facture_fk_soc` (`fk_soc`),
  KEY `idx_facture_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fk_user_valid` (`fk_user_valid`),
  KEY `idx_facture_fk_facture_source` (`fk_facture_source`),
  KEY `idx_facture_fk_projet` (`fk_projet`),
  KEY `idx_facture_fk_account` (`fk_account`),
  KEY `idx_facture_fk_currency` (`fk_currency`),
  KEY `idx_facture_fk_statut` (`fk_statut`),
  CONSTRAINT `fk_facture_fk_facture_source` FOREIGN KEY (`fk_facture_source`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_facture_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_facture_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facture`
--


--
-- Table structure for table `llx_facture_extrafields`
--

CREATE TABLE `llx_facture_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facture_extrafields`
--


--
-- Table structure for table `llx_facture_fourn`
--

CREATE TABLE `llx_facture_fourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) NOT NULL,
  `ref_supplier` varchar(255) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) DEFAULT NULL,
  `type` smallint(6) NOT NULL DEFAULT '0',
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `libelle` varchar(255) DEFAULT NULL,
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise` double(24,8) DEFAULT '0.00000000',
  `close_code` varchar(16) DEFAULT NULL,
  `close_note` varchar(128) DEFAULT NULL,
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `last_main_doc` varchar(255) DEFAULT NULL,
  `date_pointoftax` date DEFAULT NULL,
  `date_valid` date DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_fourn_ref` (`ref`,`entity`),
  UNIQUE KEY `uk_facture_fourn_ref_supplier` (`ref_supplier`,`fk_soc`,`entity`),
  KEY `idx_facture_fourn_date_lim_reglement` (`date_lim_reglement`),
  KEY `idx_facture_fourn_fk_soc` (`fk_soc`),
  KEY `idx_facture_fourn_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fourn_fk_user_valid` (`fk_user_valid`),
  KEY `idx_facture_fourn_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_facture_fourn_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facture_fourn`
--


--
-- Table structure for table `llx_facture_fourn_det`
--

CREATE TABLE `llx_facture_fourn_det` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture_fourn` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `pu_ht` double(24,8) DEFAULT NULL,
  `pu_ttc` double(24,8) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT NULL,
  `product_type` int(11) DEFAULT '0',
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT '0',
  `fk_code_ventilation` int(11) NOT NULL DEFAULT '0',
  `special_code` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_fourn_det_fk_facture` (`fk_facture_fourn`),
  KEY `idx_facture_fourn_det_fk_product` (`fk_product`),
  KEY `idx_facture_fourn_det_fk_code_ventilation` (`fk_code_ventilation`),
  KEY `fk_facture_fourn_det_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facture_fourn_det_fk_facture` FOREIGN KEY (`fk_facture_fourn`) REFERENCES `llx_facture_fourn` (`rowid`),
  CONSTRAINT `fk_facture_fourn_det_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facture_fourn_det`
--


--
-- Table structure for table `llx_facture_fourn_det_extrafields`
--

CREATE TABLE `llx_facture_fourn_det_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_fourn_det_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facture_fourn_det_extrafields`
--


--
-- Table structure for table `llx_facture_fourn_extrafields`
--

CREATE TABLE `llx_facture_fourn_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_fourn_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facture_fourn_extrafields`
--


--
-- Table structure for table `llx_facture_rec`
--

CREATE TABLE `llx_facture_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `titre` varchar(100) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise` double DEFAULT '0',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `vat_src_code` varchar(10) DEFAULT '',
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `revenuestamp` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT '0',
  `fk_mode_reglement` int(11) DEFAULT '0',
  `date_lim_reglement` date DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `modelpdf` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `usenewprice` int(11) DEFAULT '0',
  `frequency` int(11) DEFAULT NULL,
  `unit_frequency` varchar(2) DEFAULT 'm',
  `date_when` datetime DEFAULT NULL,
  `date_last_gen` datetime DEFAULT NULL,
  `nb_gen_done` int(11) DEFAULT NULL,
  `nb_gen_max` int(11) DEFAULT NULL,
  `auto_validate` int(11) DEFAULT '0',
  `generate_pdf` int(11) DEFAULT '1',
  `suspended` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_facture_rec_uk_titre` (`titre`,`entity`),
  KEY `idx_facture_rec_fk_soc` (`fk_soc`),
  KEY `idx_facture_rec_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_rec_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_facture_rec_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_rec_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_rec_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facture_rec`
--


--
-- Table structure for table `llx_facture_rec_extrafields`
--

CREATE TABLE `llx_facture_rec_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_rec_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facture_rec_extrafields`
--


--
-- Table structure for table `llx_facturedet`
--

CREATE TABLE `llx_facturedet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `fk_remise_except` int(11) DEFAULT NULL,
  `subprice` double(24,8) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT NULL,
  `product_type` int(11) DEFAULT '0',
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT '0',
  `buy_price_ht` double(24,8) DEFAULT '0.00000000',
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT '0',
  `special_code` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `fk_contract_line` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `situation_percent` double DEFAULT NULL,
  `fk_prev_id` int(11) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture`),
  KEY `idx_facturedet_fk_facture` (`fk_facture`),
  KEY `idx_facturedet_fk_product` (`fk_product`),
  KEY `idx_facturedet_fk_code_ventilation` (`fk_code_ventilation`),
  KEY `fk_facturedet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facturedet_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_facturedet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facturedet`
--


--
-- Table structure for table `llx_facturedet_extrafields`
--

CREATE TABLE `llx_facturedet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facturedet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facturedet_extrafields`
--


--
-- Table structure for table `llx_facturedet_rec`
--

CREATE TABLE `llx_facturedet_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `product_type` int(11) DEFAULT '0',
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `subprice` double(24,8) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT NULL,
  `info_bits` int(11) DEFAULT '0',
  `special_code` int(10) unsigned DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `fk_contract_line` int(11) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `date_start_fill` int(11) DEFAULT '0',
  `date_end_fill` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  KEY `fk_facturedet_rec_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facturedet_rec_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_facturedet_rec`
--


--
-- Table structure for table `llx_fichinter`
--

CREATE TABLE `llx_fichinter` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT '0',
  `fk_contrat` int(11) DEFAULT '0',
  `ref` varchar(30) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `datei` date DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `dateo` date DEFAULT NULL,
  `datee` date DEFAULT NULL,
  `datet` date DEFAULT NULL,
  `duree` double DEFAULT NULL,
  `description` text,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fichinter_ref` (`ref`,`entity`),
  KEY `idx_fichinter_fk_soc` (`fk_soc`),
  CONSTRAINT `fk_fichinter_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_fichinter`
--


--
-- Table structure for table `llx_fichinter_extrafields`
--

CREATE TABLE `llx_fichinter_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_ficheinter_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_fichinter_extrafields`
--


--
-- Table structure for table `llx_fichinterdet`
--

CREATE TABLE `llx_fichinterdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_fichinter` int(11) DEFAULT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `description` text,
  `duree` int(11) DEFAULT NULL,
  `rang` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  KEY `idx_fichinterdet_fk_fichinter` (`fk_fichinter`),
  CONSTRAINT `fk_fichinterdet_fk_fichinter` FOREIGN KEY (`fk_fichinter`) REFERENCES `llx_fichinter` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_fichinterdet`
--


--
-- Table structure for table `llx_fichinterdet_extrafields`
--

CREATE TABLE `llx_fichinterdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_ficheinterdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_fichinterdet_extrafields`
--


--
-- Table structure for table `llx_holiday`
--

CREATE TABLE `llx_holiday` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_user` int(11) NOT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_type` int(11) NOT NULL,
  `date_create` datetime NOT NULL,
  `description` varchar(255) NOT NULL,
  `date_debut` date NOT NULL,
  `date_fin` date NOT NULL,
  `halfday` int(11) DEFAULT '0',
  `statut` int(11) NOT NULL DEFAULT '1',
  `fk_validator` int(11) NOT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_refuse` datetime DEFAULT NULL,
  `fk_user_refuse` int(11) DEFAULT NULL,
  `date_cancel` datetime DEFAULT NULL,
  `fk_user_cancel` int(11) DEFAULT NULL,
  `detail_refuse` varchar(250) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_holiday_entity` (`entity`),
  KEY `idx_holiday_fk_user` (`fk_user`),
  KEY `idx_holiday_fk_user_create` (`fk_user_create`),
  KEY `idx_holiday_date_create` (`date_create`),
  KEY `idx_holiday_date_debut` (`date_debut`),
  KEY `idx_holiday_date_fin` (`date_fin`),
  KEY `idx_holiday_fk_validator` (`fk_validator`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_holiday`
--


--
-- Table structure for table `llx_holiday_config`
--

CREATE TABLE `llx_holiday_config` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(128) DEFAULT NULL,
  `value` text,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `name` (`name`),
  UNIQUE KEY `idx_holiday_config` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_holiday_config`
--

INSERT INTO `llx_holiday_config` (`rowid`, `name`, `value`) VALUES (1,'lastUpdate',NULL);

--
-- Table structure for table `llx_holiday_logs`
--

CREATE TABLE `llx_holiday_logs` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `date_action` datetime NOT NULL,
  `fk_user_action` int(11) NOT NULL,
  `fk_user_update` int(11) NOT NULL,
  `fk_type` int(11) NOT NULL,
  `type_action` varchar(255) NOT NULL,
  `prev_solde` varchar(255) NOT NULL,
  `new_solde` varchar(255) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_holiday_logs`
--


--
-- Table structure for table `llx_holiday_users`
--

CREATE TABLE `llx_holiday_users` (
  `fk_user` int(11) NOT NULL,
  `fk_type` int(11) NOT NULL,
  `nb_holiday` double NOT NULL DEFAULT '0',
  UNIQUE KEY `uk_holiday_users` (`fk_user`,`fk_type`,`nb_holiday`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_holiday_users`
--


--
-- Table structure for table `llx_import_model`
--

CREATE TABLE `llx_import_model` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_user` int(11) NOT NULL DEFAULT '0',
  `label` varchar(50) NOT NULL,
  `type` varchar(50) NOT NULL,
  `field` text NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_import_model` (`label`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_import_model`
--


--
-- Table structure for table `llx_inventory`
--

CREATE TABLE `llx_inventory` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '0',
  `ref` varchar(48) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `date_inventory` datetime DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `date_validation` datetime DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_inventory_ref` (`ref`,`entity`),
  KEY `idx_inventory_tms` (`tms`),
  KEY `idx_inventory_datec` (`date_creation`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_inventory`
--


--
-- Table structure for table `llx_inventorydet`
--

CREATE TABLE `llx_inventorydet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_inventory` int(11) DEFAULT '0',
  `fk_warehouse` int(11) DEFAULT '0',
  `fk_product` int(11) DEFAULT '0',
  `batch` varchar(30) DEFAULT NULL,
  `qty_view` double DEFAULT NULL,
  `qty_stock` double DEFAULT NULL,
  `qty_regulated` double DEFAULT NULL,
  `pmp` double DEFAULT '0',
  `pa` double DEFAULT '0',
  `new_pmp` double DEFAULT '0',
  PRIMARY KEY (`rowid`),
  KEY `idx_inventorydet_tms` (`tms`),
  KEY `idx_inventorydet_datec` (`datec`),
  KEY `idx_inventorydet_fk_inventory` (`fk_inventory`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_inventorydet`
--


--
-- Table structure for table `llx_links`
--

CREATE TABLE `llx_links` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datea` datetime NOT NULL,
  `url` varchar(255) NOT NULL,
  `label` varchar(255) NOT NULL,
  `objecttype` varchar(255) NOT NULL,
  `objectid` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_links` (`objectid`,`label`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_links`
--

INSERT INTO `llx_links` (`rowid`, `entity`, `datea`, `url`, `label`, `objecttype`, `objectid`) VALUES (1,1,'2017-11-02 19:07:55','https://www.prontopro.it/fg/foggia/organizzazione-eventi-e-feste/noleggio-arredi','noleggio tavoli','commande',1);

--
-- Table structure for table `llx_livraison`
--

CREATE TABLE `llx_livraison` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(30) DEFAULT NULL,
  `ref_customer` varchar(30) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_delivery` datetime DEFAULT NULL,
  `fk_address` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_livraison_uk_ref` (`ref`,`entity`),
  KEY `idx_livraison_fk_soc` (`fk_soc`),
  KEY `idx_livraison_fk_user_author` (`fk_user_author`),
  KEY `idx_livraison_fk_user_valid` (`fk_user_valid`),
  CONSTRAINT `fk_livraison_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_livraison_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_livraison_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_livraison`
--


--
-- Table structure for table `llx_livraison_extrafields`
--

CREATE TABLE `llx_livraison_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_livraison_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_livraison_extrafields`
--


--
-- Table structure for table `llx_livraisondet`
--

CREATE TABLE `llx_livraisondet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_livraison` int(11) DEFAULT NULL,
  `fk_origin_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `description` text,
  `qty` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `rang` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  KEY `idx_livraisondet_fk_expedition` (`fk_livraison`),
  CONSTRAINT `fk_livraisondet_fk_livraison` FOREIGN KEY (`fk_livraison`) REFERENCES `llx_livraison` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_livraisondet`
--


--
-- Table structure for table `llx_livraisondet_extrafields`
--

CREATE TABLE `llx_livraisondet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_livraisondet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_livraisondet_extrafields`
--


--
-- Table structure for table `llx_loan`
--

CREATE TABLE `llx_loan` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(80) NOT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `capital` double(24,8) DEFAULT NULL,
  `datestart` date DEFAULT NULL,
  `dateend` date DEFAULT NULL,
  `nbterm` double DEFAULT NULL,
  `rate` double NOT NULL,
  `note_private` text,
  `note_public` text,
  `capital_position` double(24,8) DEFAULT NULL,
  `date_position` date DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT '0',
  `accountancy_account_capital` varchar(32) DEFAULT NULL,
  `accountancy_account_insurance` varchar(32) DEFAULT NULL,
  `accountancy_account_interest` varchar(32) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_loan`
--


--
-- Table structure for table `llx_loan_schedule`
--

CREATE TABLE `llx_loan_schedule` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_loan` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount_capital` double(24,8) DEFAULT NULL,
  `amount_insurance` double(24,8) DEFAULT NULL,
  `amount_interest` double(24,8) DEFAULT NULL,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_loan_schedule`
--


--
-- Table structure for table `llx_localtax`
--

CREATE TABLE `llx_localtax` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `localtaxtype` tinyint(4) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_localtax`
--


--
-- Table structure for table `llx_mailing`
--

CREATE TABLE `llx_mailing` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `statut` smallint(6) DEFAULT '0',
  `titre` varchar(128) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `sujet` varchar(128) DEFAULT NULL,
  `body` mediumtext,
  `bgcolor` varchar(8) DEFAULT NULL,
  `bgimage` varchar(255) DEFAULT NULL,
  `cible` varchar(60) DEFAULT NULL,
  `nbemail` int(11) DEFAULT NULL,
  `email_from` varchar(160) DEFAULT NULL,
  `email_replyto` varchar(160) DEFAULT NULL,
  `email_errorsto` varchar(160) DEFAULT NULL,
  `tag` varchar(128) DEFAULT NULL,
  `date_creat` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_appro` datetime DEFAULT NULL,
  `date_envoi` datetime DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_appro` int(11) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `joined_file1` varchar(255) DEFAULT NULL,
  `joined_file2` varchar(255) DEFAULT NULL,
  `joined_file3` varchar(255) DEFAULT NULL,
  `joined_file4` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_mailing`
--

INSERT INTO `llx_mailing` (`rowid`, `statut`, `titre`, `entity`, `sujet`, `body`, `bgcolor`, `bgimage`, `cible`, `nbemail`, `email_from`, `email_replyto`, `email_errorsto`, `tag`, `date_creat`, `date_valid`, `date_appro`, `date_envoi`, `fk_user_creat`, `fk_user_valid`, `fk_user_appro`, `extraparams`, `joined_file1`, `joined_file2`, `joined_file3`, `joined_file4`) VALUES (2,0,'Invito per Natale',1,'Tu sogni, Io realizzo ... anche  Natale ! ^_^','Se vuoi festeggiare il Natale con i tuoi collaboratori, con un apericena o pranzo,<br />\r\nin azienda da te o in una location allestita esclusivamente per voi...<br />\r\no vuoi rendere Magico il tuo Natale con cesti e regali personalizzati,<br />\r\ncontattaci per un preventivo.<br />\r\n<br />\r\nFrancesco Villani<br />\r\ninfo@foodandstyle.it<br />\r\n<br />\r\n<img alt=\"Rilassati alla cena di Natale ci pensiamo noi! Cristina Cucci\" src=\"/foodandstyle/htdocs/viewimage.php?modulepart=medias&amp;entity=1&amp;file=image/cena%20di%20natale.jpg\" style=\"height:960px; width:639px\" /><img alt=\"\" src=\"/foodandstyle/htdocs/viewimage.php?modulepart=medias&amp;entity=1&amp;file=image/regali%20di%20natale.jpg\" style=\"height:960px; width:639px\" />','','',NULL,NULL,'info@foodandstyle.it','','info@foodandstyle.it',NULL,'2017-11-11 18:43:33',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,3,'invito per natale',1,'TU SOGNI, IO REALIZZO...ANCHE A NATALE','Se vuoi festeggiare il Natale con i tuoi collaboratori, con un apericena o pranzo,<br />\r\nin azienda da te o in una location allestita esclusivamente per voi...<br />\r\no vuoi rendere Magico il tuo Natale con cesti e regali personalizzati,<br />\r\ncontattaci per un preventivo.<br />\r\n<br />\r\nTU SOGNI, IO REALIZZO.....ANCHE A NATALE! ^_^<br />\r\n<br />\r\ncontatti:<br />\r\n<br />\r\nCristina Cucci<br />\r\nwedding &amp; Event Planner<br />\r\n<a href=\"https://maps.google.com/?q=Via+Manfredonia+15+-+Foggia&amp;entry=gmail&amp;source=g\">Via Manfredonia 15 - Foggia</a><br />\r\ncel 3200413019<br />\r\n<a href=\"mailto:info@cristinacucci.com\" target=\"_blank\">info@cristinacucci.com</a>','','',NULL,21,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2017-11-11 18:53:21','2017-11-11 19:11:51',NULL,'2017-11-11 19:32:15',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(4,3,'invito per natale',1,'TU SOGNI, IO REALIZZO...ANCHE A NATALE','Se vuoi festeggiare il Natale con i tuoi collaboratori, con un apericena o pranzo,<br />\r\nin azienda da te o in una location allestita esclusivamente per voi...<br />\r\no vuoi rendere Magico il tuo Natale con cesti e regali personalizzati,<br />\r\ncontattaci per un preventivo.<br />\r\n<br />\r\nTU SOGNI, IO REALIZZO.....ANCHE A NATALE! ^_^<br />\r\n<br />\r\ncontatti:<br />\r\n<br />\r\nCristina Cucci<br />\r\nwedding &amp; Event Planner<br />\r\n<a href=\"https://maps.google.com/?q=Via+Manfredonia+15+-+Foggia&amp;entry=gmail&amp;source=g\" target=\"_blank\">Via Manfredonia 15 - Foggia</a><br />\r\ncel 3200413019<br />\r\n<a href=\"mailto:info@cristinacucci.com\" target=\"_blank\">info@cristinacucci.com</a>','','',NULL,3,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2017-11-11 19:28:17','2017-11-11 19:29:58',NULL,'2017-11-11 19:31:36',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(5,3,'eventi natale',1,'TU SOGNI, IO REALIZZO...ANCHE A NATALE','Se vuoi festeggiare il Natale con i tuoi collaboratori, con un apericena o pranzo,<br />\r\nin azienda da te o in una location allestita esclusivamente per voi...<br />\r\no vuoi rendere Magico il tuo Natale con cesti e regali personalizzati,<br />\r\ncontattaci per un preventivo.<br />\r\n<br />\r\nTU SOGNI, IO REALIZZO.....ANCHE A NATALE! ^_^<br />\r\n<br />\r\ncontatti:<br />\r\n<br />\r\nCristina Cucci<br />\r\nwedding &amp; Event Planner<br />\r\n<a href=\"https://maps.google.com/?q=Via+Manfredonia+15+-+Foggia&amp;entry=gmail&amp;source=g\">Via Manfredonia 15 - Foggia</a><br />\r\ncel 3200413019<br />\r\n<a href=\"mailto:info@cristinacucci.com\" target=\"_blank\">info@cristinacucci.com<br />\r\ninfo@foodandstyle.it</a><br />\r\n&nbsp;','','',NULL,89,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2017-11-24 18:42:06','2017-11-24 18:47:28',NULL,'2017-11-24 19:03:17',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(6,3,'dispense food and style',1,'dispense tema inverno','Vi allego le dispense del corso di Food and style tema inverno,<br />\r\nSpero di vedervi tutti presto.<br />\r\n<br />\r\nFrancesco','','',NULL,5,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2017-11-25 16:51:46','2017-11-25 17:03:48',NULL,'2017-11-25 17:04:02',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(7,3,'dispense F&S natale',1,'dispense natale F&S','Buonasera,<br />\r\ncon un p&ograve; di ritardo vi invio le dispense del corso di natale.<br />\r\n<br />\r\nFrancesco Villani<br />\r\n&nbsp;','','',NULL,8,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2017-12-27 16:25:42','2017-12-27 16:33:42',NULL,'2017-12-27 16:33:54',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(8,3,'dispense F&S natale',1,'dispense natale F&S','<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,\">Buonasera,</span><br />\r\n<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,\">con un p&ograve; di ritardo vi invio le dispense del corso di natale.</span><br />\r\n<br />\r\n<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,\">Francesco Villani</span>','','',NULL,1,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2017-12-27 17:08:41','2017-12-27 17:09:11',NULL,'2017-12-27 17:09:51',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(10,3,'dispense f&s primavera',1,'Dispense food&style primavera','Buonasera,<br />\r\nin allegato trovate le dispense del corso food&amp;style tema primavera.<br />\r\nResto adisposizione per qualsiasi dubbio, a presto.<br />\r\n<br />\r\nFrancesco Villani','','',NULL,7,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2018-03-09 17:02:21','2018-03-09 17:46:30',NULL,'2018-03-09 17:47:53',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(12,3,'dispense f&s primavera',1,'Dispense food&style primavera','<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,&quot;Trebuchet MS&quot;; font-size:13px\">Buonasera,</span><br />\r\n<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,&quot;Trebuchet MS&quot;; font-size:13px\">in allegato trovate le dispense del corso food&amp;style tema primavera.</span><br />\r\n<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,&quot;Trebuchet MS&quot;; font-size:13px\">Resto adisposizione per qualsiasi dubbio, a presto.</span><br />\r\n<br />\r\n<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,&quot;Trebuchet MS&quot;; font-size:13px\">Francesco Villani</span>','','',NULL,1,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2018-03-14 10:33:38','2018-03-14 10:35:47',NULL,'2018-03-14 10:35:58',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(13,3,'preventivo amaro sibilla',1,'preventivo amaro','Buonasera,<br />\r\ncome da accordi telefonici le invio la richiesta di un preventivo per n&deg; 100 pz di amaro sibilla;<br />\r\ned anche per n&deg; 100 pz di amaro dell&#39;erborista.<br />\r\nInoltre vorrei info sulle misure della bottiglia, cos&igrave; da poter fare una ricerca sul web&nbsp;<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,\">di un packaging idoneo.<br />\r\nI dati della nostra azienda sono i seguenti:<br />\r\nCristina Cucci wedding&amp;event planner<br />\r\nvia Manfredonia 15 71121 Foggia<br />\r\ninfo@cristinacucci.com<br />\r\nc.f. CCCMCR80R60D643F<br />\r\nPartita iva 03888070715<br />\r\n<br />\r\nResto in attesa, cordiali saluti<br />\r\n<br />\r\nDora Panunzio</span>','','',NULL,1,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2018-03-15 17:39:57','2018-03-15 17:44:22',NULL,'2018-03-15 17:46:25',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(14,3,'dispennse f&s pasqua',1,'Dispense food&style pasqua','Buonasera,&nbsp;<br />\r\nin allegato troverete le dispense del mini corso di cucina, tema Pasqua.<br />\r\n<br />\r\nFrancesco Villani<br />\r\n&nbsp;','','',NULL,6,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2018-03-28 18:24:56','2018-03-28 18:29:23',NULL,'2018-03-28 18:29:32',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(15,3,'dispennse f&s pasqua',1,'Dispense food&style pasqua','<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,&quot;Trebuchet MS&quot;; font-size:13px\">Buonasera,&nbsp;</span><br />\r\n<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,&quot;Trebuchet MS&quot;; font-size:13px\">in allegato troverete le dispense del mini corso di cucina, tema Pasqua.</span><br />\r\n<br />\r\n<span style=\"color:#333333; font-family:sans-serif,Arial,Verdana,&quot;Trebuchet MS&quot;; font-size:13px\">Francesco Villani</span>','','',NULL,2,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2018-03-29 17:19:16','2018-03-29 17:46:47',NULL,'2018-03-29 17:47:24',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(20,3,'corso food & style',1,'Quando lo stile incontra la cucina...','<p style=\"margin-left:0px; margin-right:0px; text-align:left\">Ci prepariamo alle prime date dei nostri corsi.<br />\r\nNatale la festa pi&ugrave; magica dell&#39;anno! <span style=\"font-family:Helvetica,Arial,sans-serif\"><img alt=\"\" class=\"img\" src=\"https://static.xx.fbcdn.net/images/emoji.php/v9/t7f/1/16/1f60a.png\" style=\"border-bottom-color:#1d2129; border-bottom-style:none; border-bottom-width:0px; border-image-outset:0; border-image-repeat:stretch; border-image-slice:100%; border-image-source:none; border-image-width:1; border-left-color:#1d2129; border-left-style:none; border-left-width:0px; border-right-color:#1d2129; border-right-style:none; border-right-width:0px; border-top-color:#1d2129; border-top-style:none; border-top-width:0px; height:16px; vertical-align:-3px; width:16px\" /><span style=\"font-family:Helvetica,Arial,sans-serif; font-size:0px\">^_^</span></span></p>\r\n\r\n<p style=\"margin-left:0px; margin-right:0px; text-align:left\">PRIMO APPUNTAMENTO<br />\r\nIl nostro Food&amp;Style, due serate divertenti, dove impariamo e prepariamo ricette sfiziose con lo chef, le impiattiamo e le degustiamo insieme.<br />\r\n<span style=\"font-family:Helvetica,Arial,sans-serif\">Marted&igrave; 11 Dicembre Lezione di cucina salata<br />\r\nMarted&igrave; 18 Dicembre Lezione di cucina dolce e decorazione della tavola.</span></p>\r\n\r\n<div class=\"text_exposed_show\" style=\"-webkit-text-stroke-width:0px; background-color:transparent; color:#1d2129; display:inline; font-family:Helvetica,Arial,sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px\">\r\n<p style=\"margin-left:0px; margin-right:0px\">SECONDO APPUNTAMENTO<br />\r\nLaboratorio di dolci di Natale<br />\r\nMercoled&igrave; 12 Dicembre<br />\r\nPreparariamo insieme allo chef i dolci tradizionali della nostra tradizione e potrete portarli a casa per degustarli con i vostri amici<br />\r\nScrivici per info e per prenotare il tuo posto.<br />\r\n*posti limitati</p>\r\n</div>\r\n\r\n<p style=\"margin-left:0px; margin-right:0px; text-align:left\">&nbsp;</p>\r\n\r\n<div class=\"text_exposed_show\" style=\"-webkit-text-stroke-width:0px; background-color:transparent; color:#1d2129; display:inline; font-family:Helvetica,Arial,sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px\">&nbsp;</div>','','',NULL,61,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2018-12-05 11:49:31','2018-12-05 11:54:36',NULL,'2018-12-05 11:58:06',3,3,NULL,NULL,NULL,NULL,NULL,NULL),(21,3,'corso food & style',1,'Quando lo stile incontra la cucina...','<p style=\"margin-left:0px; margin-right:0px; text-align:left\">Ci prepariamo alle prime date dei nostri corsi.<br />\r\nNatale la festa pi&ugrave; magica dell&#39;anno! <span style=\"font-family:Helvetica,Arial,sans-serif\"><img alt=\"\" class=\"img\" src=\"https://static.xx.fbcdn.net/images/emoji.php/v9/t7f/1/16/1f60a.png\" style=\"border-bottom-color:#1d2129; border-bottom-style:none; border-bottom-width:0px; border-image-outset:0; border-image-repeat:stretch; border-image-slice:100%; border-image-source:none; border-image-width:1; border-left-color:#1d2129; border-left-style:none; border-left-width:0px; border-right-color:#1d2129; border-right-style:none; border-right-width:0px; border-top-color:#1d2129; border-top-style:none; border-top-width:0px; height:16px; vertical-align:-3px; width:16px\" /><span style=\"font-family:Helvetica,Arial,sans-serif; font-size:0px\">^_^</span></span></p>\r\n\r\n<p style=\"margin-left:0px; margin-right:0px; text-align:left\">PRIMO APPUNTAMENTO<br />\r\nIl nostro Food&amp;Style, due serate divertenti, dove impariamo e prepariamo ricette sfiziose con lo chef, le impiattiamo e le degustiamo insieme.<br />\r\n<span style=\"font-family:Helvetica,Arial,sans-serif\">Marted&igrave; 11 Dicembre Lezione di cucina salata<br />\r\nMarted&igrave; 18 Dicembre Lezione di cucina dolce e decorazione della tavola.</span></p>\r\n\r\n<p style=\"margin-left:0px; margin-right:0px\">SECONDO APPUNTAMENTO<br />\r\nLaboratorio di dolci di Natale<br />\r\nMercoled&igrave; 12 Dicembre<br />\r\nPreparariamo insieme allo chef i dolci tradizionali della nostra tradizione e potrete portarli a casa per degustarli con i vostri amici<br />\r\nScrivici per info e per prenotare il tuo posto.<br />\r\n*posti limitati...</p>','','',NULL,18,'info@foodandstyle.it','','nfo@foodandstyle.it',NULL,'2018-12-05 12:02:48','2018-12-05 12:10:24',NULL,'2018-12-05 12:10:32',3,3,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `llx_mailing_cibles`
--

CREATE TABLE `llx_mailing_cibles` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_mailing` int(11) NOT NULL,
  `fk_contact` int(11) NOT NULL,
  `lastname` varchar(160) DEFAULT NULL,
  `firstname` varchar(160) DEFAULT NULL,
  `email` varchar(160) NOT NULL,
  `other` varchar(255) DEFAULT NULL,
  `tag` varchar(128) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT '0',
  `source_url` varchar(255) DEFAULT NULL,
  `source_id` int(11) DEFAULT NULL,
  `source_type` varchar(16) DEFAULT NULL,
  `date_envoi` datetime DEFAULT NULL,
  `error_text` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_mailing_cibles` (`fk_mailing`,`email`),
  KEY `idx_mailing_cibles_email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=408 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_mailing_cibles`
--

INSERT INTO `llx_mailing_cibles` (`rowid`, `fk_mailing`, `fk_contact`, `lastname`, `firstname`, `email`, `other`, `tag`, `statut`, `source_url`, `source_id`, `source_type`, `date_envoi`, `error_text`) VALUES (21,3,0,'','','info@risto-matic.it','','a56a577c58252dc7d68ba3f7345bc83e09155c0e',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(22,3,0,'','','info@sudmatic.it','','54a6e9e7b1f206bd59593c257d129538dd76ad8d',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(23,3,0,'','','tomaiuolo-antonio@libero.it','','4772e9f9243700649318188d981d9b782d94167d',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(24,3,0,'','','alidauniagroup@legalmail.it','','863f5d3359a2d03a34748763f99e1c919a232dd0',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(25,3,0,'','','tomasellisnc@gmail.com','','efda889249a40e3e008afd571129c2391dcf3f5c',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(26,3,0,'','','info@studiolepidi.it','','cb73a21d48b91c826fe2a4846d313b8638c71af8',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(27,3,0,'','','info@cavallonesrl.it','','c2e90c286a9d29897164b3bbfd57dbe640a7fa45',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(28,3,0,'','','info@scuolasiri.it','','1459dd69ea9da1c383e5a0a1999ed09e3cec873f',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(29,3,0,'','','info@cesvim.it','','99ffe6e36bb2b17b39a7ce0e2f4b7a71b99afa2f',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(30,3,0,'','','f.schiavone@ageallianz.it','','ad5dabfb16d3cc1c618ce93838bd5413b479ed19',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(31,3,0,'','','amministrazione@comerascensori.it','','24df77ce18c3056ec734e782fddd0a5e052f0f4d',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(32,3,0,'','','info@global-lift.it','','ab6a17a3b340f194735a1525accfb8bbe4d7b2b7',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(33,3,0,'','','emilioesalvatoregaeta@legalmail.it','','878a7479bea4d352c8bb3fff2ce8123eb194927f',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(34,3,0,'','','info@svicom.com','','67ba699e7c157ac09bb32b4a234b6b295bbe3aaa',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(35,3,0,'','','mongolfiera.foggia@svicom.com','','c3be43cd151fcf44e23c6fd938b59e2722bbbe71',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(36,3,0,'','','info@comasmacchineagricole.com','','c56571f9fce798e7c8d9f3f97a438a14d4c4a143',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(37,3,0,'','','info@cantinespelonga.com','','bf9b2055d916bfd7d670bb2abc9289358ead8b25',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(38,3,0,'','','info@bellacontadina.it','','fca1d75ec14ad405c34f6313460938082f921ffa',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(39,3,0,'','','info@borgoturrito.it','','b4145d7ee671c0436de1569c84afc7fc9e51bbc9',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(40,3,0,'','','info@fondedil.it','','d0ed5db0d62cfe9e4d5e4cda8612cd790794648a',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(44,3,0,'','','info@cristinacucci.com','','720ef89229134d7ce60f231bd720a99ab030e1f2',1,'',NULL,'file','2017-11-11 19:32:15',NULL),(45,4,0,'','','info@cristinacucci.com','','ad73e43a0f93e55a941053abe095f92777d9856a',1,'',NULL,'file','2017-11-11 19:31:36',NULL),(46,4,0,'','','lola_bunny23@libero.it','','bb1f9a4dfa7b5868a0ae8faad429f8d775ae640e',1,'',NULL,'file','2017-11-11 19:31:36',NULL),(47,4,0,'','','morfeo77@virgilio.it','','83f9e73972a428a3d6cae6df7a8e0ee8ee76a97c',1,'',NULL,'file','2017-11-11 19:31:36',NULL),(48,5,86,'angiolillo','rosa','rossella.angiolillo@virgilio.it','ThirdParty=;UserTitle=Sig.ra','dae2f7cbe03c5229380f205b41e64f83f698244c',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=86\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',86,'contact','2017-11-24 18:47:44',NULL),(49,5,81,'antonini','ivana','angelofgod@live.it','ThirdParty=;UserTitle=Sig.ra','3c43194fd1fea146dc7c697882ca967e92ab3063',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=81\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',81,'contact','2017-11-24 18:47:44',NULL),(50,5,84,'biscotti','mariangela','mabi@live.it','ThirdParty=;UserTitle=Sig.ra','aa2dd607e56453e20035d0014c2ee7e9e25b9381',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=84\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',84,'contact','2017-11-24 18:47:44',NULL),(51,5,85,'crescenzi','maria pia','mpiacrescenzi@hotmail.it','ThirdParty=;UserTitle=Sig.ra','9233e16559566711e8ec29bc8a2c83d5a96978fb',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=85\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',85,'contact','2017-11-24 18:47:44',NULL),(52,5,87,'ippolito','daniela','danielita84@hotmail.it','ThirdParty=;UserTitle=Sig.ra','0aa9653e58401ef7c90c4064a80244d16fdc8072',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=87\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',87,'contact','2017-11-24 18:47:44',NULL),(53,5,89,'lentini','gaia','gaiamf@live.it','ThirdParty=;UserTitle=Sig.ra','6fac761ca748e4ae8693675a29c9d77313eb7b06',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=89\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',89,'contact','2017-11-24 18:47:44',NULL),(54,5,83,'marzano','giada','giadamarzano@libero.it','ThirdParty=;UserTitle=Sig.ra','7bdd78037274ff5b84c45eabc44f527a44be55fc',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=83\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',83,'contact','2017-11-24 18:47:44',NULL),(55,5,88,'ranieri','ester','ranieri.ester@alice.it','ThirdParty=;UserTitle=Sig.ra','36a4cf83ba5e3451e9aee8eeb1d7c969e0e076db',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=88\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',88,'contact','2017-11-24 18:47:44',NULL),(56,5,82,'ruggiero','ilaria','ilaryr@hotmail.it','ThirdParty=;UserTitle=Sig.ra','8ceafadc3390e271064322bfd4e13a6f8393dd20',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=82\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',82,'contact','2017-11-24 18:47:44',NULL),(57,5,90,'santangelo','adele','adele.aa31@gmail.com','ThirdParty=;UserTitle=Sig.ra','28af2fc6aaa8e3d8fe026a703cc7abf0db981b6e',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=90\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',90,'contact','2017-11-24 18:47:44',NULL),(58,5,103,'quitadamo','enza','enzaquitadamo@yahoo.it','ThirdParty=;UserTitle=Sig.ra','1f02a20abe787ee2e5ed2e2d170678924b18fde6',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=103\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',103,'contact','2017-11-24 18:47:44',NULL),(59,5,42,'annarelli','sofia','sofia.pia@libero.it','ThirdParty=;UserTitle=Sig.ra','cb601a964f7bfc27be5b3ea5fff71b2e4dde864f',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=42\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',42,'contact','2017-11-24 18:47:44',NULL),(60,5,69,'bambacigni','maria rosaria','m.bambacigno@virgilio.it','ThirdParty=;UserTitle=Sig.ra','c82a10909c868257b32503ba8cebbe93a116c4d9',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=69\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',69,'contact','2017-11-24 18:47:44',NULL),(61,5,44,'bove','maria adele','mariadele.bo@gmail.com','ThirdParty=;UserTitle=Sig.ra','444c56dfca59fba73017c02ad703dd817d9564ea',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=44\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',44,'contact','2017-11-24 18:47:44',NULL),(62,5,77,'buonamano','valentina','tatyvb@hotmail.it','ThirdParty=;UserTitle=Sig.ra','1f4d7c1242b38324da9e3e8bd6062af93a175883',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=77\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',77,'contact','2017-11-24 18:47:44',NULL),(63,5,38,'buono','guglielmo','buonoguglielmo@hotmail.it','ThirdParty=;UserTitle=Sig.','3149eca44c7c8ba53ed741d5b8658823ce9933b3',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=38\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',38,'contact','2017-11-24 18:47:44',NULL),(64,5,32,'cassari','monica','cassarimonica1972@gmail.com','ThirdParty=;UserTitle=Sig.ra','e2742d1682fb61e00cc2a0c71816a33f1e39f24d',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=32\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',32,'contact','2017-11-24 18:47:44',NULL),(65,5,46,'castriota','stefania','archstefaniacastriota@gmail.com','ThirdParty=;UserTitle=Sig.ra','00f8ad6d59606017c5fd91d3a0e83f39772f5e29',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=46\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',46,'contact','2017-11-24 18:47:44',NULL),(66,5,71,'cavallo','caterina','caterinacavallo@gmail.com','ThirdParty=;UserTitle=Sig.ra','53d047abd9ded4d97a77056b2139d048747ca067',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=71\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',71,'contact','2017-11-24 18:47:44',NULL),(67,5,54,'cicoria','matteo','m.cicoria@tiscali.it','ThirdParty=;UserTitle=Sig.ra','bf470cc73f325a5674525a7d41df54beb00fbeaa',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=54\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',54,'contact','2017-11-24 18:47:44',NULL),(68,5,73,'cocomazzi','amelia','acocoma@yahoo.it','ThirdParty=;UserTitle=Sig.ra','bcef81ae3a01f379fb7c2ab5efed327960c66685',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=73\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',73,'contact','2017-11-24 18:47:44',NULL),(69,5,72,'colamussi','maddalena','m.colamussi@me.com','ThirdParty=;UserTitle=Sig.ra','ff95e9c69578e1f5bd05410db7f51874658563d1',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=72\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',72,'contact','2017-11-24 18:47:44',NULL),(70,5,66,'crapa','raffaella','rcrapa@gmail.com','ThirdParty=;UserTitle=Sig.ra','c4289f0f7c4a3fb21de0619fd2eca24ad46697b1',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=66\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',66,'contact','2017-11-24 18:47:44',NULL),(71,5,48,'criscuolo','elvira','elviracriscuolo@hotmail.it','ThirdParty=;UserTitle=Sig.ra','b85227a2fb35fe2831d81aac872118b6f02805aa',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=48\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',48,'contact','2017-11-24 18:47:44',NULL),(72,5,13,'d\'andrea','marco','m.dan77@gmail.com','ThirdParty=;UserTitle=Sig.','53fe72379e843c878af04c6f5fed946884cb0e87',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=13\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',13,'contact','2017-11-24 18:47:44',NULL),(73,5,64,'d\'elia','luca','hateanthem@hotmail.it','ThirdParty=;UserTitle=Sig.','86a28f31ff02b9c1581e5d5578c7be2900cb9c54',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=64\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',64,'contact','2017-11-24 18:49:42',NULL),(74,5,70,'d\'elia','mary','mariassunta.delia@gmail.com','ThirdParty=;UserTitle=Sig.ra','5e25579cbe6fe5d06086ac67ca7cd6ad8abaf9b0',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=70\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',70,'contact','2017-11-24 18:49:42',NULL),(75,5,62,'de leo','rossella','barcclucera@sarniristorazione.it','ThirdParty=;UserTitle=Sig.ra','cf91f8c049a1607a019bab2cd07f72f56615dac7',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=62\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',62,'contact','2017-11-24 18:49:42',NULL),(76,5,58,'de vito','serena','wsere@hotmail.it','ThirdParty=;UserTitle=Sig.ra','1fc14fce78598bbfdcefc542a45fd679af08b611',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=58\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',58,'contact','2017-11-24 18:49:42',NULL),(77,5,65,'di francesco','fabrizio','fabridifra@gmail.com','ThirdParty=;UserTitle=Sig.','01e14114690d9d6c2eec6c8837cc89038d98aaea',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=65\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',65,'contact','2017-11-24 18:49:42',NULL),(78,5,76,'dicembrino','zaira','zaira@dicembrino.it','ThirdParty=;UserTitle=Sig.ra','47072f9487d720eaace919e5bd7f5f968ec9f275',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=76\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',76,'contact','2017-11-24 18:49:42',NULL),(79,5,45,'diomede','roberta','robertadiomede2@gmail.com','ThirdParty=;UserTitle=Sig.ra','b8743f6403d60dad0148cb12471becf62c2702e7',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=45\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',45,'contact','2017-11-24 18:49:42',NULL),(80,5,34,'falcone','cristiana','falconecrissy@gmail.com','ThirdParty=;UserTitle=Sig.ra','9290daaf82063909d11c995418cc33e8db5424f1',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=34\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',34,'contact','2017-11-24 18:49:42',NULL),(81,5,40,'ficco','vincenzo','enzoficco@gmail.com','ThirdParty=;UserTitle=Sig.','317c406a9331dbefea7896501b67bd260eb0279e',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=40\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',40,'contact','2017-11-24 18:49:42',NULL),(82,5,50,'garofalo','marianna','old_man_62@hotmail.it','ThirdParty=;UserTitle=Sig.ra','a2c4cee3343db5cd07b65e026da9b9856dd0ad2c',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=50\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',50,'contact','2017-11-24 18:49:42',NULL),(83,5,79,'giannetta','luana','luanagiannetta@libero.it','ThirdParty=;UserTitle=Sig.ra','bca350e480db6242e2c6010344d18056f830a681',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=79\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',79,'contact','2017-11-24 18:49:42',NULL),(84,5,55,'gramazio','stefania','stefygrama@yahoo.it','ThirdParty=;UserTitle=Sig.ra','ac9e5c544d32ff214533b7580c2dbd5dd80a01ee',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=55\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',55,'contact','2017-11-24 18:49:42',NULL),(85,5,60,'grana','annalisa','dapne2978@libero.it','ThirdParty=;UserTitle=Sig.ra','5ae1b9edf1d5315da8c08b83622001214b220fae',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=60\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',60,'contact','2017-11-24 18:49:42',NULL),(86,5,33,'la gatta','antonio','tonilagatta@gmail.com','ThirdParty=;UserTitle=Sig.','57f95530a916ddfa37c3e57b4c6c111b2a5ce3d3',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=33\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',33,'contact','2017-11-24 18:49:42',NULL),(87,5,56,'labella','concetta','eresmivida@katamail.com','ThirdParty=;UserTitle=Sig.ra','40b5c1490a1308f5d3d62647d94bfc646ae985d1',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=56\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',56,'contact','2017-11-24 18:49:42',NULL),(88,5,36,'lombardi','vita','lomvi@libero.it','ThirdParty=;UserTitle=Sig.ra','ad26c64afbb4d7943551d74798e43adba9fb06b3',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=36\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',36,'contact','2017-11-24 18:49:42',NULL),(89,5,105,'marasco','alessia','alessiamarasco07@tiscali.it','ThirdParty=;UserTitle=Sig.ra','fa1b5977bd1c31512842511c3236ccf70fdba2a3',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=105\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',105,'contact','2017-11-24 18:49:42',NULL),(90,5,9,'mercuri','eliana','mercuri.eliana@gmail.com','ThirdParty=;UserTitle=Sig.ra','1bce5b1ee267f4a6118782baeaafa372cd1e7049',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=9\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',9,'contact','2017-11-24 18:49:42',NULL),(91,5,49,'occhiochiuso','antonietta','anto.occhiochiuso@hotmail.it','ThirdParty=;UserTitle=Sig.ra','6e2943dafaf55e66a0f2ed62aa1ac407502552f9',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=49\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',49,'contact','2017-11-24 18:49:42',NULL),(92,5,101,'oliveira silva','cristina nivalma','valmaoliveira@gmail.com','ThirdParty=;UserTitle=Sig.ra','f977d4baa1d4a88566a215ab8221b8a5099ff18c',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=101\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',101,'contact','2017-11-24 18:49:42',NULL),(93,5,41,'paciello','manuela','paciello79@gmail.com','ThirdParty=;UserTitle=Sig.ra','ca4928c5bf152e4e8fa9bcfa02b9d02e5c7f5163',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=41\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',41,'contact','2017-11-24 18:49:42',NULL),(94,5,68,'palmieri','patrizia','pattypalm@virgilio.it','ThirdParty=;UserTitle=Sig.ra','dab325a48bd0d7e5f670044a3bc155a320f0dac4',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=68\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',68,'contact','2017-11-24 18:49:42',NULL),(95,5,67,'palmieri','stefania','stefy.palmieri@alice.it','ThirdParty=;UserTitle=Sig.ra','619ec6cffdf38cec620264ba8cbe79a2fe6a0179',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=67\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',67,'contact','2017-11-24 18:49:42',NULL),(96,5,78,'pitta','antonella','tonypitta73@gmail.com','ThirdParty=;UserTitle=Sig.ra','9d62b225762e300839a42e3376ac9d7f0d46cb19',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=78\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',78,'contact','2017-11-24 18:49:42',NULL),(98,5,35,'ranieri','enrico','enricoranieri62@gmail.com','ThirdParty=;UserTitle=Sig.','2fdf16323668142ae77e75f9ad65e9e435ff5f23',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=35\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',35,'contact','2017-11-24 18:49:42',NULL),(99,5,52,'ricciardi','ornella','ricciardiornella@libero.it','ThirdParty=;UserTitle=Sig.ra','2131ebb6d5a87d5e57cb96e285ec66d5fd822eed',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=52\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',52,'contact','2017-11-24 18:58:14',NULL),(100,5,63,'rubino','margherita','margherita.rubino@hotmail.it','ThirdParty=;UserTitle=Sig.ra','39c06f9192a41ea0cc5eef24031fff845ae63d24',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=63\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',63,'contact','2017-11-24 18:58:14',NULL),(101,5,74,'saracino','pina','pinasaracino66@gmail.com','ThirdParty=;UserTitle=Sig.ra','38e5c17c3e01f450f15dab905178e54527b795c7',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=74\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',74,'contact','2017-11-24 18:58:14',NULL),(102,5,59,'scarano','giuliana','giulianatrilly@yahoo.it','ThirdParty=;UserTitle=Sig.ra','4f4080764eaae32a61b1f5fa65592cd9cc01b7cb',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=59\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',59,'contact','2017-11-24 18:58:14',NULL),(103,5,53,'settimo','alessandra','alessandra.settimo@tiscali.it','ThirdParty=;UserTitle=Sig.ra','26d2256b934e734023d906f089111b46025a3fba',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=53\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',53,'contact','2017-11-24 18:58:14',NULL),(104,5,1,'Settimo','Francesco','frasettimo@tiscali.it','ThirdParty=Francesco Settimo;UserTitle=Sig.','fa0442860a27d042ed9160abdf1d430f7067e519',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=1\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',1,'contact','2017-11-24 18:58:14',NULL),(105,5,37,'signorile','gabriella','flower_ga@hotmail.it','ThirdParty=;UserTitle=Sig.ra','f660782d07652a47f756b7591128ecfb679d3949',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=37\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',37,'contact','2017-11-24 18:58:14',NULL),(106,5,104,'spadaccino','tiziana','tizianaspadaccino@gmail.com','ThirdParty=;UserTitle=Sig.ra','89df42bdc121e9c58c29d9f32b11fdc806835180',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=104\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',104,'contact','2017-11-24 18:58:14',NULL),(107,5,51,'spagnuolo','maria pina','mariolina.spagnuolo@libero.it','ThirdParty=;UserTitle=Sig.ra','57aee73459d1209420599be97c30d8f94bf27c27',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=51\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',51,'contact','2017-11-24 18:58:14',NULL),(108,5,75,'vangi','valentina','valentina.vangi@libero.it','ThirdParty=;UserTitle=Sig.ra','fd8156316db059fc1c282eae347509831eaefaa2',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=75\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',75,'contact','2017-11-24 18:58:14',NULL),(109,5,91,'calzone','angela','angelacalzone2@gmail.com','ThirdParty=;UserTitle=Sig.ra','b697dcaf4d7bfd6f6fa5dd3588768c151362a994',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=91\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',91,'contact','2017-11-24 18:58:14',NULL),(110,5,99,'castrignano','mariella','mig.caroprese@gmail.com','ThirdParty=;UserTitle=Sig.ra','575da866f4e35ed5ae7da501b43197a6fa681eec',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=99\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',99,'contact','2017-11-24 18:58:14',NULL),(111,5,97,'di ruggieri','rosa','rosa85.dr@libero.it','ThirdParty=;UserTitle=Sig.ra','498d98394a96bf60f79e9d00ccdded924ce9d1e6',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=97\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',97,'contact','2017-11-24 18:58:14',NULL),(112,5,95,'freda','martina','martina.freda@gmail.com','ThirdParty=;UserTitle=Sig.ra','57a86f61882df60863e633ae4186b7efee7bb6ae',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=95\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',95,'contact','2017-11-24 18:58:14',NULL),(113,5,96,'gallucci','sara','gallucci.sara@yahoo.it','ThirdParty=;UserTitle=Sig.ra','39e6efc4c9463c6014dedcd3e860db4bcb0ffd02',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=96\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',96,'contact','2017-11-24 18:58:14',NULL),(115,5,100,'grossi','nunziata','n.grossi@yahoo.it','ThirdParty=;UserTitle=Sig.ra','69856d1087ec5df42513c8d3e611285e6a770aa7',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=100\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',100,'contact','2017-11-24 18:58:14',NULL),(116,5,94,'mansueto','lucia','lucia.mansueto@libero.it','ThirdParty=;UserTitle=Sig.ra','c64bde9fb287af19d0f5871f91c007fb4d2736af',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=94\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',94,'contact','2017-11-24 18:58:14',NULL),(118,5,98,'tenace','valentina','valentinatenace@tiscali.it','ThirdParty=;UserTitle=Sig.ra','393d6e5ba318e928cd52ab14b060f435c2a897bd',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=98\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',98,'contact','2017-11-24 18:58:14',NULL),(120,5,92,'ventriglio','pamela','pamela91_2009@hotmail.it','ThirdParty=;UserTitle=Sig.ra','d04d3630d5ce41ffc883607a542aa5b47f980ff9',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=92\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',92,'contact','2017-11-24 18:58:14',NULL),(121,5,93,'ventura','federica','fedeventura@hotmail.it','ThirdParty=;UserTitle=Sig.ra','c2f23eae0bf015ff26ae03aa53434b8819092a12',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=93\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',93,'contact','2017-11-24 18:58:14',NULL),(122,5,16,'barbato','pio','piobarbato@hotmail.it','ThirdParty=;UserTitle=Sig.','e0abf2936c5454b9a8c3cad507c86d907fc63a95',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=16\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',16,'contact','2017-11-24 18:58:14',NULL),(123,5,23,'cagnazzo','teresa','mariateresacagnazzo@alice.it','ThirdParty=;UserTitle=Sig.ra','03f0f72a34e98c7b159ed65e4c0362a6759fa3c9',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=23\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',23,'contact','2017-11-24 18:58:14',NULL),(124,5,8,'caroprese','gianluca','caroprese@alice.it','ThirdParty=;UserTitle=Sig.','47438cf2f37409f3292b36105fea86230947e69d',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=8\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',8,'contact','2017-11-24 18:58:14',NULL),(125,5,18,'ciavarella','tiziana','ciavarellatiziana@gmail.com','ThirdParty=;UserTitle=Sig.ra','d40aec9b6740b52efbfbf1c6cf8ff66d020deccc',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=18\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',18,'contact','2017-11-24 18:58:14',NULL),(127,5,22,'di muzio','ettore','ettodim@hotmail.it','ThirdParty=;UserTitle=Sig.','129821a7459d50c7acc57a49f40a493d519c094d',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=22\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',22,'contact','2017-11-24 18:58:14',NULL),(128,5,12,'diomede','celestino','celestinodiomede@gmail.com','ThirdParty=;UserTitle=Sig.','79afee34c1ac9419deb3c0a176ca91da9ccfb51f',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=12\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',12,'contact','2017-11-24 19:03:17',NULL),(129,5,25,'fennino','ornella','fennino14@gmail.com','ThirdParty=;UserTitle=Sig.ra','f40a4e0cdbe722f1b71f07adca89f1d038873009',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=25\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',25,'contact','2017-11-24 19:03:17',NULL),(130,5,21,'ferro','marzia','marziaferro@hotmail.it','ThirdParty=;UserTitle=Sig.ra','beff02996073581a20bc375a4ad184b34e5247e0',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=21\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',21,'contact','2017-11-24 19:03:17',NULL),(131,5,11,'guida','maria teresa','mariateresa.guida@libero.it','ThirdParty=;UserTitle=Sig.ra','0130b7107ea761fa6c55a0b04c7561ee62d6a52a',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=11\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',11,'contact','2017-11-24 19:03:17',NULL),(132,5,14,'iolo','giuseppe','iolo@vodafone.it','ThirdParty=;UserTitle=Sig.','70690b99807cbb3cacfd20441d5bb920bf4621bf',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=14\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',14,'contact','2017-11-24 19:03:17',NULL),(133,5,3,'lo buglio','bianca','karma249@libero.it','ThirdParty=;UserTitle=Sig.ra','72031caa57d935565ece3a25a5150577b665c5c4',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=3\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',3,'contact','2017-11-24 19:03:17',NULL),(134,5,24,'malgieri','rocco','roccomalgieri@gmail.com','ThirdParty=;UserTitle=Sig.','62d1d3b760484f4ae6fbe9da1437d22b7dad322e',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=24\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',24,'contact','2017-11-24 19:03:17',NULL),(135,5,26,'mancini','angela','angelamancini87@hotmail.it','ThirdParty=;UserTitle=Sig.ra','69bac72abb2129762d3e5f59c9ac65e3d4f63f57',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=26\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',26,'contact','2017-11-24 19:03:17',NULL),(136,5,10,'marcone','silvio','silvio_m1@live.it','ThirdParty=;UserTitle=','c44f11c495c780af44b2ca378d7f270aa9a10623',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=10\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',10,'contact','2017-11-24 19:03:17',NULL),(138,5,15,'rinaldesi','marianna','mariannarinaldesi@gmail.com','ThirdParty=;UserTitle=Sig.ra','71802ad2e987a88ff4ef5913b03957e62af1e6ef',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=15\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',15,'contact','2017-11-24 19:03:17',NULL),(139,5,20,'salvemini','erika','erika.salvemini@gmail.com','ThirdParty=;UserTitle=Sig.ra','82df0c857ae140de7d00909c1a63144451155f14',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=20\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',20,'contact','2017-11-24 19:03:17',NULL),(140,5,4,'simone','antonietta','antonellasimone@virgilio.it','ThirdParty=;UserTitle=Sig.ra','3aad4b29d7c7187d5d320a37561afd925e93f671',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=4\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',4,'contact','2017-11-24 19:03:17',NULL),(141,5,5,'spina','ferdinando m','fmspina@yahoo.it','ThirdParty=;UserTitle=Sig.','5b67f6fd3eb1e2a2cfaa526e922c300b9f7a2afb',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=5\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',5,'contact','2017-11-24 19:03:17',NULL),(142,5,19,'stabile','pia','pia.stabile@gmail.com','ThirdParty=;UserTitle=Sig.ra','cb89bbe497c5159fb5a6f8b1628eceb718fea559',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=19\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',19,'contact','2017-11-24 19:03:17',NULL),(244,6,0,'','','enzaquitadamo@yahoo.it','','e2755533cfc788b394f1a0cf2b08b6ca164393e5',1,'',NULL,'file','2017-11-25 17:04:02',NULL),(245,6,0,'','','tizianaspadaccino@gmail.com','','ee476a1fa3f0a9fab7e7c2e612c8fcf71ed01a8f',1,'',NULL,'file','2017-11-25 17:04:02',NULL),(246,6,0,'','','alessiamarasco07@tiscali.it','','886d775ee4ad2d0845cfd69d79767100375060f9',1,'',NULL,'file','2017-11-25 17:04:02',NULL),(247,6,0,'','','falconecrissy@gmail.com','','5a82f75c0039792ba69e279ac8694d8168366ee1',1,'',NULL,'file','2017-11-25 17:04:02',NULL),(248,6,0,'','','tonilagatta@gmail.com','','1c8156f5c164e7a82560df51b6f2339f34a76887',1,'',NULL,'file','2017-11-25 17:04:02',NULL),(255,7,32,'cassari','monica','cassarimonica1972@gmail.com','ThirdParty=;UserTitle=Sig.ra','c86fbce855106ccc35bdf0c331fc007db70ca6f1',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=32\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',32,'contact','2017-12-27 16:33:54',NULL),(261,7,107,'confalone','lidia','lidia_garen@libero.it','ThirdParty=;UserTitle=Sig.ra','751f7f4caeeb533b3911a110fb9c5776c4693f0b',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=107\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',107,'contact','2017-12-27 16:33:54',NULL),(264,7,108,'d\'agnone','renata','coccole77@hotmail.it','ThirdParty=;UserTitle=Sig.ra','cb4bf1bb70fe73ffbedf682bafa89e501e853f37',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=108\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',108,'contact','2017-12-27 16:33:54',NULL),(267,7,109,'d\'elia','luciana','lucianadelia@hotmail.it','ThirdParty=;UserTitle=Sig.ra','272ea56ef86e1d0f27b3b85015a1b9193d1247c2',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=109\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',109,'contact','2017-12-27 16:33:54',NULL),(274,7,34,'falcone','cristiana','falconecrissy@gmail.com','ThirdParty=;UserTitle=Sig.ra','a7ce4144168c050314ad331946b488118627882f',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=34\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',34,'contact','2017-12-27 16:33:54',NULL),(280,7,33,'la gatta','antonio','tonilagatta@gmail.com','ThirdParty=;UserTitle=Sig.','28ea0f905850b71e790988be7a5477132bcd617b',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=33\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',33,'contact','2017-12-27 16:33:54',NULL),(290,7,106,'peluso','giovanna','giavanna.pelu@libero.it','ThirdParty=;UserTitle=Sig.ra','0dfdc65dafa1d8c3bcdb882857fbcaefc8ce4772',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=106\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',106,'contact','2017-12-27 16:33:54',NULL),(299,7,1,'Settimo','Francesco','frasettimo@tiscali.it','ThirdParty=Francesco Settimo;UserTitle=Sig.','1f1c4e4d1b3d51788e21b097eeb9df023cce385b',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=1\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',1,'contact','2017-12-27 16:33:54',NULL),(304,8,0,'','','sassa.sf@libero.it','','d0cccd17e0192ef0c8c2bb502cd401069afd81c3',1,'',NULL,'file','2017-12-27 17:09:51',NULL),(306,10,0,'','','ilsolarium98@gmail.com','','54dfbec6057f36395a8f91cf4e5b9671dde74a3a',1,'',NULL,'file','2018-03-09 17:47:53','Connection could not be established with host smtps.aruba.it [php_network_getaddresses: getaddrinfo failed: Name or service not known #0]'),(307,10,0,'','','mariarosariagalantini@alice.it','','c2d7efdb00c5f1caa96d4451aff353ed3c5dd59b',1,'',NULL,'file','2018-03-09 17:47:53','Connection could not be established with host smtps.aruba.it [php_network_getaddresses: getaddrinfo failed: Name or service not known #0]'),(308,10,0,'','','falconecrissy@gmail.com','','89d19d2749945a02d988224b17ac4ed09dba3b08',1,'',NULL,'file','2018-03-09 17:47:53',NULL),(309,10,0,'','','tonilagatta@gmail.com','','59903e440818c77b892e5afd70c96ba576998d89',1,'',NULL,'file','2018-03-09 17:47:53','Connection could not be established with host smtps.aruba.it [php_network_getaddresses: getaddrinfo failed: Name or service not known #0]'),(310,10,0,'','','elviracrisciolo@hotmail.it','','83e6763c56d13dbe045f595e2b30a1b77c02c4dc',1,'',NULL,'file','2018-03-09 17:47:53',NULL),(311,10,0,'','','eresmivida@katamail.com','','c5965f2b2f86fb7298c6f24ad1ec8e068eb22e94',1,'',NULL,'file','2018-03-09 17:47:53',NULL),(312,10,0,'','','gefraviaggi@pinguinoviaggi.net','','2597de053b42ce676136030c553c6bd491fb01b5',1,'',NULL,'file','2018-03-09 17:47:53','Connection could not be established with host smtps.aruba.it [php_network_getaddresses: getaddrinfo failed: Name or service not known #0]'),(316,12,0,'','','piserchia@teknautomazione.com','','524f66c5f434748aa02a7fda0c9e497fba329ad9',1,'',NULL,'file','2018-03-14 10:35:58',NULL),(317,13,0,'','','commerciale@varnelli.it','','40123b140fdb0db1150a779236ac5ba18c8fd574',1,'',NULL,'file','2018-03-15 17:46:25',NULL),(318,14,0,'','','falconecrissy@gmail.com','','df0cf009807d2d7d1b05812ea987c8088fe202bf',1,'',NULL,'file','2018-03-28 18:29:32',NULL),(319,14,0,'','','tonilagatta@gmail.com','','69f311b6f24dd46a9f6afd69ecbd05be2485a4f0',1,'',NULL,'file','2018-03-28 18:29:32',NULL),(320,14,0,'','','ilsolarium98@gmail.com','','2bde9d82b2c29bab7640a2a12b7e1b3a1379ea9b',1,'',NULL,'file','2018-03-28 18:29:32',NULL),(321,14,0,'','','gefraviaggi@pinguinoviaggi.net','','c7accd76a0c3cf6b837dc26912e267aa848604f6',1,'',NULL,'file','2018-03-28 18:29:32',NULL),(322,14,0,'','','danielavarracchio@yahoo.it','','add854b3bb06543b6dfb0cd0f071aad23b677398',1,'',NULL,'file','2018-03-28 18:29:32',NULL),(323,14,0,'','','maridistefano@specalsnc.it','','f3f8ca25bc58553db97e9afec8bf6f9ef94b03b7',1,'',NULL,'file','2018-03-28 18:29:32',NULL),(324,15,0,'','','giovypelu@gmail.com','','29b9d3865c70742cd2ae78303fdab689c7cbe398',1,'',NULL,'file','2018-03-29 17:47:24',NULL),(325,15,0,'','','geom.cea@gmail.com','','35d6c5efb37f73727badf4f704c29e28abe20eb9',1,'',NULL,'file','2018-03-29 17:47:24',NULL),(326,20,0,'','','dorapanunzio23@gmail.com','','f9ad5a05fd97124607943ddf311dd72b05ab43e1',1,'',NULL,'file','2018-12-05 11:50:53',NULL),(327,20,42,'annarelli','sofia','sofia.pia@libero.it','ThirdParty=;UserTitle=Sig.ra','a6b21fbd4893d4598032594fd7f6f10b239cfeb7',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=42\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',42,'contact','2018-12-05 11:56:30',NULL),(328,20,69,'bambacigni','maria rosaria','m.bambacigno@virgilio.it','ThirdParty=;UserTitle=Sig.ra','dc4a02187478565b50bfa513038df735586462f7',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=69\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',69,'contact','2018-12-05 11:56:30',NULL),(329,20,44,'bove','maria adele','mariadele.bo@gmail.com','ThirdParty=;UserTitle=Sig.ra','99ffef91f7c7e435d46e43fa5c7fa37e597d2e2c',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=44\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',44,'contact','2018-12-05 11:56:30',NULL),(330,20,77,'buonamano','valentina','tatyvb@hotmail.it','ThirdParty=;UserTitle=Sig.ra','308acc7af8c592608709f7767051e3bb0b68a366',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=77\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',77,'contact','2018-12-05 11:58:06',NULL),(331,20,38,'buono','guglielmo','buonoguglielmo@hotmail.it','ThirdParty=;UserTitle=Sig.','b669464d57c37efc8b77e4b3d9dabc25205ffcd0',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=38\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',38,'contact','2018-12-05 11:54:42',NULL),(332,20,32,'cassar','monica','cassarmonica1972@gmail.com','ThirdParty=;UserTitle=Sig.ra','3da44b880639dc95439137869359b9ee4f9d111e',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=32\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',32,'contact','2018-12-05 11:54:42',NULL),(333,20,46,'castriota','stefania','archstefaniacastriota@gmail.com','ThirdParty=;UserTitle=Sig.ra','e85bc61f9909c6af7049bf6e522b6889758659fc',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=46\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',46,'contact','2018-12-05 11:54:42',NULL),(334,20,71,'cavallo','caterina','caterinacavallo@gmail.com','ThirdParty=;UserTitle=Sig.ra','a8a33f45cf2622bd21bf1132b73fddd44464ec50',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=71\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',71,'contact','2018-12-05 11:54:42',NULL),(335,20,54,'cicoria','matteo','m.cicoria@tiscali.it','ThirdParty=;UserTitle=Sig.ra','2a1f5dd4f4d6c0bc29b7b16d18c64791b36f7322',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=54\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',54,'contact','2018-12-05 11:56:30',NULL),(336,20,73,'cocomazzi','amelia','acocoma@yahoo.it','ThirdParty=;UserTitle=Sig.ra','89e9cb048eed91f3dd6c94e9e90045541f4e5e1f',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=73\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',73,'contact','2018-12-05 11:54:42',NULL),(337,20,72,'colamussi','maddalena','m.colamussi@me.com','ThirdParty=;UserTitle=Sig.ra','52899f782b632b8daeca2ae3c79a6b07e9f557e2',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=72\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',72,'contact','2018-12-05 11:56:30',NULL),(338,20,107,'confalone','lidia','lidia_garen@libero.it','ThirdParty=;UserTitle=Sig.ra','7336df6590e96e1ec426bf5aa4730acba9efd412',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=107\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',107,'contact','2018-12-05 11:56:30',NULL),(339,20,66,'crapa','raffaella','rcrapa@gmail.com','ThirdParty=;UserTitle=Sig.ra','960fdfaabcc9096f0ddeae388415f0b2f450d0ae',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=66\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',66,'contact','2018-12-05 11:56:30',NULL),(340,20,48,'criscuolo','elvira','elviracriscuolo@hotmail.it','ThirdParty=;UserTitle=Sig.ra','ec3a83672f6023e637417de5475b20712b829e1e',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=48\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',48,'contact','2018-12-05 11:54:42',NULL),(341,20,108,'d\'agnone','renata','coccole77@hotmail.it','ThirdParty=;UserTitle=Sig.ra','61ee11474656be7d336e12d99f830788896ce4b2',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=108\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',108,'contact','2018-12-05 11:54:42',NULL),(342,20,13,'d\'andrea','marco','m.dan77@gmail.com','ThirdParty=;UserTitle=Sig.','ecf4d568436da9fdf283d36ffdc0ab8aafb73048',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=13\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',13,'contact','2018-12-05 11:56:30',NULL),(343,20,64,'d\'elia','luca','hateanthem@hotmail.it','ThirdParty=;UserTitle=Sig.','e2d9ed85fdd0d91628fb4e54a072b0917ce71744',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=64\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',64,'contact','2018-12-05 11:54:42',NULL),(344,20,109,'d\'elia','luciana','lucianadelia@hotmail.it','ThirdParty=;UserTitle=Sig.ra','8166e89a4ae5cb36249519146d66a5fc2cdb9048',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=109\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',109,'contact','2018-12-05 11:56:30',NULL),(345,20,70,'d\'elia','mary','mariassunta.delia@gmail.com','ThirdParty=;UserTitle=Sig.ra','7a2c00329a20ef15353a4316f1496853abf1e45d',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=70\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',70,'contact','2018-12-05 11:56:30',NULL),(346,20,62,'de leo','rossella','barcclucera@sarniristorazione.it','ThirdParty=;UserTitle=Sig.ra','19bab2191e54966c4180bea8609aa9eb5a34f1d6',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=62\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',62,'contact','2018-12-05 11:54:42',NULL),(347,20,58,'de vito','serena','wsere@hotmail.it','ThirdParty=;UserTitle=Sig.ra','b61b7855782800a063b838e0b9a39adae9fcbf49',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=58\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',58,'contact','2018-12-05 11:58:06',NULL),(348,20,65,'di francesco','fabrizio','fabridifra@gmail.com','ThirdParty=;UserTitle=Sig.','62680500c91cd8fa694b4c6d8de31b7583762a86',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=65\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',65,'contact','2018-12-05 11:54:42',NULL),(349,20,112,'di stefano','mariangela','maridistefano@specalsnc.it','ThirdParty=;UserTitle=Sig.ra','65c9f3215ebf9fc66bd30a63b08918e11ab148b2',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=112\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',112,'contact','2018-12-05 11:56:30',NULL),(350,20,76,'dicembrino','zaira','zaira@dicembrino.it','ThirdParty=;UserTitle=Sig.ra','abcc65a724f08a95a2d6ad2d12e1975771889c73',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=76\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',76,'contact','2018-12-05 11:58:06',NULL),(351,20,45,'diomede','roberta','robertadiomede2@gmail.com','ThirdParty=;UserTitle=Sig.ra','580c9593a22d2d2d96ecdb79891f982e6e6fcaaa',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=45\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',45,'contact','2018-12-05 11:56:30',NULL),(352,20,34,'falcone','cristiana','falconecrissy@gmail.com','ThirdParty=;UserTitle=Sig.ra','58a6a7569364b8a8e9edbf9d8e5f0660f0bbccfd',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=34\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',34,'contact','2018-12-05 11:54:42',NULL),(353,20,40,'ficco','vincenzo','enzoficco@gmail.com','ThirdParty=;UserTitle=Sig.','35bc799785f8dde4ad38de536841fad7c1de2203',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=40\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',40,'contact','2018-12-05 11:54:42',NULL),(354,20,110,'galantini','maria rosaria','mariarosariagalantini@alice.it','ThirdParty=;UserTitle=Sig.ra','9aab1dc4fcb64f45e503575c16a47da875209c62',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=110\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',110,'contact','2018-12-05 11:56:30',NULL),(355,20,50,'garofalo','marianna','old_man_62@hotmail.it','ThirdParty=;UserTitle=Sig.ra','2b8880a44b38c175ce8c9526d411708eb2ba75fa',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=50\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',50,'contact','2018-12-05 11:56:30',NULL),(356,20,79,'giannetta','luana','luanagiannetta@libero.it','ThirdParty=;UserTitle=Sig.ra','80fd52b12c8c0a44b45676f4959ea2a74d5114bd',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=79\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',79,'contact','2018-12-05 11:56:30',NULL),(357,20,55,'gramazio','stefania','stefygrama@yahoo.it','ThirdParty=;UserTitle=Sig.ra','e6bbc2964680ad79947cda52c1fb2f625279b5c9',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=55\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',55,'contact','2018-12-05 11:58:06',NULL),(358,20,60,'grana','annalisa','dapne2978@libero.it','ThirdParty=;UserTitle=Sig.ra','efec25ba54e74462e6e1bc2efe03a11babcd57b3',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=60\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',60,'contact','2018-12-05 11:54:42',NULL),(359,20,33,'la gatta','antonio','tonilagatta@gmail.com','ThirdParty=;UserTitle=Sig.','e23d8ce37ace783dbeb4b29cc8b1a7251fcee2df',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=33\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',33,'contact','2018-12-05 11:58:06',NULL),(360,20,56,'labella','concetta','eresmivida@katamail.com','ThirdParty=;UserTitle=Sig.ra','eb2b564a23dd36e3ddbfeae24f148a4330f0c190',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=56\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',56,'contact','2018-12-05 11:54:42',NULL),(361,20,36,'lombardi','vita','lomvi@libero.it','ThirdParty=;UserTitle=Sig.ra','162f6a08dfbb823650d32352c95137aac29309d0',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=36\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',36,'contact','2018-12-05 11:56:30',NULL),(362,20,111,'lucisano','roberto','ilsolarium98@gmail.com','ThirdParty=;UserTitle=Sig.','b733c2f786df8f379cb86ec7bdbd9acf5c91748d',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=111\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',111,'contact','2018-12-05 11:54:42',NULL),(363,20,105,'marasco','alessia','alessiamarasco07@tiscali.it','ThirdParty=;UserTitle=Sig.ra','a7da14ba469adfb042d3dd5cddcbf42ecd9a50d3',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=105\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',105,'contact','2018-12-05 11:54:42',NULL),(364,20,9,'mercuri','eliana','mercuri.eliana@gmail.com','ThirdParty=;UserTitle=Sig.ra','be40f85ba952d9e64858b6f8a7c0d3c3544e1f32',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=9\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',9,'contact','2018-12-05 11:56:30',NULL),(365,20,49,'occhiochiuso','antonietta','anto.occhiochiuso@hotmail.it','ThirdParty=;UserTitle=Sig.ra','e61658b80fbd45e6234d18b05544a0491af9d39a',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=49\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',49,'contact','2018-12-05 11:54:42',NULL),(366,20,101,'oliveira silva','cristina nivalma','valmaoliveira@gmail.com','ThirdParty=;UserTitle=Sig.ra','08c6d910880032a9674ba69972dd103d0bc970e0',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=101\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',101,'contact','2018-12-05 11:58:06',NULL),(367,20,41,'paciello','manuela','paciello79@gmail.com','ThirdParty=;UserTitle=Sig.ra','9f3374fe9a61c7fa3efe7c7b68f322943fa8fa9e',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=41\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',41,'contact','2018-12-05 11:56:30',NULL),(368,20,68,'palmieri','patrizia','pattypalm@virgilio.it','ThirdParty=;UserTitle=Sig.ra','1d54a071f1943127cd87067efee16f475322642c',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=68\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',68,'contact','2018-12-05 11:56:30',NULL),(369,20,67,'palmieri','stefania','stefy.palmieri@alice.it','ThirdParty=;UserTitle=Sig.ra','1bc2d3e3e8893a44cd6b584b2d3844281cedea48',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=67\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',67,'contact','2018-12-05 11:58:06',NULL),(370,20,106,'peluso','giovanna','giovy.pelu@gmail.com','ThirdParty=;UserTitle=Sig.ra','11d438adc1bf57347e7a9e80be11e79c88fb6668',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=106\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',106,'contact','2018-12-05 11:54:42',NULL),(371,20,57,'piserchia','patrizia','piserchia@teknautomazione.com','ThirdParty=;UserTitle=Sig.ra','c2f4d30b69be8fcb165785a3db0d66c542f221cd',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=57\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',57,'contact','2018-12-05 11:56:30',NULL),(372,20,78,'pitta','antonella','tonypitta73@gmail.com','ThirdParty=;UserTitle=Sig.ra','ee41a2e4905ef5ee72e0e0af2e3485d6ce9e3cc4',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=78\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',78,'contact','2018-12-05 11:58:06',NULL),(373,20,103,'quitadamo','enza','enzaquitadamo@yahoo.it','ThirdParty=;UserTitle=Sig.ra','53297b7f674b309c9ed1d42e4e0bb6565f9195cc',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=103\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',103,'contact','2018-12-05 11:54:42',NULL),(374,20,35,'ranieri','enrico','enricoranieri62@gmail.com','ThirdParty=;UserTitle=Sig.','f1a00856c5d6964b5a2be91c44f7924d44bc6d7d',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=35\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',35,'contact','2018-12-05 11:54:42',NULL),(375,20,52,'ricciardi','ornella','ricciardiornella@libero.it','ThirdParty=;UserTitle=Sig.ra','be91a9d991110ea629cb3c0118ba2fb3b06edd32',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=52\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',52,'contact','2018-12-05 11:56:30',NULL),(376,20,63,'rubino','margherita','margherita.rubino@hotmail.it','ThirdParty=;UserTitle=Sig.ra','1c69fa62bf6a1eeed5434005d6f16a796ff43233',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=63\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',63,'contact','2018-12-05 11:56:30',NULL),(377,20,114,'salvagno','lucia','luciasalvagno@libero.it','ThirdParty=;UserTitle=Sig.ra','0bb90e9b4a09beafd5c5f8775a6ee811db04b074',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=114\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',114,'contact','2018-12-05 11:56:30',NULL),(378,20,74,'saracino','pina','pinasaracino66@gmail.com','ThirdParty=;UserTitle=Sig.ra','0c8f2b27b2cbe82a339f09e4ee4af5a12b3b5eda',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=74\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',74,'contact','2018-12-05 11:56:30',NULL),(379,20,59,'scarano','giuliana','giulianatrilly@yahoo.it','ThirdParty=;UserTitle=Sig.ra','db9e932a6a4c005b7a390c37dee8b7d199109e70',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=59\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',59,'contact','2018-12-05 11:54:42',NULL),(380,20,53,'settimo','alessandra','alessandra.settimo@tiscali.it','ThirdParty=;UserTitle=Sig.ra','81d0ad302e1e9104edd5cb6cbf4028d679db5e58',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=53\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',53,'contact','2018-12-05 11:54:42',NULL),(381,20,1,'Settimo','Francesco','frasettimo@tiscali.it','ThirdParty=Francesco Settimo;UserTitle=Sig.','76eee5bf6ec5c5509dece0fcf26e34269e834318',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=1\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',1,'contact','2018-12-05 11:54:42',NULL),(382,20,37,'signorile','gabriella','flower_ga@hotmail.it','ThirdParty=;UserTitle=Sig.ra','31c408f5edb2ae11144d5e9d9cd2564ac5bbccc6',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=37\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',37,'contact','2018-12-05 11:54:42',NULL),(383,20,104,'spadaccino','tiziana','tizianaspadaccino@gmail.com','ThirdParty=;UserTitle=Sig.ra','020e4c280b05e3fe2dc458796d1f86ef6f30c03d',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=104\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',104,'contact','2018-12-05 11:58:06',NULL),(384,20,51,'spagnuolo','maria pina','mariolina.spagnuolo@libero.it','ThirdParty=;UserTitle=Sig.ra','b7da0768ba06f3d9a4e15fbd91ad293fd0b2b52b',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=51\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',51,'contact','2018-12-05 11:56:30',NULL),(385,20,75,'vangi','valentina','valentina.vangi@libero.it','ThirdParty=;UserTitle=Sig.ra','635a2a8f9966b99f0a5f0227c9babd87fba87349',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=75\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',75,'contact','2018-12-05 11:58:06',NULL),(386,20,113,'varracchio','daniela','danielavarracchio@yahoo.it','ThirdParty=;UserTitle=Sig.ra','3b0d03d28bab9643e2400ea87fb454ff3913fb32',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=113\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',113,'contact','2018-12-05 11:54:42',NULL),(388,21,23,'cagnazzo','teresa','mariateresacagnazzo@alice.it','ThirdParty=;UserTitle=Sig.ra','16b69a597582833bdc497c67335229878ced41bd',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=23\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',23,'contact','2018-12-05 12:10:32',NULL),(389,21,8,'caroprese','gianluca','caroprese@alice.it','ThirdParty=;UserTitle=Sig.','26fbb1c8e1051c4a8bf5ce5d4a154512a6ecfa22',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=8\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',8,'contact','2018-12-05 12:10:32',NULL),(390,21,18,'ciavarella','tiziana','ciavarellatiziana@gmail.com','ThirdParty=;UserTitle=Sig.ra','ae066db7c7859cbeea19f843b12b794e2e695543',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=18\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',18,'contact','2018-12-05 12:10:32',NULL),(392,21,22,'di muzio','ettore','ettodim@hotmail.it','ThirdParty=;UserTitle=Sig.','44dd5a0d15c3748284d58697c350ee50898056de',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=22\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',22,'contact','2018-12-05 12:10:32',NULL),(393,21,12,'diomede','celestino','celestinodiomede@gmail.com','ThirdParty=;UserTitle=Sig.','147f1c016d346dcf20a5414d5a78be484aea9162',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=12\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',12,'contact','2018-12-05 12:10:32',NULL),(394,21,25,'fennino','ornella','fennino14@gmail.com','ThirdParty=;UserTitle=Sig.ra','484b72614128eb079c1ba93e5fe7cced0c057685',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=25\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',25,'contact','2018-12-05 12:10:32',NULL),(395,21,21,'ferro','marzia','marziaferro@hotmail.it','ThirdParty=;UserTitle=Sig.ra','2cb050848ae0a0fe0af88fbc073c031f83f6c02a',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=21\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',21,'contact','2018-12-05 12:10:32',NULL),(396,21,11,'guida','maria teresa','mariateresa.guida@libero.it','ThirdParty=;UserTitle=Sig.ra','00e8742c5ff6f79121def091ff3e3804f8f9e08e',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=11\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',11,'contact','2018-12-05 12:10:32',NULL),(397,21,14,'iolo','giuseppe','iolo@vodafone.it','ThirdParty=;UserTitle=Sig.','4bf225ac36a09e0321824b0d4e55a672dd2e99f5',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=14\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',14,'contact','2018-12-05 12:10:32',NULL),(398,21,3,'lo buglio','bianca','karma249@libero.it','ThirdParty=;UserTitle=Sig.ra','ba3fe74f9b73f5145485d7fd0b1553b0bb25f8a4',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=3\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',3,'contact','2018-12-05 12:10:32',NULL),(399,21,24,'malgieri','rocco','roccomalgieri@gmail.com','ThirdParty=;UserTitle=Sig.','5c346153ad1a33992a18a321468c7cc102cd5b22',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=24\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',24,'contact','2018-12-05 12:10:32',NULL),(400,21,26,'mancini','angela','angelamancini87@hotmail.it','ThirdParty=;UserTitle=Sig.ra','9881942fc4e18ba3251627ccdd4f46c87d41e4ab',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=26\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',26,'contact','2018-12-05 12:10:32',NULL),(401,21,10,'marcone','silvio','silvio_m1@live.it','ThirdParty=;UserTitle=','9fb0a1796652ec6ef5376bf2b1a15f30294e9577',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=10\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',10,'contact','2018-12-05 12:10:32',NULL),(402,21,9,'mercuri','eliana','mercuri.eliana@gmail.com','ThirdParty=;UserTitle=Sig.ra','caffb910d7db5710b3f1fdce1e21019b6c4009ff',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=9\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',9,'contact','2018-12-05 12:10:32',NULL),(404,21,20,'salvemini','erika','erika.salvemini@gmail.com','ThirdParty=;UserTitle=Sig.ra','603c3ad5b2cee408166f1dfd6b6a94e428df778b',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=20\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',20,'contact','2018-12-05 12:10:32',NULL),(405,21,4,'simone','antonietta','antonellasimone@virgilio.it','ThirdParty=;UserTitle=Sig.ra','34bf6bd479652cc9093e92b0458e4ce74ec87fdb',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=4\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',4,'contact','2018-12-05 12:10:32',NULL),(406,21,5,'spina','ferdinando m','fmspina@yahoo.it','ThirdParty=;UserTitle=Sig.','8d842d6c00248c31b2dc4b6548c27bd1948cfe71',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=5\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',5,'contact','2018-12-05 12:10:32',NULL),(407,21,19,'stabile','pia','pia.stabile@gmail.com','ThirdParty=;UserTitle=Sig.ra','f3dba13f7675619be9d670510daa28b111c73b33',1,'<a href=\"/foodandstyle/htdocs/contact/card.php?id=19\"><img src=\"/foodandstyle/htdocs/theme/eldy/img/object_contact.png\" alt=\"\" title=\"\" class=\"inline-block valigntextbottom\"></a>',19,'contact','2018-12-05 12:10:32',NULL);

--
-- Table structure for table `llx_menu`
--

CREATE TABLE `llx_menu` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `menu_handler` varchar(16) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `module` varchar(64) DEFAULT NULL,
  `type` varchar(4) NOT NULL,
  `mainmenu` varchar(100) NOT NULL,
  `leftmenu` varchar(100) DEFAULT NULL,
  `fk_menu` int(11) NOT NULL,
  `fk_mainmenu` varchar(100) DEFAULT NULL,
  `fk_leftmenu` varchar(100) DEFAULT NULL,
  `position` int(11) NOT NULL,
  `url` varchar(255) NOT NULL,
  `target` varchar(100) DEFAULT NULL,
  `titre` varchar(255) NOT NULL,
  `langs` varchar(100) DEFAULT NULL,
  `level` smallint(6) DEFAULT NULL,
  `perms` text,
  `enabled` varchar(255) DEFAULT '1',
  `usertype` int(11) NOT NULL DEFAULT '0',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_menu_uk_menu` (`menu_handler`,`fk_menu`,`position`,`url`,`entity`),
  KEY `idx_menu_menuhandler_type` (`menu_handler`,`type`)
) ENGINE=InnoDB AUTO_INCREMENT=124 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_menu`
--

INSERT INTO `llx_menu` (`rowid`, `menu_handler`, `entity`, `module`, `type`, `mainmenu`, `leftmenu`, `fk_menu`, `fk_mainmenu`, `fk_leftmenu`, `position`, `url`, `target`, `titre`, `langs`, `level`, `perms`, `enabled`, `usertype`, `tms`) VALUES (1,'all',1,'supplier_proposal','left','commercial','supplier_proposalsubmenu',-1,'commercial',NULL,300,'/supplier_proposal/index.php','','SupplierProposalsShort','supplier_proposal',NULL,'$user->rights->supplier_proposal->lire','$conf->supplier_proposal->enabled',2,'2017-11-02 16:27:16'),(2,'all',1,'supplier_proposal','left','commercial',NULL,-1,'commercial','supplier_proposalsubmenu',301,'/supplier_proposal/card.php?action=create&amp;leftmenu=supplier_proposals','','SupplierProposalNew','supplier_proposal',NULL,'$user->rights->supplier_proposal->creer','$conf->supplier_proposal->enabled',2,'2017-11-02 16:27:16'),(3,'all',1,'supplier_proposal','left','commercial',NULL,-1,'commercial','supplier_proposalsubmenu',302,'/supplier_proposal/list.php?leftmenu=supplier_proposals','','List','supplier_proposal',NULL,'$user->rights->supplier_proposal->lire','$conf->supplier_proposal->enabled',2,'2017-11-02 16:27:16'),(4,'all',1,'supplier_proposal','left','commercial',NULL,-1,'commercial','supplier_proposalsubmenu',303,'/comm/propal/stats/index.php?leftmenu=supplier_proposals&amp;mode=supplier','','Statistics','supplier_proposal',NULL,'$user->rights->supplier_proposal->lire','$conf->supplier_proposal->enabled',2,'2017-11-02 16:27:16'),(5,'all',1,'margins','left','accountancy','margins',-1,'accountancy',NULL,100,'/margin/index.php','','Margins','margins',NULL,'$user->rights->margins->liretous','$conf->margin->enabled',2,'2017-11-02 16:32:06'),(20,'all',1,'resource','left','tools','resource',-1,'tools',NULL,100,'/resource/list.php','','MenuResourceIndex','resource',NULL,'$user->rights->resource->read','1',0,'2017-11-02 16:39:32'),(21,'all',1,'resource','left','tools',NULL,-1,'tools','resource',101,'/resource/add.php','','MenuResourceAdd','resource',NULL,'$user->rights->resource->read','1',0,'2017-11-02 16:39:32'),(22,'all',1,'resource','left','tools',NULL,-1,'tools','resource',102,'/resource/list.php','','List','resource',NULL,'$user->rights->resource->read','1',0,'2017-11-02 16:39:32'),(101,'all',1,'agenda','top','agenda',NULL,0,NULL,NULL,15,'/comm/action/index.php','','TMenuAgenda','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(102,'all',1,'agenda','left','agenda',NULL,101,NULL,NULL,100,'/comm/action/index.php?mainmenu=agenda&amp;leftmenu=agenda','','Actions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(103,'all',1,'agenda','left','agenda',NULL,102,NULL,NULL,101,'/comm/action/card.php?mainmenu=agenda&amp;leftmenu=agenda&amp;action=create','','NewAction','commercial',NULL,'($user->rights->agenda->myactions->create||$user->rights->agenda->allactions->create)','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(104,'all',1,'agenda','left','agenda',NULL,102,NULL,NULL,140,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda','','Agenda','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(105,'all',1,'agenda','left','agenda',NULL,104,NULL,NULL,141,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filter=mine','','MenuToDoMyActions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(106,'all',1,'agenda','left','agenda',NULL,104,NULL,NULL,142,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filter=mine','','MenuDoneMyActions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(107,'all',1,'agenda','left','agenda',NULL,104,NULL,NULL,143,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filtert=-1','','MenuToDoActions','agenda',NULL,'$user->rights->agenda->allactions->read','$user->rights->agenda->allactions->read',2,'2018-12-18 19:50:26'),(108,'all',1,'agenda','left','agenda',NULL,104,NULL,NULL,144,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filtert=-1','','MenuDoneActions','agenda',NULL,'$user->rights->agenda->allactions->read','$user->rights->agenda->allactions->read',2,'2018-12-18 19:50:26'),(109,'all',1,'agenda','left','agenda',NULL,102,NULL,NULL,110,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda','','List','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(110,'all',1,'agenda','left','agenda',NULL,109,NULL,NULL,111,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filter=mine','','MenuToDoMyActions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(111,'all',1,'agenda','left','agenda',NULL,109,NULL,NULL,112,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filter=mine','','MenuDoneMyActions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(112,'all',1,'agenda','left','agenda',NULL,109,NULL,NULL,113,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filtert=-1','','MenuToDoActions','agenda',NULL,'$user->rights->agenda->allactions->read','$user->rights->agenda->allactions->read',2,'2018-12-18 19:50:26'),(113,'all',1,'agenda','left','agenda',NULL,109,NULL,NULL,114,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filtert=-1','','MenuDoneActions','agenda',NULL,'$user->rights->agenda->allactions->read','$user->rights->agenda->allactions->read',2,'2018-12-18 19:50:26'),(114,'all',1,'agenda','left','agenda',NULL,102,NULL,NULL,160,'/comm/action/rapport/index.php?mainmenu=agenda&amp;leftmenu=agenda','','Reportings','agenda',NULL,'$user->rights->agenda->allactions->read','$conf->agenda->enabled',2,'2018-12-18 19:50:26'),(115,'all',1,'barcode','left','tools','barcodeprint',-1,'tools',NULL,200,'/barcode/printsheet.php?mainmenu=tools&leftmenu=barcodeprint','','BarCodePrintsheet','products',NULL,'($conf->global->MAIN_USE_ADVANCED_PERMS && $user->rights->barcode->lire_advance) || (! $conf->global->MAIN_USE_ADVANCED_PERMS)','$conf->barcode->enabled',2,'2018-12-18 19:50:27'),(116,'all',1,'barcode','left','home',NULL,-1,'home','admintools',300,'/barcode/codeinit.php?mainmenu=home&leftmenu=admintools','','MassBarcodeInit','products',NULL,'($conf->global->MAIN_USE_ADVANCED_PERMS && $user->rights->barcode->creer_advance) || (! $conf->global->MAIN_USE_ADVANCED_PERMS)','$conf->barcode->enabled && preg_match(\'/^(admintools|all)/\',$leftmenu)',0,'2018-12-18 19:50:27'),(117,'all',1,'ecm','top','ecm',NULL,0,NULL,NULL,100,'/ecm/index.php','','MenuECM','ecm',NULL,'$user->rights->ecm->read || $user->rights->ecm->upload || $user->rights->ecm->setup','$conf->ecm->enabled',2,'2018-12-18 19:50:30'),(118,'all',1,'ecm','left','ecm','ecm',-1,'ecm',NULL,101,'/ecm/index.php?mainmenu=ecm&leftmenu=ecm','','ECMArea','ecm',NULL,'$user->rights->ecm->read || $user->rights->ecm->upload','$user->rights->ecm->read || $user->rights->ecm->upload',2,'2018-12-18 19:50:30'),(119,'all',1,'ecm','left','ecm','ecm_manual',-1,'ecm','ecm',102,'/ecm/index.php?action=file_manager&mainmenu=ecm&leftmenu=ecm','','ECMSectionsManual','ecm',NULL,'$user->rights->ecm->read || $user->rights->ecm->upload','$user->rights->ecm->read || $user->rights->ecm->upload',2,'2018-12-18 19:50:30'),(120,'all',1,'ecm','left','ecm',NULL,-1,'ecm','ecm',103,'/ecm/index_auto.php?action=file_manager&mainmenu=ecm&leftmenu=ecm','','ECMSectionsAuto','ecm',NULL,'$user->rights->ecm->read || $user->rights->ecm->upload','($user->rights->ecm->read || $user->rights->ecm->upload) && ! empty($conf->global->ECM_AUTO_TREE_ENABLED)',2,'2018-12-18 19:50:30'),(121,'all',1,'opensurvey','left','tools','opensurvey',-1,'tools',NULL,200,'/opensurvey/index.php?mainmenu=tools&leftmenu=opensurvey','','Survey','opensurvey',NULL,'$user->rights->opensurvey->read','$conf->opensurvey->enabled',0,'2018-12-18 19:50:37'),(122,'all',1,'opensurvey','left','tools','opensurvey_new',-1,'tools','opensurvey',210,'/opensurvey/wizard/index.php','','NewSurvey','opensurvey',NULL,'$user->rights->opensurvey->write','$conf->opensurvey->enabled',0,'2018-12-18 19:50:37'),(123,'all',1,'opensurvey','left','tools','opensurvey_list',-1,'tools','opensurvey',220,'/opensurvey/list.php','','List','opensurvey',NULL,'$user->rights->opensurvey->read','$conf->opensurvey->enabled',0,'2018-12-18 19:50:37');

--
-- Table structure for table `llx_multicurrency`
--

CREATE TABLE `llx_multicurrency` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `date_create` datetime DEFAULT NULL,
  `code` varchar(255) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  `fk_user` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_multicurrency`
--


--
-- Table structure for table `llx_multicurrency_rate`
--

CREATE TABLE `llx_multicurrency_rate` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `date_sync` datetime DEFAULT NULL,
  `rate` double NOT NULL DEFAULT '0',
  `fk_multicurrency` int(11) NOT NULL,
  `entity` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_multicurrency_rate`
--


--
-- Table structure for table `llx_notify`
--

CREATE TABLE `llx_notify` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `daten` datetime DEFAULT NULL,
  `fk_action` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `type` varchar(16) DEFAULT 'email',
  `type_target` varchar(16) DEFAULT NULL,
  `objet_type` varchar(24) NOT NULL,
  `objet_id` int(11) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_notify`
--


--
-- Table structure for table `llx_notify_def`
--

CREATE TABLE `llx_notify_def` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` date DEFAULT NULL,
  `fk_action` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `type` varchar(16) DEFAULT 'email',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_notify_def`
--


--
-- Table structure for table `llx_notify_def_object`
--

CREATE TABLE `llx_notify_def_object` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `objet_type` varchar(16) DEFAULT NULL,
  `objet_id` int(11) NOT NULL,
  `type_notif` varchar(16) DEFAULT 'browser',
  `date_notif` datetime DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `moreparam` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_notify_def_object`
--


--
-- Table structure for table `llx_oauth_state`
--

CREATE TABLE `llx_oauth_state` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `service` varchar(36) DEFAULT NULL,
  `state` varchar(128) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_oauth_state`
--


--
-- Table structure for table `llx_oauth_token`
--

CREATE TABLE `llx_oauth_token` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `service` varchar(36) DEFAULT NULL,
  `token` text,
  `fk_user` int(11) DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  `tokenstring` text,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_oauth_token`
--


--
-- Table structure for table `llx_onlinesignature`
--

CREATE TABLE `llx_onlinesignature` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `object_type` varchar(32) NOT NULL,
  `object_id` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `name` varchar(255) NOT NULL,
  `ip` varchar(128) DEFAULT NULL,
  `pathoffile` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_onlinesignature`
--


--
-- Table structure for table `llx_opensurvey_comments`
--

CREATE TABLE `llx_opensurvey_comments` (
  `id_comment` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `id_sondage` char(16) NOT NULL,
  `comment` text NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `usercomment` text,
  PRIMARY KEY (`id_comment`),
  KEY `idx_id_comment` (`id_comment`),
  KEY `idx_id_sondage` (`id_sondage`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_opensurvey_comments`
--


--
-- Table structure for table `llx_opensurvey_formquestions`
--

CREATE TABLE `llx_opensurvey_formquestions` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `id_sondage` varchar(16) DEFAULT NULL,
  `question` text,
  `available_answers` text,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_opensurvey_formquestions`
--


--
-- Table structure for table `llx_opensurvey_sondage`
--

CREATE TABLE `llx_opensurvey_sondage` (
  `id_sondage` varchar(16) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `commentaires` text,
  `mail_admin` varchar(128) DEFAULT NULL,
  `nom_admin` varchar(64) DEFAULT NULL,
  `fk_user_creat` int(11) NOT NULL,
  `titre` text NOT NULL,
  `date_fin` datetime DEFAULT NULL,
  `status` int(11) DEFAULT '1',
  `format` varchar(2) NOT NULL,
  `mailsonde` tinyint(4) NOT NULL DEFAULT '0',
  `allow_comments` tinyint(4) NOT NULL DEFAULT '1',
  `allow_spy` tinyint(4) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `sujet` text,
  PRIMARY KEY (`id_sondage`),
  KEY `idx_date_fin` (`date_fin`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_opensurvey_sondage`
--


--
-- Table structure for table `llx_opensurvey_user_formanswers`
--

CREATE TABLE `llx_opensurvey_user_formanswers` (
  `fk_user_survey` int(11) NOT NULL,
  `fk_question` int(11) NOT NULL,
  `reponses` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_opensurvey_user_formanswers`
--


--
-- Table structure for table `llx_opensurvey_user_studs`
--

CREATE TABLE `llx_opensurvey_user_studs` (
  `id_users` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(64) NOT NULL,
  `id_sondage` varchar(16) NOT NULL,
  `reponses` varchar(100) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id_users`),
  KEY `idx_opensurvey_user_studs_id_users` (`id_users`),
  KEY `idx_opensurvey_user_studs_nom` (`nom`),
  KEY `idx_opensurvey_user_studs_id_sondage` (`id_sondage`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_opensurvey_user_studs`
--


--
-- Table structure for table `llx_overwrite_trans`
--

CREATE TABLE `llx_overwrite_trans` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `lang` varchar(5) DEFAULT NULL,
  `transkey` varchar(128) DEFAULT NULL,
  `transvalue` text,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_overwrite_trans` (`lang`,`transkey`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_overwrite_trans`
--


--
-- Table structure for table `llx_paiement`
--

CREATE TABLE `llx_paiement` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `multicurrency_amount` double(24,8) DEFAULT '0.00000000',
  `fk_paiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) NOT NULL DEFAULT '0',
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT '0',
  `fk_export_compta` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_paiement`
--


--
-- Table structure for table `llx_paiement_facture`
--

CREATE TABLE `llx_paiement_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_paiement` int(11) DEFAULT NULL,
  `fk_facture` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_amount` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_paiement_facture` (`fk_paiement`,`fk_facture`),
  KEY `idx_paiement_facture_fk_facture` (`fk_facture`),
  KEY `idx_paiement_facture_fk_paiement` (`fk_paiement`),
  CONSTRAINT `fk_paiement_facture_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_paiement_facture_fk_paiement` FOREIGN KEY (`fk_paiement`) REFERENCES `llx_paiement` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_paiement_facture`
--


--
-- Table structure for table `llx_paiementcharge`
--

CREATE TABLE `llx_paiementcharge` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_charge` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `fk_typepaiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_paiementcharge`
--


--
-- Table structure for table `llx_paiementfourn`
--

CREATE TABLE `llx_paiementfourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `multicurrency_amount` double(24,8) DEFAULT '0.00000000',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_paiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) NOT NULL,
  `statut` smallint(6) NOT NULL DEFAULT '0',
  `model_pdf` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_paiementfourn`
--


--
-- Table structure for table `llx_paiementfourn_facturefourn`
--

CREATE TABLE `llx_paiementfourn_facturefourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_paiementfourn` int(11) DEFAULT NULL,
  `fk_facturefourn` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_amount` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_paiementfourn_facturefourn` (`fk_paiementfourn`,`fk_facturefourn`),
  KEY `idx_paiementfourn_facturefourn_fk_facture` (`fk_facturefourn`),
  KEY `idx_paiementfourn_facturefourn_fk_paiement` (`fk_paiementfourn`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_paiementfourn_facturefourn`
--


--
-- Table structure for table `llx_payment_donation`
--

CREATE TABLE `llx_payment_donation` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_donation` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_payment_donation`
--


--
-- Table structure for table `llx_payment_expensereport`
--

CREATE TABLE `llx_payment_expensereport` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expensereport` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_payment_expensereport`
--


--
-- Table structure for table `llx_payment_loan`
--

CREATE TABLE `llx_payment_loan` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_loan` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount_capital` double(24,8) DEFAULT NULL,
  `amount_insurance` double(24,8) DEFAULT NULL,
  `amount_interest` double(24,8) DEFAULT NULL,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_payment_loan`
--


--
-- Table structure for table `llx_payment_salary`
--

CREATE TABLE `llx_payment_salary` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_user` int(11) NOT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `salary` double(24,8) DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `datesp` date DEFAULT NULL,
  `dateep` date DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `note` text,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_payment_salary_ref` (`num_payment`),
  KEY `idx_payment_salary_user` (`fk_user`,`entity`),
  KEY `idx_payment_salary_datep` (`datep`),
  KEY `idx_payment_salary_datesp` (`datesp`),
  KEY `idx_payment_salary_dateep` (`dateep`),
  CONSTRAINT `fk_payment_salary_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_payment_salary`
--


--
-- Table structure for table `llx_payment_various`
--

CREATE TABLE `llx_payment_various` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `sens` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `note` text,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_payment_various`
--


--
-- Table structure for table `llx_prelevement_bons`
--

CREATE TABLE `llx_prelevement_bons` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(12) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `statut` smallint(6) DEFAULT '0',
  `credite` smallint(6) DEFAULT '0',
  `note` text,
  `date_trans` datetime DEFAULT NULL,
  `method_trans` smallint(6) DEFAULT NULL,
  `fk_user_trans` int(11) DEFAULT NULL,
  `date_credit` datetime DEFAULT NULL,
  `fk_user_credit` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_prelevement_bons_ref` (`ref`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_prelevement_bons`
--


--
-- Table structure for table `llx_prelevement_facture`
--

CREATE TABLE `llx_prelevement_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture` int(11) NOT NULL,
  `fk_prelevement_lignes` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_prelevement_facture_fk_prelevement_lignes` (`fk_prelevement_lignes`),
  CONSTRAINT `fk_prelevement_facture_fk_prelevement_lignes` FOREIGN KEY (`fk_prelevement_lignes`) REFERENCES `llx_prelevement_lignes` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_prelevement_facture`
--


--
-- Table structure for table `llx_prelevement_facture_demande`
--

CREATE TABLE `llx_prelevement_facture_demande` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture` int(11) NOT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `date_demande` datetime NOT NULL,
  `traite` smallint(6) DEFAULT '0',
  `date_traite` datetime DEFAULT NULL,
  `fk_prelevement_bons` int(11) DEFAULT NULL,
  `fk_user_demande` int(11) NOT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_prelevement_facture_demande`
--


--
-- Table structure for table `llx_prelevement_lignes`
--

CREATE TABLE `llx_prelevement_lignes` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_prelevement_bons` int(11) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `statut` smallint(6) DEFAULT '0',
  `client_nom` varchar(255) DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `note` text,
  PRIMARY KEY (`rowid`),
  KEY `idx_prelevement_lignes_fk_prelevement_bons` (`fk_prelevement_bons`),
  CONSTRAINT `fk_prelevement_lignes_fk_prelevement_bons` FOREIGN KEY (`fk_prelevement_bons`) REFERENCES `llx_prelevement_bons` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_prelevement_lignes`
--


--
-- Table structure for table `llx_prelevement_rejet`
--

CREATE TABLE `llx_prelevement_rejet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_prelevement_lignes` int(11) DEFAULT NULL,
  `date_rejet` datetime DEFAULT NULL,
  `motif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_creation` int(11) DEFAULT NULL,
  `note` text,
  `afacturer` tinyint(4) DEFAULT '0',
  `fk_facture` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_prelevement_rejet`
--


--
-- Table structure for table `llx_printing`
--

CREATE TABLE `llx_printing` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `printer_name` text NOT NULL,
  `printer_location` text NOT NULL,
  `printer_id` varchar(255) NOT NULL,
  `copy` int(11) NOT NULL DEFAULT '1',
  `module` varchar(16) NOT NULL,
  `driver` varchar(16) NOT NULL,
  `userid` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_printing`
--


--
-- Table structure for table `llx_product`
--

CREATE TABLE `llx_product` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(128) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_parent` int(11) DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text,
  `note_public` text,
  `note` text,
  `customcode` varchar(32) DEFAULT NULL,
  `fk_country` int(11) DEFAULT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `price_ttc` double(24,8) DEFAULT '0.00000000',
  `price_min` double(24,8) DEFAULT '0.00000000',
  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  `price_base_type` varchar(3) DEFAULT 'HT',
  `cost_price` double(24,8) DEFAULT NULL,
  `default_vat_code` varchar(10) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `tosell` tinyint(4) DEFAULT '1',
  `tobuy` tinyint(4) DEFAULT '1',
  `onportal` tinyint(4) DEFAULT '0',
  `tobatch` tinyint(4) NOT NULL DEFAULT '0',
  `fk_product_type` int(11) DEFAULT '0',
  `duration` varchar(6) DEFAULT NULL,
  `seuil_stock_alerte` int(11) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT NULL,
  `accountancy_code_sell` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_code_sell_intra` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_code_sell_export` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_code_buy` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `partnumber` varchar(32) DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `weight_units` tinyint(4) DEFAULT NULL,
  `length` float DEFAULT NULL,
  `length_units` tinyint(4) DEFAULT NULL,
  `width` float DEFAULT NULL,
  `width_units` tinyint(4) DEFAULT NULL,
  `height` float DEFAULT NULL,
  `height_units` tinyint(4) DEFAULT NULL,
  `surface` float DEFAULT NULL,
  `surface_units` tinyint(4) DEFAULT NULL,
  `volume` float DEFAULT NULL,
  `volume_units` tinyint(4) DEFAULT NULL,
  `stock` double DEFAULT NULL,
  `pmp` double(24,8) NOT NULL DEFAULT '0.00000000',
  `fifo` double(24,8) DEFAULT NULL,
  `lifo` double(24,8) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `finished` tinyint(4) DEFAULT NULL,
  `hidden` tinyint(4) DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_price_expression` int(11) DEFAULT NULL,
  `desiredstock` int(11) DEFAULT '0',
  `fk_unit` int(11) DEFAULT NULL,
  `price_autogen` tinyint(4) DEFAULT '0',
  `fk_default_warehouse` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_ref` (`ref`,`entity`),
  UNIQUE KEY `uk_product_barcode` (`barcode`,`fk_barcode_type`,`entity`),
  KEY `idx_product_label` (`label`),
  KEY `idx_product_barcode` (`barcode`),
  KEY `idx_product_import_key` (`import_key`),
  KEY `idx_product_seuil_stock_alerte` (`seuil_stock_alerte`),
  KEY `idx_product_fk_country` (`fk_country`),
  KEY `idx_product_fk_user_author` (`fk_user_author`),
  KEY `idx_product_fk_barcode_type` (`fk_barcode_type`),
  KEY `fk_product_fk_unit` (`fk_unit`),
  KEY `fk_product_default_warehouse` (`fk_default_warehouse`),
  CONSTRAINT `fk_product_barcode_type` FOREIGN KEY (`fk_barcode_type`) REFERENCES `llx_c_barcode_type` (`rowid`),
  CONSTRAINT `fk_product_default_warehouse` FOREIGN KEY (`fk_default_warehouse`) REFERENCES `llx_entrepot` (`rowid`),
  CONSTRAINT `fk_product_fk_country` FOREIGN KEY (`fk_country`) REFERENCES `llx_c_country` (`rowid`),
  CONSTRAINT `fk_product_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product`
--

INSERT INTO `llx_product` (`rowid`, `ref`, `entity`, `ref_ext`, `datec`, `tms`, `fk_parent`, `label`, `description`, `note_public`, `note`, `customcode`, `fk_country`, `price`, `price_ttc`, `price_min`, `price_min_ttc`, `price_base_type`, `cost_price`, `default_vat_code`, `tva_tx`, `recuperableonly`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `fk_user_author`, `fk_user_modif`, `tosell`, `tobuy`, `onportal`, `tobatch`, `fk_product_type`, `duration`, `seuil_stock_alerte`, `url`, `barcode`, `fk_barcode_type`, `accountancy_code_sell`, `accountancy_code_sell_intra`, `accountancy_code_sell_export`, `accountancy_code_buy`, `partnumber`, `weight`, `weight_units`, `length`, `length_units`, `width`, `width_units`, `height`, `height_units`, `surface`, `surface_units`, `volume`, `volume_units`, `stock`, `pmp`, `fifo`, `lifo`, `canvas`, `finished`, `hidden`, `import_key`, `model_pdf`, `fk_price_expression`, `desiredstock`, `fk_unit`, `price_autogen`, `fk_default_warehouse`) VALUES (1,'finger_riso',1,NULL,'2017-11-02 19:14:30','2017-11-02 18:15:14',0,'finger food riso','Riso venere in finger food monoporzione',NULL,'','',NULL,1.50000000,1.50000000,0.50000000,0.50000000,'HT',0.30000000,NULL,0.000,0,0.000,'0',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,'FAS1700001',5,'',NULL,NULL,'',NULL,30,-3,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0,NULL),(2,'pacco_taralli',1,NULL,'2017-11-02 19:20:27','2017-11-02 18:24:15',0,'taralli personalizzati','Paccheti di taeralli personalizzati',NULL,'','',NULL,5.00000000,5.00000000,2.50000000,2.50000000,'HT',2.00000000,NULL,0.000,0,0.000,'0',0.000,'0',2,2,1,1,0,1,0,'',NULL,NULL,'FAS1700002',5,'',NULL,NULL,'',NULL,250,-3,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,10,5.00000000,NULL,NULL,'',1,0,NULL,NULL,NULL,10,NULL,0,NULL),(3,'Sfera_di_Patata_con_Gambero',1,NULL,'2018-12-18 20:59:46','2018-12-18 19:59:46',0,'Sfera Gambero','Sfera di patate con Gambero scottato',NULL,'','',23,12.00000000,14.64000000,5.00000000,6.10000000,'HT',NULL,NULL,22.000,0,0.000,'0',0.000,'0',1,1,1,1,0,0,0,'',NULL,NULL,'FAS1800003',5,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL),(4,'Julienne_finocchi',1,NULL,'2018-12-31 19:30:26','2018-12-31 18:30:26',0,'Julienne di finocchi','Julienne di finocchi conditi.<br />\r\nPiatto freddo.<br />\r\n&nbsp;',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',NULL,NULL,22.000,0,0.000,'0',0.000,'0',1,1,1,1,0,0,0,'',NULL,NULL,'FAS1800004',5,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0,NULL),(5,'Melanzane_Grigliate',1,NULL,'2018-12-31 19:31:45','2018-12-31 18:31:45',0,'Melanzane grigliate','Melanzane Grigliate Condite<br />\r\nPiatto Freddo.<br />\r\n&nbsp;',NULL,'','',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT',NULL,NULL,22.000,0,0.000,'0',0.000,'0',1,1,1,1,0,0,0,'',NULL,NULL,'FAS1800005',5,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0,NULL),(6,'Quike',1,NULL,'2018-12-31 19:34:32','2018-12-31 18:34:32',0,'Torta Rustica','Quike Torta rustica<br />\r\nRiscaldare leggermente in forno',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',NULL,NULL,22.000,0,0.000,'0',0.000,'0',1,1,1,1,0,0,0,'',NULL,NULL,'FAS1800006',5,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0,NULL);

--
-- Table structure for table `llx_product_association`
--

CREATE TABLE `llx_product_association` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_pere` int(11) NOT NULL DEFAULT '0',
  `fk_product_fils` int(11) NOT NULL DEFAULT '0',
  `qty` double DEFAULT NULL,
  `incdec` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_association` (`fk_product_pere`,`fk_product_fils`),
  KEY `idx_product_association_fils` (`fk_product_fils`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_association`
--


--
-- Table structure for table `llx_product_attribute`
--

CREATE TABLE `llx_product_attribute` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) NOT NULL,
  `label` varchar(255) NOT NULL,
  `rang` int(11) NOT NULL DEFAULT '0',
  `entity` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_attribute_ref` (`ref`),
  UNIQUE KEY `unique_ref` (`ref`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_attribute`
--


--
-- Table structure for table `llx_product_attribute_combination`
--

CREATE TABLE `llx_product_attribute_combination` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_parent` int(11) NOT NULL,
  `fk_product_child` int(11) NOT NULL,
  `variation_price` float NOT NULL,
  `variation_price_percentage` int(11) DEFAULT NULL,
  `variation_weight` float NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_attribute_combination`
--


--
-- Table structure for table `llx_product_attribute_combination2val`
--

CREATE TABLE `llx_product_attribute_combination2val` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_prod_combination` int(11) NOT NULL,
  `fk_prod_attr` int(11) NOT NULL,
  `fk_prod_attr_val` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_attribute_combination2val`
--


--
-- Table structure for table `llx_product_attribute_value`
--

CREATE TABLE `llx_product_attribute_value` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_attribute` int(11) NOT NULL,
  `ref` varchar(255) DEFAULT NULL,
  `value` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_attribute_value` (`fk_product_attribute`,`ref`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_attribute_value`
--


--
-- Table structure for table `llx_product_batch`
--

CREATE TABLE `llx_product_batch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product_stock` int(11) NOT NULL,
  `eatby` datetime DEFAULT NULL,
  `sellby` datetime DEFAULT NULL,
  `batch` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `qty` double NOT NULL DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_batch` (`fk_product_stock`,`batch`),
  KEY `idx_fk_product_stock` (`fk_product_stock`),
  KEY `idx_batch` (`batch`),
  CONSTRAINT `fk_product_batch_fk_product_stock` FOREIGN KEY (`fk_product_stock`) REFERENCES `llx_product_stock` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_batch`
--

INSERT INTO `llx_product_batch` (`rowid`, `tms`, `fk_product_stock`, `eatby`, `sellby`, `batch`, `qty`, `import_key`) VALUES (1,'2017-11-02 18:24:15',1,NULL,NULL,'13263581034968',10,NULL);

--
-- Table structure for table `llx_product_customer_price`
--

CREATE TABLE `llx_product_customer_price` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `price_ttc` double(24,8) DEFAULT '0.00000000',
  `price_min` double(24,8) DEFAULT '0.00000000',
  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  `price_base_type` varchar(3) DEFAULT 'HT',
  `default_vat_code` varchar(10) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_customer_price_fk_product_fk_soc` (`fk_product`,`fk_soc`),
  KEY `idx_product_customer_price_fk_user` (`fk_user`),
  KEY `idx_product_customer_price_fk_soc` (`fk_soc`),
  CONSTRAINT `fk_product_customer_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_product_customer_price_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_product_customer_price_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_customer_price`
--


--
-- Table structure for table `llx_product_customer_price_log`
--

CREATE TABLE `llx_product_customer_price_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `fk_product` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `price_ttc` double(24,8) DEFAULT '0.00000000',
  `price_min` double(24,8) DEFAULT '0.00000000',
  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  `price_base_type` varchar(3) DEFAULT 'HT',
  `default_vat_code` varchar(10) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_customer_price_log`
--


--
-- Table structure for table `llx_product_extrafields`
--

CREATE TABLE `llx_product_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_product_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_extrafields`
--


--
-- Table structure for table `llx_product_fournisseur_price`
--

CREATE TABLE `llx_product_fournisseur_price` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `ref_fourn` varchar(30) DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `quantity` double DEFAULT NULL,
  `remise_percent` double NOT NULL DEFAULT '0',
  `remise` double NOT NULL DEFAULT '0',
  `unitprice` double(24,8) DEFAULT '0.00000000',
  `charges` double(24,8) DEFAULT '0.00000000',
  `default_vat_code` varchar(10) DEFAULT NULL,
  `tva_tx` double(6,3) NOT NULL,
  `info_bits` int(11) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `fk_supplier_price_expression` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `delivery_time_days` int(11) DEFAULT NULL,
  `supplier_reputation` varchar(10) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_price` double(24,8) DEFAULT NULL,
  `multicurrency_unitprice` double(24,8) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_fournisseur_price_ref` (`ref_fourn`,`fk_soc`,`quantity`,`entity`),
  KEY `idx_product_fournisseur_price_fk_user` (`fk_user`),
  KEY `idx_product_fourn_price_fk_product` (`fk_product`,`entity`),
  KEY `idx_product_fourn_price_fk_soc` (`fk_soc`,`entity`),
  CONSTRAINT `fk_product_fournisseur_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_product_fournisseur_price_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_fournisseur_price`
--


--
-- Table structure for table `llx_product_fournisseur_price_log`
--

CREATE TABLE `llx_product_fournisseur_price_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `fk_product_fournisseur` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `quantity` double DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_price` double(24,8) DEFAULT NULL,
  `multicurrency_unitprice` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_fournisseur_price_log`
--


--
-- Table structure for table `llx_product_lang`
--

CREATE TABLE `llx_product_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product` int(11) NOT NULL DEFAULT '0',
  `lang` varchar(5) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text,
  `note` text,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_lang` (`fk_product`,`lang`),
  CONSTRAINT `fk_product_lang_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_lang`
--


--
-- Table structure for table `llx_product_lot`
--

CREATE TABLE `llx_product_lot` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `fk_product` int(11) NOT NULL,
  `batch` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_lot` (`fk_product`,`batch`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_lot`
--

INSERT INTO `llx_product_lot` (`rowid`, `entity`, `fk_product`, `batch`, `eatby`, `sellby`, `datec`, `tms`, `fk_user_creat`, `fk_user_modif`, `import_key`) VALUES (1,NULL,2,'13263581034968','2017-11-03','2017-11-02','2017-11-02 19:24:15','2017-11-02 18:24:15',NULL,NULL,NULL);

--
-- Table structure for table `llx_product_lot_extrafields`
--

CREATE TABLE `llx_product_lot_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_product_lot_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_lot_extrafields`
--


--
-- Table structure for table `llx_product_price`
--

CREATE TABLE `llx_product_price` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) NOT NULL,
  `date_price` datetime NOT NULL,
  `price_level` smallint(6) DEFAULT '1',
  `price` double(24,8) DEFAULT NULL,
  `price_ttc` double(24,8) DEFAULT NULL,
  `price_min` double(24,8) DEFAULT NULL,
  `price_min_ttc` double(24,8) DEFAULT NULL,
  `price_base_type` varchar(3) DEFAULT 'HT',
  `default_vat_code` varchar(10) DEFAULT NULL,
  `tva_tx` double(6,3) NOT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `tosell` tinyint(4) DEFAULT '1',
  `price_by_qty` int(11) NOT NULL DEFAULT '0',
  `fk_price_expression` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_price` double(24,8) DEFAULT NULL,
  `multicurrency_price_ttc` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_product_price_fk_user_author` (`fk_user_author`),
  KEY `idx_product_price_fk_product` (`fk_product`),
  CONSTRAINT `fk_product_price_product` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_product_price_user_author` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_price`
--

INSERT INTO `llx_product_price` (`rowid`, `entity`, `tms`, `fk_product`, `date_price`, `price_level`, `price`, `price_ttc`, `price_min`, `price_min_ttc`, `price_base_type`, `default_vat_code`, `tva_tx`, `recuperableonly`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `fk_user_author`, `tosell`, `price_by_qty`, `fk_price_expression`, `import_key`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_price`, `multicurrency_price_ttc`) VALUES (1,1,'2017-11-02 18:14:30',1,'2017-11-02 19:14:30',1,0.00000000,0.00000000,0.50000000,0.50000000,'HT',NULL,0.000,0,0.000,'0',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(2,1,'2017-11-02 18:14:59',1,'2017-11-02 19:14:59',1,1.50000000,1.50000000,0.50000000,0.50000000,'HT',NULL,0.000,0,0.000,'0',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(3,1,'2017-11-02 18:20:27',2,'2017-11-02 19:20:27',1,5.00000000,5.00000000,2.50000000,2.50000000,'HT',NULL,0.000,0,0.000,'0',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(4,1,'2018-12-18 19:59:46',3,'2018-12-18 20:59:46',1,12.00000000,14.64000000,5.00000000,6.10000000,'HT',NULL,22.000,0,0.000,'0',0.000,'0',1,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(5,1,'2018-12-31 18:30:26',4,'2018-12-31 19:30:26',1,0.00000000,0.00000000,0.00000000,0.00000000,'HT',NULL,22.000,0,0.000,'0',0.000,'0',1,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(6,1,'2018-12-31 18:31:45',5,'2018-12-31 19:31:45',1,0.00000000,0.00000000,0.00000000,0.00000000,'HT',NULL,22.000,0,0.000,'0',0.000,'0',1,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(7,1,'2018-12-31 18:34:32',6,'2018-12-31 19:34:32',1,0.00000000,0.00000000,0.00000000,0.00000000,'HT',NULL,22.000,0,0.000,'0',0.000,'0',1,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL);

--
-- Table structure for table `llx_product_price_by_qty`
--

CREATE TABLE `llx_product_price_by_qty` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_price` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `quantity` double DEFAULT NULL,
  `remise_percent` double NOT NULL DEFAULT '0',
  `remise` double NOT NULL DEFAULT '0',
  `unitprice` double(24,8) DEFAULT '0.00000000',
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `import_key` varchar(14) DEFAULT NULL,
  `price_base_type` varchar(3) DEFAULT 'HT',
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_price` double(24,8) DEFAULT NULL,
  `multicurrency_price_ttc` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_price_by_qty_level` (`fk_product_price`,`quantity`),
  KEY `idx_product_price_by_qty_fk_product_price` (`fk_product_price`),
  CONSTRAINT `fk_product_price_by_qty_fk_product_price` FOREIGN KEY (`fk_product_price`) REFERENCES `llx_product_price` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_price_by_qty`
--


--
-- Table structure for table `llx_product_pricerules`
--

CREATE TABLE `llx_product_pricerules` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `level` int(11) NOT NULL,
  `fk_level` int(11) NOT NULL,
  `var_percent` float NOT NULL,
  `var_min_percent` float NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `unique_level` (`level`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_pricerules`
--


--
-- Table structure for table `llx_product_stock`
--

CREATE TABLE `llx_product_stock` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) NOT NULL,
  `fk_entrepot` int(11) NOT NULL,
  `reel` double DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_stock` (`fk_product`,`fk_entrepot`),
  KEY `idx_product_stock_fk_product` (`fk_product`),
  KEY `idx_product_stock_fk_entrepot` (`fk_entrepot`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_stock`
--

INSERT INTO `llx_product_stock` (`rowid`, `tms`, `fk_product`, `fk_entrepot`, `reel`, `import_key`) VALUES (1,'2017-11-02 18:24:15',2,2,10,NULL);

--
-- Table structure for table `llx_product_warehouse_properties`
--

CREATE TABLE `llx_product_warehouse_properties` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) NOT NULL,
  `fk_entrepot` int(11) NOT NULL,
  `seuil_stock_alerte` int(11) DEFAULT '0',
  `desiredstock` int(11) DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_product_warehouse_properties`
--


--
-- Table structure for table `llx_projet`
--

CREATE TABLE `llx_projet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `dateo` date DEFAULT NULL,
  `datee` date DEFAULT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `title` varchar(255) NOT NULL,
  `description` text,
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `public` int(11) DEFAULT NULL,
  `fk_statut` int(11) NOT NULL DEFAULT '0',
  `fk_opp_status` int(11) DEFAULT NULL,
  `opp_percent` double(5,2) DEFAULT NULL,
  `date_close` datetime DEFAULT NULL,
  `fk_user_close` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `opp_amount` double(24,8) DEFAULT NULL,
  `budget_amount` double(24,8) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `bill_time` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_projet_ref` (`ref`,`entity`),
  KEY `idx_projet_fk_soc` (`fk_soc`),
  CONSTRAINT `fk_projet_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_projet`
--

INSERT INTO `llx_projet` (`rowid`, `fk_soc`, `datec`, `tms`, `dateo`, `datee`, `ref`, `entity`, `title`, `description`, `fk_user_creat`, `fk_user_modif`, `public`, `fk_statut`, `fk_opp_status`, `opp_percent`, `date_close`, `fk_user_close`, `note_private`, `note_public`, `opp_amount`, `budget_amount`, `model_pdf`, `import_key`, `bill_time`) VALUES (1,1,'2017-11-02 00:00:00','2017-11-02 17:39:28','2017-11-02','2017-12-02','PJ1711-0001',1,'Compleanno Sara Settimo','Festa di compleanno di Settimo Sara',2,NULL,0,1,1,0.00,NULL,NULL,NULL,NULL,2000.00000000,1500.00000000,NULL,NULL,0);

--
-- Table structure for table `llx_projet_extrafields`
--

CREATE TABLE `llx_projet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_projet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_projet_extrafields`
--


--
-- Table structure for table `llx_projet_task`
--

CREATE TABLE `llx_projet_task` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_projet` int(11) NOT NULL,
  `fk_task_parent` int(11) NOT NULL DEFAULT '0',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `dateo` datetime DEFAULT NULL,
  `datee` datetime DEFAULT NULL,
  `datev` datetime DEFAULT NULL,
  `label` varchar(255) NOT NULL,
  `description` text,
  `duration_effective` double DEFAULT '0',
  `planned_workload` double DEFAULT '0',
  `progress` int(11) DEFAULT '0',
  `priority` int(11) DEFAULT '0',
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `note_private` text,
  `note_public` text,
  `rang` int(11) DEFAULT '0',
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_projet_task_ref` (`ref`,`entity`),
  KEY `idx_projet_task_fk_projet` (`fk_projet`),
  KEY `idx_projet_task_fk_user_creat` (`fk_user_creat`),
  KEY `idx_projet_task_fk_user_valid` (`fk_user_valid`),
  CONSTRAINT `fk_projet_task_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_projet_task_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_projet_task_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_projet_task`
--


--
-- Table structure for table `llx_projet_task_extrafields`
--

CREATE TABLE `llx_projet_task_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_projet_task_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_projet_task_extrafields`
--


--
-- Table structure for table `llx_projet_task_time`
--

CREATE TABLE `llx_projet_task_time` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_task` int(11) NOT NULL,
  `task_date` date DEFAULT NULL,
  `task_datehour` datetime DEFAULT NULL,
  `task_date_withhour` int(11) DEFAULT '0',
  `task_duration` double DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `thm` double(24,8) DEFAULT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  `invoice_line_id` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `datec` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `note` text,
  PRIMARY KEY (`rowid`),
  KEY `idx_projet_task_time_task` (`fk_task`),
  KEY `idx_projet_task_time_date` (`task_date`),
  KEY `idx_projet_task_time_datehour` (`task_datehour`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_projet_task_time`
--


--
-- Table structure for table `llx_propal`
--

CREATE TABLE `llx_propal` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `ref_client` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `fin_validite` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `price` double DEFAULT '0',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `fk_input_reason` int(11) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_delivery_address` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `last_main_doc` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_propal_ref` (`ref`,`entity`),
  KEY `idx_propal_fk_soc` (`fk_soc`),
  KEY `idx_propal_fk_user_author` (`fk_user_author`),
  KEY `idx_propal_fk_user_valid` (`fk_user_valid`),
  KEY `idx_propal_fk_user_cloture` (`fk_user_cloture`),
  KEY `idx_propal_fk_projet` (`fk_projet`),
  KEY `idx_propal_fk_account` (`fk_account`),
  KEY `idx_propal_fk_currency` (`fk_currency`),
  CONSTRAINT `fk_propal_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_propal_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_propal_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_propal_fk_user_cloture` FOREIGN KEY (`fk_user_cloture`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_propal_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_propal`
--

INSERT INTO `llx_propal` (`rowid`, `ref`, `entity`, `ref_ext`, `ref_int`, `ref_client`, `fk_soc`, `fk_projet`, `tms`, `datec`, `datep`, `fin_validite`, `date_valid`, `date_cloture`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_user_cloture`, `fk_statut`, `price`, `remise_percent`, `remise_absolue`, `remise`, `total_ht`, `tva`, `localtax1`, `localtax2`, `total`, `fk_account`, `fk_currency`, `fk_cond_reglement`, `fk_mode_reglement`, `note_private`, `note_public`, `model_pdf`, `date_livraison`, `fk_shipping_method`, `fk_availability`, `fk_input_reason`, `fk_incoterms`, `location_incoterms`, `import_key`, `extraparams`, `fk_delivery_address`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`, `last_main_doc`) VALUES (1,'PR1711-0001',1,NULL,NULL,'compleanno sara',1,1,'2017-11-02 18:25:55','2017-11-02 18:40:16','2017-11-02','2017-11-17 12:00:00','2017-11-02 19:17:24',NULL,2,2,2,NULL,0,0,NULL,NULL,0,1485.00000000,0.00000000,0.00000000,0.00000000,1485.00000000,NULL,NULL,1,4,'non è valido','Questo è solo un esempio di preventivo','azur','2017-12-02',NULL,1,0,0,'',NULL,NULL,NULL,0,'EUR',1.00000000,1485.00000000,0.00000000,1485.00000000,NULL),(2,'PR1711-0002',1,NULL,NULL,'Compleanno',1,1,'2017-11-04 15:29:46','2017-11-04 16:23:59','2017-11-04','2017-11-07 12:00:00','2017-11-04 16:29:46',NULL,2,NULL,2,NULL,1,0,NULL,NULL,0,1250.00000000,0.00000000,0.00000000,0.00000000,1250.00000000,NULL,NULL,1,4,'','','azur','2017-12-02',NULL,0,5,0,'',NULL,NULL,NULL,0,'EUR',1.00000000,1250.00000000,0.00000000,1250.00000000,NULL),(3,'PR1711-0003',1,NULL,NULL,'',12,NULL,'2017-11-11 19:44:23','2017-11-11 18:42:20','2017-11-11','2017-11-26 12:00:00','2017-11-11 20:44:23',NULL,3,1,1,NULL,1,0,NULL,NULL,0,6150.00000000,615.00000000,0.00000000,0.00000000,6765.00000000,NULL,NULL,1,4,'','La presente offerta è valida per un minimo di 30 persone e comprende quanto esplicitamente descritto.<br />\r\nI prezzi indicati sono al netto di IVA ed imposte.<br />\r\nQualora si dovesse raggiungere un numero di 50 pax verrà applicato uno sconto.<br />\r\nCome da nostra conversazione tutte le proposte <strong>(una esclude l\'altra) </strong>sono escluse le bevande alcoliche (eccetto la proposta 1 che è all inclusive)<br />\r\neventualmente fornibile con un aggiunta di 5€ pax.<br />\r\nIn caso di gruppo musicale gli oneri SIAE sono a carico Vostro.<br />\r\n<br />\r\nRestiamo a vostra completa disposizione per ogni eventuale variazione o modifica alla presente proposta.<br />\r\nCordiali saluti<br />\r\nFrancesco Villani<br />\r\n<br />\r\n<br />\r\n ','azur','2017-12-16',NULL,1,0,0,'',NULL,NULL,NULL,0,'EUR',1.00000000,6150.00000000,615.00000000,6765.00000000,NULL);

--
-- Table structure for table `llx_propal_extrafields`
--

CREATE TABLE `llx_propal_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_propal_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_propal_extrafields`
--


--
-- Table structure for table `llx_propal_merge_pdf_product`
--

CREATE TABLE `llx_propal_merge_pdf_product` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product` int(11) NOT NULL,
  `file_name` varchar(200) NOT NULL,
  `lang` varchar(5) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_propal_merge_pdf_product`
--


--
-- Table structure for table `llx_propaldet`
--

CREATE TABLE `llx_propaldet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_propal` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `fk_remise_except` int(11) DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT '0.000',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `price` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `product_type` int(11) DEFAULT '0',
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT '0',
  `buy_price_ht` double(24,8) DEFAULT '0.00000000',
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  KEY `idx_propaldet_fk_propal` (`fk_propal`),
  KEY `idx_propaldet_fk_product` (`fk_product`),
  KEY `fk_propaldet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_propaldet_fk_propal` FOREIGN KEY (`fk_propal`) REFERENCES `llx_propal` (`rowid`),
  CONSTRAINT `fk_propaldet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_propaldet`
--

INSERT INTO `llx_propaldet` (`rowid`, `fk_propal`, `fk_parent_line`, `fk_product`, `label`, `description`, `fk_remise_except`, `vat_src_code`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `qty`, `remise_percent`, `remise`, `price`, `subprice`, `total_ht`, `total_tva`, `total_localtax1`, `total_localtax2`, `total_ttc`, `product_type`, `date_start`, `date_end`, `info_bits`, `buy_price_ht`, `fk_product_fournisseur_price`, `special_code`, `rang`, `fk_unit`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_subprice`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES (1,1,NULL,NULL,NULL,'Costo per persona servizio incluso',NULL,'',0.000,0.000,'0',0.000,'0',45,0,0,30,30.00000000,1350.00000000,0.00000000,0.00000000,0.00000000,1350.00000000,1,NULL,NULL,0,12.00000000,NULL,0,1,NULL,NULL,'EUR',30.00000000,1350.00000000,0.00000000,1350.00000000),(2,1,NULL,1,NULL,'Riso venere in finger food monoporzione',NULL,'',0.000,0.000,'0',0.000,'0',50,0,0,NULL,1.50000000,75.00000000,0.00000000,0.00000000,0.00000000,75.00000000,0,NULL,NULL,0,0.30000000,NULL,0,2,NULL,NULL,'EUR',1.50000000,75.00000000,0.00000000,75.00000000),(3,1,NULL,2,NULL,'Paccheti di taeralli personalizzati',NULL,'',0.000,0.000,'0',0.000,'0',12,0,0,NULL,5.00000000,60.00000000,0.00000000,0.00000000,0.00000000,60.00000000,0,NULL,NULL,0,5.00000000,NULL,0,3,NULL,NULL,'EUR',5.00000000,60.00000000,0.00000000,60.00000000),(4,2,NULL,NULL,NULL,'<p><strong>Evento: 18 Compleanno</strong></p>\r\n\r\n<p><strong>Location: FOOD&amp;STYLE</strong></p>\r\n\r\n<p><strong>Tipologia di servizio: Buffet assistito</strong></p>\r\n\r\n<p><strong>Beverage: Analcolici/Birra e Prosecco</strong></p>\r\n\r\n<p><strong>Men&ugrave;: Rustici misti, Pizzette, Bruschettine varie farciture, mini Sandwich, mini Tramezzini, Piada rolls, Mousse di ricottina salata, prodotti da forno (tarallini,pizza e focaccia) Quique Salate,</strong></p>\r\n\r\n<p><strong>Torta: Esclusa</strong></p>\r\n\r\n<p><strong>Intolleranze/allergie:</strong></p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p><strong>Bambini: No</strong></p>\r\n\r\n<p><strong>Men&ugrave; Baby: No</strong></p>\r\n\r\n<p><strong>Note:</strong> <strong>DJ e spese SIAE a carico del committente</strong></p>',NULL,'',0.000,0.000,'0',0.000,'0',50,0,0,25,25.00000000,1250.00000000,0.00000000,0.00000000,0.00000000,1250.00000000,0,NULL,NULL,0,0.00000000,NULL,0,1,NULL,NULL,'EUR',25.00000000,1250.00000000,0.00000000,1250.00000000),(5,3,NULL,NULL,NULL,'<strong>OPZIONE 1</strong><br />\r\n<br />\r\nDrink di benvenuto.<br />\r\nBuffet assistito di:<br />\r\n-Selezione Salumi misti<br />\r\n-Prodotti caseari locali<br />\r\n-Quiche salate mari e monti<br />\r\n-Focacce pugliesi in varie tipologie<br />\r\nPrimo piatto a vista servito all&#39;Americana dal personale<br />\r\nSalmone (Fresco) Marinato sfilettato a vista<br />\r\n5 Tipologie di Finger Food serviti all&#39;Americana dal personale<br />\r\nBuffet di dolci misti in monoporzioni<br />\r\nIsola Rhum sigari e cioccolato<br />\r\nIsola del beverage servita all inclusive<br />\r\n<br />\r\n&nbsp;',NULL,'',10.000,0.000,'0',0.000,'0',30,0,0,60,60.00000000,1800.00000000,180.00000000,0.00000000,0.00000000,1980.00000000,0,NULL,NULL,0,20.00000000,NULL,0,1,NULL,NULL,'EUR',60.00000000,1800.00000000,180.00000000,1980.00000000),(6,3,NULL,NULL,NULL,'<strong>OPZIONE 2</strong><br />\r\n<br />\r\nDrink di benvenuto.<br />\r\nBuffet assistito di:<br />\r\n-Selezione Salumi misti<br />\r\n-Prodotti caseari locali<br />\r\n-Quiche salate mari e monti<br />\r\n-Focacce pugliesi in varie tipologie<br />\r\nPrimo piatto a vista servito all&#39;Americana dal personale<br />\r\nSalmone (Fresco) Marinato sfilettato a vista<br />\r\n5 Tipologie di Finger Food serviti all&#39;Americana dal personale<br />\r\nIsola Rhum sigari e cioccolato<br />\r\nDolce in monoporzioni<br />\r\n&nbsp;',NULL,'',10.000,0.000,'0',0.000,'0',30,0,0,50,50.00000000,1500.00000000,150.00000000,0.00000000,0.00000000,1650.00000000,0,NULL,NULL,0,4.00000000,NULL,0,2,NULL,NULL,'EUR',50.00000000,1500.00000000,150.00000000,1650.00000000),(7,3,NULL,NULL,NULL,'<strong>OPZIONE 3</strong><br />\r\n<br />\r\nDrink di benvenuto.<br />\r\nBuffet assistito di:<br />\r\n-Selezione Salumi misti<br />\r\n-Prodotti caseari locali<br />\r\n-Quiche salate mari e monti<br />\r\n-Focacce pugliesi in varie tipologie<br />\r\nPrimo piatto a vista servito all&#39;Americana dal personale<br />\r\n5 Tipologie di Finger Food serviti all&#39;Americana dal personale<br />\r\nDolce monoporzione<br />\r\n&nbsp;',NULL,'',10.000,0.000,'0',0.000,'0',30,0,0,40,40.00000000,1200.00000000,120.00000000,0.00000000,0.00000000,1320.00000000,0,NULL,NULL,0,0.00000000,NULL,0,3,NULL,NULL,'EUR',40.00000000,1200.00000000,120.00000000,1320.00000000),(8,3,NULL,NULL,NULL,'<strong>OPZIONE 4</strong><br />\r\n<br />\r\nDrink di benvenuto.<br />\r\nBuffet&nbsp; di:<br />\r\n-Selezione Salumi misti<br />\r\n-Prodotti caseari locali<br />\r\n-Quiche salate mari e monti<br />\r\n-Focacce pugliesi in varie tipologie<br />\r\nPrimo piatto a vista servito all&#39;Americana dal personale<br />\r\nDolce Monoporzione<br />\r\n&nbsp;',NULL,'',10.000,0.000,'0',0.000,'0',30,0,0,30,30.00000000,900.00000000,90.00000000,0.00000000,0.00000000,990.00000000,0,NULL,NULL,0,0.00000000,NULL,0,4,NULL,NULL,'EUR',30.00000000,900.00000000,90.00000000,990.00000000),(10,3,NULL,NULL,NULL,'<strong>OPZIONE 5</strong><br />\r\n<br />\r\nDrink di benvenuto.<br />\r\nBuffet&nbsp; di:<br />\r\n-Selezione Salumi misti<br />\r\n-Prodotti caseari locali<br />\r\n-Quiche salate mari e monti<br />\r\n-Focacce pugliesi in varie tipologie<br />\r\n-Rustici misti<br />\r\nPrimo piatto a vista servito all&#39;Americana dal personale',NULL,'',10.000,0.000,'0',0.000,'0',30,0,0,25,25.00000000,750.00000000,75.00000000,0.00000000,0.00000000,825.00000000,0,NULL,NULL,0,0.00000000,NULL,0,5,NULL,NULL,'EUR',25.00000000,750.00000000,75.00000000,825.00000000);

--
-- Table structure for table `llx_propaldet_extrafields`
--

CREATE TABLE `llx_propaldet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_propaldet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_propaldet_extrafields`
--


--
-- Table structure for table `llx_resource`
--

CREATE TABLE `llx_resource` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref` varchar(255) DEFAULT NULL,
  `asset_number` varchar(255) DEFAULT NULL,
  `description` text,
  `fk_code_type_resource` varchar(32) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `note_public` text,
  `note_private` text,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_country` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_resource_ref` (`ref`,`entity`),
  KEY `fk_code_type_resource_idx` (`fk_code_type_resource`),
  KEY `idx_resource_fk_country` (`fk_country`),
  CONSTRAINT `fk_resource_fk_country` FOREIGN KEY (`fk_country`) REFERENCES `llx_c_country` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_resource`
--


--
-- Table structure for table `llx_resource_extrafields`
--

CREATE TABLE `llx_resource_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_resource_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_resource_extrafields`
--


--
-- Table structure for table `llx_rights_def`
--

CREATE TABLE `llx_rights_def` (
  `id` int(11) NOT NULL,
  `libelle` varchar(255) DEFAULT NULL,
  `module` varchar(64) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `perms` varchar(50) DEFAULT NULL,
  `subperms` varchar(50) DEFAULT NULL,
  `type` varchar(1) DEFAULT NULL,
  `bydefault` tinyint(4) DEFAULT '0',
  PRIMARY KEY (`id`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_rights_def`
--

INSERT INTO `llx_rights_def` (`id`, `libelle`, `module`, `entity`, `perms`, `subperms`, `type`, `bydefault`) VALUES (11,'Read invoices','facture',1,'lire',NULL,'a',0),(12,'Create and update invoices','facture',1,'creer',NULL,'a',0),(13,'Devalidate invoices','facture',1,'invoice_advance','unvalidate','a',0),(14,'Validate invoices','facture',1,'invoice_advance','validate','a',0),(15,'Send invoices by email','facture',1,'invoice_advance','send','a',0),(16,'Issue payments on invoices','facture',1,'paiement',NULL,'a',0),(19,'Delete invoices','facture',1,'supprimer',NULL,'a',0),(21,'Lire les propositions commerciales','propale',1,'lire',NULL,'r',0),(22,'Creer/modifier les propositions commerciales','propale',1,'creer',NULL,'w',0),(24,'Valider les propositions commerciales','propale',1,'propal_advance','validate','d',0),(25,'Envoyer les propositions commerciales aux clients','propale',1,'propal_advance','send','d',0),(26,'Cloturer les propositions commerciales','propale',1,'cloturer',NULL,'d',0),(27,'Supprimer les propositions commerciales','propale',1,'supprimer',NULL,'d',0),(28,'Exporter les propositions commerciales et attributs','propale',1,'export',NULL,'r',0),(31,'Lire les produits','produit',1,'lire',NULL,'r',0),(32,'Creer/modifier les produits','produit',1,'creer',NULL,'w',0),(34,'Supprimer les produits','produit',1,'supprimer',NULL,'d',0),(38,'Exporter les produits','produit',1,'export',NULL,'r',0),(41,'Read projects and tasks (shared projects or projects I am contact for). Can also enter time consumed on assigned tasks (timesheet)','projet',1,'lire',NULL,'r',0),(42,'Create/modify projects and tasks (shared projects or projects I am contact for)','projet',1,'creer',NULL,'w',0),(44,'Delete project and tasks (shared projects or projects I am contact for)','projet',1,'supprimer',NULL,'d',0),(45,'Export projects','projet',1,'export',NULL,'d',0),(61,'Lire les fiches d\'intervention','ficheinter',1,'lire',NULL,'r',0),(62,'Creer/modifier les fiches d\'intervention','ficheinter',1,'creer',NULL,'w',0),(64,'Supprimer les fiches d\'intervention','ficheinter',1,'supprimer',NULL,'d',0),(67,'Exporter les fiches interventions','ficheinter',1,'export',NULL,'r',0),(68,'Envoyer les fiches d\'intervention par courriel','ficheinter',1,'ficheinter_advance','send','r',0),(69,'Valider les fiches d\'intervention ','ficheinter',1,'ficheinter_advance','validate','a',0),(70,'Dévalider les fiches d\'intervention','ficheinter',1,'ficheinter_advance','unvalidate','a',0),(71,'Read members\' card','adherent',1,'lire',NULL,'r',0),(72,'Create/modify members (need also user module permissions if member linked to a user)','adherent',1,'creer',NULL,'w',0),(74,'Remove members','adherent',1,'supprimer',NULL,'d',0),(75,'Setup types of membership','adherent',1,'configurer',NULL,'w',0),(76,'Export members','adherent',1,'export',NULL,'r',0),(78,'Read subscriptions','adherent',1,'cotisation','lire','r',0),(79,'Create/modify/remove subscriptions','adherent',1,'cotisation','creer','w',0),(81,'Lire les commandes clients','commande',1,'lire',NULL,'r',0),(82,'Creer/modifier les commandes clients','commande',1,'creer',NULL,'w',0),(84,'Valider les commandes clients','commande',1,'order_advance','validate','d',0),(86,'Envoyer les commandes clients','commande',1,'order_advance','send','d',0),(87,'Cloturer les commandes clients','commande',1,'cloturer',NULL,'d',0),(88,'Annuler les commandes clients','commande',1,'order_advance','annuler','d',0),(89,'Supprimer les commandes clients','commande',1,'supprimer',NULL,'d',0),(91,'Lire les charges','tax',1,'charges','lire','r',0),(92,'Creer/modifier les charges','tax',1,'charges','creer','w',0),(93,'Supprimer les charges','tax',1,'charges','supprimer','d',0),(94,'Exporter les charges','tax',1,'charges','export','r',0),(95,'Lire CA, bilans, resultats','compta',1,'resultat','lire','r',0),(101,'Lire les expeditions','expedition',1,'lire',NULL,'r',0),(102,'Creer modifier les expeditions','expedition',1,'creer',NULL,'w',0),(104,'Valider les expeditions','expedition',1,'shipping_advance','validate','d',0),(105,'Envoyer les expeditions aux clients','expedition',1,'shipping_advance','send','d',0),(106,'Exporter les expeditions','expedition',1,'shipment','export','r',0),(109,'Supprimer les expeditions','expedition',1,'supprimer',NULL,'d',0),(111,'Lire les comptes bancaires','banque',1,'lire',NULL,'r',0),(112,'Creer/modifier montant/supprimer ecriture bancaire','banque',1,'modifier',NULL,'w',0),(113,'Configurer les comptes bancaires (creer, gerer categories)','banque',1,'configurer',NULL,'a',0),(114,'Rapprocher les ecritures bancaires','banque',1,'consolidate',NULL,'w',0),(115,'Exporter transactions et releves','banque',1,'export',NULL,'r',0),(116,'Virements entre comptes','banque',1,'transfer',NULL,'w',0),(117,'Gerer les envois de cheques','banque',1,'cheque',NULL,'w',0),(121,'Read third parties','societe',1,'lire',NULL,'r',0),(122,'Create and update third parties','societe',1,'creer',NULL,'w',0),(125,'Delete third parties','societe',1,'supprimer',NULL,'d',0),(126,'Export third parties','societe',1,'export',NULL,'r',0),(141,'Read all projects and tasks (also private projects I am not contact for)','projet',1,'all','lire','r',0),(142,'Create/modify all projects and tasks (also private projects I am not contact for)','projet',1,'all','creer','w',0),(144,'Delete all projects and tasks (also private projects I am not contact for)','projet',1,'all','supprimer','d',0),(151,'Read direct debit payment orders','prelevement',1,'bons','lire','r',0),(152,'Create/modify a direct debit payment order','prelevement',1,'bons','creer','w',0),(153,'Send/Transmit direct debit payment orders','prelevement',1,'bons','send','a',0),(154,'Record Credits/Rejects of direct debit payment orders','prelevement',1,'bons','credit','a',0),(161,'Lire les contrats','contrat',1,'lire',NULL,'r',0),(162,'Creer / modifier les contrats','contrat',1,'creer',NULL,'w',0),(163,'Activer un service d\'un contrat','contrat',1,'activer',NULL,'w',0),(164,'Desactiver un service d\'un contrat','contrat',1,'desactiver',NULL,'w',0),(165,'Supprimer un contrat','contrat',1,'supprimer',NULL,'d',0),(167,'Export contracts','contrat',1,'export',NULL,'r',0),(221,'Consulter les mailings','mailing',1,'lire',NULL,'r',0),(222,'Creer/modifier les mailings (sujet, destinataires...)','mailing',1,'creer',NULL,'w',0),(223,'Valider les mailings (permet leur envoi)','mailing',1,'valider',NULL,'w',0),(229,'Supprimer les mailings','mailing',1,'supprimer',NULL,'d',0),(237,'View recipients and info','mailing',1,'mailing_advance','recipient','r',0),(238,'Manually send mailings','mailing',1,'mailing_advance','send','w',0),(239,'Delete mailings after validation and/or sent','mailing',1,'mailing_advance','delete','d',0),(241,'Lire les categories','categorie',1,'lire',NULL,'r',0),(242,'Creer/modifier les categories','categorie',1,'creer',NULL,'w',0),(243,'Supprimer les categories','categorie',1,'supprimer',NULL,'d',0),(251,'Consulter les autres utilisateurs','user',1,'user','lire','r',0),(252,'Consulter les permissions des autres utilisateurs','user',1,'user_advance','readperms','r',0),(253,'Creer/modifier utilisateurs internes et externes','user',1,'user','creer','w',0),(254,'Creer/modifier utilisateurs externes seulement','user',1,'user_advance','write','w',0),(255,'Modifier le mot de passe des autres utilisateurs','user',1,'user','password','w',0),(256,'Supprimer ou desactiver les autres utilisateurs','user',1,'user','supprimer','d',0),(262,'Read all third parties by internal users (otherwise only if commercial contact). Not effective for external users (limited to themselves).','societe',1,'client','voir','r',0),(281,'Read contacts','societe',1,'contact','lire','r',0),(282,'Create and update contact','societe',1,'contact','creer','w',0),(283,'Delete contacts','societe',1,'contact','supprimer','d',0),(286,'Export contacts','societe',1,'contact','export','d',0),(300,'Read barcodes','barcode',1,'lire_advance',NULL,'r',1),(301,'Create/modify barcodes','barcode',1,'creer_advance',NULL,'w',0),(341,'Consulter ses propres permissions','user',1,'self_advance','readperms','r',0),(342,'Creer/modifier ses propres infos utilisateur','user',1,'self','creer','w',0),(343,'Modifier son propre mot de passe','user',1,'self','password','w',0),(344,'Modifier ses propres permissions','user',1,'self_advance','writeperms','w',0),(351,'Consulter les groupes','user',1,'group_advance','read','r',0),(352,'Consulter les permissions des groupes','user',1,'group_advance','readperms','r',0),(353,'Creer/modifier les groupes et leurs permissions','user',1,'group_advance','write','w',0),(354,'Supprimer ou desactiver les groupes','user',1,'group_advance','delete','d',0),(358,'Exporter les utilisateurs','user',1,'user','export','r',0),(531,'Read services','service',1,'lire',NULL,'r',0),(532,'Create/modify services','service',1,'creer',NULL,'w',0),(534,'Delete les services','service',1,'supprimer',NULL,'d',0),(538,'Export services','service',1,'export',NULL,'r',0),(771,'Read expense reports (yours and your subordinates)','expensereport',1,'lire',NULL,'r',0),(772,'Create/modify expense reports','expensereport',1,'creer',NULL,'w',0),(773,'Delete expense reports','expensereport',1,'supprimer',NULL,'d',0),(775,'Approve expense reports','expensereport',1,'approve',NULL,'w',0),(776,'Pay expense reports','expensereport',1,'to_paid',NULL,'w',0),(777,'Read expense reports of everybody','expensereport',1,'readall',NULL,'r',1),(778,'Create expense reports for everybody','expensereport',1,'writeall_advance',NULL,'w',0),(779,'Export expense reports','expensereport',1,'export',NULL,'r',0),(1001,'Lire les stocks','stock',1,'lire',NULL,'r',0),(1002,'Creer/Modifier les stocks','stock',1,'creer',NULL,'w',0),(1003,'Supprimer les stocks','stock',1,'supprimer',NULL,'d',0),(1004,'Lire mouvements de stocks','stock',1,'mouvement','lire','r',0),(1005,'Creer/modifier mouvements de stocks','stock',1,'mouvement','creer','w',0),(1101,'Lire les bons de livraison','expedition',1,'livraison','lire','r',0),(1102,'Creer modifier les bons de livraison','expedition',1,'livraison','creer','w',0),(1104,'Valider les bons de livraison','expedition',1,'livraison_advance','validate','d',0),(1109,'Supprimer les bons de livraison','expedition',1,'livraison','supprimer','d',0),(1121,'Read supplier proposals','supplier_proposal',1,'lire',NULL,'w',0),(1122,'Create/modify supplier proposals','supplier_proposal',1,'creer',NULL,'w',0),(1123,'Validate supplier proposals','supplier_proposal',1,'validate_advance',NULL,'w',0),(1124,'Envoyer les demandes fournisseurs','supplier_proposal',1,'send_advance',NULL,'w',0),(1125,'Delete supplier proposals','supplier_proposal',1,'supprimer',NULL,'w',0),(1126,'Close supplier price requests','supplier_proposal',1,'cloturer',NULL,'w',0),(1181,'Consulter les fournisseurs','fournisseur',1,'lire',NULL,'r',0),(1182,'Consulter les commandes fournisseur','fournisseur',1,'commande','lire','r',0),(1183,'Creer une commande fournisseur','fournisseur',1,'commande','creer','w',0),(1184,'Valider une commande fournisseur','fournisseur',1,'supplier_order_advance','validate','w',0),(1185,'Approuver une commande fournisseur','fournisseur',1,'commande','approuver','w',0),(1186,'Commander une commande fournisseur','fournisseur',1,'commande','commander','w',0),(1187,'Receptionner une commande fournisseur','fournisseur',1,'commande','receptionner','d',0),(1188,'Supprimer une commande fournisseur','fournisseur',1,'commande','supprimer','d',0),(1189,'Check/Uncheck a supplier order reception','fournisseur',1,'commande_advance','check','w',0),(1191,'Exporter les commande fournisseurs, attributs','fournisseur',1,'commande','export','r',0),(1201,'Lire les exports','export',1,'lire',NULL,'r',0),(1202,'Creer/modifier un export','export',1,'creer',NULL,'w',0),(1231,'Consulter les factures fournisseur','fournisseur',1,'facture','lire','r',0),(1232,'Creer une facture fournisseur','fournisseur',1,'facture','creer','w',0),(1233,'Valider une facture fournisseur','fournisseur',1,'supplier_invoice_advance','validate','w',0),(1234,'Supprimer une facture fournisseur','fournisseur',1,'facture','supprimer','d',0),(1235,'Envoyer les factures par mail','fournisseur',1,'supplier_invoice_advance','send','a',0),(1236,'Exporter les factures fournisseurs, attributs et reglements','fournisseur',1,'facture','export','r',0),(1251,'Run mass imports of external data (data load)','import',1,'run',NULL,'r',0),(1321,'Export customer invoices, attributes and payments','facture',1,'facture','export','r',0),(1322,'Re-open a fully paid invoice','facture',1,'invoice_advance','reopen','r',0),(1421,'Exporter les commandes clients et attributs','commande',1,'commande','export','r',0),(2401,'Read actions/tasks linked to his account','agenda',1,'myactions','read','r',0),(2402,'Create/modify actions/tasks linked to his account','agenda',1,'myactions','create','w',0),(2403,'Delete actions/tasks linked to his account','agenda',1,'myactions','delete','w',0),(2411,'Read actions/tasks of others','agenda',1,'allactions','read','r',0),(2412,'Create/modify actions/tasks of others','agenda',1,'allactions','create','w',0),(2413,'Delete actions/tasks of others','agenda',1,'allactions','delete','w',0),(2414,'Export actions/tasks of others','agenda',1,'export',NULL,'w',0),(2501,'Consulter/Télécharger les documents','ecm',1,'read',NULL,'r',0),(2503,'Soumettre ou supprimer des documents','ecm',1,'upload',NULL,'w',0),(2515,'Administrer les rubriques de documents','ecm',1,'setup',NULL,'w',0),(55001,'Read surveys','opensurvey',1,'read',NULL,'r',0),(55002,'Create/modify surveys','opensurvey',1,'write',NULL,'w',0),(59001,'Visualiser les marges','margins',1,'liretous',NULL,'r',0),(59002,'Définir les marges','margins',1,'creer',NULL,'w',0),(59003,'Read every user margin','margins',1,'read','all','r',0),(63001,'Read resources','resource',1,'read',NULL,'w',0),(63002,'Create/Modify resources','resource',1,'write',NULL,'w',0),(63003,'Delete resources','resource',1,'delete',NULL,'w',0),(63004,'Link resources to agenda events','resource',1,'link',NULL,'w',0);

--
-- Table structure for table `llx_societe`
--

CREATE TABLE `llx_societe` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(128) DEFAULT NULL,
  `name_alias` varchar(128) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(60) DEFAULT NULL,
  `statut` tinyint(4) DEFAULT '0',
  `parent` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `status` tinyint(4) DEFAULT '1',
  `code_client` varchar(24) DEFAULT NULL,
  `code_fournisseur` varchar(24) DEFAULT NULL,
  `code_compta` varchar(24) DEFAULT NULL,
  `code_compta_fournisseur` varchar(24) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_departement` int(11) DEFAULT '0',
  `fk_pays` int(11) DEFAULT '0',
  `fk_account` int(11) DEFAULT '0',
  `phone` varchar(20) DEFAULT NULL,
  `fax` varchar(20) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `email` varchar(128) DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `fk_effectif` int(11) DEFAULT '0',
  `fk_typent` int(11) DEFAULT '0',
  `fk_forme_juridique` int(11) DEFAULT '0',
  `fk_currency` varchar(3) DEFAULT NULL,
  `siren` varchar(128) DEFAULT NULL,
  `siret` varchar(128) DEFAULT NULL,
  `ape` varchar(128) DEFAULT NULL,
  `idprof4` varchar(128) DEFAULT NULL,
  `idprof5` varchar(128) DEFAULT NULL,
  `idprof6` varchar(128) DEFAULT NULL,
  `tva_intra` varchar(20) DEFAULT NULL,
  `capital` double(24,8) DEFAULT NULL,
  `fk_stcomm` int(11) NOT NULL DEFAULT '0',
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `prefix_comm` varchar(5) DEFAULT NULL,
  `client` tinyint(4) DEFAULT '0',
  `fournisseur` tinyint(4) DEFAULT '0',
  `supplier_account` varchar(32) DEFAULT NULL,
  `fk_prospectlevel` varchar(12) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `customer_bad` tinyint(4) DEFAULT '0',
  `customer_rate` double DEFAULT '0',
  `supplier_rate` double DEFAULT '0',
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `remise_client` double DEFAULT '0',
  `remise_supplier` double DEFAULT '0',
  `mode_reglement` tinyint(4) DEFAULT NULL,
  `cond_reglement` tinyint(4) DEFAULT NULL,
  `mode_reglement_supplier` tinyint(4) DEFAULT NULL,
  `cond_reglement_supplier` tinyint(4) DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `tva_assuj` tinyint(4) DEFAULT '1',
  `localtax1_assuj` tinyint(4) DEFAULT '0',
  `localtax1_value` double(6,3) DEFAULT NULL,
  `localtax2_assuj` tinyint(4) DEFAULT '0',
  `localtax2_value` double(6,3) DEFAULT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT '0',
  `price_level` int(11) DEFAULT NULL,
  `outstanding_limit` double(24,8) DEFAULT NULL,
  `order_min_amount` double(24,8) DEFAULT NULL,
  `supplier_order_min_amount` double(24,8) DEFAULT NULL,
  `default_lang` varchar(6) DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `webservices_url` varchar(255) DEFAULT NULL,
  `webservices_key` varchar(128) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_prefix_comm` (`prefix_comm`,`entity`),
  UNIQUE KEY `uk_societe_code_client` (`code_client`,`entity`),
  UNIQUE KEY `uk_societe_code_fournisseur` (`code_fournisseur`,`entity`),
  UNIQUE KEY `uk_societe_barcode` (`barcode`,`fk_barcode_type`,`entity`),
  KEY `idx_societe_user_creat` (`fk_user_creat`),
  KEY `idx_societe_user_modif` (`fk_user_modif`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe`
--

INSERT INTO `llx_societe` (`rowid`, `nom`, `name_alias`, `entity`, `ref_ext`, `ref_int`, `statut`, `parent`, `tms`, `datec`, `status`, `code_client`, `code_fournisseur`, `code_compta`, `code_compta_fournisseur`, `address`, `zip`, `town`, `fk_departement`, `fk_pays`, `fk_account`, `phone`, `fax`, `url`, `email`, `skype`, `fk_effectif`, `fk_typent`, `fk_forme_juridique`, `fk_currency`, `siren`, `siret`, `ape`, `idprof4`, `idprof5`, `idprof6`, `tva_intra`, `capital`, `fk_stcomm`, `note_private`, `note_public`, `model_pdf`, `prefix_comm`, `client`, `fournisseur`, `supplier_account`, `fk_prospectlevel`, `fk_incoterms`, `location_incoterms`, `customer_bad`, `customer_rate`, `supplier_rate`, `fk_user_creat`, `fk_user_modif`, `remise_client`, `remise_supplier`, `mode_reglement`, `cond_reglement`, `mode_reglement_supplier`, `cond_reglement_supplier`, `fk_shipping_method`, `tva_assuj`, `localtax1_assuj`, `localtax1_value`, `localtax2_assuj`, `localtax2_value`, `barcode`, `fk_barcode_type`, `price_level`, `outstanding_limit`, `order_min_amount`, `supplier_order_min_amount`, `default_lang`, `logo`, `canvas`, `import_key`, `webservices_url`, `webservices_key`, `fk_multicurrency`, `multicurrency_code`, `fk_entrepot`) VALUES (1,'Francesco Settimo','',1,NULL,NULL,0,NULL,'2017-11-04 18:44:49','2017-11-02 18:33:08',1,'CU1711-0001',NULL,NULL,NULL,'','71121','Foggia',0,3,0,'3357667367',NULL,NULL,'frasettimo@tiscali.it',NULL,NULL,8,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,1,0,NULL,'',0,NULL,0,0,0,2,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(2,'luana giannetta','starlight in carta',1,NULL,NULL,0,NULL,'2018-12-19 18:19:43','2017-11-07 17:03:07',1,'CU1711-0002','SU1711-0001',NULL,NULL,'','71121','foggia',0,3,0,'3293666777',NULL,NULL,NULL,NULL,1,8,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,0,0,NULL,'',0,NULL,0,0,0,3,2,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(3,'mobili genzano','',1,NULL,NULL,0,NULL,'2017-11-07 16:40:35','2017-11-07 17:31:52',1,'CU1711-0003',NULL,NULL,NULL,'via di s.giuliano 10/12','71122','foggia',0,3,0,'0881708245',NULL,'www.mobiligenzano.com','genzanomobili@gmail.com',NULL,NULL,8,NULL,NULL,'','','','','','','01921710719',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(4,'mobili priore sas','',1,NULL,NULL,0,NULL,'2017-11-07 16:36:06','2017-11-07 17:36:06',1,'CU1711-0004',NULL,NULL,NULL,'via leccese 38','71016','san severo',0,3,0,'0882376700',NULL,'www.mobilipriore.it/','info@mobilipriore.it',NULL,NULL,8,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(5,'arredamenti basta','',1,NULL,NULL,0,NULL,'2017-11-07 16:39:26','2017-11-07 17:39:26',1,'CU1711-0005',NULL,NULL,NULL,'via g. di vittorio 87','71043','manfredonia',0,3,0,'0884535866',NULL,'www.arredamentibasta.it','info@arredamentibasta.it',NULL,NULL,8,NULL,NULL,'','','','','','','01534910714',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(6,'mobilificio il sole','',1,NULL,NULL,0,NULL,'2017-11-07 16:44:08','2017-11-07 17:44:08',1,'CU1711-0006',NULL,NULL,NULL,'via melfi km 0,600','71042','cerignola',0,3,0,'0885417759',NULL,'www.mobilificioilsole.it','mobili.ilsole@libero.it',NULL,NULL,8,NULL,NULL,'','','','','','','03320070711',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(7,'d\'andelo arredamenti','',1,NULL,NULL,0,NULL,'2017-11-07 16:47:02','2017-11-07 17:47:02',1,'CU1711-0007',NULL,NULL,NULL,'via telesforo 178','71121','Foggia',0,3,0,'0881741743',NULL,'www.dangeloarredamenti.com','dangelo@dangeloarredamenti.com',NULL,NULL,8,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(8,'cucine lube store','',1,NULL,NULL,0,NULL,'2017-11-07 16:50:38','2017-11-07 17:50:38',1,'CU1711-0008',NULL,NULL,NULL,'corso del mezzogiorno','71121','foggia',0,3,0,'0881024520',NULL,NULL,'lubestorefoggia@libero.it',NULL,NULL,8,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(9,'caposiena arredamenti','',1,NULL,NULL,0,NULL,'2017-11-07 16:53:37','2017-11-07 17:53:37',1,'CU1711-0009',NULL,NULL,NULL,'via foggia','71016','san severo',0,3,0,'0882332572',NULL,'www.arredamenticaposiena.com/','mobilicaposiena@libero.it',NULL,NULL,8,NULL,NULL,'','','','','','','03612960710',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(10,'tusino mobilificio il castello','',1,NULL,NULL,0,NULL,'2017-11-07 16:57:00','2017-11-07 17:57:00',1,'CU1711-0010',NULL,NULL,NULL,'via luigi rossi 8','71017','torremaggiore',0,3,0,'0882391975',NULL,'www.tusinomobilificioilcastello.it','info@tusinomobilificioilcastello.it',NULL,NULL,8,NULL,NULL,'','','','','','','02421520715',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(12,'B and B s.r.l.','',1,NULL,NULL,0,NULL,'2017-11-07 16:57:47','2017-11-07 17:57:47',1,'CU1711-0011',NULL,NULL,NULL,'S.P. 88 Ascoli - Contessa, 71047 Stornara, Italia - FOGGIA','71047','Stornara',0,3,0,NULL,NULL,NULL,NULL,NULL,3,0,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,1,1,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(14,'lo curcio arredamenti','',1,NULL,NULL,0,NULL,'2017-11-07 17:00:32','2017-11-07 18:00:32',1,'CU1711-0012',NULL,NULL,NULL,'Ctr. Liscia','71028','Sant\'Agata Di Puglia',0,3,0,'0881984939',NULL,'www.arredamentilocurcio.com','arredamenti.locurcio@libero.it',NULL,NULL,8,NULL,NULL,'','','','','','','01488370717',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(15,'scavolini store','',1,NULL,NULL,0,NULL,'2017-11-07 17:03:36','2017-11-07 18:03:36',1,'CU1711-0013',NULL,NULL,NULL,'via smaldone 62','71121','Foggia',0,3,0,'0881687861',NULL,'www.foggia.scavolinistore.net/','info@foggia.scavolinistore.net',NULL,NULL,8,NULL,NULL,'','','','','','','01999640715',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(16,'mobilificio italia','',1,NULL,NULL,0,NULL,'2017-11-07 17:06:41','2017-11-07 18:06:41',1,'CU1711-0014',NULL,NULL,NULL,'via manfredonia km 0,700','71042','cerignola',0,3,0,'0885429396',NULL,'www.mobilificioitalia.it','info@mobilificioitalia.it',NULL,NULL,8,NULL,NULL,'','','','','','','01999640715',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(17,'lube store manfredonia','',1,NULL,NULL,0,NULL,'2017-11-07 17:07:50','2017-11-07 18:07:50',1,'CU1711-0015',NULL,NULL,NULL,'via gargano 49','71043','manfredonia',0,3,0,'0884511943',NULL,NULL,'info@lubemanfredonia.it',NULL,NULL,8,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(18,'febal','',1,NULL,NULL,0,NULL,'2017-11-07 17:11:40','2017-11-07 18:11:40',1,'CU1711-0016',NULL,NULL,NULL,'via telesforo 37','71121','Foggia',0,3,0,'0881618667',NULL,NULL,'E.foggia@febalcasa.it',NULL,NULL,8,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(19,'art arredo','',1,NULL,NULL,0,NULL,'2017-11-07 17:14:57','2017-11-07 18:14:57',1,'CU1711-0017',NULL,NULL,NULL,'via leonardo da vinci','71025','castelluccio dei sauri',0,3,0,'0881962708',NULL,'www.artarredodelpriore.it','info@art-arredo.it',NULL,NULL,8,NULL,NULL,'','','','','','','',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0),(20,'pignatelli arredamenti','',1,NULL,NULL,0,NULL,'2017-11-07 17:17:22','2017-11-07 18:17:22',1,'CU1711-0018',NULL,NULL,NULL,'via dante 16','71121','Foggia',0,3,0,'0881771367',NULL,'www.arredamentipignatelli.it','info@pignatelli1930.com',NULL,NULL,8,NULL,NULL,'','','','','','','03962340711',NULL,0,NULL,NULL,NULL,NULL,2,0,NULL,'',0,NULL,0,0,0,3,3,0,0,NULL,NULL,NULL,NULL,NULL,1,NULL,0.000,NULL,0.000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',0);

--
-- Table structure for table `llx_societe_account`
--

CREATE TABLE `llx_societe_account` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `key_account` varchar(128) DEFAULT NULL,
  `login` varchar(128) NOT NULL,
  `pass_encoding` varchar(24) DEFAULT NULL,
  `pass_crypted` varchar(128) DEFAULT NULL,
  `pass_temp` varchar(128) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `site` varchar(128) DEFAULT NULL,
  `fk_website` int(11) DEFAULT NULL,
  `note_private` text,
  `date_last_login` datetime DEFAULT NULL,
  `date_previous_login` datetime DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_account_login_website_soc` (`entity`,`fk_soc`,`login`,`site`,`fk_website`),
  UNIQUE KEY `uk_societe_account_key_account_soc` (`entity`,`fk_soc`,`key_account`,`site`,`fk_website`),
  KEY `idx_societe_account_rowid` (`rowid`),
  KEY `idx_societe_account_login` (`login`),
  KEY `idx_societe_account_status` (`status`),
  KEY `idx_societe_account_fk_website` (`fk_website`),
  KEY `idx_societe_account_fk_soc` (`fk_soc`),
  CONSTRAINT `llx_societe_account_fk_societe` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `llx_societe_account_fk_website` FOREIGN KEY (`fk_website`) REFERENCES `llx_website` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_account`
--


--
-- Table structure for table `llx_societe_address`
--

CREATE TABLE `llx_societe_address` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(30) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT '0',
  `name` varchar(60) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(10) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT '0',
  `phone` varchar(20) DEFAULT NULL,
  `fax` varchar(20) DEFAULT NULL,
  `note` text,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_address`
--


--
-- Table structure for table `llx_societe_commerciaux`
--

CREATE TABLE `llx_societe_commerciaux` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_commerciaux` (`fk_soc`,`fk_user`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_commerciaux`
--

INSERT INTO `llx_societe_commerciaux` (`rowid`, `fk_soc`, `fk_user`, `import_key`) VALUES (1,1,2,NULL),(2,2,3,NULL),(3,3,3,NULL),(4,4,3,NULL),(5,5,3,NULL),(6,6,3,NULL),(7,7,3,NULL),(8,8,3,NULL),(9,9,3,NULL),(10,10,3,NULL),(12,12,1,NULL),(14,14,3,NULL),(15,15,3,NULL),(16,16,3,NULL),(17,17,3,NULL),(18,18,3,NULL),(19,19,3,NULL),(20,20,3,NULL);

--
-- Table structure for table `llx_societe_extrafields`
--

CREATE TABLE `llx_societe_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_extrafields`
--


--
-- Table structure for table `llx_societe_log`
--

CREATE TABLE `llx_societe_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `datel` datetime DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_statut` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `author` varchar(30) DEFAULT NULL,
  `label` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_log`
--


--
-- Table structure for table `llx_societe_prices`
--

CREATE TABLE `llx_societe_prices` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) DEFAULT '0',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `price_level` tinyint(4) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_prices`
--


--
-- Table structure for table `llx_societe_remise`
--

CREATE TABLE `llx_societe_remise` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `remise_client` double(6,3) NOT NULL DEFAULT '0.000',
  `note` text,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_remise`
--


--
-- Table structure for table `llx_societe_remise_except`
--

CREATE TABLE `llx_societe_remise_except` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `discount_type` int(11) NOT NULL DEFAULT '0',
  `datec` datetime DEFAULT NULL,
  `amount_ht` double(24,8) NOT NULL,
  `amount_tva` double(24,8) NOT NULL DEFAULT '0.00000000',
  `amount_ttc` double(24,8) NOT NULL DEFAULT '0.00000000',
  `tva_tx` double(6,3) NOT NULL DEFAULT '0.000',
  `fk_user` int(11) NOT NULL,
  `fk_facture_line` int(11) DEFAULT NULL,
  `fk_facture` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_invoice_supplier_line` int(11) DEFAULT NULL,
  `fk_invoice_supplier` int(11) DEFAULT NULL,
  `fk_invoice_supplier_source` int(11) DEFAULT NULL,
  `description` text NOT NULL,
  `multicurrency_amount_ht` double(24,8) NOT NULL DEFAULT '0.00000000',
  `multicurrency_amount_tva` double(24,8) NOT NULL DEFAULT '0.00000000',
  `multicurrency_amount_ttc` double(24,8) NOT NULL DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  KEY `idx_societe_remise_except_fk_user` (`fk_user`),
  KEY `idx_societe_remise_except_fk_soc` (`fk_soc`),
  KEY `idx_societe_remise_except_fk_facture_line` (`fk_facture_line`),
  KEY `idx_societe_remise_except_fk_facture` (`fk_facture`),
  KEY `idx_societe_remise_except_fk_facture_source` (`fk_facture_source`),
  KEY `fk_soc_remise_fk_invoice_supplier_line` (`fk_invoice_supplier_line`),
  KEY `fk_societe_remise_fk_invoice_supplier_source` (`fk_invoice_supplier`),
  KEY `idx_societe_remise_except_discount_type` (`discount_type`),
  CONSTRAINT `fk_soc_remise_fk_facture_line` FOREIGN KEY (`fk_facture_line`) REFERENCES `llx_facturedet` (`rowid`),
  CONSTRAINT `fk_soc_remise_fk_invoice_supplier_line` FOREIGN KEY (`fk_invoice_supplier_line`) REFERENCES `llx_facture_fourn_det` (`rowid`),
  CONSTRAINT `fk_soc_remise_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_facture_source` FOREIGN KEY (`fk_facture_source`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_invoice_supplier` FOREIGN KEY (`fk_invoice_supplier`) REFERENCES `llx_facture_fourn` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_invoice_supplier_source` FOREIGN KEY (`fk_invoice_supplier`) REFERENCES `llx_facture_fourn` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_remise_except`
--


--
-- Table structure for table `llx_societe_remise_supplier`
--

CREATE TABLE `llx_societe_remise_supplier` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `remise_supplier` double(6,3) NOT NULL DEFAULT '0.000',
  `note` text,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_remise_supplier`
--


--
-- Table structure for table `llx_societe_rib`
--

CREATE TABLE `llx_societe_rib` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(32) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(30) DEFAULT NULL,
  `bank` varchar(255) DEFAULT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `bic` varchar(20) DEFAULT NULL,
  `iban_prefix` varchar(34) DEFAULT NULL,
  `domiciliation` varchar(255) DEFAULT NULL,
  `proprio` varchar(60) DEFAULT NULL,
  `owner_address` varchar(255) DEFAULT NULL,
  `default_rib` smallint(6) NOT NULL DEFAULT '0',
  `rum` varchar(32) DEFAULT NULL,
  `date_rum` date DEFAULT NULL,
  `frstrecur` varchar(16) DEFAULT 'FRST',
  `import_key` varchar(14) DEFAULT NULL,
  `last_four` varchar(4) DEFAULT NULL,
  `card_type` varchar(255) DEFAULT NULL,
  `cvn` varchar(255) DEFAULT NULL,
  `exp_date_month` int(11) DEFAULT NULL,
  `exp_date_year` int(11) DEFAULT NULL,
  `country_code` varchar(10) DEFAULT NULL,
  `approved` int(11) DEFAULT '0',
  `email` varchar(255) DEFAULT NULL,
  `ending_date` date DEFAULT NULL,
  `max_total_amount_of_all_payments` double(24,8) DEFAULT NULL,
  `preapproval_key` varchar(255) DEFAULT NULL,
  `starting_date` date DEFAULT NULL,
  `total_amount_of_all_payments` double(24,8) DEFAULT NULL,
  `stripe_card_ref` varchar(128) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_rib` (`label`,`fk_soc`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_societe_rib`
--


--
-- Table structure for table `llx_socpeople`
--

CREATE TABLE `llx_socpeople` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_soc` int(11) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) DEFAULT NULL,
  `civility` varchar(6) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(255) DEFAULT NULL,
  `fk_departement` int(11) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT '0',
  `birthday` date DEFAULT NULL,
  `poste` varchar(80) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `phone_perso` varchar(30) DEFAULT NULL,
  `phone_mobile` varchar(30) DEFAULT NULL,
  `fax` varchar(30) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `jabberid` varchar(255) DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `no_email` smallint(6) NOT NULL DEFAULT '0',
  `priv` smallint(6) NOT NULL DEFAULT '0',
  `fk_user_creat` int(11) DEFAULT '0',
  `fk_user_modif` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `default_lang` varchar(6) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `statut` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  KEY `idx_socpeople_fk_soc` (`fk_soc`),
  KEY `idx_socpeople_fk_user_creat` (`fk_user_creat`),
  CONSTRAINT `fk_socpeople_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_socpeople_user_creat_user_rowid` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=115 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_socpeople`
--

INSERT INTO `llx_socpeople` (`rowid`, `datec`, `tms`, `fk_soc`, `entity`, `ref_ext`, `civility`, `lastname`, `firstname`, `address`, `zip`, `town`, `fk_departement`, `fk_pays`, `birthday`, `poste`, `phone`, `phone_perso`, `phone_mobile`, `fax`, `email`, `jabberid`, `skype`, `photo`, `no_email`, `priv`, `fk_user_creat`, `fk_user_modif`, `note_private`, `note_public`, `default_lang`, `canvas`, `import_key`, `statut`) VALUES (1,'2017-11-02 18:35:24','2017-11-04 18:50:30',1,1,'','MR','Settimo','Francesco','via d\'addedda','71122','foggia',NULL,3,'1960-11-07','impiegato','','','3357379569','','frasettimo@tiscali.it','','','',0,0,2,3,'','',NULL,NULL,NULL,1),(2,'2017-11-02 18:36:08','2017-11-02 17:36:08',1,1,'','MME','Settimo','Sara','','','',NULL,3,NULL,'','','','','','','','',NULL,0,0,2,2,'','',NULL,NULL,NULL,1),(3,'2017-11-04 18:53:29','2017-11-04 17:53:45',NULL,1,'','MME','lo buglio','bianca','','','',NULL,3,NULL,'','','','','','karma249@libero.it','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(4,'2017-11-04 18:55:55','2017-11-04 17:55:55',NULL,1,'','MME','simone','antonietta','','','',NULL,3,NULL,'','','','','','antonellasimone@virgilio.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(5,'2017-11-04 18:59:07','2017-11-04 17:59:07',NULL,1,'','MR','spina','ferdinando m','','','',NULL,3,NULL,'','','','','','fmspina@yahoo.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(6,'2017-11-04 19:00:44','2017-11-04 18:00:44',NULL,1,'','MME','fini','iole','','','',NULL,3,NULL,'','','','3338954709','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(7,'2017-11-04 19:01:55','2017-11-04 18:01:55',NULL,1,'','MME','scaringi','daniela','','','',NULL,3,NULL,'','','','3496677528','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(8,'2017-11-04 19:02:42','2017-11-04 18:02:42',NULL,1,'','MR','caroprese','gianluca','','','',NULL,3,NULL,'','','','','','caroprese@alice.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(9,'2017-11-04 19:04:52','2017-11-04 18:04:52',NULL,1,'','MME','mercuri','eliana','','','',NULL,3,NULL,'','','','3292720044','','mercuri.eliana@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(10,'2017-11-04 19:05:38','2017-11-04 18:05:38',NULL,1,'','','marcone','silvio','','','',NULL,3,NULL,'','','','','','silvio_m1@live.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(11,'2017-11-04 19:06:33','2017-11-04 18:06:33',NULL,1,'','MME','guida','maria teresa','','','',NULL,3,NULL,'','','','','','mariateresa.guida@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(12,'2017-11-04 19:07:20','2017-11-04 18:07:20',NULL,1,'','MR','diomede','celestino','','','',NULL,3,NULL,'','','','','','celestinodiomede@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(13,'2017-11-04 19:09:26','2017-11-04 18:09:49',NULL,1,'','MR','d\'andrea','marco','via p. fuiani 69/a','71121','Foggia',NULL,3,'1977-11-15','impiegato','','','3471830879','','m.dan77@gmail.com','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(14,'2017-11-04 19:10:38','2017-11-04 18:10:38',NULL,1,'','MR','iolo','giuseppe','','','',NULL,3,NULL,'','','','','','iolo@vodafone.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(17,'2017-11-04 19:12:58','2017-11-04 18:12:58',NULL,1,'','MME','gerardi','assunta','','','',NULL,3,NULL,'','','','3207645671','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(18,'2017-11-04 19:13:53','2017-11-04 18:13:53',NULL,1,'','MME','ciavarella','tiziana','','','',NULL,3,NULL,'','','','','','ciavarellatiziana@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(19,'2017-11-04 19:15:32','2017-11-04 18:15:32',NULL,1,'','MME','stabile','pia','','71121','Foggia',NULL,3,'1988-01-27','estetista','','','3929049076','','pia.stabile@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(20,'2017-11-04 19:16:23','2017-11-04 18:16:24',NULL,1,'','MME','salvemini','erika','','','',NULL,3,NULL,'','','','','','erika.salvemini@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(21,'2017-11-04 19:16:49','2017-11-04 18:19:21',NULL,1,'','MME','ferro','marzia','','71121','Foggia',NULL,3,NULL,'','','','3276926854','','marziaferro@hotmail.it','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(22,'2017-11-04 19:20:57','2017-11-04 18:20:57',NULL,1,'','MR','di muzio','ettore','','71121','Foggia',NULL,3,NULL,'','','','','','ettodim@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(23,'2017-11-04 19:22:32','2017-11-04 18:35:03',NULL,1,'','MME','cagnazzo','teresa','','71121','Foggia',NULL,3,NULL,'titolare palestra','','','3293314822','','mariateresacagnazzo@alice.it','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(24,'2017-11-04 19:23:47','2017-11-04 18:23:47',NULL,1,'','MR','malgieri','rocco','','','deliceto',NULL,3,NULL,'','','','','','roccomalgieri@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(25,'2017-11-04 19:24:25','2017-11-04 18:24:25',NULL,1,'','MME','fennino','ornella','','','deliceto',NULL,3,NULL,'','','','','','fennino14@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(26,'2017-11-04 19:27:09','2017-11-04 18:27:31',NULL,1,'','MME','mancini','angela','','','bologna',NULL,3,'1987-02-12','','','','','','angelamancini87@hotmail.it','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(27,'2017-11-04 19:33:06','2017-11-04 18:33:06',NULL,1,'','MME','liguori','laura','','','latina',NULL,3,'1981-04-12','Recruiting Manager presso ADS Assembly Data System','','','3409876543','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(28,'2017-11-04 19:36:17','2017-11-04 18:36:55',NULL,1,'','MME','muraglia','barbara','','71121','Foggia',NULL,3,NULL,'','','','3292194135','','','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(29,'2017-11-04 19:39:46','2017-11-04 18:39:46',NULL,1,'','MME','palmieri','valentina','','','pescara',NULL,3,'1987-01-13','Promoter presso ViSalus Italia','','','3287861632','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(30,'2017-11-04 19:43:23','2017-11-04 18:43:23',NULL,1,'','MME','pelusi','cinzia','','71121','Foggia',NULL,3,'1963-08-12','operatrice video','','','3208353747','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(31,'2017-11-04 19:47:55','2017-11-04 18:47:55',NULL,1,'','MR','iaculli','vito','','','',NULL,3,'1981-07-18','','','','3478863035','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(32,'2017-11-04 19:49:20','2018-03-09 16:36:40',NULL,1,'','MME','cassar','monica','','71121','Foggia',NULL,3,'1972-10-18','ortottista','','','3896017676','','cassarmonica1972@gmail.com','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(33,'2017-11-04 19:52:38','2017-11-04 18:52:38',NULL,1,'','MR','la gatta','antonio','','71121','Foggia',NULL,3,'1967-05-15','fotografo','','','3332260297','','tonilagatta@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(34,'2017-11-04 19:53:06','2017-11-04 18:55:00',NULL,1,'','MME','falcone','cristiana','','71121','foggia',NULL,3,'1975-01-06','fotografo','','','3883590479','','falconecrissy@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(35,'2017-11-04 19:56:35','2017-11-04 18:56:35',NULL,1,'','MR','ranieri','enrico','','','',NULL,3,'1962-05-23','','','','3291774480','','enricoranieri62@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(36,'2017-11-04 19:57:44','2017-11-04 18:57:44',NULL,1,'','MME','lombardi','vita','','','',NULL,3,'1970-07-03','','','','3286517995','','lomvi@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(37,'2017-11-04 19:58:44','2017-11-04 18:58:44',NULL,1,'','MME','signorile','gabriella','','','',NULL,3,NULL,'','','','3209387774','','flower_ga@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(38,'2017-11-04 19:59:59','2017-11-04 18:59:59',NULL,1,'','MR','buono','guglielmo','','71121','Foggia',NULL,3,NULL,'','','','3289434887','','buonoguglielmo@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(39,'2017-11-04 20:00:36','2017-11-04 19:00:36',NULL,1,'','MR','di miscio','gerardo','','','',NULL,3,NULL,'','','','3383022031','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(40,'2017-11-04 20:03:11','2017-11-04 19:03:11',NULL,1,'','MR','ficco','vincenzo','','71121','Foggia',NULL,3,NULL,' SAC Apulia Fluminum - Valle del Carapelle','','','3331279724','','enzoficco@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(41,'2017-11-04 20:04:21','2017-11-04 19:04:21',NULL,1,'','MME','paciello','manuela','','','',NULL,3,NULL,'','','','3470857343','','paciello79@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(42,'2017-11-07 16:14:21','2017-11-07 15:14:21',NULL,1,'','MME','annarelli','sofia','','71121','Foggia',NULL,3,NULL,'','','','3317284553','','sofia.pia@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(43,'2017-11-07 16:15:16','2017-11-07 15:15:16',NULL,1,'','MME','baldassarre','angela','','71121','Foggia',NULL,3,NULL,'','','','3298165635','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(44,'2017-11-07 16:16:38','2017-11-07 15:16:38',NULL,1,'','MME','bove','maria adele','','','',NULL,3,NULL,'','','','3389462380','','mariadele.bo@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(45,'2017-11-07 16:17:39','2017-11-07 15:17:39',NULL,1,'','MME','diomede','roberta','','','',NULL,3,NULL,'','','','3297048037','','robertadiomede2@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(46,'2017-11-07 16:18:47','2017-11-07 15:18:47',NULL,1,'','MME','castriota','stefania','','','',NULL,3,NULL,'','','','3386126236','','archstefaniacastriota@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(47,'2017-11-07 16:19:42','2017-11-07 15:19:42',NULL,1,'','MME','sciarra','loriana','','71121','Foggia',NULL,3,'1981-07-03','','','','3295649666','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(48,'2017-11-07 16:21:06','2018-12-05 11:25:03',NULL,1,'','MME','criscuolo','elvira','','','',NULL,3,NULL,'','','','3880448704','','elviracriscuolo@hotmail.com','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(49,'2017-11-07 16:22:40','2017-11-07 15:22:40',NULL,1,'','MME','occhiochiuso','antonietta','','','',NULL,3,NULL,'','','','3890264427','','anto.occhiochiuso@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(50,'2017-11-07 16:23:58','2017-11-07 15:23:58',NULL,1,'','MME','garofalo','marianna','','','',NULL,3,NULL,'','','','3498375721','','old_man_62@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(51,'2017-11-07 16:26:04','2018-12-05 11:40:50',NULL,1,'','MME','spagnuolo','maria pina','','','',NULL,3,NULL,'','','','3498761980','','mariolina.spagnuolo@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,0),(52,'2017-11-07 16:27:02','2017-11-07 15:27:02',NULL,1,'','MME','ricciardi','ornella','','','',NULL,3,NULL,'','','','3480674956','','ricciardiornella@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(53,'2017-11-07 16:28:08','2017-11-07 15:28:08',NULL,1,'','MME','settimo','alessandra','','','',NULL,3,NULL,'','','','3288848381','','alessandra.settimo@tiscali.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(54,'2017-11-07 16:29:25','2017-11-07 15:29:25',NULL,1,'','MME','cicoria','matteo','','','',NULL,3,NULL,'','','','3389803236','','m.cicoria@tiscali.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(55,'2017-11-07 16:30:22','2017-11-07 15:30:22',NULL,1,'','MME','gramazio','stefania','','','',NULL,3,NULL,'','','','3477104057','','stefygrama@yahoo.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(56,'2017-11-07 16:31:27','2017-11-07 15:31:27',NULL,1,'','MME','labella','concetta','','','',NULL,3,NULL,'','','','3478829319','','eresmivida@katamail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(57,'2017-11-07 16:32:22','2018-03-09 16:55:24',NULL,1,'','MME','piserchia','patrizia','','','',NULL,3,NULL,'','','','3490694518','','piserchia@teknautomazione.com','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(58,'2017-11-07 16:33:52','2017-11-07 15:33:52',NULL,1,'','MME','de vito','serena','','','',NULL,3,NULL,'','','','3408638872','','wsere@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(59,'2017-11-07 16:34:58','2017-11-07 15:34:58',NULL,1,'','MME','scarano','giuliana','','','',NULL,3,NULL,'','','','3473865615','','giulianatrilly@yahoo.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(61,'2017-11-07 16:36:24','2017-11-07 15:36:24',NULL,1,'','MME','pignatiello','lia','','','',NULL,3,NULL,'','','','3273691201','','','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(62,'2017-11-07 16:37:28','2017-11-07 15:37:28',NULL,1,'','MME','de leo','rossella','','','',NULL,3,NULL,'','','','3345905117','','barcclucera@sarniristorazione.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(63,'2017-11-07 16:38:48','2017-11-07 15:38:48',NULL,1,'','MME','rubino','margherita','','','',NULL,3,'1978-07-26','','','','3281347954','','margherita.rubino@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(64,'2017-11-07 16:40:00','2018-12-05 11:37:44',NULL,1,'','MR','d\'elia','luca','','71122','foggia',NULL,3,'1984-05-02','','','','','','ld.solution84@gmail.com','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(65,'2017-11-07 16:41:04','2017-11-07 15:41:04',NULL,1,'','MR','di francesco','fabrizio','','','',NULL,3,NULL,'','','','','','fabridifra@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(66,'2017-11-07 16:42:53','2017-11-07 15:42:53',NULL,1,'','MME','crapa','raffaella','','','',NULL,3,'1986-06-23','','','','','','rcrapa@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(67,'2017-11-07 16:44:05','2017-11-07 15:44:05',NULL,1,'','MME','palmieri','stefania','','','',NULL,3,'1970-05-15','','','','3388527095','','stefy.palmieri@alice.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(68,'2017-11-07 16:46:18','2018-12-05 11:41:17',NULL,1,'','MME','palmieri','patrizia','','','',NULL,3,'1961-12-24','','','','3203062318','','pattypalm@virgilio.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,0),(69,'2017-11-07 16:47:25','2018-12-05 11:32:17',NULL,1,'','MME','bambacigni','maria rosaria','','','',NULL,3,'1966-06-23','','','','','','m.bambacigni@virgilio.it','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(70,'2017-11-07 16:48:41','2017-11-07 15:48:41',NULL,1,'','MME','d\'elia','mary','','71121','Foggia',NULL,3,'1984-06-11','','','','','','mariassunta.delia@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(71,'2017-11-07 16:49:40','2017-11-07 15:49:40',NULL,1,'','MME','cavallo','caterina','','','',NULL,3,'1986-06-08','','','','','','caterinacavallo@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(73,'2017-11-07 16:51:29','2017-11-07 15:51:29',NULL,1,'','MME','cocomazzi','amelia','','','',NULL,3,'1973-06-04','','','','','','acocoma@yahoo.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(74,'2017-11-07 16:52:37','2017-11-07 15:52:37',NULL,1,'','MME','saracino','pina','','','',NULL,3,'1966-04-28','','','','3394025711','','pinasaracino66@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(75,'2017-11-07 16:54:08','2017-11-07 16:22:15',NULL,1,'','MME','vangi','valentina','','','',NULL,3,'1978-02-15','','','','3281619458','','valentina.vangi@libero.it','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(76,'2017-11-07 16:55:15','2017-11-07 15:55:15',NULL,1,'','MME','dicembrino','zaira','','','',NULL,3,'1974-02-25','','','','3388379125','','zaira@dicembrino.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(77,'2017-11-07 16:56:21','2017-11-07 15:56:21',NULL,1,'','MME','buonamano','valentina','','','',NULL,3,'1982-08-25','','','','','','tatyvb@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(78,'2017-11-07 16:57:34','2017-11-07 15:57:34',NULL,1,'','MME','pitta','antonella','','','',NULL,3,'1975-07-22','','','','3497833248','','tonypitta73@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(79,'2017-11-07 17:00:11','2017-11-07 16:00:11',NULL,1,'','MME','giannetta','luana','','71121','Foggia',NULL,3,'1975-02-14','','','','3293666777','','luanagiannetta@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(81,'2017-11-07 17:07:55','2017-11-07 16:07:55',NULL,1,'','MME','antonini','ivana','','','',NULL,3,'1988-10-05','','','','','','angelofgod@live.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(82,'2017-11-07 17:08:46','2017-11-07 16:08:46',NULL,1,'','MME','ruggiero','ilaria','','','',NULL,3,'1985-04-01','','','','','','ilaryr@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(83,'2017-11-07 17:09:41','2017-11-07 16:09:41',NULL,1,'','MME','marzano','giada','','','',NULL,3,'1984-09-08','','','','','','giadamarzano@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(84,'2017-11-07 17:10:33','2017-11-07 16:10:33',NULL,1,'','MME','biscotti','mariangela','','','',NULL,3,'1986-12-26','','','','','','mabi@live.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(85,'2017-11-07 17:11:23','2017-11-07 16:11:23',NULL,1,'','MME','crescenzi','maria pia','','','',NULL,3,'1978-02-25','','','','','','mpiacrescenzi@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(86,'2017-11-07 17:12:33','2017-11-07 16:12:33',NULL,1,'','MME','angiolillo','rosa','','','',NULL,3,'1977-11-13','','','','3332258964','','rossella.angiolillo@virgilio.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(87,'2017-11-07 17:13:42','2017-11-07 16:13:42',NULL,1,'','MME','ippolito','daniela','','','',NULL,3,'1984-01-07','','','','','','danielita84@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(88,'2017-11-07 17:14:32','2017-11-07 16:14:32',NULL,1,'','MME','ranieri','ester','','','',NULL,3,'1984-05-23','','','','','','ranieri.ester@alice.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(89,'2017-11-07 17:15:29','2017-11-07 16:15:29',NULL,1,'','MME','lentini','gaia','','','',NULL,3,'1979-07-23','','','','','','gaiamf@live.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(90,'2017-11-07 17:16:31','2017-11-07 16:16:31',NULL,1,'','MME','santangelo','adele','','71121','Foggia',NULL,3,'1988-01-31','','','','','','adele.aa31@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(91,'2017-11-07 17:17:33','2017-11-07 16:17:33',NULL,1,'','MME','calzone','angela','','','',NULL,3,'1986-09-27','','','','','','angelacalzone2@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(92,'2017-11-07 17:19:08','2017-11-07 16:19:08',NULL,1,'','MME','ventriglio','pamela','','','',NULL,3,'1991-09-21','','','','','','pamela91_2009@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(93,'2017-11-07 17:20:28','2017-11-07 16:20:28',NULL,1,'','MME','ventura','federica','','','',NULL,3,'1991-07-18','','','','','','fedeventura@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(94,'2017-11-07 17:21:28','2017-11-07 16:21:28',NULL,1,'','MME','mansueto','lucia','','','',NULL,3,'1986-03-08','','','','','','lucia.mansueto@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(95,'2017-11-07 17:23:15','2017-11-07 16:23:15',NULL,1,'','MME','freda','martina','','','',NULL,3,'1995-02-22','','','','','','martina.freda@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(96,'2017-11-07 17:24:10','2017-11-07 16:24:10',NULL,1,'','MME','gallucci','sara','','','',NULL,3,'1989-10-21','','','','','','gallucci.sara@yahoo.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(97,'2017-11-07 17:24:59','2017-11-07 16:24:59',NULL,1,'','MME','di ruggieri','rosa','','','',NULL,3,'1985-02-26','','','','','','rosa85.dr@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(98,'2017-11-07 17:25:46','2017-11-07 16:25:46',NULL,1,'','MME','tenace','valentina','','','',NULL,3,'1991-02-14','','','','','','valentinatenace@tiscali.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(99,'2017-11-07 17:26:42','2017-11-07 16:26:42',NULL,1,'','MME','castrignano','mariella','','','',NULL,3,'1977-04-12','','','','','','mig.caroprese@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(100,'2017-11-07 17:27:30','2017-11-07 16:27:30',NULL,1,'','MME','grossi','nunziata','','','',NULL,3,'1977-02-17','','','','','','n.grossi@yahoo.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(101,'2017-11-07 17:28:48','2017-11-07 16:28:48',NULL,1,'','MME','oliveira silva','cristina nivalma','','','',NULL,3,'1967-09-02','','','','','','valmaoliveira@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(102,'2017-11-07 18:12:20','2017-11-07 17:12:20',12,1,'','MR','Caposiena','Raffaele','','','',NULL,3,NULL,'','0855434569','','3357379569','','r.caposiena@libero.it','','',NULL,0,0,1,1,'','',NULL,NULL,NULL,1),(103,'2017-11-22 18:35:57','2017-11-22 17:35:57',NULL,1,'','MME','quitadamo','enza','','71121','Foggia',NULL,3,NULL,'','','','3480707697','','enzaquitadamo@yahoo.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(104,'2017-11-22 18:51:20','2017-11-22 17:53:07',NULL,1,'','MME','spadaccino','tiziana','p.zza de gasperi 8','71121','Foggia',NULL,3,NULL,'','','','3284065500','','tizianaspadaccino@gmail.com','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(105,'2017-11-22 18:54:59','2018-12-05 11:45:24',NULL,1,'','MME','marasco','alessia','p.zza de gasperi','71121','Foggia',NULL,3,NULL,'','','','3388815018','','alessiamarasco07@tiscali.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,0),(106,'2017-12-15 16:27:44','2018-03-28 16:35:07',NULL,1,'','MME','peluso','giovanna','via gentile 206','71122','foggia',NULL,3,NULL,'','','','3920546696','','giovy.pelu@gmail.com','','','',0,0,3,3,'','',NULL,NULL,NULL,1),(107,'2017-12-15 16:29:16','2017-12-15 15:29:16',NULL,1,'','MME','confalone','lidia','via d\'addedda','71122','foggia',NULL,3,NULL,'','','','3272267527','','lidia_garen@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(108,'2017-12-15 16:30:48','2017-12-15 15:30:49',NULL,1,'','MME','d\'agnone','renata','Loffredo 12','71121','Foggia',NULL,3,NULL,'','','','3496479444','','coccole77@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(109,'2017-12-15 16:32:02','2017-12-15 15:32:02',NULL,1,'','MME','d\'elia','luciana','via imperati 4','71122','foggia',NULL,3,NULL,'','','','3807560532','','lucianadelia@hotmail.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(110,'2018-03-07 17:15:00','2018-03-07 16:15:00',NULL,1,'','MME','galantini','maria rosaria','piazza de gasperi 8','71121','Foggia',NULL,3,NULL,'','','','3342078253','','mariarosariagalantini@alice.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(111,'2018-03-07 17:16:17','2018-03-07 16:16:17',NULL,1,'','MR','lucisano','roberto','via ricciardi 42','71121','Foggia',NULL,3,NULL,'','','','3890529020','','ilsolarium98@gmail.com','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(112,'2018-03-28 18:32:48','2018-03-28 16:32:48',NULL,1,'','MME','di stefano','mariangela','via lagonigro 29','71121','Foggia',NULL,3,NULL,'','','','3483706928','','maridistefano@specalsnc.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(113,'2018-03-28 18:33:53','2018-03-28 16:33:53',NULL,1,'','MME','varracchio','daniela','viale d\'addedda 80','71122','foggia',NULL,3,NULL,'','','','3332121447','','danielavarracchio@yahoo.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1),(114,'2018-03-28 18:36:36','2018-03-28 16:36:36',NULL,1,'','MME','salvagno','lucia','via Saverio pollice 45','71121','Foggia',NULL,3,NULL,'','','','3890522093','','luciasalvagno@libero.it','','',NULL,0,0,3,3,'','',NULL,NULL,NULL,1);

--
-- Table structure for table `llx_socpeople_extrafields`
--

CREATE TABLE `llx_socpeople_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_socpeople_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_socpeople_extrafields`
--


--
-- Table structure for table `llx_stock_mouvement`
--

CREATE TABLE `llx_stock_mouvement` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datem` datetime DEFAULT NULL,
  `fk_product` int(11) NOT NULL,
  `batch` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `fk_entrepot` int(11) NOT NULL,
  `value` double DEFAULT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `type_mouvement` smallint(6) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `inventorycode` varchar(128) DEFAULT NULL,
  `fk_origin` int(11) DEFAULT NULL,
  `origintype` varchar(32) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_stock_mouvement_fk_product` (`fk_product`),
  KEY `idx_stock_mouvement_fk_entrepot` (`fk_entrepot`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_stock_mouvement`
--

INSERT INTO `llx_stock_mouvement` (`rowid`, `tms`, `datem`, `fk_product`, `batch`, `eatby`, `sellby`, `fk_entrepot`, `value`, `price`, `type_mouvement`, `fk_user_author`, `label`, `inventorycode`, `fk_origin`, `origintype`, `model_pdf`) VALUES (1,'2017-11-02 18:24:15','2017-11-02 19:24:15',2,'13263581034968','2017-11-03','2017-11-02',2,10,5.00000000,0,2,'Correzione scorte per il prodotto pacco_taralli','171102192328',1,'project',NULL);

--
-- Table structure for table `llx_subscription`
--

CREATE TABLE `llx_subscription` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `dateadh` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `subscription` double(24,8) DEFAULT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `note` text,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_subscription` (`fk_adherent`,`dateadh`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_subscription`
--


--
-- Table structure for table `llx_supplier_proposal`
--

CREATE TABLE `llx_supplier_proposal` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `price` double DEFAULT '0',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `last_main_doc` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_supplier_proposal`
--


--
-- Table structure for table `llx_supplier_proposal_extrafields`
--

CREATE TABLE `llx_supplier_proposal_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_supplier_proposal_extrafields`
--


--
-- Table structure for table `llx_supplier_proposaldet`
--

CREATE TABLE `llx_supplier_proposaldet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_supplier_proposal` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `fk_remise_except` int(11) DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT '0.000',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `price` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `product_type` int(11) DEFAULT '0',
  `info_bits` int(11) DEFAULT '0',
  `buy_price_ht` double(24,8) DEFAULT '0.00000000',
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `ref_fourn` varchar(30) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_unit` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_supplier_proposaldet_fk_supplier_proposal` (`fk_supplier_proposal`),
  KEY `idx_supplier_proposaldet_fk_product` (`fk_product`),
  KEY `fk_supplier_proposaldet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_supplier_proposaldet_fk_supplier_proposal` FOREIGN KEY (`fk_supplier_proposal`) REFERENCES `llx_supplier_proposal` (`rowid`),
  CONSTRAINT `fk_supplier_proposaldet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_supplier_proposaldet`
--


--
-- Table structure for table `llx_supplier_proposaldet_extrafields`
--

CREATE TABLE `llx_supplier_proposaldet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_supplier_proposaldet_extrafields`
--


--
-- Table structure for table `llx_ticket`
--

CREATE TABLE `llx_ticket` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `ref` varchar(128) NOT NULL,
  `track_id` varchar(128) NOT NULL,
  `fk_soc` int(11) DEFAULT '0',
  `fk_project` int(11) DEFAULT '0',
  `origin_email` varchar(128) DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `fk_user_assign` int(11) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `message` text,
  `fk_statut` int(11) DEFAULT NULL,
  `resolution` int(11) DEFAULT NULL,
  `progress` varchar(100) DEFAULT NULL,
  `timing` varchar(20) DEFAULT NULL,
  `type_code` varchar(32) DEFAULT NULL,
  `category_code` varchar(32) DEFAULT NULL,
  `severity_code` varchar(32) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `date_read` datetime DEFAULT NULL,
  `date_close` datetime DEFAULT NULL,
  `notify_tiers_at_create` tinyint(4) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ticket_track_id` (`track_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_ticket`
--


--
-- Table structure for table `llx_ticket_extrafields`
--

CREATE TABLE `llx_ticket_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_ticket_extrafields`
--


--
-- Table structure for table `llx_ticket_logs`
--

CREATE TABLE `llx_ticket_logs` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `fk_track_id` varchar(128) DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `message` text,
  PRIMARY KEY (`rowid`),
  KEY `fk_ticket_logs_fk_track_id` (`fk_track_id`),
  CONSTRAINT `fk_ticket_logs_fk_track_id` FOREIGN KEY (`fk_track_id`) REFERENCES `llx_ticket` (`track_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_ticket_logs`
--


--
-- Table structure for table `llx_ticket_msg`
--

CREATE TABLE `llx_ticket_msg` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `fk_track_id` varchar(128) DEFAULT NULL,
  `fk_user_action` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `message` text,
  `private` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  KEY `fk_ticket_msg_fk_track_id` (`fk_track_id`),
  CONSTRAINT `fk_ticket_msg_fk_track_id` FOREIGN KEY (`fk_track_id`) REFERENCES `llx_ticket` (`track_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_ticket_msg`
--


--
-- Table structure for table `llx_tva`
--

CREATE TABLE `llx_tva` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `fk_typepayment` int(11) DEFAULT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `note` text,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_tva`
--


--
-- Table structure for table `llx_user`
--

CREATE TABLE `llx_user` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(50) DEFAULT NULL,
  `ref_int` varchar(50) DEFAULT NULL,
  `employee` tinyint(4) DEFAULT '1',
  `fk_establishment` int(11) DEFAULT '0',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `login` varchar(50) NOT NULL,
  `pass` varchar(128) DEFAULT NULL,
  `pass_crypted` varchar(128) DEFAULT NULL,
  `pass_temp` varchar(128) DEFAULT NULL,
  `api_key` varchar(128) DEFAULT NULL,
  `gender` varchar(10) DEFAULT NULL,
  `civility` varchar(6) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_state` int(11) DEFAULT '0',
  `fk_country` int(11) DEFAULT '0',
  `job` varchar(128) DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `office_phone` varchar(20) DEFAULT NULL,
  `office_fax` varchar(20) DEFAULT NULL,
  `user_mobile` varchar(20) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `signature` text,
  `admin` smallint(6) DEFAULT '0',
  `module_comm` smallint(6) DEFAULT '1',
  `module_compta` smallint(6) DEFAULT '1',
  `fk_soc` int(11) DEFAULT NULL,
  `fk_socpeople` int(11) DEFAULT NULL,
  `fk_member` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `note_public` text,
  `note` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `datelastlogin` datetime DEFAULT NULL,
  `datepreviouslogin` datetime DEFAULT NULL,
  `egroupware_id` int(11) DEFAULT NULL,
  `ldap_sid` varchar(255) DEFAULT NULL,
  `openid` varchar(255) DEFAULT NULL,
  `statut` tinyint(4) DEFAULT '1',
  `photo` varchar(255) DEFAULT NULL,
  `lang` varchar(6) DEFAULT NULL,
  `color` varchar(6) DEFAULT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT '0',
  `accountancy_code` varchar(32) DEFAULT NULL,
  `nb_holiday` int(11) DEFAULT '0',
  `thm` double(24,8) DEFAULT NULL,
  `tjm` double(24,8) DEFAULT NULL,
  `salary` double(24,8) DEFAULT NULL,
  `salaryextra` double(24,8) DEFAULT NULL,
  `dateemployment` date DEFAULT NULL,
  `weeklyhours` double(16,8) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `birth` date DEFAULT NULL,
  `pass_encoding` varchar(24) DEFAULT NULL,
  `default_range` int(11) DEFAULT NULL,
  `default_c_exp_tax_cat` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_user_login` (`login`,`entity`),
  UNIQUE KEY `uk_user_fk_socpeople` (`fk_socpeople`),
  UNIQUE KEY `uk_user_fk_member` (`fk_member`),
  UNIQUE KEY `uk_user_api_key` (`api_key`),
  KEY `idx_user_fk_societe` (`fk_soc`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_user`
--

INSERT INTO `llx_user` (`rowid`, `entity`, `ref_ext`, `ref_int`, `employee`, `fk_establishment`, `datec`, `tms`, `fk_user_creat`, `fk_user_modif`, `login`, `pass`, `pass_crypted`, `pass_temp`, `api_key`, `gender`, `civility`, `lastname`, `firstname`, `address`, `zip`, `town`, `fk_state`, `fk_country`, `job`, `skype`, `office_phone`, `office_fax`, `user_mobile`, `email`, `signature`, `admin`, `module_comm`, `module_compta`, `fk_soc`, `fk_socpeople`, `fk_member`, `fk_user`, `note_public`, `note`, `model_pdf`, `datelastlogin`, `datepreviouslogin`, `egroupware_id`, `ldap_sid`, `openid`, `statut`, `photo`, `lang`, `color`, `barcode`, `fk_barcode_type`, `accountancy_code`, `nb_holiday`, `thm`, `tjm`, `salary`, `salaryextra`, `dateemployment`, `weeklyhours`, `import_key`, `birth`, `pass_encoding`, `default_range`, `default_c_exp_tax_cat`) VALUES (1,0,NULL,NULL,1,0,'2017-11-02 17:07:02','2017-11-02 16:07:02',NULL,NULL,'frederic',NULL,'d494665f7734e770781002113c6e276998e3f1c0',NULL,NULL,'',NULL,'SuperAdmin','','','','',NULL,NULL,'','','','','','','',1,1,1,NULL,NULL,NULL,NULL,NULL,'',NULL,'2019-11-17 11:45:20','2019-07-04 20:16:20',NULL,'',NULL,1,NULL,NULL,'',NULL,0,'',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,NULL,NULL,1,0,'2017-11-02 17:55:15','2017-11-02 16:55:15',NULL,NULL,'francesco',NULL,'f0d878a637bb91a139fae5968383e0427927636b',NULL,'nrg8xb0q','man',NULL,'Villani','Francesco','','71121','Foggia',NULL,3,'CEO','','','','3287533284','info@foofandstyle.it','',1,1,1,NULL,NULL,NULL,NULL,NULL,'',NULL,'2019-09-22 02:46:13','2019-09-22 02:44:18',NULL,'',NULL,1,NULL,NULL,'',NULL,0,'',0,NULL,NULL,NULL,NULL,NULL,40.00000000,NULL,NULL,NULL,NULL,NULL),(3,1,NULL,NULL,1,0,'2017-11-02 17:58:53','2017-11-02 16:58:53',NULL,NULL,'dora',NULL,'7fc260dcc57899a16142adc9ce7fd6ee8ec4add1',NULL,'js264cmz','woman',NULL,'Panunzio','Dora','','','',NULL,NULL,'','','','','3282611993','','',0,1,1,NULL,NULL,NULL,2,NULL,'',NULL,'2018-12-07 11:09:46','2018-12-05 11:39:38',NULL,'',NULL,1,NULL,NULL,'',NULL,0,'',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,1,NULL,NULL,1,0,'2017-11-04 16:36:22','2017-11-04 15:36:22',NULL,NULL,'cristina',NULL,'1152270d61f83bf44e0d67ee6f068cedf3cdcd5e',NULL,'nxyqt36c','woman',NULL,'Cucci','Cristina','','','',NULL,NULL,'','','','','','info@cristinacucci.com','',0,1,1,NULL,NULL,NULL,2,NULL,'',NULL,'2017-11-11 20:47:34','2017-11-10 20:34:27',NULL,'',NULL,1,NULL,NULL,'',NULL,0,'',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `llx_user_alert`
--

CREATE TABLE `llx_user_alert` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `type` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_user_alert`
--

INSERT INTO `llx_user_alert` (`rowid`, `type`, `fk_contact`, `fk_user`) VALUES (1,1,1,2),(2,1,1,1);

--
-- Table structure for table `llx_user_clicktodial`
--

CREATE TABLE `llx_user_clicktodial` (
  `fk_user` int(11) NOT NULL,
  `url` varchar(255) DEFAULT NULL,
  `login` varchar(32) DEFAULT NULL,
  `pass` varchar(64) DEFAULT NULL,
  `poste` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`fk_user`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_user_clicktodial`
--


--
-- Table structure for table `llx_user_employment`
--

CREATE TABLE `llx_user_employment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref` varchar(50) DEFAULT NULL,
  `ref_ext` varchar(50) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `job` varchar(128) DEFAULT NULL,
  `status` int(11) NOT NULL,
  `salary` double(24,8) DEFAULT NULL,
  `salaryextra` double(24,8) DEFAULT NULL,
  `weeklyhours` double(16,8) DEFAULT NULL,
  `dateemployment` date DEFAULT NULL,
  `dateemploymentend` date DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_user_employment` (`ref`,`entity`),
  KEY `fk_user_employment_fk_user` (`fk_user`),
  CONSTRAINT `fk_user_employment_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_user_employment`
--


--
-- Table structure for table `llx_user_extrafields`
--

CREATE TABLE `llx_user_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_user_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_user_extrafields`
--


--
-- Table structure for table `llx_user_param`
--

CREATE TABLE `llx_user_param` (
  `fk_user` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `param` varchar(255) NOT NULL,
  `value` text NOT NULL,
  UNIQUE KEY `uk_user_param` (`fk_user`,`param`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_user_param`
--


--
-- Table structure for table `llx_user_rib`
--

CREATE TABLE `llx_user_rib` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_user` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(30) DEFAULT NULL,
  `bank` varchar(255) DEFAULT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `bic` varchar(11) DEFAULT NULL,
  `iban_prefix` varchar(34) DEFAULT NULL,
  `domiciliation` varchar(255) DEFAULT NULL,
  `proprio` varchar(60) DEFAULT NULL,
  `owner_address` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_user_rib`
--


--
-- Table structure for table `llx_user_rights`
--

CREATE TABLE `llx_user_rights` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_user` int(11) NOT NULL,
  `fk_id` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_user_rights` (`entity`,`fk_user`,`fk_id`),
  KEY `fk_user_rights_fk_user_user` (`fk_user`),
  CONSTRAINT `fk_user_rights_fk_user_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=1674 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_user_rights`
--

INSERT INTO `llx_user_rights` (`rowid`, `entity`, `fk_user`, `fk_id`) VALUES (1522,1,1,11),(1509,1,1,12),(1512,1,1,13),(1514,1,1,14),(1516,1,1,15),(1519,1,1,16),(1523,1,1,19),(40,1,1,21),(33,1,1,22),(34,1,1,24),(35,1,1,25),(37,1,1,26),(39,1,1,27),(41,1,1,28),(171,1,1,31),(168,1,1,32),(170,1,1,34),(172,1,1,38),(202,1,1,41),(199,1,1,42),(201,1,1,44),(203,1,1,45),(83,1,1,61),(80,1,1,62),(82,1,1,64),(84,1,1,67),(85,1,1,68),(86,1,1,69),(87,1,1,70),(263,1,1,71),(258,1,1,72),(260,1,1,74),(264,1,1,75),(262,1,1,76),(266,1,1,78),(267,1,1,79),(1490,1,1,81),(1477,1,1,82),(1480,1,1,84),(1482,1,1,86),(1485,1,1,87),(1488,1,1,88),(1491,1,1,89),(141,1,1,91),(138,1,1,92),(140,1,1,93),(142,1,1,94),(181,1,1,95),(59,1,1,101),(55,1,1,102),(56,1,1,104),(57,1,1,105),(58,1,1,106),(60,1,1,109),(154,1,1,111),(145,1,1,112),(147,1,1,113),(149,1,1,114),(151,1,1,115),(153,1,1,116),(155,1,1,117),(1596,1,1,121),(1589,1,1,122),(1593,1,1,125),(1597,1,1,126),(207,1,1,141),(206,1,1,142),(208,1,1,144),(161,1,1,151),(158,1,1,152),(160,1,1,153),(162,1,1,154),(76,1,1,161),(69,1,1,162),(71,1,1,163),(73,1,1,164),(75,1,1,165),(77,1,1,167),(242,1,1,221),(239,1,1,222),(241,1,1,223),(243,1,1,229),(244,1,1,237),(245,1,1,238),(246,1,1,239),(235,1,1,241),(234,1,1,242),(236,1,1,243),(1670,1,1,251),(1632,1,1,252),(1635,1,1,253),(1638,1,1,254),(1641,1,1,255),(1645,1,1,256),(1600,1,1,262),(1612,1,1,281),(1605,1,1,282),(1609,1,1,283),(1613,1,1,286),(1470,1,1,300),(1472,1,1,301),(1648,1,1,341),(1650,1,1,342),(1652,1,1,343),(1654,1,1,344),(1666,1,1,351),(1659,1,1,352),(1663,1,1,353),(1667,1,1,354),(1671,1,1,358),(1626,1,1,531),(1619,1,1,532),(1623,1,1,534),(1627,1,1,538),(14,1,1,771),(3,1,1,772),(5,1,1,773),(7,1,1,775),(9,1,1,776),(11,1,1,777),(13,1,1,778),(15,1,1,779),(192,1,1,1001),(191,1,1,1002),(193,1,1,1003),(195,1,1,1004),(196,1,1,1005),(65,1,1,1101),(63,1,1,1102),(64,1,1,1104),(66,1,1,1109),(122,1,1,1121),(115,1,1,1122),(117,1,1,1123),(119,1,1,1124),(121,1,1,1125),(123,1,1,1126),(1530,1,1,1181),(1558,1,1,1182),(1535,1,1,1183),(1538,1,1,1184),(1541,1,1,1185),(1545,1,1,1186),(1549,1,1,1187),(1555,1,1,1188),(1552,1,1,1189),(1559,1,1,1191),(251,1,1,1201),(252,1,1,1202),(1576,1,1,1231),(1565,1,1,1232),(1568,1,1,1233),(1571,1,1,1234),(1574,1,1,1235),(1577,1,1,1236),(1351,1,1,1237),(249,1,1,1251),(1526,1,1,1321),(1528,1,1,1322),(1494,1,1,1421),(1454,1,1,2401),(1451,1,1,2402),(1455,1,1,2403),(1464,1,1,2411),(1461,1,1,2412),(1465,1,1,2413),(1468,1,1,2414),(1502,1,1,2501),(1499,1,1,2503),(1503,1,1,2515),(175,1,1,50401),(177,1,1,50411),(178,1,1,50412),(179,1,1,50420),(180,1,1,50430),(174,1,1,50440),(1582,1,1,55001),(1583,1,1,55002),(163,1,1,59001),(164,1,1,59002),(165,1,1,59003),(225,1,1,63001),(222,1,1,63002),(224,1,1,63003),(226,1,1,63004),(1524,1,2,11),(1511,1,2,12),(1513,1,2,13),(1515,1,2,14),(1517,1,2,15),(1521,1,2,16),(1525,1,2,19),(386,1,2,21),(387,1,2,22),(388,1,2,24),(389,1,2,25),(390,1,2,26),(391,1,2,27),(392,1,2,28),(371,1,2,31),(372,1,2,32),(373,1,2,34),(374,1,2,38),(379,1,2,41),(380,1,2,42),(381,1,2,44),(382,1,2,45),(335,1,2,61),(336,1,2,62),(337,1,2,64),(338,1,2,67),(339,1,2,68),(340,1,2,69),(341,1,2,70),(270,1,2,71),(271,1,2,72),(272,1,2,74),(273,1,2,75),(274,1,2,76),(275,1,2,78),(276,1,2,79),(1492,1,2,81),(1479,1,2,82),(1481,1,2,84),(1483,1,2,86),(1487,1,2,87),(1489,1,2,88),(1493,1,2,89),(427,1,2,91),(428,1,2,92),(429,1,2,93),(430,1,2,94),(302,1,2,95),(306,1,2,101),(307,1,2,102),(308,1,2,104),(309,1,2,105),(310,1,2,106),(311,1,2,109),(284,1,2,111),(285,1,2,112),(286,1,2,113),(287,1,2,114),(288,1,2,115),(289,1,2,116),(290,1,2,117),(1598,1,2,121),(1591,1,2,122),(1595,1,2,125),(1599,1,2,126),(383,1,2,141),(384,1,2,142),(385,1,2,144),(375,1,2,151),(376,1,2,152),(377,1,2,153),(378,1,2,154),(431,1,2,161),(432,1,2,162),(433,1,2,163),(434,1,2,164),(435,1,2,165),(436,1,2,167),(359,1,2,221),(360,1,2,222),(361,1,2,223),(362,1,2,229),(363,1,2,237),(364,1,2,238),(365,1,2,239),(291,1,2,241),(292,1,2,242),(293,1,2,243),(1672,1,2,251),(1633,1,2,252),(1637,1,2,253),(1639,1,2,254),(1643,1,2,255),(1647,1,2,256),(1601,1,2,262),(1614,1,2,281),(1607,1,2,282),(1611,1,2,283),(1615,1,2,286),(1471,1,2,300),(1473,1,2,301),(1649,1,2,341),(1651,1,2,342),(1653,1,2,343),(1655,1,2,344),(1668,1,2,351),(1661,1,2,352),(1665,1,2,353),(1669,1,2,354),(1673,1,2,358),(1628,1,2,531),(1621,1,2,532),(1625,1,2,534),(1629,1,2,538),(316,1,2,771),(317,1,2,772),(318,1,2,773),(319,1,2,775),(320,1,2,776),(321,1,2,777),(322,1,2,778),(323,1,2,779),(410,1,2,1001),(411,1,2,1002),(412,1,2,1003),(413,1,2,1004),(414,1,2,1005),(312,1,2,1101),(313,1,2,1102),(314,1,2,1104),(315,1,2,1109),(421,1,2,1121),(422,1,2,1122),(423,1,2,1123),(424,1,2,1124),(425,1,2,1125),(426,1,2,1126),(1531,1,2,1181),(1560,1,2,1182),(1537,1,2,1183),(1539,1,2,1184),(1543,1,2,1185),(1547,1,2,1186),(1551,1,2,1187),(1557,1,2,1188),(1553,1,2,1189),(1561,1,2,1191),(324,1,2,1201),(325,1,2,1202),(1578,1,2,1231),(1567,1,2,1232),(1569,1,2,1233),(1573,1,2,1234),(1575,1,2,1235),(1579,1,2,1236),(1353,1,2,1237),(358,1,2,1251),(1527,1,2,1321),(1529,1,2,1322),(1495,1,2,1421),(1456,1,2,2401),(1453,1,2,2402),(1457,1,2,2403),(1466,1,2,2411),(1463,1,2,2412),(1467,1,2,2413),(1469,1,2,2414),(1504,1,2,2501),(1501,1,2,2503),(1505,1,2,2515),(1584,1,2,55001),(1585,1,2,55002),(366,1,2,59001),(367,1,2,59002),(368,1,2,59003),(393,1,2,63001),(394,1,2,63002),(395,1,2,63003),(396,1,2,63004),(477,1,3,11),(478,1,3,12),(479,1,3,13),(480,1,3,14),(481,1,3,15),(482,1,3,16),(483,1,3,19),(529,1,3,21),(530,1,3,22),(531,1,3,24),(532,1,3,25),(533,1,3,26),(535,1,3,28),(518,1,3,31),(519,1,3,32),(520,1,3,34),(521,1,3,38),(522,1,3,41),(523,1,3,42),(525,1,3,45),(486,1,3,61),(487,1,3,62),(488,1,3,64),(489,1,3,67),(490,1,3,68),(491,1,3,69),(492,1,3,70),(439,1,3,71),(440,1,3,72),(442,1,3,75),(443,1,3,76),(444,1,3,78),(445,1,3,79),(564,1,3,91),(565,1,3,92),(566,1,3,93),(567,1,3,94),(459,1,3,101),(460,1,3,102),(461,1,3,104),(462,1,3,105),(463,1,3,106),(464,1,3,109),(544,1,3,121),(545,1,3,122),(547,1,3,126),(526,1,3,141),(527,1,3,142),(509,1,3,221),(510,1,3,222),(511,1,3,223),(512,1,3,229),(513,1,3,237),(514,1,3,238),(515,1,3,239),(453,1,3,241),(454,1,3,242),(583,1,3,251),(569,1,3,252),(570,1,3,253),(571,1,3,254),(572,1,3,255),(584,1,3,256),(548,1,3,262),(549,1,3,281),(550,1,3,282),(552,1,3,286),(437,1,3,300),(574,1,3,341),(575,1,3,342),(576,1,3,343),(577,1,3,344),(578,1,3,351),(579,1,3,352),(580,1,3,353),(581,1,3,354),(582,1,3,358),(540,1,3,531),(541,1,3,532),(469,1,3,771),(470,1,3,772),(471,1,3,773),(472,1,3,775),(473,1,3,776),(474,1,3,777),(475,1,3,778),(476,1,3,779),(553,1,3,1001),(554,1,3,1002),(556,1,3,1004),(557,1,3,1005),(465,1,3,1101),(466,1,3,1102),(467,1,3,1104),(468,1,3,1109),(558,1,3,1121),(559,1,3,1122),(560,1,3,1123),(561,1,3,1124),(562,1,3,1125),(563,1,3,1126),(493,1,3,1181),(494,1,3,1182),(495,1,3,1183),(496,1,3,1184),(497,1,3,1185),(498,1,3,1186),(499,1,3,1187),(500,1,3,1188),(501,1,3,1189),(502,1,3,1231),(503,1,3,1232),(504,1,3,1233),(506,1,3,1235),(507,1,3,1236),(508,1,3,1237),(484,1,3,1321),(485,1,3,1322),(446,1,3,2401),(447,1,3,2402),(449,1,3,2411),(450,1,3,2412),(452,1,3,2414),(456,1,3,2501),(457,1,3,2503),(458,1,3,2515),(516,1,3,55001),(517,1,3,55002),(536,1,3,63001),(537,1,3,63002),(538,1,3,63003),(539,1,3,63004),(656,1,4,11),(657,1,4,12),(658,1,4,13),(659,1,4,14),(660,1,4,15),(661,1,4,16),(662,1,4,19),(716,1,4,21),(717,1,4,22),(718,1,4,24),(719,1,4,25),(720,1,4,26),(721,1,4,27),(722,1,4,28),(705,1,4,31),(706,1,4,32),(707,1,4,34),(708,1,4,38),(709,1,4,41),(710,1,4,42),(711,1,4,44),(712,1,4,45),(665,1,4,61),(666,1,4,62),(667,1,4,64),(668,1,4,67),(669,1,4,68),(670,1,4,69),(671,1,4,70),(587,1,4,71),(588,1,4,72),(589,1,4,74),(590,1,4,75),(591,1,4,76),(592,1,4,78),(593,1,4,79),(618,1,4,81),(619,1,4,82),(620,1,4,84),(621,1,4,86),(622,1,4,87),(623,1,4,88),(624,1,4,89),(751,1,4,91),(752,1,4,92),(753,1,4,93),(754,1,4,94),(626,1,4,95),(636,1,4,101),(637,1,4,102),(638,1,4,104),(639,1,4,105),(640,1,4,106),(641,1,4,109),(608,1,4,111),(609,1,4,112),(610,1,4,113),(611,1,4,114),(612,1,4,115),(613,1,4,116),(614,1,4,117),(731,1,4,121),(732,1,4,122),(733,1,4,125),(734,1,4,126),(713,1,4,141),(714,1,4,142),(715,1,4,144),(701,1,4,151),(702,1,4,152),(703,1,4,153),(704,1,4,154),(627,1,4,161),(628,1,4,162),(629,1,4,163),(630,1,4,164),(631,1,4,165),(632,1,4,167),(689,1,4,221),(690,1,4,222),(691,1,4,223),(692,1,4,229),(693,1,4,237),(694,1,4,238),(695,1,4,239),(615,1,4,241),(616,1,4,242),(617,1,4,243),(755,1,4,251),(756,1,4,252),(757,1,4,253),(758,1,4,254),(759,1,4,255),(760,1,4,256),(735,1,4,262),(736,1,4,281),(737,1,4,282),(738,1,4,283),(739,1,4,286),(585,1,4,300),(761,1,4,341),(762,1,4,342),(763,1,4,343),(764,1,4,344),(765,1,4,351),(766,1,4,352),(767,1,4,353),(768,1,4,354),(769,1,4,358),(727,1,4,531),(728,1,4,532),(729,1,4,534),(730,1,4,538),(646,1,4,771),(647,1,4,772),(648,1,4,773),(649,1,4,775),(650,1,4,776),(651,1,4,777),(652,1,4,778),(653,1,4,779),(740,1,4,1001),(741,1,4,1002),(742,1,4,1003),(743,1,4,1004),(744,1,4,1005),(642,1,4,1101),(643,1,4,1102),(644,1,4,1104),(645,1,4,1109),(745,1,4,1121),(746,1,4,1122),(747,1,4,1123),(748,1,4,1124),(749,1,4,1125),(750,1,4,1126),(672,1,4,1181),(673,1,4,1182),(674,1,4,1183),(675,1,4,1184),(676,1,4,1185),(677,1,4,1186),(678,1,4,1187),(679,1,4,1188),(680,1,4,1189),(654,1,4,1201),(655,1,4,1202),(681,1,4,1231),(682,1,4,1232),(683,1,4,1233),(684,1,4,1234),(685,1,4,1235),(686,1,4,1236),(687,1,4,1237),(688,1,4,1251),(663,1,4,1321),(664,1,4,1322),(625,1,4,1421),(601,1,4,2401),(602,1,4,2402),(603,1,4,2403),(604,1,4,2411),(605,1,4,2412),(606,1,4,2413),(607,1,4,2414),(633,1,4,2501),(634,1,4,2503),(635,1,4,2515),(699,1,4,55001),(700,1,4,55002),(696,1,4,59001),(697,1,4,59002),(698,1,4,59003),(723,1,4,63001),(724,1,4,63002),(725,1,4,63003),(726,1,4,63004);

--
-- Table structure for table `llx_usergroup`
--

CREATE TABLE `llx_usergroup` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(255) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `note` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_usergroup_name` (`nom`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_usergroup`
--

INSERT INTO `llx_usergroup` (`rowid`, `nom`, `entity`, `datec`, `tms`, `note`, `model_pdf`) VALUES (1,'Commerciale',1,'2017-11-07 17:54:02','2017-11-07 16:54:02','I nostri commerciali per gli eventi',NULL);

--
-- Table structure for table `llx_usergroup_extrafields`
--

CREATE TABLE `llx_usergroup_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_usergroup_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_usergroup_extrafields`
--


--
-- Table structure for table `llx_usergroup_rights`
--

CREATE TABLE `llx_usergroup_rights` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_usergroup` int(11) NOT NULL,
  `fk_id` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_usergroup_rights` (`entity`,`fk_usergroup`,`fk_id`),
  KEY `fk_usergroup_rights_fk_usergroup` (`fk_usergroup`),
  CONSTRAINT `fk_usergroup_rights_fk_usergroup` FOREIGN KEY (`fk_usergroup`) REFERENCES `llx_usergroup` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_usergroup_rights`
--


--
-- Table structure for table `llx_usergroup_user`
--

CREATE TABLE `llx_usergroup_user` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_user` int(11) NOT NULL,
  `fk_usergroup` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_usergroup_user` (`entity`,`fk_user`,`fk_usergroup`),
  KEY `fk_usergroup_user_fk_user` (`fk_user`),
  KEY `fk_usergroup_user_fk_usergroup` (`fk_usergroup`),
  CONSTRAINT `fk_usergroup_user_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_usergroup_user_fk_usergroup` FOREIGN KEY (`fk_usergroup`) REFERENCES `llx_usergroup` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_usergroup_user`
--

INSERT INTO `llx_usergroup_user` (`rowid`, `entity`, `fk_user`, `fk_usergroup`) VALUES (1,1,2,1),(2,1,4,1);

--
-- Table structure for table `llx_website`
--

CREATE TABLE `llx_website` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref` varchar(128) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `fk_default_home` int(11) DEFAULT NULL,
  `virtualhost` varchar(255) DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_website_ref` (`ref`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_website`
--


--
-- Table structure for table `llx_website_extrafields`
--

CREATE TABLE `llx_website_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_website_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_website_extrafields`
--


--
-- Table structure for table `llx_website_page`
--

CREATE TABLE `llx_website_page` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_website` int(11) NOT NULL,
  `pageurl` varchar(255) DEFAULT NULL,
  `aliasalt` varchar(255) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `keywords` varchar(255) DEFAULT NULL,
  `content` mediumtext,
  `status` int(11) DEFAULT '1',
  `fk_user_create` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `type_container` varchar(16) NOT NULL DEFAULT 'page',
  `lang` varchar(6) DEFAULT NULL,
  `fk_page` int(11) DEFAULT NULL,
  `grabbed_from` varchar(255) DEFAULT NULL,
  `htmlheader` mediumtext,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_website_page_url` (`fk_website`,`pageurl`),
  CONSTRAINT `fk_website_page_website` FOREIGN KEY (`fk_website`) REFERENCES `llx_website` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `llx_website_page`
--



