-- MySQL dump 10.13 Distrib 5.1.33, for Win32 (ia32) -- -- Host: localhost Database: test -- ------------------------------------------------------ -- Server version 5.1.33-community /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `_config` -- DROP TABLE IF EXISTS `_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_config` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `DataUltVisNovosClis` datetime DEFAULT NULL COMMENT 'Data da última entrada no módulo de clientes.', `DataUltManutAnual` datetime DEFAULT NULL COMMENT 'Data da última manutenção anual de rotina.', `DataUltManutMensal` datetime DEFAULT NULL COMMENT 'Data da última manutenção mensal de rotina.', `DataUltCpseg` datetime DEFAULT NULL, `Dominio` varchar(15) DEFAULT NULL, `CPanelUtilz` varchar(15) DEFAULT NULL, `CPanelSenha` varchar(15) DEFAULT NULL, PRIMARY KEY (`Id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_config` -- LOCK TABLES `_config` WRITE; /*!40000 ALTER TABLE `_config` DISABLE KEYS */; INSERT INTO `_config` VALUES (1,'2008-03-05 04:19:03','2008-01-08 01:04:26','2009-02-03 11:49:32',NULL,'jf-rebordosa.pt','jfrebord','cv48uj'); /*!40000 ALTER TABLE `_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_confirm` -- DROP TABLE IF EXISTS `_confirm`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_confirm` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `CodPedido` char(32) DEFAULT NULL, `CodConfirm` char(32) DEFAULT NULL, `Op` char(5) DEFAULT NULL, `IPPedido_1` smallint(4) DEFAULT NULL, `IPPedido_2` smallint(4) DEFAULT NULL, `IPPedido_3` smallint(4) DEFAULT NULL, `IPPedido_4` smallint(255) DEFAULT NULL, `IPPedido_5` smallint(255) DEFAULT NULL, `IPPedido_6` smallint(255) DEFAULT NULL, `IPConfirm_1` smallint(4) DEFAULT NULL, `IPConfirm_2` smallint(4) DEFAULT NULL, `IPConfirm_3` smallint(4) DEFAULT NULL, `IPConfirm_4` smallint(4) DEFAULT NULL, `IPConfirm_5` smallint(4) DEFAULT NULL, `IPConfirm_6` smallint(4) DEFAULT NULL, `DataPedido` datetime DEFAULT NULL, `DataConfirm` datetime DEFAULT NULL, `IdAssoc` int(11) DEFAULT NULL COMMENT 'Id do registo associado à confirmação.', `Extra` int(11) DEFAULT NULL, PRIMARY KEY (`Id`), KEY `DataPedido` (`DataPedido`), KEY `CodPedido_Fechado` (`CodPedido`), KEY `CodConfirm_Cod_Fechado` (`CodConfirm`,`Op`) ) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_confirm` -- LOCK TABLES `_confirm` WRITE; /*!40000 ALTER TABLE `_confirm` DISABLE KEYS */; INSERT INTO `_confirm` VALUES (13,'d4e0d7df6a65247d57c785920f935128','9d00751c5dac2b8d927643d9793a81ae','n',127,0,0,1,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-01-08 04:25:51','2008-01-08 04:29:40',56,0),(16,'2a7632bc43672472df87546bdc91c319','e33426b4204bae64d92672dd23c9c5d0','rn',127,0,0,1,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-01-08 04:34:44','2008-01-08 04:35:09',56,0),(17,'a76696182fa6caecf7e6db63b3c2e6b6','e5ed7e4465b39cf199e1901747b03d66','rn',127,0,0,1,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-01-08 04:35:03','2008-01-08 04:40:31',56,0),(20,'550ce997186c42464e7e3044dae34e8d','34dedeadaaaa37c9667507402541101f','den',81,84,133,86,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-03-05 03:30:33','2008-03-05 03:30:54',10,0),(21,'89baeb472df06389eadc5e4ce68b0f44','2e8cd7ba2dc8781d28194fdf82a00804','dee',81,84,133,86,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-03-05 03:32:23','2008-03-05 03:32:40',10,0),(22,'98dc4fe4d0310e6a855e0cbe0251cef0','112d4d9b8a48183874f96f783cf18785','den',81,84,133,86,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-03-05 03:35:06','2008-03-05 03:36:15',11,0),(23,'ce80440eb62fa6a4b8a76b8480048862','54f26096a4393fc46a5abe96e3cd9f8d','n',81,84,122,211,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-03-06 11:46:15','2008-03-06 11:48:56',55,0),(25,'ec477b782df2961c4083afca822fb61a','2666e83e5f88f9206e74336803207566','n',85,138,67,182,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-03-26 06:37:33','2008-03-26 06:38:40',57,0),(26,'5ad6fcecf355448ffe03efd88f2afde3','55b7ecfd3de7ce87f6c99dac6ea63dc8','n',82,154,216,242,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-04-21 03:39:39','2008-04-21 04:19:30',58,0),(27,'502bbfbe46b76b543c4eef0d1c540782','6b9ca9a2e4618c662074cce590256e77','n',82,155,228,135,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-04-24 02:35:39','2008-04-24 02:37:34',59,0),(28,'af2af9214c0b5de86fbcbd8f8e79762d','64a27d51f498387a682106aa193294f2','n',85,243,236,142,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-04-27 03:10:49','2008-04-30 12:26:04',60,0),(29,'5f35c8b38df80089d97ee8452e065655','20df24c127b81351f3d9ec81dd8dbc2d','n',85,138,205,250,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-05-08 11:21:44','2008-05-09 07:10:02',61,0),(30,'b06fda2a11cd1859381588bd04740cdd','9b95b42385222c19daeae69ef0a2a506','n',85,243,236,226,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-05-09 01:28:31','2008-05-09 01:29:55',62,0),(34,'11f4cb626e600084ff091679af916a46','ba54edbbafef9b2ca2382f5431507c4b','n',62,28,75,218,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-05-27 09:41:02','2008-05-27 09:55:41',66,0),(36,'8cd4eea5e38a6454383af4f3588b4f5a','04eb82f6ed2acab8fe7e065e70442154','n',195,23,78,113,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-06-09 02:56:03','2008-06-11 02:01:30',68,0),(37,'b46b550c67a70e6db136a02ca8a901e2','dcba84bf2598a5dba2794824f0a9c1d4','n',85,138,203,59,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-06-13 01:29:39','2008-06-13 01:31:16',69,0),(40,'3f87f065fe73801e2b8df59a6334e2a3','66c987b8fbd23eefce2bf4d7dac28ad7','rn',81,84,133,86,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-10-24 11:28:15','2008-10-24 11:28:32',80,0),(41,'f86b8716b6bed43e16d1fc9af5982400','dd8e82dcb5bd9aca719df2d434092c02','n',81,84,133,86,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-10-24 11:49:26','2008-10-24 11:49:45',82,0),(42,'be47353bab0848996d721831dd767468','7acd9d66105d81c9442c2899e61923f6','n',89,155,199,227,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2008-11-03 06:57:20','2008-11-05 02:39:52',83,0),(47,'11ef37ed3c8954dc101673f00441a37f','640da90efba07cc7f1a0179c3c666d3e','n',85,138,201,35,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2009-01-10 12:16:50','2009-01-10 12:22:37',88,0),(49,'fa5b01429eadf116a57e926dd4e57862','1e9ab59c01f0c177c8345b1f5976ee3a','n',86,69,184,162,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2009-01-23 07:07:13','2009-01-24 10:00:50',90,0),(50,'297c3fa9f2c8ffc8131316d38c7e070a','f8cc6d051019684c5d0857a5a42bf0b5','n',77,54,58,101,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2009-02-06 08:51:01','2009-02-06 09:07:12',91,0),(51,'ed0074a894109642bab9a7a8fe048794','699ba198caca28a4db3029b508510cf4','n',89,180,105,96,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2009-02-08 02:24:29',NULL,92,0),(52,'204fb00e1131ca6da2b0b5ef2e435856','0eda2f8c323b2b23397dceaacf2dd763','n',77,54,29,132,0,0,NULL,NULL,NULL,NULL,NULL,NULL,'2009-03-10 03:36:31',NULL,93,0); /*!40000 ALTER TABLE `_confirm` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_dbg_pags_dados` -- DROP TABLE IF EXISTS `_dbg_pags_dados`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_dbg_pags_dados` ( `IdLing` char(2) NOT NULL, `IdPag` int(11) NOT NULL, `URL` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_dbg_pags_dados` -- LOCK TABLES `_dbg_pags_dados` WRITE; /*!40000 ALTER TABLE `_dbg_pags_dados` DISABLE KEYS */; INSERT INTO `_dbg_pags_dados` VALUES ('en',-101,'/en/prods/detalhes.php'),('pt',-1003,'/pt/projs/solicitar-novo.php'),('pt',-1002,'/pt/projs/detalhes.php'),('pt',-1001,'/pt/projs/lista.php'),('pt',-900,'/pt/pags/n-impl.php'),('pt',-401,'/pt/notcs/lista.php'),('pt',-305,'/pt/clis/altr-senha.php'),('pt',-304,'/pt/clis/anul-senha.php'),('pt',-303,'/pt/clis/autent.php'),('pt',-302,'/pt/clis/confirm-reg.php'),('pt',-301,'/pt/clis/reg.php'),('pt',-204,'/pt/newsls/confirm-remv.php'),('pt',-203,'/pt/newsls/remv.php'),('pt',-202,'/pt/newsls/confirm-reg.php'),('pt',-201,'/pt/newsls/reg.php'),('pt',-104,'/pt/prods/marcas.php'),('pt',-103,'/pt/prods/novds.php'),('pt',-102,'/pt/prods/pesq.php'),('pt',-101,'/pt/prods/detalhes.php'),('pt',-100,'/pt/prods/lista.php'),('pt',-6,'/pt/pags/sug.php'),('pt',-5,'/pt/pags/polpriv.php'),('pt',-4,'/pt/pags/servs.php'),('pt',-3,'/pt/pags/contactos.php'),('pt',-2,'/pt/pags/empr.php'),('pt',-1,'/inicio-pt.php'),('pt',1,'/pt/pags/reclam.php'),('pt',2,'/pt/pags/sug.php'); /*!40000 ALTER TABLE `_dbg_pags_dados` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_indice` -- DROP TABLE IF EXISTS `_indice`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_indice` ( `IdIndice` int(11) NOT NULL AUTO_INCREMENT, `Texto` mediumtext NOT NULL, `IdTab` char(5) NOT NULL, `IdReg` int(11) NOT NULL COMMENT 'Id do registo a quem pertence o texto.', `IdLing` char(2) NOT NULL, PRIMARY KEY (`IdIndice`), UNIQUE KEY `IdTabReg` (`IdTab`,`IdReg`,`IdLing`), FULLTEXT KEY `IdLingTexto` (`IdLing`,`Texto`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_indice` -- LOCK TABLES `_indice` WRITE; /*!40000 ALTER TABLE `_indice` DISABLE KEYS */; /*!40000 ALTER TABLE `_indice` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_numerador` -- DROP TABLE IF EXISTS `_numerador`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_numerador` ( `NumUltEnc` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_numerador` -- LOCK TABLES `_numerador` WRITE; /*!40000 ALTER TABLE `_numerador` DISABLE KEYS */; INSERT INTO `_numerador` VALUES (1108),(1108); /*!40000 ALTER TABLE `_numerador` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_numuniq` -- DROP TABLE IF EXISTS `_numuniq`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_numuniq` ( `NumUniq` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`NumUniq`) ) ENGINE=MyISAM AUTO_INCREMENT=9153 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_numuniq` -- LOCK TABLES `_numuniq` WRITE; /*!40000 ALTER TABLE `_numuniq` DISABLE KEYS */; INSERT INTO `_numuniq` VALUES (9152); /*!40000 ALTER TABLE `_numuniq` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_procs` -- DROP TABLE IF EXISTS `_procs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_procs` ( `IdProc` int(11) NOT NULL AUTO_INCREMENT, `Tipo` int(11) NOT NULL COMMENT 'Tipo de pesquisa.', `TextoProc` char(100) CHARACTER SET latin1 NOT NULL, `IdLing` char(2) CHARACTER SET latin1 DEFAULT NULL, `Data` datetime DEFAULT NULL, PRIMARY KEY (`IdProc`), UNIQUE KEY `proc` (`Tipo`,`TextoProc`,`IdLing`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_procs` -- LOCK TABLES `_procs` WRITE; /*!40000 ALTER TABLE `_procs` DISABLE KEYS */; /*!40000 ALTER TABLE `_procs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_procs_lins` -- DROP TABLE IF EXISTS `_procs_lins`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_procs_lins` ( `IdProcLin` int(11) NOT NULL AUTO_INCREMENT, `IdProc` int(255) DEFAULT NULL, `IdReg` int(11) DEFAULT NULL, PRIMARY KEY (`IdProcLin`), KEY `IdProc` (`IdProc`), CONSTRAINT `_procs_lins_IdProc` FOREIGN KEY (`IdProc`) REFERENCES `_procs` (`IdProc`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=3008 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_procs_lins` -- LOCK TABLES `_procs_lins` WRITE; /*!40000 ALTER TABLE `_procs_lins` DISABLE KEYS */; /*!40000 ALTER TABLE `_procs_lins` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_procs_tipos` -- DROP TABLE IF EXISTS `_procs_tipos`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_procs_tipos` ( `Tipo` tinyint(6) NOT NULL DEFAULT '0', `IdTab` char(5) NOT NULL DEFAULT '', PRIMARY KEY (`Tipo`,`IdTab`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_procs_tipos` -- LOCK TABLES `_procs_tipos` WRITE; /*!40000 ALTER TABLE `_procs_tipos` DISABLE KEYS */; INSERT INTO `_procs_tipos` VALUES (2,'banf'),(2,'bbe'),(2,'bbi'),(2,'bbp'),(2,'dowf'),(2,'gal_c'),(2,'gal_e'),(2,'gal_i'),(2,'pags'),(2,'pp'),(3,'dee'),(3,'dei'),(4,'fora'),(4,'form'); /*!40000 ALTER TABLE `_procs_tipos` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `_tabs` -- DROP TABLE IF EXISTS `_tabs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `_tabs` ( `IdTab` char(5) NOT NULL, `Nome` varchar(40) NOT NULL, `Abrev` varchar(10) NOT NULL COMMENT 'Abreviatura do nome da tabela.', `NomeIco` varchar(25) NOT NULL, `TitParaTraduz` varchar(50) NOT NULL, `NomeTab` varchar(20) NOT NULL COMMENT 'Nome exacto da tabela', `NomeConsulta` varchar(30) NOT NULL COMMENT 'Nome da "view" que lista esta tabela de forma apresentável', `PastaCod` varchar(50) NOT NULL COMMENT 'Pasta com código que implementa funcionalidades relevantes', `Ord` smallint(6) NOT NULL, PRIMARY KEY (`IdTab`), KEY `IdTab` (`IdTab`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `_tabs` -- LOCK TABLES `_tabs` WRITE; /*!40000 ALTER TABLE `_tabs` DISABLE KEYS */; INSERT INTO `_tabs` VALUES ('ban','Banners','banns','montra/banns.png','Colocar banners específicos para cada língua','banns','vw_banns_fichs_lista','',70),('bee','Esolaridades (na Bolsa de Emprego)','bee','be/escol.png','Traduzir graus de escolaridade da Bolsa de Emprego','bolsa_emprego_escol','vw_bolsa_emprego_escol_lista',' ',303),('bei','Ofertas/Currículos','bei','be/itens.png','Traduzir ofertas de emprego ou currículos','bolsa_emprego_itens','vw_bolsa_emprego_itens_lista','',301),('bep','Profissões (na Bolsa de Emprego)','bep','be/profs.png','Traduzir o nome das profissões da Bolsa de Emprego','bolsa_emprego_profs','vw_bolsa_emprego_profs_lista','',302),('dea','Directório de Empresas - Actividades','dea','dirs/actvs.png','Traduzir as Actividas no Directório de Empresas','dir_emprs_actvs','vw_dir_emprs_actvs_lista','',301),('dee','Directório de Empresas - Empresas','dee','dir/emprs.png','','dir_emprs_emprs','vw_dir_emprs_emprs_lista','',302),('fil','Contactos','contactos','pags/contactos.png','Traduzir contactos da empresa e filiais','filiais','vw_fils_lista','',50),('fora','Utilizadores do Fórum','fora','forums/autores.png',' ','forum_autores','vw_forum_autores_lista',' ',203),('form','Mensagens do Fórum','form','forum/msgs.png','Traduzir mensagens no fórum','forum_msgs','vw_forum_so_msgs_lista','',202),('fort','Topicos do Fórum','fort','forum/topicos.png','Traduzir os nomes dos tópicos de forums','forum_topicos','vw_forum_topicos_lista','',201),('fortm','Temas do Fórum','fortm','forum/temas.png','Traduzir os temas dos fórums','forum_temas','vw_forum_temas_lista','',200),('fp','Famílias Produtos','fams','prods/fams.png','Traduzir nomes das famílias de produtos','prods_fams','vw_prods_fams_lista','',20),('mnus','Menus','menus','menus/menu.jpg','Traduzir nome do menu','menus','vw_menus_lista','',120),('mnusi','Itens dos Menus','menus_i','menus/item.jpg','Traduzir itens dos menus','menus_itens','vw_menus_itens_lista',' /admin/mods/menus/itens/cod/',130),('ntc','Notícias','notcs','montra/notcs.png','Traduzir notícias','noticias','vw_notcs_lista','',30),('nwl','Newsletters','newsls','newsls/newsl.png','Criar versões de newsletters noutras linguagens','newsls','vw_newsls_lista','',60),('pag','Páginas','pags','montra/pags.png','Traduzir o conteúdo de páginas','pags','vw_pags_lista','/admin/mods/contds/pags/cod/',40),('pagi','Páginas Internas','pagsi','pags/pagsi.png','Traduzir páginas internas (com usos específicos)','pagsi','vw_pagsi_lista','',110),('pp','Pastas de Páginas','ppags','pags/pastas.png','Traduzir o nome das pastas de páginas','pags_pastas','vw_pags_pastas_lista','',100),('pro','Produtos','prods','prods/prods.png','Traduzir os registos de produtos','prods','vw_prods_lista','',10); /*!40000 ALTER TABLE `_tabs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `admin` -- DROP TABLE IF EXISTS `admin`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `admin` ( `IdAdmin` int(11) NOT NULL AUTO_INCREMENT, `Nome` char(50) DEFAULT NULL, `NomeUtilz` char(15) DEFAULT NULL, `Senha` char(32) DEFAULT NULL, `e-mail` char(50) DEFAULT NULL, `Interno?` int(1) DEFAULT NULL, PRIMARY KEY (`IdAdmin`), KEY `e-mail` (`e-mail`), KEY `NomeUtilz` (`NomeUtilz`) ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `admin` -- LOCK TABLES `admin` WRITE; /*!40000 ALTER TABLE `admin` DISABLE KEYS */; INSERT INTO `admin` VALUES (1,'QI [Apoio]','QI','e4e0cffe9d61463361508243d29f5e86','corr1@maisqi.com',NULL),(2,'Admin','jf-rebordosa','79df64f73eab9bc0d7b448d2008d876e','admin@jf-rebordosa.pt',NULL),(3,'Luís Miguel','lmiguel','acd09acb323c36dac864240064bd6a10','Mail.lmcarvalho@gmail.com',NULL); /*!40000 ALTER TABLE `admin` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `admin_smtp` -- DROP TABLE IF EXISTS `admin_smtp`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `admin_smtp` ( `IdServSMTP` int(11) NOT NULL AUTO_INCREMENT, `Nome` char(30) DEFAULT NULL, `Porta` int(11) DEFAULT '25' COMMENT 'Porta SMTP utilizada.', `NomeUtilz` char(30) DEFAULT NULL, `Senha` char(20) DEFAULT NULL, `Remetente` char(30) DEFAULT NULL, `SSL?` bit(1) DEFAULT NULL, `TLS?` bit(1) DEFAULT NULL, `MaxDestsPorMsg` int(11) DEFAULT '10' COMMENT 'Nº máximo de destinatários por msg individual.', `Fiabilidade` tinyint(4) DEFAULT '90' COMMENT 'Nível de fiabilidade do servidor 1-99.', `SegsEntreMsgs` int(11) DEFAULT '1' COMMENT 'Esperar pelo menos estes segundos até mandar outra msg.', `Activo?` bit(1) DEFAULT b'1', PRIMARY KEY (`IdServSMTP`), KEY `Fiabilidade` (`Fiabilidade`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `admin_smtp` -- LOCK TABLES `admin_smtp` WRITE; /*!40000 ALTER TABLE `admin_smtp` DISABLE KEYS */; INSERT INTO `admin_smtp` VALUES (4,'mail.jf-rebordosa.pt',25,'site@jf-rebordosa.pt','fethem67','','\0','\0',10,90,1,''); /*!40000 ALTER TABLE `admin_smtp` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `banns` -- DROP TABLE IF EXISTS `banns`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `banns` ( `IdBann` int(11) NOT NULL DEFAULT '0', `Largura` smallint(6) NOT NULL DEFAULT '0', `Altura` smallint(6) NOT NULL DEFAULT '0', PRIMARY KEY (`IdBann`), CONSTRAINT `banns_IdBann` FOREIGN KEY (`IdBann`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `banns` -- LOCK TABLES `banns` WRITE; /*!40000 ALTER TABLE `banns` DISABLE KEYS */; INSERT INTO `banns` VALUES (166,988,108),(167,158,148),(168,158,148); /*!40000 ALTER TABLE `banns` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `banns_fichs` -- DROP TABLE IF EXISTS `banns_fichs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `banns_fichs` ( `IdBannFich` int(11) NOT NULL AUTO_INCREMENT, `IdBann` int(11) NOT NULL, `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdBannFich`), KEY `IdBann` (`IdBann`), CONSTRAINT `banns_fichs_IdBann` FOREIGN KEY (`IdBann`) REFERENCES `banns` (`IdBann`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `banns_fichs` -- LOCK TABLES `banns_fichs` WRITE; /*!40000 ALTER TABLE `banns_fichs` DISABLE KEYS */; INSERT INTO `banns_fichs` VALUES (1,166,'2007-04-30 05:05:24','2007-04-27 05:43:46'),(2,167,'2007-04-30 11:10:28','2007-04-27 05:44:52'),(3,168,'2007-04-30 11:11:58','2007-04-27 05:45:52'),(4,166,'2007-12-05 08:51:49','2007-12-05 08:51:49'),(5,166,'2007-12-05 08:51:58','2007-12-05 08:51:58'),(6,166,'2007-12-05 08:52:08','2007-12-05 08:52:08'),(7,166,'2007-12-05 08:52:21','2007-12-05 08:52:21'),(8,166,'2007-12-05 08:52:31','2007-12-05 08:52:31'),(9,166,'2007-12-05 08:52:38','2007-12-05 08:52:38'),(10,166,'2007-12-05 08:52:45','2007-12-05 08:52:45'),(11,166,'2007-12-05 08:52:53','2007-12-05 08:52:53'),(12,166,'2007-12-05 08:53:01','2007-12-05 08:53:01'),(13,166,'2007-12-05 08:53:11','2007-12-05 08:53:11'),(14,166,'2007-12-05 08:53:21','2007-12-05 08:53:21'),(15,166,'2007-12-05 08:53:34','2007-12-05 08:53:34'),(16,166,'2007-12-05 08:53:45','2007-12-05 08:53:45'),(17,166,'2007-12-05 08:53:54','2007-12-05 08:53:54'),(18,166,'2007-12-05 08:54:01','2007-12-05 08:54:01'),(19,166,'2007-12-05 08:54:09','2007-12-05 08:54:09'),(20,166,'2007-12-05 08:54:15','2007-12-05 08:54:15'),(21,166,'2007-12-05 08:54:22','2007-12-05 08:54:22'),(22,166,'2007-12-05 08:54:30','2007-12-05 08:54:30'),(23,166,'2007-12-05 08:54:38','2007-12-05 08:54:38'),(24,166,'2007-12-05 08:54:44','2007-12-05 08:54:44'); /*!40000 ALTER TABLE `banns_fichs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER banns_fichs_on_adel AFTER DELETE ON banns_fichs FOR EACH ROW CALL pesq_index_rem("banf", OLD.`IdBannFich`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `banns_fichs_descrs` -- DROP TABLE IF EXISTS `banns_fichs_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `banns_fichs_descrs` ( `IdLing` char(2) NOT NULL DEFAULT '0', `IdBannFich` int(11) NOT NULL DEFAULT '0', `NomeFich` varchar(15) NOT NULL, `URL` varchar(120) NOT NULL, PRIMARY KEY (`IdLing`,`IdBannFich`), KEY `IdLing` (`IdLing`), KEY `IdBannFich` (`IdBannFich`), CONSTRAINT `banns_fichs_descrs_IdBannFich` FOREIGN KEY (`IdBannFich`) REFERENCES `banns_fichs` (`IdBannFich`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `banns_fichs_descrsIdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `banns_fichs_descrs` -- LOCK TABLES `banns_fichs_descrs` WRITE; /*!40000 ALTER TABLE `banns_fichs_descrs` DISABLE KEYS */; INSERT INTO `banns_fichs_descrs` VALUES ('pt',1,'8345.png',''),('pt',2,'8341.png','/pt/pags/ap-pub-dos-simbolo-heral.php'),('pt',3,'8342.gif','/pt/pags/30-anos-poder-local/30-anos-de-poder-local.php'),('pt',4,'8453.jpg',''),('pt',5,'8454.jpg',''),('pt',6,'8455.jpg',''),('pt',7,'8456.jpg',''),('pt',8,'8457.jpg',''),('pt',9,'8458.jpg',''),('pt',10,'8459.jpg',''),('pt',11,'8460.jpg',''),('pt',12,'8461.jpg',''),('pt',13,'8462.jpg',''),('pt',14,'8463.jpg',''),('pt',15,'8464.jpg',''),('pt',16,'8465.jpg',''),('pt',17,'8466.jpg',''),('pt',18,'8467.jpg',''),('pt',19,'8468.jpg',''),('pt',20,'8469.jpg',''),('pt',21,'8470.jpg',''),('pt',22,'8471.jpg',''),('pt',23,'8472.jpg',''),('pt',24,'8473.jpg',''); /*!40000 ALTER TABLE `banns_fichs_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `bolsa_emprego_escol` -- DROP TABLE IF EXISTS `bolsa_emprego_escol`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `bolsa_emprego_escol` ( `IdBEEscolaridade` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) NOT NULL, `DataIns` datetime NOT NULL, `Ord` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`IdBEEscolaridade`), KEY `IdPag` (`IdPag`), KEY `IdPagIdBEEscolaridade` (`IdPag`,`IdBEEscolaridade`), CONSTRAINT `bolsa_emprego_escol_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `bolsa_emprego_escol` -- LOCK TABLES `bolsa_emprego_escol` WRITE; /*!40000 ALTER TABLE `bolsa_emprego_escol` DISABLE KEYS */; /*!40000 ALTER TABLE `bolsa_emprego_escol` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER bolsa_emprego_escol_ondel AFTER DELETE ON bolsa_emprego_escol FOR EACH ROW CALL pesq_index_rem("bbe", OLD.`IdBEEscolaridade`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `bolsa_emprego_escol_descrs` -- DROP TABLE IF EXISTS `bolsa_emprego_escol_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `bolsa_emprego_escol_descrs` ( `IdLing` char(2) NOT NULL, `IdBEEscolaridade` int(11) NOT NULL, `Descr` varchar(30) NOT NULL, PRIMARY KEY (`IdLing`,`IdBEEscolaridade`), KEY `bolsa_emprego_escol_descrs_IdBEEscolaridade` (`IdBEEscolaridade`), CONSTRAINT `bolsa_emprego_escol_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON UPDATE CASCADE, CONSTRAINT `bolsa_emprego_escol_descrs_IdBEEscolaridade` FOREIGN KEY (`IdBEEscolaridade`) REFERENCES `bolsa_emprego_escol` (`IdBEEscolaridade`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `bolsa_emprego_escol_descrs` -- LOCK TABLES `bolsa_emprego_escol_descrs` WRITE; /*!40000 ALTER TABLE `bolsa_emprego_escol_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `bolsa_emprego_escol_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `bolsa_emprego_itens` -- DROP TABLE IF EXISTS `bolsa_emprego_itens`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `bolsa_emprego_itens` ( `IdBEItem` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) NOT NULL, `Tipo` char(1) NOT NULL COMMENT 'C = Currículo; O = Oferta emprego.', `Nome` varchar(40) NOT NULL, `Morada` varchar(50) NOT NULL, `CP` varchar(10) NOT NULL, `Locald` varchar(30) NOT NULL, `Sexo` char(1) DEFAULT NULL COMMENT '[M]asculine ou [F]eminino', `DataNasc` datetime DEFAULT NULL, `IdadeMax` smallint(6) NOT NULL, `NContrib` double NOT NULL, `Telef` varchar(15) NOT NULL, `Telem` varchar(15) NOT NULL, `E-mail` varchar(40) NOT NULL, `IdBEEscolaridade` int(11) DEFAULT NULL, `IdBEProf` int(11) DEFAULT NULL, `OutraProf` varchar(50) NOT NULL, `NomeFich` varchar(50) NOT NULL, `Texto` mediumtext, `IdLing` char(2) NOT NULL COMMENT 'Língua em que se fez o registo.', `DataIns` datetime NOT NULL, `DataUltAct` datetime NOT NULL, `DataFecho` datetime DEFAULT NULL, `Atributos` smallint(6) NOT NULL DEFAULT '0' COMMENT '2 = Residente em Rebordosa; 4 = Actualmente empregado', `Estado` smallint(6) NOT NULL DEFAULT '0' COMMENT '2 = Eliminado; 4 = Expirado; 8 = Cancelado; 16 = Fechado', PRIMARY KEY (`IdBEItem`), KEY `IdBEProf` (`IdBEProf`), KEY `IdBEEscolaridade` (`IdBEEscolaridade`), KEY `IdPag` (`IdPag`), KEY `IdLingIdPagTipo` (`IdLing`,`IdPag`,`Tipo`), KEY `DataUltAct` (`DataUltAct`), CONSTRAINT `bolsa_emprego_itens_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON UPDATE CASCADE, CONSTRAINT `bolsa_emprego_IdBEEscolaridade` FOREIGN KEY (`IdBEEscolaridade`) REFERENCES `bolsa_emprego_escol` (`IdBEEscolaridade`) ON UPDATE CASCADE, CONSTRAINT `bolsa_emprego_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `bolsa_emprego_itens_IdBEProf` FOREIGN KEY (`IdBEProf`) REFERENCES `bolsa_emprego_profs` (`IdBEProf`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `bolsa_emprego_itens` -- LOCK TABLES `bolsa_emprego_itens` WRITE; /*!40000 ALTER TABLE `bolsa_emprego_itens` DISABLE KEYS */; /*!40000 ALTER TABLE `bolsa_emprego_itens` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER bolsa_emprego_itens_ondel AFTER DELETE ON bolsa_emprego_itens FOR EACH ROW CALL pesq_index_rem("bbi", OLD.`IdBEItem`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `bolsa_emprego_profs` -- DROP TABLE IF EXISTS `bolsa_emprego_profs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `bolsa_emprego_profs` ( `IdBEProf` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdBEProf`), KEY `IdPag` (`IdPag`), KEY `IdBEProfIdPag` (`IdBEProf`,`IdPag`), CONSTRAINT `bolsa_emprego_profs_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `bolsa_emprego_profs` -- LOCK TABLES `bolsa_emprego_profs` WRITE; /*!40000 ALTER TABLE `bolsa_emprego_profs` DISABLE KEYS */; /*!40000 ALTER TABLE `bolsa_emprego_profs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER bolsa_emprego_profs_onadel AFTER DELETE ON bolsa_emprego_profs FOR EACH ROW CALL pesq_index_rem("bbp", OLD.`IdBEProf`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `bolsa_emprego_profs_descrs` -- DROP TABLE IF EXISTS `bolsa_emprego_profs_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `bolsa_emprego_profs_descrs` ( `IdLing` char(2) NOT NULL, `IdBEProf` int(11) NOT NULL, `Nome` varchar(50) NOT NULL, PRIMARY KEY (`IdLing`,`IdBEProf`), KEY `IdBEProf` (`IdBEProf`), CONSTRAINT `bolsa_emprego_profs_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON UPDATE CASCADE, CONSTRAINT `bolsa_emprego_profs_descrs_IdBEProf` FOREIGN KEY (`IdBEProf`) REFERENCES `bolsa_emprego_profs` (`IdBEProf`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `bolsa_emprego_profs_descrs` -- LOCK TABLES `bolsa_emprego_profs_descrs` WRITE; /*!40000 ALTER TABLE `bolsa_emprego_profs_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `bolsa_emprego_profs_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `clientes` -- DROP TABLE IF EXISTS `clientes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `clientes` ( `IdCliVers` int(11) NOT NULL AUTO_INCREMENT, `IdCli` int(11) NOT NULL DEFAULT '0', `NumEleitor` int(11) NOT NULL, `Nome` varchar(60) NOT NULL, `Empr` varchar(40) NOT NULL, `Morada` varchar(40) NOT NULL, `CP` varchar(15) NOT NULL, `Locald` varchar(30) NOT NULL, `IdPais` varchar(2) NOT NULL, `DataRecens` date DEFAULT NULL, `DataNasc` date DEFAULT NULL, `NumContrib` bigint(20) DEFAULT NULL, `Telef` varchar(15) NOT NULL, `Telem` varchar(15) NOT NULL, `Fax` varchar(15) NOT NULL, `e-mail` varchar(40) NOT NULL, `Senha` varchar(32) NOT NULL COMMENT 'Guarda senha, codificada com o MD5.', `SenhaTemp` varchar(32) NOT NULL COMMENT 'Senha temporária para colmatar a perda da principal.', `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, `DataUltEntrada` datetime DEFAULT NULL, `NumEntradas` int(11) NOT NULL DEFAULT '0' COMMENT 'Contagem de "logins".', `Elim?` bit(1) NOT NULL DEFAULT b'0', `Atributos` tinyint(3) unsigned NOT NULL DEFAULT '4' COMMENT '2 = Por aprovar; 4 = Aprovado; 8 = Rejeitado.', `Estado` tinyint(4) DEFAULT '0' COMMENT '0 = Ok; 1 = Eliminado; 2 = Não confirmado.', PRIMARY KEY (`IdCliVers`), UNIQUE KEY `NumEleitor` (`NumEleitor`), KEY `IdPais` (`IdPais`), KEY `IdCli` (`IdCli`), KEY `e-mail-estado` (`e-mail`,`Estado`), KEY `Nome` (`Nome`), CONSTRAINT `clientes_IdPais` FOREIGN KEY (`IdPais`) REFERENCES `ml_paises` (`IdPais`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `clientes` -- LOCK TABLES `clientes` WRITE; /*!40000 ALTER TABLE `clientes` DISABLE KEYS */; /*!40000 ALTER TABLE `clientes` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER clis_on_del AFTER DELETE ON clientes FOR EACH ROW DELETE FROM newsls_asss WHERE `e-mail` = OLD.`e-mail` AND IdCatAssNewsl=-3 */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `consop` -- DROP TABLE IF EXISTS `consop`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `consop` ( `IdConsOp` int(11) NOT NULL AUTO_INCREMENT, `ContagemVotos` int(11) NOT NULL DEFAULT '0' COMMENT 'Contagem de votos', `DataPrimVoto` datetime DEFAULT NULL, `DataUltVoto` datetime DEFAULT NULL, `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdConsOp`), CONSTRAINT `consop_IdConsOp` FOREIGN KEY (`IdConsOp`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `consop` -- LOCK TABLES `consop` WRITE; /*!40000 ALTER TABLE `consop` DISABLE KEYS */; /*!40000 ALTER TABLE `consop` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER consop_on_bupd BEFORE UPDATE ON consop FOR EACH ROW IF NEW.`ContagemVotos` < 1 THEN SET NEW.`DataPrimVoto` = NULL; SET NEW.`DataUltVoto` = NULL; SET NEW.`ContagemVotos` = 0; END IF */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `consop_descrs` -- DROP TABLE IF EXISTS `consop_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `consop_descrs` ( `IdLing` char(2) NOT NULL, `IdConsOp` int(11) NOT NULL, `Pergunta` varchar(50) NOT NULL, PRIMARY KEY (`IdLing`,`IdConsOp`), KEY `consop_descrs_IdConsOp` (`IdConsOp`), CONSTRAINT `consop_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON UPDATE CASCADE, CONSTRAINT `consop_descrs_IdConsOp` FOREIGN KEY (`IdConsOp`) REFERENCES `consop` (`IdConsOp`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `consop_descrs` -- LOCK TABLES `consop_descrs` WRITE; /*!40000 ALTER TABLE `consop_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `consop_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `consop_resps` -- DROP TABLE IF EXISTS `consop_resps`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `consop_resps` ( `IdConsOpResp` int(11) NOT NULL AUTO_INCREMENT, `IdConsOp` int(11) NOT NULL, `ContagemVotos` int(11) NOT NULL DEFAULT '0', `DataPrimVoto` datetime DEFAULT NULL, `DataUltVoto` datetime DEFAULT NULL, `Ord` int(11) NOT NULL DEFAULT '0', `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdConsOpResp`), KEY `consop_resps_IdConsOp` (`IdConsOp`), CONSTRAINT `consop_resps_IdConsOp` FOREIGN KEY (`IdConsOp`) REFERENCES `consop` (`IdConsOp`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `consop_resps` -- LOCK TABLES `consop_resps` WRITE; /*!40000 ALTER TABLE `consop_resps` DISABLE KEYS */; /*!40000 ALTER TABLE `consop_resps` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER consop_resps_on_adel AFTER DELETE ON consop_resps FOR EACH ROW UPDATE `consop` C SET C.`ContagemVotos` = C.`ContagemVotos` - OLD.`ContagemVotos` WHERE C.`IdConsOp` = OLD.`IdConsOp` */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `consop_resps_descrs` -- DROP TABLE IF EXISTS `consop_resps_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `consop_resps_descrs` ( `IdLing` char(2) NOT NULL, `IdConsOpResp` int(11) NOT NULL, `Resposta` varchar(40) NOT NULL COMMENT 'Texto de uma resposta possível', PRIMARY KEY (`IdLing`,`IdConsOpResp`), KEY `consop_resps_descrs_IdConsOpResp` (`IdConsOpResp`), CONSTRAINT `consop_resps_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_paises` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `consop_resps_descrs_IdConsOpResp` FOREIGN KEY (`IdConsOpResp`) REFERENCES `consop_resps` (`IdConsOpResp`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `consop_resps_descrs` -- LOCK TABLES `consop_resps_descrs` WRITE; /*!40000 ALTER TABLE `consop_resps_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `consop_resps_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `consop_votos` -- DROP TABLE IF EXISTS `consop_votos`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `consop_votos` ( `IdSess` int(11) NOT NULL, `IdConsOp` int(11) NOT NULL, PRIMARY KEY (`IdSess`,`IdConsOp`), KEY `consop_votos_IdConsOp` (`IdConsOp`), CONSTRAINT `consop_votos_IdSess` FOREIGN KEY (`IdSess`) REFERENCES `estat_sesss` (`IdSess`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `consop_votos_IdConsOp` FOREIGN KEY (`IdConsOp`) REFERENCES `consop` (`IdConsOp`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `consop_votos` -- LOCK TABLES `consop_votos` WRITE; /*!40000 ALTER TABLE `consop_votos` DISABLE KEYS */; /*!40000 ALTER TABLE `consop_votos` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `dir_emprs_actvs` -- DROP TABLE IF EXISTS `dir_emprs_actvs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `dir_emprs_actvs` ( `IdDirActv` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) NOT NULL, `DataUltAct` date NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdDirActv`), KEY `IdPag` (`IdPag`), CONSTRAINT `dir_emprs_actvs_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `dir_emprs_actvs` -- LOCK TABLES `dir_emprs_actvs` WRITE; /*!40000 ALTER TABLE `dir_emprs_actvs` DISABLE KEYS */; /*!40000 ALTER TABLE `dir_emprs_actvs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER dir_emprs_actvs_on_arem AFTER DELETE ON dir_emprs_actvs FOR EACH ROW CALL pesq_index_rem("dea", OLD.`IdDirActv`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `dir_emprs_actvs_descrs` -- DROP TABLE IF EXISTS `dir_emprs_actvs_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `dir_emprs_actvs_descrs` ( `IdLing` char(2) NOT NULL, `IdDirActv` int(11) NOT NULL, `Nome` varchar(50) NOT NULL, PRIMARY KEY (`IdLing`,`IdDirActv`), KEY `dir_emprs_actvs_descrs_IdDirActv` (`IdDirActv`), CONSTRAINT `dir_emprs_actvs_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON UPDATE CASCADE, CONSTRAINT `dir_emprs_actvs_descrs_IdDirActv` FOREIGN KEY (`IdDirActv`) REFERENCES `dir_emprs_actvs` (`IdDirActv`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `dir_emprs_actvs_descrs` -- LOCK TABLES `dir_emprs_actvs_descrs` WRITE; /*!40000 ALTER TABLE `dir_emprs_actvs_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `dir_emprs_actvs_descrs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER dir_emprs_actvs_descrs_on_ains AFTER INSERT ON dir_emprs_actvs_descrs FOR EACH ROW CALL pesq_index(NEW.`IdLing`, "dea", NEW.`IdDirActv`, NEW.`Nome`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER dir_emprs_actvs_descrs_on_aupd AFTER UPDATE ON dir_emprs_actvs_descrs FOR EACH ROW CALL pesq_index(NEW.`IdLing`, "dea", NEW.`IdDirActv`, NEW.`Nome`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `dir_emprs_emprs` -- DROP TABLE IF EXISTS `dir_emprs_emprs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `dir_emprs_emprs` ( `IdDirEmpr` int(11) NOT NULL AUTO_INCREMENT, `IdLing` char(2) NOT NULL, `IdPag` int(11) NOT NULL, `Nome` varchar(40) NOT NULL, `Morada` varchar(50) NOT NULL, `CP` varchar(10) NOT NULL, `NContrib` varchar(15) NOT NULL, `Telefs` varchar(50) NOT NULL, `Telem` varchar(15) NOT NULL, `E-mail` varchar(40) NOT NULL, `IdDirActv` int(11) DEFAULT NULL, `OutraActv` varchar(40) NOT NULL, `Obs` mediumtext, `Estado` int(11) NOT NULL DEFAULT '0' COMMENT '2 = Não confirmado.', `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdDirEmpr`), KEY `IdPag` (`IdPag`), KEY `IdDirActv` (`IdDirActv`), KEY `NContribEstado` (`NContrib`,`Estado`), CONSTRAINT `dir_emprs_emprs_IdDirActv` FOREIGN KEY (`IdDirActv`) REFERENCES `dir_emprs_actvs` (`IdDirActv`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `dir_emprs_emprs` -- LOCK TABLES `dir_emprs_emprs` WRITE; /*!40000 ALTER TABLE `dir_emprs_emprs` DISABLE KEYS */; INSERT INTO `dir_emprs_emprs` VALUES (9,'pt',196,'QI','Rua Rainha D. Leonor, Nº 8 - Loja 12','4590-612','2147483646','309907838','931613339','filipe.martins@i-senso.com',NULL,'Desenvolvimento Web','

Teste i-senso. Por favor ignorem.

',2,'2008-03-05 03:27:38','2008-03-05 03:27:38'); /*!40000 ALTER TABLE `dir_emprs_emprs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER dir_emprs_actvs_on_ains AFTER INSERT ON dir_emprs_emprs FOR EACH ROW CALL pesq_index(NEW.`IdLing`, "dee", NEW.`IdDirEmpr`, CONCAT_WS(" ", NEW.`Nome`, NEW.`Morada`, NEW.`CP`, NEW.`Telefs`, NEW.`Telem`, NEW.`E-mail`, NEW.`OutraActv`, NEW.`Obs`)) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER dir_emprs_actvs_on_aupd AFTER UPDATE ON dir_emprs_emprs FOR EACH ROW CALL pesq_index(NEW.`IdLing`, "dee", NEW.`IdDirEmpr`, CONCAT_WS(" ", NEW.`Nome`, NEW.`Morada`, NEW.`CP`, NEW.`Telefs`, NEW.`Telem`, NEW.`E-mail`, NEW.`OutraActv`, NEW.`Obs`)) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `downls_fichs` -- DROP TABLE IF EXISTS `downls_fichs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `downls_fichs` ( `IdDownlFich` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) NOT NULL, `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdDownlFich`), KEY `IdPag` (`IdPag`), CONSTRAINT `downloads_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `downls_fichs` -- LOCK TABLES `downls_fichs` WRITE; /*!40000 ALTER TABLE `downls_fichs` DISABLE KEYS */; INSERT INTO `downls_fichs` VALUES (3,151,'2007-07-12 05:05:45','2007-04-14 10:00:15'),(4,151,'2007-07-12 05:05:26','2007-04-14 10:05:20'),(5,151,'2008-02-25 04:32:55','2007-04-14 10:07:26'),(6,151,'2008-02-25 04:29:12','2007-04-14 10:09:46'),(7,151,'2007-05-25 11:12:24','2007-04-14 10:12:49'),(9,151,'2008-02-25 04:31:25','2007-04-14 10:19:16'),(10,160,'2007-05-25 11:10:48','2007-04-14 10:52:07'),(11,161,'2008-02-25 04:34:30','2007-04-14 11:13:51'),(12,162,'2008-02-25 04:35:42','2007-04-14 11:26:20'),(13,162,'2008-02-25 04:35:10','2007-04-14 11:30:26'),(14,162,'2008-02-25 04:35:18','2007-04-14 11:36:16'),(15,151,'2008-02-25 04:32:34','2007-04-16 06:37:38'),(16,162,'2008-02-25 04:35:27','2007-04-16 06:51:03'); /*!40000 ALTER TABLE `downls_fichs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER downls_fichs_on_adel AFTER DELETE ON downls_fichs FOR EACH ROW CALL pesq_index_rem("dowf", OLD.`IdDownlFich`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `downls_fichs_descrs` -- DROP TABLE IF EXISTS `downls_fichs_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `downls_fichs_descrs` ( `IdLing` char(2) NOT NULL, `IdDownlFich` int(11) NOT NULL, `Nome` varchar(100) NOT NULL, `Descr` text NOT NULL, `NomeFich` varchar(50) DEFAULT NULL, PRIMARY KEY (`IdLing`,`IdDownlFich`), KEY `IdLing` (`IdLing`), KEY `IdDownlFich` (`IdDownlFich`), CONSTRAINT `downls_fichs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `downls_fichs_descrs_IdDownlFich` FOREIGN KEY (`IdDownlFich`) REFERENCES `downls_fichs` (`IdDownlFich`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `downls_fichs_descrs` -- LOCK TABLES `downls_fichs_descrs` WRITE; /*!40000 ALTER TABLE `downls_fichs_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `downls_fichs_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `encs` -- DROP TABLE IF EXISTS `encs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `encs` ( `IdEnc` int(11) NOT NULL AUTO_INCREMENT, `IdCli*` int(11) DEFAULT NULL, `IdEstado` tinyint(3) unsigned DEFAULT NULL, `NumEnc*` int(11) DEFAULT NULL, `DataDespacho` datetime DEFAULT NULL, `_Data` datetime DEFAULT NULL, `NItens` smallint(6) DEFAULT NULL, `Valor` float DEFAULT NULL, `ValorPortes` float DEFAULT NULL, `ValorTxCobr` float NOT NULL DEFAULT '0', `ValorTotal` float DEFAULT NULL, `IdMPag` int(11) NOT NULL DEFAULT '1', `IdLE` int(11) DEFAULT NULL, `NomeTransp` char(30) NOT NULL DEFAULT '', `MoradaEntr` char(40) DEFAULT NULL, `CPEntr` char(10) DEFAULT NULL, `LocaldEntr` char(30) DEFAULT NULL, `Obs` longblob, `DataIns` datetime DEFAULT NULL, `IdSess` int(11) DEFAULT NULL, PRIMARY KEY (`IdEnc`), KEY `IdEstado` (`IdEstado`), KEY `IdCli*` (`IdCli*`), KEY `DataDespacho` (`DataDespacho`), KEY `IdCli*_2` (`IdCli*`), KEY `IdEstado_2` (`IdEstado`), KEY `IdLE` (`IdLE`), KEY `IdMPag` (`IdMPag`), KEY `IdLE_2` (`IdLE`), KEY `IdMPag_2` (`IdMPag`), KEY `IdSess` (`IdSess`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `encs` -- LOCK TABLES `encs` WRITE; /*!40000 ALTER TABLE `encs` DISABLE KEYS */; /*!40000 ALTER TABLE `encs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `encs_estados` -- DROP TABLE IF EXISTS `encs_estados`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `encs_estados` ( `IdEstado` tinyint(3) unsigned NOT NULL DEFAULT '0', `Descr` char(30) DEFAULT NULL, PRIMARY KEY (`IdEstado`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `encs_estados` -- LOCK TABLES `encs_estados` WRITE; /*!40000 ALTER TABLE `encs_estados` DISABLE KEYS */; INSERT INTO `encs_estados` VALUES (0,'Pendentes'),(1,'Despachados'),(2,'Rejeitados'); /*!40000 ALTER TABLE `encs_estados` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `encs_linhas` -- DROP TABLE IF EXISTS `encs_linhas`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `encs_linhas` ( `IdLinEnc` int(11) NOT NULL AUTO_INCREMENT, `IdEnc` int(11) DEFAULT NULL, `IdProd` int(11) DEFAULT NULL, `Qt` smallint(6) DEFAULT NULL, `Pr` float DEFAULT NULL, `Valor` float DEFAULT NULL, PRIMARY KEY (`IdLinEnc`), KEY `IdEnc` (`IdEnc`), KEY `IdEnc_2` (`IdEnc`,`IdProd`), KEY `IdProd` (`IdProd`), KEY `IdEnc_3` (`IdEnc`), KEY `IdProd_2` (`IdProd`), CONSTRAINT `IdLinEnc` FOREIGN KEY (`IdEnc`) REFERENCES `encs` (`IdEnc`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `encs_linhas` -- LOCK TABLES `encs_linhas` WRITE; /*!40000 ALTER TABLE `encs_linhas` DISABLE KEYS */; /*!40000 ALTER TABLE `encs_linhas` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `entd` -- DROP TABLE IF EXISTS `entd`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `entd` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `Nome` varchar(40) NOT NULL, PRIMARY KEY (`Id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `entd` -- LOCK TABLES `entd` WRITE; /*!40000 ALTER TABLE `entd` DISABLE KEYS */; INSERT INTO `entd` VALUES (1,'Junta de Freguesia de Rebordosa'); /*!40000 ALTER TABLE `entd` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `entd_filiais` -- DROP TABLE IF EXISTS `entd_filiais`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `entd_filiais` ( `IdFil` int(11) NOT NULL AUTO_INCREMENT, `NomeImg` char(15) DEFAULT NULL, `NomeMapa` char(15) NOT NULL, `DataUltAct` date DEFAULT NULL, `Sede?` tinyint(1) DEFAULT '0', PRIMARY KEY (`IdFil`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `entd_filiais` -- LOCK TABLES `entd_filiais` WRITE; /*!40000 ALTER TABLE `entd_filiais` DISABLE KEYS */; INSERT INTO `entd_filiais` VALUES (5,'','','2008-01-10',1); /*!40000 ALTER TABLE `entd_filiais` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `entd_filiais_descrs` -- DROP TABLE IF EXISTS `entd_filiais_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `entd_filiais_descrs` ( `IdLing` char(2) NOT NULL, `IdFil` int(11) NOT NULL DEFAULT '0', `Nome` varchar(50) DEFAULT NULL, `Dados` mediumtext, `Indic` mediumtext, PRIMARY KEY (`IdLing`,`IdFil`), KEY `IdFilial` (`IdFil`), KEY `IdLing` (`IdLing`), KEY `IdFil` (`IdFil`), CONSTRAINT `IdFil` FOREIGN KEY (`IdFil`) REFERENCES `entd_filiais` (`IdFil`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `entd_filiais_descrs_ibfk_1` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `entd_filiais_descrs` -- LOCK TABLES `entd_filiais_descrs` WRITE; /*!40000 ALTER TABLE `entd_filiais_descrs` DISABLE KEYS */; INSERT INTO `entd_filiais_descrs` VALUES ('pt',5,'Junta de Freguesia','

Morada:  
    Avenida Bombeiros Voluntários, 158 - r/c dir.
\r\n    Apartado 171
\r\n    4585-359 Rebordosa

Telefones:
    224 111 271
\r\n    916 615 716

Telefax:
    224 111 271

E-mail:
    geral@jf-rebordosa.pt

',NULL); /*!40000 ALTER TABLE `entd_filiais_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `estat_pags` -- DROP TABLE IF EXISTS `estat_pags`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `estat_pags` ( `IdLing` char(2) NOT NULL, `IdSess` int(11) NOT NULL DEFAULT '0', `IdPag` int(11) NOT NULL DEFAULT '0', `NumCliques` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`IdLing`,`IdSess`,`IdPag`), KEY `IdPag` (`IdPag`), KEY `IdSess` (`IdSess`), KEY `estat_pags_IdLing` (`IdLing`), CONSTRAINT `estat_pags_IdSess` FOREIGN KEY (`IdSess`) REFERENCES `estat_sesss` (`IdSess`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `estat_pags_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `estat_pags_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `estat_pags` -- LOCK TABLES `estat_pags` WRITE; /*!40000 ALTER TABLE `estat_pags` DISABLE KEYS */; /*!40000 ALTER TABLE `estat_pags` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `estat_prods` -- DROP TABLE IF EXISTS `estat_prods`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `estat_prods` ( `IdLing` char(2) NOT NULL, `IdSess` int(11) NOT NULL DEFAULT '0', `IdProd` int(11) NOT NULL DEFAULT '0', `NumCliques` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `estat_prods` -- LOCK TABLES `estat_prods` WRITE; /*!40000 ALTER TABLE `estat_prods` DISABLE KEYS */; /*!40000 ALTER TABLE `estat_prods` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `estat_prods_fams` -- DROP TABLE IF EXISTS `estat_prods_fams`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `estat_prods_fams` ( `IdLing` char(2) NOT NULL, `IdSess` int(11) NOT NULL, `IdFamProd` int(11) NOT NULL, `NumCliques` int(11) DEFAULT NULL, PRIMARY KEY (`IdLing`,`IdSess`,`IdFamProd`), KEY `IdFamProd` (`IdFamProd`), KEY `IdLing` (`IdLing`), KEY `IdSess` (`IdSess`), CONSTRAINT `estat_prods_fams_IdSess` FOREIGN KEY (`IdSess`) REFERENCES `estat_sesss` (`IdSess`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `estat_prods_fams_IdFamProd` FOREIGN KEY (`IdFamProd`) REFERENCES `prods_fams` (`IdFamProd`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `estat_prods_fams_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `estat_prods_fams` -- LOCK TABLES `estat_prods_fams` WRITE; /*!40000 ALTER TABLE `estat_prods_fams` DISABLE KEYS */; /*!40000 ALTER TABLE `estat_prods_fams` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `estat_sesss` -- DROP TABLE IF EXISTS `estat_sesss`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `estat_sesss` ( `IdSess` int(11) NOT NULL AUTO_INCREMENT, `IP1` int(3) unsigned NOT NULL, `IP2` int(3) unsigned NOT NULL, `IP3` int(3) unsigned NOT NULL, `IP4` int(3) unsigned NOT NULL, `IP5` int(3) unsigned NOT NULL, `IP6` int(3) unsigned NOT NULL, `Id` varchar(100) NOT NULL, `DataInicio` datetime NOT NULL, `DataUltAct` datetime DEFAULT NULL, `NumCliques` int(11) NOT NULL DEFAULT '0', `fech?` bit(1) NOT NULL DEFAULT b'0', PRIMARY KEY (`IdSess`), KEY ` DataInicio` (`DataInicio`), KEY `ndx_1` (`DataUltAct`,`IP1`,`IP2`,`IP3`,`IP4`,`fech?`), KEY `DataUltAct` (`DataUltAct`), KEY `DataInicio` (`DataInicio`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `estat_sesss` -- LOCK TABLES `estat_sesss` WRITE; /*!40000 ALTER TABLE `estat_sesss` DISABLE KEYS */; /*!40000 ALTER TABLE `estat_sesss` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `forum_autores` -- DROP TABLE IF EXISTS `forum_autores`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `forum_autores` ( `IdAutorMsgForum` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) NOT NULL, `IdCli` int(11) DEFAULT NULL, `Alcunha` varchar(20) NOT NULL, `NumMsgs` int(11) NOT NULL DEFAULT '0', `NumTopicos` int(11) NOT NULL DEFAULT '0' COMMENT 'Nº de tópicos criados', `Atributos` smallint(6) DEFAULT '0' COMMENT '2 = Banido;', `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdAutorMsgForum`), UNIQUE KEY `IdCli` (`IdCli`), UNIQUE KEY `IdPagCli` (`IdPag`,`IdCli`), KEY `IdPag` (`IdPag`), KEY `Alcunha` (`Alcunha`), CONSTRAINT `forum_msgs_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON UPDATE CASCADE, CONSTRAINT `forum_msgs_IdCli` FOREIGN KEY (`IdCli`) REFERENCES `clientes` (`IdCli`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `forum_autores` -- LOCK TABLES `forum_autores` WRITE; /*!40000 ALTER TABLE `forum_autores` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_autores` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `forum_msgs` -- DROP TABLE IF EXISTS `forum_msgs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `forum_msgs` ( `IdMsgForum` int(11) NOT NULL AUTO_INCREMENT, `IdTopicoForum` int(11) NOT NULL COMMENT 'Id da mensagem à qual esta responde.', `IdAutorMsgForum` int(11) NOT NULL DEFAULT '0' COMMENT 'Id do eleitor que compôs a mensagem.', `Atributos` smallint(6) NOT NULL DEFAULT '0' COMMENT '2 = Notificar respostas; 4 = Modificado pelo Admin; 8 = Tóp', `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdMsgForum`), KEY `IdAutorMsgForum` (`IdAutorMsgForum`), KEY `IdTopicoForum` (`IdTopicoForum`), CONSTRAINT `forum_msgs_IdTopicoForum` FOREIGN KEY (`IdTopicoForum`) REFERENCES `forum_topicos` (`IdTopicoForum`) ON UPDATE CASCADE, CONSTRAINT `forum_msgs_ibfk_1` FOREIGN KEY (`IdAutorMsgForum`) REFERENCES `forum_autores` (`IdAutorMsgForum`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `forum_msgs` -- LOCK TABLES `forum_msgs` WRITE; /*!40000 ALTER TABLE `forum_msgs` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_msgs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER forum_msgs_on_ains AFTER INSERT ON forum_msgs FOR EACH ROW CALL forum_msgs_on_act(NEW.`IdAutorMsgForum`, NEW.IdTopicoForum, NEW.IdMsgForum, NEW.DataUltAct, true) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER forum_msgs_on_aupd AFTER UPDATE ON forum_msgs FOR EACH ROW CALL forum_msgs_on_act(NEW.`IdAutorMsgForum`, NEW.IdTopicoForum, NEW.IdMsgForum, NEW.DataUltAct, false) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER forum_msgs_on_adel AFTER DELETE ON forum_msgs FOR EACH ROW CALL forum_msgs_on_rem(OLD.IdAutorMsgForum, OLD.IdTopicoForum, OLD.IdMsgForum, OLD.DataUltAct) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `forum_msgs_descrs` -- DROP TABLE IF EXISTS `forum_msgs_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `forum_msgs_descrs` ( `IdLing` char(2) NOT NULL, `IdMsgForum` int(11) NOT NULL, `Tit` varchar(40) NOT NULL, `Texto` mediumtext NOT NULL, PRIMARY KEY (`IdLing`,`IdMsgForum`), KEY `IdMsgForum` (`IdMsgForum`), CONSTRAINT `forum_msgs_descrs_IdMsgForum` FOREIGN KEY (`IdMsgForum`) REFERENCES `forum_msgs` (`IdMsgForum`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `forum_msgs_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `forum_msgs_descrs` -- LOCK TABLES `forum_msgs_descrs` WRITE; /*!40000 ALTER TABLE `forum_msgs_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_msgs_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `forum_palavras_improprias` -- DROP TABLE IF EXISTS `forum_palavras_improprias`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `forum_palavras_improprias` ( `IdLing` char(2) NOT NULL, `IdForum` int(11) NOT NULL, `Texto` mediumtext NOT NULL, `CondSQL` mediumtext CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, PRIMARY KEY (`IdLing`,`IdForum`), KEY `forum_palavras_improprias_IdForum` (`IdForum`), CONSTRAINT `forum_palavras_improprias_IdForum` FOREIGN KEY (`IdForum`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `forum_palavras_improprias_ibfk_1` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `forum_palavras_improprias` -- LOCK TABLES `forum_palavras_improprias` WRITE; /*!40000 ALTER TABLE `forum_palavras_improprias` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_palavras_improprias` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER forum_palavras_improprias_on_bins BEFORE INSERT ON forum_palavras_improprias FOR EACH ROW SET NEW.`CondSQL` = forum_codif_palavras_impr(New.`Texto`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER forum_palavras_improprias_on_bact BEFORE UPDATE ON forum_palavras_improprias FOR EACH ROW SET NEW.`CondSQL` = forum_codif_palavras_impr(New.`Texto`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `forum_temas` -- DROP TABLE IF EXISTS `forum_temas`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `forum_temas` ( `IdTemaForum` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) NOT NULL, `ContagemMsgs` int(11) NOT NULL DEFAULT '0' COMMENT 'Contagem de mensagens publicadas', `DataUltMsg` datetime DEFAULT NULL, `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdTemaForum`), KEY `IdPagTema` (`IdPag`,`IdTemaForum`), KEY `IdPag` (`IdPag`), CONSTRAINT `forum_temas_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `forum_temas` -- LOCK TABLES `forum_temas` WRITE; /*!40000 ALTER TABLE `forum_temas` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_temas` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `forum_temas_descrs` -- DROP TABLE IF EXISTS `forum_temas_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `forum_temas_descrs` ( `IdLing` char(2) NOT NULL, `IdTemaForum` int(11) NOT NULL, `Nome` varchar(40) NOT NULL, `Descr` varchar(255) NOT NULL, PRIMARY KEY (`IdLing`,`IdTemaForum`), KEY `forum_temas_descrs_IdTemaForum` (`IdTemaForum`), CONSTRAINT `forum_temas_descrs_IdTemaForum` FOREIGN KEY (`IdTemaForum`) REFERENCES `forum_temas` (`IdTemaForum`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `forum_temas_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `forum_temas_descrs` -- LOCK TABLES `forum_temas_descrs` WRITE; /*!40000 ALTER TABLE `forum_temas_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_temas_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `forum_topicos` -- DROP TABLE IF EXISTS `forum_topicos`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `forum_topicos` ( `IdTopicoForum` int(11) NOT NULL AUTO_INCREMENT, `IdTemaForum` int(11) NOT NULL, `IdPrimMsg` int(11) DEFAULT NULL COMMENT 'Id da mensagem que origina a discussão.', `ContagemViss` int(11) NOT NULL DEFAULT '0' COMMENT 'Contagem de visualizações', `ContagemMsgs` int(11) NOT NULL DEFAULT '0' COMMENT 'Contagem de respostas', `DataUltMsg` datetime DEFAULT NULL, `DataFecho` datetime DEFAULT NULL, PRIMARY KEY (`IdTopicoForum`), KEY `IdTemaForum` (`IdTemaForum`), KEY `IdPrimMsg` (`IdPrimMsg`), CONSTRAINT `forum_topicos_IdTemaForum` FOREIGN KEY (`IdTemaForum`) REFERENCES `forum_temas` (`IdTemaForum`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `forum_topicos` -- LOCK TABLES `forum_topicos` WRITE; /*!40000 ALTER TABLE `forum_topicos` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_topicos` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER forum_topicos_on_ains AFTER INSERT ON forum_topicos FOR EACH ROW CALL forum_topicos_on_act(NULL, NEW.`IdPrimMsg`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER forum_topicos_on_aupd AFTER UPDATE ON forum_topicos FOR EACH ROW CALL forum_topicos_on_act(OLD.`IdPrimMsg`, NEW.`IdPrimMsg`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER forum_topicos_on_arem AFTER DELETE ON forum_topicos FOR EACH ROW CALL forum_topicos_on_rem(OLD.`IdPrimMsg`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `forum_topicos_vis` -- DROP TABLE IF EXISTS `forum_topicos_vis`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `forum_topicos_vis` ( `IdSess` int(11) NOT NULL, `IdTopicoForum` int(11) NOT NULL, PRIMARY KEY (`IdSess`,`IdTopicoForum`), KEY `forum_topicos_vis_IdTopicoForum` (`IdTopicoForum`), CONSTRAINT `forum_topicos_vis_IdTopicoForum` FOREIGN KEY (`IdTopicoForum`) REFERENCES `forum_topicos` (`IdTopicoForum`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `forum_topicos_vis_IdSess` FOREIGN KEY (`IdSess`) REFERENCES `estat_sesss` (`IdSess`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Contas as visualizações a cada discussão.'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `forum_topicos_vis` -- LOCK TABLES `forum_topicos_vis` WRITE; /*!40000 ALTER TABLE `forum_topicos_vis` DISABLE KEYS */; /*!40000 ALTER TABLE `forum_topicos_vis` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `gal_cats` -- DROP TABLE IF EXISTS `gal_cats`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gal_cats` ( `IdGalCat` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) DEFAULT NULL, `DataIns` datetime NOT NULL, `DataUltAct` datetime NOT NULL, `Ord` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`IdGalCat`), KEY `IdGal` (`IdPag`), CONSTRAINT `gal_cats_IdGal` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `gal_cats` -- LOCK TABLES `gal_cats` WRITE; /*!40000 ALTER TABLE `gal_cats` DISABLE KEYS */; INSERT INTO `gal_cats` VALUES (3,173,'2007-04-27 07:09:37','2008-01-08 12:24:27',3),(6,173,'2008-12-17 05:57:09','2008-12-17 05:57:09',6),(7,173,'2008-12-17 06:37:16','2008-12-17 06:37:16',7),(8,173,'2008-12-29 04:07:47','2008-12-29 04:07:47',8); /*!40000 ALTER TABLE `gal_cats` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER gal_cats_on_adel AFTER DELETE ON gal_cats FOR EACH ROW CALL pesq_index_rem("gal_c", OLD.`IdGalCat`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `gal_cats_descrs` -- DROP TABLE IF EXISTS `gal_cats_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gal_cats_descrs` ( `IdLing` char(2) NOT NULL, `IdGalCat` int(11) NOT NULL, `Tit` varchar(50) NOT NULL, PRIMARY KEY (`IdLing`,`IdGalCat`), KEY `IdGalCat` (`IdGalCat`), KEY `IdLing` (`IdLing`), CONSTRAINT `gal_cats_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `gal_cats_descrs_IdGalCat` FOREIGN KEY (`IdGalCat`) REFERENCES `gal_cats` (`IdGalCat`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `gal_cats_descrs` -- LOCK TABLES `gal_cats_descrs` WRITE; /*!40000 ALTER TABLE `gal_cats_descrs` DISABLE KEYS */; INSERT INTO `gal_cats_descrs` VALUES ('pt',3,'Actividade Escolar'),('pt',6,'Encontro Entre Nós'),('pt',7,'Actividades de Lazer'),('pt',8,'Centro Novas Oportunidades'); /*!40000 ALTER TABLE `gal_cats_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `gal_entradas` -- DROP TABLE IF EXISTS `gal_entradas`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gal_entradas` ( `IdGalEntrada` int(11) NOT NULL AUTO_INCREMENT, `IdGalCat` int(11) NOT NULL, `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, `Ord` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`IdGalEntrada`), KEY `IdGal` (`IdGalCat`), CONSTRAINT `gal_entradas_ibfk_1` FOREIGN KEY (`IdGalCat`) REFERENCES `gal_cats` (`IdGalCat`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `gal_entradas_GalCat` FOREIGN KEY (`IdGalCat`) REFERENCES `gal_cats` (`IdGalCat`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `gal_entradas` -- LOCK TABLES `gal_entradas` WRITE; /*!40000 ALTER TABLE `gal_entradas` DISABLE KEYS */; INSERT INTO `gal_entradas` VALUES (5,3,'2007-05-07 10:01:32','2007-04-27 07:10:58',5),(6,3,'2008-12-29 05:18:17','2007-05-07 10:24:28',6),(9,6,'2008-12-17 05:57:27','2008-12-17 05:57:27',9),(10,6,'2008-12-17 06:03:17','2008-12-17 06:03:17',10),(11,7,'2008-12-17 06:37:52','2008-12-17 06:37:52',11),(12,7,'2008-12-19 06:03:10','2008-12-17 06:41:09',12),(13,7,'2008-12-17 07:07:56','2008-12-17 07:07:56',13),(14,3,'2008-12-19 04:28:31','2008-12-19 04:28:31',14),(15,3,'2008-12-19 04:42:37','2008-12-19 04:42:37',15),(16,3,'2008-12-19 05:17:51','2008-12-19 05:08:09',16),(17,3,'2008-12-19 05:16:52','2008-12-19 05:16:52',17),(18,3,'2008-12-19 05:41:53','2008-12-19 05:41:05',18),(19,3,'2008-12-19 05:51:27','2008-12-19 05:51:27',19),(20,3,'2008-12-29 03:51:41','2008-12-29 03:51:41',20),(21,7,'2008-12-29 03:57:42','2008-12-29 03:57:42',21),(22,7,'2008-12-29 04:01:57','2008-12-29 04:01:57',22),(23,8,'2008-12-29 04:08:34','2008-12-29 04:08:34',23),(24,3,'2008-12-29 05:06:38','2008-12-29 05:06:38',24),(25,3,'2008-12-29 05:19:25','2008-12-29 05:19:25',25),(26,3,'2008-12-29 05:21:19','2008-12-29 05:21:19',26),(27,3,'2008-12-29 05:26:53','2008-12-29 05:24:18',27),(28,3,'2008-12-29 05:27:20','2008-12-29 05:27:20',28); /*!40000 ALTER TABLE `gal_entradas` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER gal_entradas_on_adel AFTER DELETE ON gal_entradas FOR EACH ROW CALL pesq_index_rem("gal_e", OLD.`IdGalEntrada`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `gal_entradas_descrs` -- DROP TABLE IF EXISTS `gal_entradas_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gal_entradas_descrs` ( `IdLing` char(2) NOT NULL, `IdGalEntrada` int(11) NOT NULL, `Tit` varchar(50) NOT NULL, PRIMARY KEY (`IdLing`,`IdGalEntrada`), KEY `IdGalEntrada` (`IdGalEntrada`), KEY `IdLing` (`IdLing`), CONSTRAINT `gal_entradas_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `gal_entradas_descrs_IdGalEntrada` FOREIGN KEY (`IdGalEntrada`) REFERENCES `gal_entradas` (`IdGalEntrada`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `gal_entradas_descrs` -- LOCK TABLES `gal_entradas_descrs` WRITE; /*!40000 ALTER TABLE `gal_entradas_descrs` DISABLE KEYS */; INSERT INTO `gal_entradas_descrs` VALUES ('pt',5,'Carnaval 2007'),('pt',6,'Postais de Natal 2006'),('pt',9,'Festa de Natal 2007'),('pt',10,'Passeio de Verão 2007'),('pt',11,'Torneio da Malha 2008'),('pt',12,'1º GP de Atletismo'),('pt',13,'1º Passeio Cicloturismo'),('pt',14,'Carnaval 2008'),('pt',15,'Dia Mundial da Criança 2007'),('pt',16,'Concurso de Espantalhos 2006'),('pt',17,'Festa de Natal 2006'),('pt',18,'Final Ano Lectivo 2008'),('pt',19,'Dia Mundial da Criança 2008'),('pt',20,'Postais S.Martinho 2007'),('pt',21,'Festas da Cidade 2007'),('pt',22,'Serragem da Velha 2007'),('pt',23,'Abertura do Centro'),('pt',24,'Visita de Estudo 28-02-2007'),('pt',25,'Quadras S.Martinho 2006'),('pt',26,'Quadras S.Martinho 2008'),('pt',27,'Contentor da Escola da Lage'),('pt',28,'Festa de Natal 2007'); /*!40000 ALTER TABLE `gal_entradas_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `gal_imgs` -- DROP TABLE IF EXISTS `gal_imgs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gal_imgs` ( `IdGalImg` int(11) NOT NULL AUTO_INCREMENT, `IdGalEntrada` int(11) NOT NULL, `NomeImg` varchar(15) NOT NULL, `Ord` int(11) NOT NULL DEFAULT '0', `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, PRIMARY KEY (`IdGalImg`), KEY `IdGalEntrada` (`IdGalEntrada`), KEY `Ord` (`Ord`), CONSTRAINT `gal_imgs_IdGalEntrada` FOREIGN KEY (`IdGalEntrada`) REFERENCES `gal_entradas` (`IdGalEntrada`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=625 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `gal_imgs` -- LOCK TABLES `gal_imgs` WRITE; /*!40000 ALTER TABLE `gal_imgs` DISABLE KEYS */; INSERT INTO `gal_imgs` VALUES (1,5,'8351.jpg',1,'2007-05-07 09:46:36','2007-05-07 09:46:36'),(2,5,'8352.jpg',2,'2007-05-07 09:47:00','2007-05-07 09:47:00'),(3,5,'8353.jpg',3,'2007-05-07 09:47:19','2007-05-07 09:47:19'),(4,5,'8354.jpg',4,'2007-05-07 09:47:37','2007-05-07 09:47:37'),(5,5,'8355.jpg',5,'2007-05-07 09:47:56','2007-05-07 09:47:56'),(6,5,'8356.jpg',6,'2007-05-07 09:48:44','2007-05-07 09:48:44'),(7,5,'8357.jpg',7,'2007-05-07 09:49:15','2007-05-07 09:49:15'),(8,5,'8358.jpg',8,'2007-05-07 09:49:51','2007-05-07 09:49:51'),(9,5,'8359.jpg',9,'2007-05-07 09:50:09','2007-05-07 09:50:09'),(10,5,'8360.jpg',10,'2007-05-07 09:50:30','2007-05-07 09:50:30'),(11,5,'8361.jpg',11,'2007-05-07 09:50:51','2007-05-07 09:50:51'),(12,5,'8362.jpg',12,'2007-05-07 09:51:12','2007-05-07 09:51:12'),(13,5,'8363.jpg',13,'2007-05-07 09:51:32','2007-05-07 09:51:32'),(14,5,'8364.jpg',14,'2007-05-07 09:51:51','2007-05-07 09:51:51'),(15,5,'8365.jpg',15,'2007-05-07 09:52:20','2007-05-07 09:52:20'),(16,5,'8366.jpg',16,'2007-05-07 09:52:41','2007-05-07 09:52:41'),(17,5,'8367.jpg',17,'2007-05-07 09:53:07','2007-05-07 09:53:07'),(18,5,'8368.jpg',18,'2007-05-07 09:53:30','2007-05-07 09:53:30'),(19,5,'8369.jpg',19,'2007-05-07 09:53:48','2007-05-07 09:53:48'),(20,5,'8370.jpg',20,'2007-05-07 09:54:17','2007-05-07 09:54:17'),(21,5,'8371.jpg',21,'2007-05-07 09:54:36','2007-05-07 09:54:36'),(22,5,'8372.jpg',22,'2007-05-07 09:54:53','2007-05-07 09:54:53'),(23,5,'8373.jpg',23,'2007-05-07 09:55:11','2007-05-07 09:55:11'),(24,5,'8374.jpg',24,'2007-05-07 09:55:38','2007-05-07 09:55:38'),(25,5,'8375.jpg',25,'2007-05-07 09:55:57','2007-05-07 09:55:57'),(26,5,'8376.jpg',26,'2007-05-07 09:56:16','2007-05-07 09:56:16'),(27,5,'8377.jpg',27,'2007-05-07 09:56:42','2007-05-07 09:56:42'),(28,5,'8378.jpg',28,'2007-05-07 09:57:06','2007-05-07 09:57:06'),(29,5,'8379.jpg',29,'2007-05-07 09:57:26','2007-05-07 09:57:26'),(30,5,'8380.jpg',30,'2007-05-07 09:57:45','2007-05-07 09:57:45'),(31,5,'8381.jpg',31,'2007-05-07 09:58:07','2007-05-07 09:58:07'),(32,5,'8382.jpg',32,'2007-05-07 09:58:31','2007-05-07 09:58:31'),(33,5,'8383.jpg',33,'2007-05-07 09:58:54','2007-05-07 09:58:54'),(34,5,'8384.jpg',34,'2007-05-07 09:59:17','2007-05-07 09:59:17'),(35,5,'8385.jpg',35,'2007-05-07 09:59:46','2007-05-07 09:59:46'),(36,5,'8386.jpg',36,'2007-05-07 10:00:10','2007-05-07 10:00:10'),(37,5,'8387.jpg',37,'2007-05-07 10:00:35','2007-05-07 10:00:35'),(38,5,'8388.jpg',38,'2007-05-07 10:00:58','2007-05-07 10:00:58'),(39,5,'8389.jpg',39,'2007-05-07 10:01:16','2007-05-07 10:01:16'),(40,5,'8390.jpg',40,'2007-05-07 10:01:32','2007-05-07 10:01:32'),(41,6,'8391.jpg',41,'2007-05-07 10:25:14','2007-05-07 10:25:14'),(42,6,'8392.jpg',42,'2007-05-07 10:25:32','2007-05-07 10:25:32'),(43,6,'8393.jpg',43,'2007-05-07 10:25:52','2007-05-07 10:25:52'),(44,6,'8394.jpg',44,'2007-05-07 10:26:13','2007-05-07 10:26:13'),(45,6,'8395.jpg',45,'2007-05-07 10:26:34','2007-05-07 10:26:34'),(46,6,'8396.jpg',46,'2007-05-07 10:26:50','2007-05-07 10:26:50'),(47,6,'8397.jpg',47,'2007-05-07 10:27:17','2007-05-07 10:27:17'),(48,6,'8398.jpg',48,'2007-05-07 10:27:33','2007-05-07 10:27:33'),(51,9,'8572.jpg',51,'2008-12-17 05:59:18','2008-12-17 05:59:18'),(52,9,'8573.jpg',52,'2008-12-17 05:59:46','2008-12-17 05:59:46'),(53,9,'8574.jpg',53,'2008-12-17 06:00:09','2008-12-17 06:00:09'),(54,9,'8575.jpg',54,'2008-12-17 06:00:26','2008-12-17 06:00:26'),(55,9,'8576.jpg',55,'2008-12-17 06:00:40','2008-12-17 06:00:40'),(56,9,'8577.jpg',56,'2008-12-17 06:00:59','2008-12-17 06:00:59'),(57,9,'8578.jpg',57,'2008-12-17 06:01:14','2008-12-17 06:01:14'),(58,9,'8579.jpg',58,'2008-12-17 06:02:19','2008-12-17 06:02:19'),(59,9,'8580.jpg',59,'2008-12-17 06:02:34','2008-12-17 06:02:34'),(60,10,'8581.jpg',60,'2008-12-17 06:12:38','2008-12-17 06:12:38'),(61,10,'8582.jpg',61,'2008-12-17 06:13:02','2008-12-17 06:13:02'),(62,10,'8583.jpg',62,'2008-12-17 06:13:18','2008-12-17 06:13:18'),(63,10,'8584.jpg',63,'2008-12-17 06:13:33','2008-12-17 06:13:33'),(64,10,'8585.jpg',64,'2008-12-17 06:13:47','2008-12-17 06:13:47'),(65,10,'8586.jpg',65,'2008-12-17 06:14:05','2008-12-17 06:14:05'),(66,10,'8587.jpg',66,'2008-12-17 06:14:20','2008-12-17 06:14:20'),(67,10,'8588.jpg',67,'2008-12-17 06:14:33','2008-12-17 06:14:33'),(68,10,'8589.jpg',68,'2008-12-17 06:14:50','2008-12-17 06:14:50'),(69,10,'8590.jpg',69,'2008-12-17 06:15:32','2008-12-17 06:15:32'),(70,10,'8591.jpg',70,'2008-12-17 06:15:47','2008-12-17 06:15:47'),(71,10,'8592.jpg',71,'2008-12-17 06:16:00','2008-12-17 06:16:00'),(72,10,'8593.jpg',72,'2008-12-17 06:16:13','2008-12-17 06:16:13'),(73,10,'8594.jpg',73,'2008-12-17 06:16:30','2008-12-17 06:16:30'),(74,10,'8595.jpg',74,'2008-12-17 06:16:51','2008-12-17 06:16:51'),(75,10,'8596.jpg',75,'2008-12-17 06:17:10','2008-12-17 06:17:10'),(76,10,'8597.jpg',76,'2008-12-17 06:18:17','2008-12-17 06:17:29'),(77,10,'8598.jpg',77,'2008-12-17 06:18:03','2008-12-17 06:18:03'),(78,10,'8599.jpg',78,'2008-12-17 06:18:59','2008-12-17 06:18:37'),(79,10,'8600.jpg',79,'2008-12-17 06:19:16','2008-12-17 06:19:16'),(80,10,'8601.jpg',80,'2008-12-17 06:19:34','2008-12-17 06:19:34'),(81,10,'8602.jpg',81,'2008-12-17 06:19:54','2008-12-17 06:19:54'),(82,10,'8603.jpg',82,'2008-12-17 06:20:56','2008-12-17 06:20:56'),(83,10,'8604.jpg',83,'2008-12-17 06:21:11','2008-12-17 06:21:11'),(84,10,'8605.jpg',84,'2008-12-17 06:21:22','2008-12-17 06:21:22'),(85,10,'8606.jpg',85,'2008-12-17 06:21:33','2008-12-17 06:21:33'),(86,10,'8607.jpg',86,'2008-12-17 06:21:53','2008-12-17 06:21:53'),(87,10,'8608.jpg',87,'2008-12-17 06:22:09','2008-12-17 06:22:09'),(88,10,'8609.jpg',88,'2008-12-17 06:22:37','2008-12-17 06:22:37'),(89,10,'8610.jpg',89,'2008-12-17 06:22:51','2008-12-17 06:22:51'),(90,10,'8611.jpg',90,'2008-12-17 06:23:21','2008-12-17 06:23:21'),(91,10,'8612.jpg',91,'2008-12-17 06:23:36','2008-12-17 06:23:36'),(92,10,'8613.jpg',92,'2008-12-17 06:23:51','2008-12-17 06:23:51'),(93,10,'8614.jpg',93,'2008-12-17 06:24:06','2008-12-17 06:24:06'),(95,11,'8616.jpg',95,'2008-12-17 06:38:54','2008-12-17 06:38:54'),(96,11,'8617.jpg',96,'2008-12-17 06:39:06','2008-12-17 06:39:06'),(97,11,'8618.jpg',97,'2008-12-17 06:39:18','2008-12-17 06:39:18'),(98,11,'8619.jpg',98,'2008-12-17 06:39:30','2008-12-17 06:39:30'),(99,11,'8620.jpg',99,'2008-12-17 06:39:41','2008-12-17 06:39:41'),(100,12,'8621.jpg',100,'2008-12-17 06:41:29','2008-12-17 06:41:29'),(101,12,'8622.jpg',101,'2008-12-17 06:41:41','2008-12-17 06:41:41'),(102,12,'8623.jpg',102,'2008-12-17 06:41:52','2008-12-17 06:41:52'),(103,12,'8624.jpg',103,'2008-12-17 06:42:09','2008-12-17 06:42:09'),(104,12,'8625.jpg',104,'2008-12-17 06:42:23','2008-12-17 06:42:23'),(105,12,'8626.jpg',105,'2008-12-17 06:42:35','2008-12-17 06:42:35'),(106,12,'8627.jpg',106,'2008-12-17 06:42:50','2008-12-17 06:42:50'),(107,12,'8628.jpg',107,'2008-12-17 06:43:02','2008-12-17 06:43:02'),(108,12,'8629.jpg',108,'2008-12-17 06:43:16','2008-12-17 06:43:16'),(109,12,'8630.jpg',109,'2008-12-17 06:43:30','2008-12-17 06:43:30'),(110,12,'8631.jpg',110,'2008-12-17 06:43:43','2008-12-17 06:43:43'),(111,12,'8632.jpg',111,'2008-12-17 06:43:57','2008-12-17 06:43:57'),(112,12,'8633.jpg',112,'2008-12-17 06:44:11','2008-12-17 06:44:11'),(113,12,'8634.jpg',113,'2008-12-17 06:44:27','2008-12-17 06:44:27'),(114,12,'8635.jpg',114,'2008-12-17 06:44:40','2008-12-17 06:44:40'),(115,12,'8636.jpg',115,'2008-12-17 06:44:53','2008-12-17 06:44:53'),(116,12,'8637.jpg',116,'2008-12-17 06:45:06','2008-12-17 06:45:06'),(117,12,'8638.jpg',117,'2008-12-17 06:45:20','2008-12-17 06:45:20'),(118,12,'8639.jpg',118,'2008-12-17 06:45:37','2008-12-17 06:45:37'),(119,12,'8640.jpg',119,'2008-12-17 06:45:53','2008-12-17 06:45:53'),(120,12,'8641.jpg',120,'2008-12-17 06:46:08','2008-12-17 06:46:08'),(121,12,'8642.jpg',121,'2008-12-17 06:46:24','2008-12-17 06:46:24'),(122,12,'8643.jpg',122,'2008-12-17 06:46:37','2008-12-17 06:46:37'),(123,12,'8644.jpg',123,'2008-12-17 06:46:51','2008-12-17 06:46:51'),(124,12,'8645.jpg',124,'2008-12-17 06:47:05','2008-12-17 06:47:05'),(125,12,'8646.jpg',125,'2008-12-17 06:47:19','2008-12-17 06:47:19'),(126,12,'8647.jpg',126,'2008-12-17 06:47:33','2008-12-17 06:47:33'),(127,12,'8648.jpg',127,'2008-12-17 06:47:48','2008-12-17 06:47:48'),(128,12,'8649.jpg',128,'2008-12-17 06:48:03','2008-12-17 06:48:03'),(129,12,'8650.jpg',129,'2008-12-17 06:48:21','2008-12-17 06:48:21'),(130,12,'8651.jpg',130,'2008-12-17 06:48:35','2008-12-17 06:48:35'),(131,12,'8652.jpg',131,'2008-12-17 06:48:49','2008-12-17 06:48:49'),(132,12,'8653.jpg',132,'2008-12-17 06:49:02','2008-12-17 06:49:02'),(133,12,'8654.jpg',133,'2008-12-17 06:49:16','2008-12-17 06:49:16'),(134,12,'8655.jpg',134,'2008-12-17 06:49:31','2008-12-17 06:49:31'),(135,12,'8656.jpg',135,'2008-12-17 06:49:46','2008-12-17 06:49:46'),(136,12,'8657.jpg',136,'2008-12-17 06:50:07','2008-12-17 06:50:07'),(137,12,'8658.jpg',137,'2008-12-17 06:50:24','2008-12-17 06:50:24'),(138,12,'8659.jpg',138,'2008-12-17 06:50:51','2008-12-17 06:50:51'),(139,12,'8660.jpg',139,'2008-12-17 06:51:05','2008-12-17 06:51:05'),(140,12,'8661.jpg',140,'2008-12-17 06:51:22','2008-12-17 06:51:22'),(141,12,'8662.jpg',141,'2008-12-17 06:51:38','2008-12-17 06:51:38'),(142,12,'8663.jpg',142,'2008-12-17 06:51:55','2008-12-17 06:51:55'),(143,12,'8664.jpg',143,'2008-12-17 06:52:13','2008-12-17 06:52:13'),(144,12,'8665.jpg',144,'2008-12-17 06:52:30','2008-12-17 06:52:30'),(145,12,'8666.jpg',145,'2008-12-17 06:52:44','2008-12-17 06:52:44'),(146,12,'8667.jpg',146,'2008-12-17 06:53:00','2008-12-17 06:53:00'),(147,12,'8668.jpg',147,'2008-12-17 06:53:33','2008-12-17 06:53:33'),(148,12,'8669.jpg',148,'2008-12-17 06:54:11','2008-12-17 06:54:11'),(149,12,'8670.jpg',149,'2008-12-17 06:54:44','2008-12-17 06:54:44'),(150,12,'8671.jpg',150,'2008-12-17 06:55:16','2008-12-17 06:55:16'),(151,12,'8672.jpg',151,'2008-12-17 06:55:50','2008-12-17 06:55:50'),(152,12,'8673.jpg',152,'2008-12-17 06:56:10','2008-12-17 06:56:10'),(153,12,'8674.jpg',153,'2008-12-17 06:56:26','2008-12-17 06:56:26'),(154,12,'8675.jpg',154,'2008-12-17 06:56:41','2008-12-17 06:56:41'),(155,12,'8676.jpg',155,'2008-12-17 06:56:59','2008-12-17 06:56:59'),(156,12,'8677.jpg',156,'2008-12-17 06:57:14','2008-12-17 06:57:14'),(157,12,'8678.jpg',157,'2008-12-17 06:57:24','2008-12-17 06:57:24'),(158,12,'8679.jpg',158,'2008-12-17 06:57:37','2008-12-17 06:57:37'),(159,12,'8680.jpg',159,'2008-12-17 06:57:49','2008-12-17 06:57:49'),(160,12,'8681.jpg',160,'2008-12-17 06:58:02','2008-12-17 06:58:02'),(161,12,'8682.jpg',161,'2008-12-17 06:58:14','2008-12-17 06:58:14'),(162,12,'8683.jpg',162,'2008-12-17 06:58:25','2008-12-17 06:58:25'),(163,12,'8684.jpg',163,'2008-12-17 06:58:37','2008-12-17 06:58:37'),(164,12,'8685.jpg',164,'2008-12-17 06:58:48','2008-12-17 06:58:48'),(165,12,'8686.jpg',165,'2008-12-17 06:59:32','2008-12-17 06:59:32'),(166,12,'8687.jpg',166,'2008-12-17 07:00:59','2008-12-17 07:00:59'),(167,12,'8688.jpg',167,'2008-12-17 07:05:00','2008-12-17 07:05:00'),(168,12,'8689.jpg',168,'2008-12-17 07:05:16','2008-12-17 07:05:16'),(169,12,'8690.jpg',169,'2008-12-17 07:05:38','2008-12-17 07:05:38'),(170,12,'8691.jpg',170,'2008-12-17 07:05:49','2008-12-17 07:05:49'),(171,13,'8692.jpg',171,'2008-12-17 07:08:22','2008-12-17 07:08:22'),(172,13,'8693.jpg',172,'2008-12-17 07:08:32','2008-12-17 07:08:32'),(173,13,'8694.jpg',173,'2008-12-17 07:08:43','2008-12-17 07:08:43'),(174,13,'8695.jpg',174,'2008-12-17 07:08:53','2008-12-17 07:08:53'),(175,13,'8696.jpg',175,'2008-12-17 07:09:04','2008-12-17 07:09:04'),(176,13,'8697.jpg',176,'2008-12-17 07:09:14','2008-12-17 07:09:14'),(177,13,'8698.jpg',177,'2008-12-17 07:09:25','2008-12-17 07:09:25'),(178,13,'8699.jpg',178,'2008-12-17 07:09:37','2008-12-17 07:09:37'),(179,13,'8700.jpg',179,'2008-12-17 07:09:47','2008-12-17 07:09:47'),(180,13,'8701.jpg',180,'2008-12-17 07:09:58','2008-12-17 07:09:58'),(181,13,'8702.jpg',181,'2008-12-17 07:10:09','2008-12-17 07:10:09'),(182,13,'8703.jpg',182,'2008-12-17 07:10:20','2008-12-17 07:10:20'),(183,13,'8704.jpg',183,'2008-12-17 07:10:34','2008-12-17 07:10:34'),(184,13,'8705.jpg',184,'2008-12-17 07:10:45','2008-12-17 07:10:45'),(185,13,'8706.jpg',185,'2008-12-17 07:10:56','2008-12-17 07:10:56'),(186,13,'8707.jpg',186,'2008-12-17 07:11:06','2008-12-17 07:11:06'),(187,13,'8708.jpg',187,'2008-12-17 07:11:16','2008-12-17 07:11:16'),(188,13,'8709.jpg',188,'2008-12-17 07:11:25','2008-12-17 07:11:25'),(193,14,'8714.jpg',189,'2008-12-19 04:33:50','2008-12-19 04:33:50'),(194,14,'8715.jpg',194,'2008-12-19 04:34:54','2008-12-19 04:34:54'),(195,14,'8716.jpg',195,'2008-12-19 04:35:07','2008-12-19 04:35:07'),(196,14,'8717.jpg',196,'2008-12-19 04:35:28','2008-12-19 04:35:28'),(197,14,'8718.jpg',197,'2008-12-19 04:35:56','2008-12-19 04:35:56'),(198,14,'8719.jpg',198,'2008-12-19 04:36:20','2008-12-19 04:36:20'),(199,14,'8720.jpg',199,'2008-12-19 04:36:36','2008-12-19 04:36:36'),(200,14,'8721.jpg',200,'2008-12-19 04:36:50','2008-12-19 04:36:50'),(201,14,'8722.jpg',201,'2008-12-19 04:37:12','2008-12-19 04:37:12'),(202,14,'8723.jpg',202,'2008-12-19 04:37:26','2008-12-19 04:37:26'),(203,14,'8724.jpg',203,'2008-12-19 04:37:41','2008-12-19 04:37:41'),(204,14,'8725.jpg',204,'2008-12-19 04:37:54','2008-12-19 04:37:54'),(205,14,'8726.jpg',205,'2008-12-19 04:38:07','2008-12-19 04:38:07'),(206,14,'8727.jpg',206,'2008-12-19 04:38:19','2008-12-19 04:38:19'),(207,14,'8728.jpg',207,'2008-12-19 04:38:31','2008-12-19 04:38:31'),(208,14,'8729.jpg',208,'2008-12-19 04:38:45','2008-12-19 04:38:45'),(209,14,'8730.jpg',209,'2008-12-19 04:38:57','2008-12-19 04:38:57'),(210,14,'8731.jpg',210,'2008-12-19 04:39:09','2008-12-19 04:39:09'),(211,14,'8732.jpg',211,'2008-12-19 04:39:21','2008-12-19 04:39:21'),(212,14,'8733.jpg',212,'2008-12-19 04:39:35','2008-12-19 04:39:35'),(213,14,'8734.jpg',213,'2008-12-19 04:39:46','2008-12-19 04:39:46'),(214,14,'8735.jpg',214,'2008-12-19 04:40:01','2008-12-19 04:40:01'),(215,14,'8736.jpg',215,'2008-12-19 04:40:21','2008-12-19 04:40:21'),(216,14,'8737.jpg',216,'2008-12-19 04:40:36','2008-12-19 04:40:36'),(217,14,'8738.jpg',217,'2008-12-19 04:40:50','2008-12-19 04:40:50'),(218,14,'8739.jpg',218,'2008-12-19 04:41:05','2008-12-19 04:41:05'),(219,14,'8740.jpg',219,'2008-12-19 04:41:17','2008-12-19 04:41:17'),(220,15,'8741.jpg',220,'2008-12-19 04:43:05','2008-12-19 04:43:05'),(221,15,'8742.jpg',221,'2008-12-19 04:43:18','2008-12-19 04:43:18'),(222,15,'8743.jpg',222,'2008-12-19 04:43:32','2008-12-19 04:43:32'),(223,15,'8744.jpg',223,'2008-12-19 04:43:45','2008-12-19 04:43:45'),(224,15,'8745.jpg',224,'2008-12-19 04:43:57','2008-12-19 04:43:57'),(225,15,'8746.jpg',225,'2008-12-19 04:44:10','2008-12-19 04:44:10'),(226,15,'8747.jpg',226,'2008-12-19 04:44:25','2008-12-19 04:44:25'),(227,15,'8748.jpg',227,'2008-12-19 04:44:39','2008-12-19 04:44:39'),(228,15,'8749.jpg',228,'2008-12-19 04:44:53','2008-12-19 04:44:53'),(229,15,'8750.jpg',229,'2008-12-19 04:45:10','2008-12-19 04:45:10'),(230,15,'8751.jpg',230,'2008-12-19 04:45:28','2008-12-19 04:45:28'),(231,15,'8752.jpg',231,'2008-12-19 04:46:54','2008-12-19 04:46:54'),(232,15,'8753.jpg',232,'2008-12-19 04:47:09','2008-12-19 04:47:09'),(233,15,'8754.jpg',233,'2008-12-19 04:47:21','2008-12-19 04:47:21'),(234,15,'8755.jpg',234,'2008-12-19 04:47:35','2008-12-19 04:47:35'),(235,15,'8756.jpg',235,'2008-12-19 04:47:48','2008-12-19 04:47:48'),(236,15,'8757.jpg',236,'2008-12-19 04:49:34','2008-12-19 04:49:34'),(237,15,'8758.jpg',237,'2008-12-19 04:49:51','2008-12-19 04:49:51'),(238,15,'8759.jpg',238,'2008-12-19 04:50:08','2008-12-19 04:50:08'),(239,15,'8760.jpg',239,'2008-12-19 04:50:24','2008-12-19 04:50:24'),(240,15,'8761.jpg',240,'2008-12-19 04:51:00','2008-12-19 04:51:00'),(241,15,'8762.jpg',241,'2008-12-19 04:51:14','2008-12-19 04:51:14'),(242,15,'8763.jpg',242,'2008-12-19 04:51:37','2008-12-19 04:51:37'),(243,15,'8764.jpg',243,'2008-12-19 04:51:54','2008-12-19 04:51:54'),(244,15,'8765.jpg',244,'2008-12-19 04:52:09','2008-12-19 04:52:09'),(245,15,'8766.jpg',245,'2008-12-19 04:52:26','2008-12-19 04:52:26'),(246,15,'8767.jpg',246,'2008-12-19 04:52:36','2008-12-19 04:52:36'),(247,15,'8768.jpg',247,'2008-12-19 04:52:48','2008-12-19 04:52:48'),(248,15,'8769.jpg',248,'2008-12-19 04:53:00','2008-12-19 04:53:00'),(249,15,'8770.jpg',249,'2008-12-19 04:53:12','2008-12-19 04:53:12'),(250,15,'8771.jpg',250,'2008-12-19 04:53:24','2008-12-19 04:53:24'),(251,15,'8772.jpg',251,'2008-12-19 04:53:38','2008-12-19 04:53:38'),(252,15,'8773.jpg',252,'2008-12-19 04:53:54','2008-12-19 04:53:54'),(253,15,'8774.jpg',253,'2008-12-19 04:54:08','2008-12-19 04:54:08'),(254,15,'8775.jpg',254,'2008-12-19 04:54:27','2008-12-19 04:54:27'),(255,15,'8776.jpg',255,'2008-12-19 04:54:43','2008-12-19 04:54:43'),(256,15,'8777.jpg',256,'2008-12-19 04:57:42','2008-12-19 04:57:42'),(257,15,'8778.jpg',257,'2008-12-19 04:57:54','2008-12-19 04:57:54'),(258,15,'8779.jpg',258,'2008-12-19 04:58:07','2008-12-19 04:58:07'),(259,15,'8780.jpg',259,'2008-12-19 04:58:20','2008-12-19 04:58:20'),(260,15,'8781.jpg',260,'2008-12-19 04:58:32','2008-12-19 04:58:32'),(261,15,'8782.jpg',261,'2008-12-19 04:58:46','2008-12-19 04:58:46'),(262,15,'8783.jpg',262,'2008-12-19 04:58:58','2008-12-19 04:58:58'),(263,15,'8784.jpg',263,'2008-12-19 04:59:12','2008-12-19 04:59:12'),(264,15,'8785.jpg',264,'2008-12-19 04:59:25','2008-12-19 04:59:25'),(265,15,'8786.jpg',265,'2008-12-19 04:59:36','2008-12-19 04:59:36'),(266,15,'8787.jpg',266,'2008-12-19 04:59:49','2008-12-19 04:59:49'),(267,15,'8788.jpg',267,'2008-12-19 05:00:01','2008-12-19 05:00:01'),(268,15,'8789.jpg',268,'2008-12-19 05:00:12','2008-12-19 05:00:12'),(269,15,'8790.jpg',269,'2008-12-19 05:00:25','2008-12-19 05:00:25'),(270,15,'8791.jpg',270,'2008-12-19 05:00:37','2008-12-19 05:00:37'),(271,15,'8792.jpg',271,'2008-12-19 05:00:51','2008-12-19 05:00:51'),(272,15,'8793.jpg',272,'2008-12-19 05:01:05','2008-12-19 05:01:05'),(273,15,'8794.jpg',273,'2008-12-19 05:01:15','2008-12-19 05:01:15'),(274,15,'8795.jpg',274,'2008-12-19 05:01:30','2008-12-19 05:01:30'),(275,15,'8796.jpg',275,'2008-12-19 05:01:41','2008-12-19 05:01:41'),(276,15,'8797.jpg',276,'2008-12-19 05:01:52','2008-12-19 05:01:52'),(277,15,'8798.jpg',277,'2008-12-19 05:02:03','2008-12-19 05:02:03'),(278,15,'8799.jpg',278,'2008-12-19 05:02:15','2008-12-19 05:02:15'),(279,15,'8800.jpg',279,'2008-12-19 05:02:30','2008-12-19 05:02:30'),(280,15,'8801.jpg',280,'2008-12-19 05:02:42','2008-12-19 05:02:42'),(281,15,'8802.jpg',281,'2008-12-19 05:02:54','2008-12-19 05:02:54'),(282,15,'8803.jpg',282,'2008-12-19 05:03:10','2008-12-19 05:03:10'),(283,15,'8804.jpg',283,'2008-12-19 05:03:34','2008-12-19 05:03:34'),(284,15,'8805.jpg',284,'2008-12-19 05:03:44','2008-12-19 05:03:44'),(285,15,'8806.jpg',285,'2008-12-19 05:03:55','2008-12-19 05:03:55'),(286,15,'8807.jpg',286,'2008-12-19 05:04:05','2008-12-19 05:04:05'),(287,15,'8808.jpg',287,'2008-12-19 05:04:15','2008-12-19 05:04:15'),(288,15,'8809.jpg',288,'2008-12-19 05:04:27','2008-12-19 05:04:27'),(289,15,'8810.jpg',289,'2008-12-19 05:04:49','2008-12-19 05:04:49'),(290,15,'8811.jpg',290,'2008-12-19 05:05:06','2008-12-19 05:05:06'),(291,15,'8812.jpg',291,'2008-12-19 05:05:18','2008-12-19 05:05:18'),(292,15,'8813.jpg',292,'2008-12-19 05:05:28','2008-12-19 05:05:28'),(293,15,'8814.jpg',293,'2008-12-19 05:05:40','2008-12-19 05:05:40'),(294,15,'8815.jpg',294,'2008-12-19 05:05:52','2008-12-19 05:05:52'),(295,15,'8816.jpg',295,'2008-12-19 05:06:03','2008-12-19 05:06:03'),(296,15,'8817.jpg',296,'2008-12-19 05:06:14','2008-12-19 05:06:14'),(297,15,'8818.jpg',297,'2008-12-19 05:06:25','2008-12-19 05:06:25'),(298,15,'8819.jpg',298,'2008-12-19 05:06:36','2008-12-19 05:06:36'),(299,15,'8820.jpg',299,'2008-12-19 05:06:48','2008-12-19 05:06:48'),(300,15,'8821.jpg',300,'2008-12-19 05:07:00','2008-12-19 05:07:00'),(301,15,'8822.jpg',301,'2008-12-19 05:07:11','2008-12-19 05:07:11'),(302,15,'8823.jpg',302,'2008-12-19 05:07:21','2008-12-19 05:07:21'),(303,16,'8824.jpg',303,'2008-12-19 05:09:01','2008-12-19 05:09:01'),(304,16,'8825.jpg',304,'2008-12-19 05:09:54','2008-12-19 05:09:54'),(305,16,'8826.jpg',305,'2008-12-19 05:10:06','2008-12-19 05:10:06'),(306,16,'8827.jpg',306,'2008-12-19 05:10:18','2008-12-19 05:10:18'),(307,16,'8828.jpg',307,'2008-12-19 05:10:30','2008-12-19 05:10:30'),(308,16,'8829.jpg',308,'2008-12-19 05:10:41','2008-12-19 05:10:41'),(309,16,'8830.jpg',309,'2008-12-19 05:10:58','2008-12-19 05:10:58'),(310,16,'8831.jpg',310,'2008-12-19 05:11:10','2008-12-19 05:11:10'),(311,16,'8832.jpg',311,'2008-12-19 05:11:22','2008-12-19 05:11:22'),(312,16,'8833.jpg',312,'2008-12-19 05:11:34','2008-12-19 05:11:34'),(313,16,'8834.jpg',313,'2008-12-19 05:11:46','2008-12-19 05:11:46'),(314,16,'8835.jpg',314,'2008-12-19 05:11:58','2008-12-19 05:11:58'),(315,16,'8836.jpg',315,'2008-12-19 05:12:10','2008-12-19 05:12:10'),(316,16,'8837.jpg',316,'2008-12-19 05:12:22','2008-12-19 05:12:22'),(317,16,'8838.jpg',317,'2008-12-19 05:12:33','2008-12-19 05:12:33'),(318,16,'8839.jpg',318,'2008-12-19 05:12:45','2008-12-19 05:12:45'),(319,16,'8840.jpg',319,'2008-12-19 05:12:56','2008-12-19 05:12:56'),(320,16,'8841.jpg',320,'2008-12-19 05:13:07','2008-12-19 05:13:07'),(321,16,'8842.jpg',321,'2008-12-19 05:13:18','2008-12-19 05:13:18'),(322,16,'8843.jpg',322,'2008-12-19 05:13:28','2008-12-19 05:13:28'),(323,16,'8844.jpg',323,'2008-12-19 05:13:37','2008-12-19 05:13:37'),(324,16,'8845.jpg',324,'2008-12-19 05:13:50','2008-12-19 05:13:50'),(325,16,'8846.jpg',325,'2008-12-19 05:14:20','2008-12-19 05:14:20'),(326,16,'8847.jpg',326,'2008-12-19 05:14:31','2008-12-19 05:14:31'),(327,17,'8848.jpg',327,'2008-12-19 05:18:43','2008-12-19 05:18:43'),(328,17,'8849.jpg',328,'2008-12-19 05:18:55','2008-12-19 05:18:55'),(329,17,'8850.jpg',329,'2008-12-19 05:19:07','2008-12-19 05:19:07'),(330,17,'8851.jpg',330,'2008-12-19 05:19:22','2008-12-19 05:19:22'),(331,17,'8852.jpg',331,'2008-12-19 05:19:35','2008-12-19 05:19:35'),(332,17,'8853.jpg',332,'2008-12-19 05:19:51','2008-12-19 05:19:51'),(333,17,'8854.jpg',333,'2008-12-19 05:20:04','2008-12-19 05:20:04'),(334,17,'8855.jpg',334,'2008-12-19 05:20:17','2008-12-19 05:20:17'),(335,17,'8856.jpg',335,'2008-12-19 05:20:52','2008-12-19 05:20:52'),(336,17,'8857.jpg',336,'2008-12-19 05:21:04','2008-12-19 05:21:04'),(337,17,'8858.jpg',337,'2008-12-19 05:21:17','2008-12-19 05:21:17'),(338,17,'8859.jpg',338,'2008-12-19 05:22:06','2008-12-19 05:22:06'),(339,17,'8860.jpg',339,'2008-12-19 05:22:22','2008-12-19 05:22:22'),(340,17,'8861.jpg',340,'2008-12-19 05:22:34','2008-12-19 05:22:34'),(341,17,'8862.jpg',341,'2008-12-19 05:22:46','2008-12-19 05:22:46'),(342,17,'8863.jpg',342,'2008-12-19 05:22:59','2008-12-19 05:22:59'),(343,17,'8864.jpg',343,'2008-12-19 05:23:14','2008-12-19 05:23:14'),(344,17,'8865.jpg',344,'2008-12-19 05:23:30','2008-12-19 05:23:30'),(345,17,'8866.jpg',345,'2008-12-19 05:23:43','2008-12-19 05:23:43'),(346,17,'8867.jpg',346,'2008-12-19 05:23:56','2008-12-19 05:23:56'),(347,17,'8868.jpg',347,'2008-12-19 05:24:10','2008-12-19 05:24:10'),(348,17,'8869.jpg',348,'2008-12-19 05:24:24','2008-12-19 05:24:24'),(349,17,'8870.jpg',349,'2008-12-19 05:24:37','2008-12-19 05:24:37'),(350,17,'8871.jpg',350,'2008-12-19 05:24:50','2008-12-19 05:24:50'),(351,17,'8872.jpg',351,'2008-12-19 05:25:04','2008-12-19 05:25:04'),(352,17,'8873.jpg',352,'2008-12-19 05:25:18','2008-12-19 05:25:18'),(353,17,'8874.jpg',353,'2008-12-19 05:25:35','2008-12-19 05:25:35'),(354,17,'8875.jpg',354,'2008-12-19 05:25:50','2008-12-19 05:25:50'),(355,17,'8876.jpg',355,'2008-12-19 05:26:04','2008-12-19 05:26:04'),(356,17,'8877.jpg',356,'2008-12-19 05:26:16','2008-12-19 05:26:16'),(357,17,'8878.jpg',357,'2008-12-19 05:26:28','2008-12-19 05:26:28'),(358,17,'8879.jpg',358,'2008-12-19 05:26:44','2008-12-19 05:26:44'),(359,17,'8880.jpg',359,'2008-12-19 05:26:56','2008-12-19 05:26:56'),(360,17,'8881.jpg',360,'2008-12-19 05:27:09','2008-12-19 05:27:09'),(361,17,'8882.jpg',361,'2008-12-19 05:27:26','2008-12-19 05:27:26'),(362,17,'8883.jpg',362,'2008-12-19 05:27:44','2008-12-19 05:27:44'),(363,17,'8884.jpg',363,'2008-12-19 05:27:56','2008-12-19 05:27:56'),(364,17,'8885.jpg',364,'2008-12-19 05:28:17','2008-12-19 05:28:17'),(365,17,'8886.jpg',365,'2008-12-19 05:28:31','2008-12-19 05:28:31'),(366,17,'8887.jpg',366,'2008-12-19 05:28:46','2008-12-19 05:28:46'),(367,17,'8888.jpg',367,'2008-12-19 05:29:02','2008-12-19 05:29:02'),(368,17,'8889.jpg',368,'2008-12-19 05:29:13','2008-12-19 05:29:13'),(369,17,'8890.jpg',369,'2008-12-19 05:29:29','2008-12-19 05:29:29'),(370,17,'8891.jpg',370,'2008-12-19 05:29:41','2008-12-19 05:29:41'),(371,17,'8892.jpg',371,'2008-12-19 05:29:54','2008-12-19 05:29:54'),(372,17,'8893.jpg',372,'2008-12-19 05:30:06','2008-12-19 05:30:06'),(373,17,'8894.jpg',373,'2008-12-19 05:30:19','2008-12-19 05:30:19'),(374,17,'8895.jpg',374,'2008-12-19 05:30:35','2008-12-19 05:30:35'),(375,17,'8896.jpg',375,'2008-12-19 05:30:52','2008-12-19 05:30:52'),(376,17,'8897.jpg',376,'2008-12-19 05:31:20','2008-12-19 05:31:20'),(377,17,'8898.jpg',377,'2008-12-19 05:31:49','2008-12-19 05:31:49'),(378,17,'8899.jpg',378,'2008-12-19 05:32:04','2008-12-19 05:32:04'),(379,17,'8900.jpg',379,'2008-12-19 05:33:32','2008-12-19 05:33:32'),(380,17,'8901.jpg',380,'2008-12-19 05:33:44','2008-12-19 05:33:44'),(381,17,'8902.jpg',381,'2008-12-19 05:34:19','2008-12-19 05:34:19'),(382,17,'8903.jpg',382,'2008-12-19 05:34:44','2008-12-19 05:34:44'),(383,17,'8904.jpg',383,'2008-12-19 05:35:06','2008-12-19 05:35:06'),(384,17,'8905.jpg',384,'2008-12-19 05:35:27','2008-12-19 05:35:27'),(385,17,'8906.jpg',385,'2008-12-19 05:35:45','2008-12-19 05:35:45'),(386,17,'8907.jpg',386,'2008-12-19 05:36:02','2008-12-19 05:36:02'),(387,17,'8908.jpg',387,'2008-12-19 05:36:18','2008-12-19 05:36:18'),(388,17,'8909.jpg',388,'2008-12-19 05:36:40','2008-12-19 05:36:40'),(389,17,'8910.jpg',389,'2008-12-19 05:36:55','2008-12-19 05:36:55'),(390,17,'8911.jpg',390,'2008-12-19 05:37:08','2008-12-19 05:37:08'),(391,17,'8912.jpg',391,'2008-12-19 05:37:26','2008-12-19 05:37:26'),(392,17,'8913.jpg',392,'2008-12-19 05:37:44','2008-12-19 05:37:44'),(393,17,'8914.jpg',393,'2008-12-19 05:38:01','2008-12-19 05:38:01'),(394,17,'8915.jpg',394,'2008-12-19 05:38:14','2008-12-19 05:38:14'),(395,18,'8916.jpg',395,'2008-12-19 05:41:34','2008-12-19 05:41:34'),(396,18,'8917.jpg',396,'2008-12-19 05:42:16','2008-12-19 05:42:16'),(397,18,'8918.jpg',397,'2008-12-19 05:42:32','2008-12-19 05:42:32'),(398,18,'8919.jpg',398,'2008-12-19 05:43:14','2008-12-19 05:43:14'),(399,18,'8920.jpg',399,'2008-12-19 05:44:04','2008-12-19 05:44:04'),(400,18,'8921.jpg',400,'2008-12-19 05:44:18','2008-12-19 05:44:18'),(401,18,'8922.jpg',401,'2008-12-19 05:44:29','2008-12-19 05:44:29'),(402,18,'8923.jpg',402,'2008-12-19 05:44:42','2008-12-19 05:44:42'),(403,18,'8924.jpg',403,'2008-12-19 05:44:55','2008-12-19 05:44:55'),(404,18,'8925.jpg',404,'2008-12-19 05:45:09','2008-12-19 05:45:09'),(405,18,'8926.jpg',405,'2008-12-19 05:45:26','2008-12-19 05:45:26'),(406,18,'8927.jpg',406,'2008-12-19 05:45:46','2008-12-19 05:45:46'),(407,18,'8928.jpg',407,'2008-12-19 05:46:02','2008-12-19 05:46:02'),(408,18,'8929.jpg',408,'2008-12-19 05:46:17','2008-12-19 05:46:17'),(409,18,'8930.jpg',409,'2008-12-19 05:46:31','2008-12-19 05:46:31'),(410,18,'8931.jpg',410,'2008-12-19 05:46:43','2008-12-19 05:46:43'),(411,18,'8932.jpg',411,'2008-12-19 05:47:16','2008-12-19 05:47:16'),(412,18,'8933.jpg',412,'2008-12-19 05:47:33','2008-12-19 05:47:33'),(413,18,'8934.jpg',413,'2008-12-19 05:47:46','2008-12-19 05:47:46'),(414,18,'8935.jpg',414,'2008-12-19 05:47:57','2008-12-19 05:47:57'),(415,18,'8936.jpg',415,'2008-12-19 05:48:09','2008-12-19 05:48:09'),(416,18,'8937.jpg',416,'2008-12-19 05:48:22','2008-12-19 05:48:22'),(417,18,'8938.jpg',417,'2008-12-19 05:48:35','2008-12-19 05:48:35'),(418,18,'8939.jpg',418,'2008-12-19 05:48:48','2008-12-19 05:48:48'),(419,18,'8940.jpg',419,'2008-12-19 05:49:00','2008-12-19 05:49:00'),(420,18,'8941.jpg',420,'2008-12-19 05:49:11','2008-12-19 05:49:11'),(421,18,'8942.jpg',421,'2008-12-19 05:49:22','2008-12-19 05:49:22'),(422,18,'8943.jpg',422,'2008-12-19 05:49:35','2008-12-19 05:49:35'),(423,18,'8944.jpg',423,'2008-12-19 05:49:48','2008-12-19 05:49:48'),(424,18,'8945.jpg',424,'2008-12-19 05:50:00','2008-12-19 05:50:00'),(425,18,'8946.jpg',425,'2008-12-19 05:50:17','2008-12-19 05:50:17'),(426,18,'8947.jpg',426,'2008-12-19 05:50:40','2008-12-19 05:50:40'),(427,19,'8948.jpg',427,'2008-12-19 05:51:53','2008-12-19 05:51:53'),(428,19,'8949.jpg',428,'2008-12-19 05:52:09','2008-12-19 05:52:09'),(429,19,'8950.jpg',429,'2008-12-19 05:52:27','2008-12-19 05:52:27'),(430,19,'8951.jpg',430,'2008-12-19 05:52:41','2008-12-19 05:52:41'),(431,19,'8952.jpg',431,'2008-12-19 05:52:55','2008-12-19 05:52:55'),(432,19,'8953.jpg',432,'2008-12-19 05:53:30','2008-12-19 05:53:30'),(433,19,'8954.jpg',433,'2008-12-19 05:53:43','2008-12-19 05:53:43'),(434,19,'8955.jpg',434,'2008-12-19 05:53:55','2008-12-19 05:53:55'),(435,19,'8956.jpg',435,'2008-12-19 05:54:09','2008-12-19 05:54:09'),(436,19,'8957.jpg',436,'2008-12-19 05:54:24','2008-12-19 05:54:24'),(437,19,'8958.jpg',437,'2008-12-19 05:54:37','2008-12-19 05:54:37'),(438,19,'8959.jpg',438,'2008-12-19 05:54:52','2008-12-19 05:54:52'),(439,19,'8960.jpg',439,'2008-12-19 05:55:10','2008-12-19 05:55:10'),(440,19,'8961.jpg',440,'2008-12-19 05:55:28','2008-12-19 05:55:28'),(441,19,'8962.jpg',441,'2008-12-19 05:55:58','2008-12-19 05:55:58'),(442,19,'8963.jpg',442,'2008-12-19 05:56:13','2008-12-19 05:56:13'),(443,19,'8964.jpg',443,'2008-12-19 05:56:32','2008-12-19 05:56:32'),(444,19,'8965.jpg',444,'2008-12-19 05:56:49','2008-12-19 05:56:49'),(445,19,'8966.jpg',445,'2008-12-19 05:57:05','2008-12-19 05:57:05'),(446,19,'8967.jpg',446,'2008-12-19 05:57:26','2008-12-19 05:57:26'),(447,19,'8968.jpg',447,'2008-12-19 05:58:20','2008-12-19 05:58:20'),(448,19,'8969.jpg',448,'2008-12-19 05:58:37','2008-12-19 05:58:37'),(449,19,'8970.jpg',449,'2008-12-19 05:58:53','2008-12-19 05:58:53'),(450,19,'8971.jpg',450,'2008-12-19 05:59:11','2008-12-19 05:59:11'),(451,19,'8972.jpg',451,'2008-12-19 05:59:23','2008-12-19 05:59:23'),(452,19,'8973.jpg',452,'2008-12-19 05:59:34','2008-12-19 05:59:34'),(453,19,'8974.jpg',453,'2008-12-19 05:59:46','2008-12-19 05:59:46'),(454,19,'8975.jpg',454,'2008-12-19 05:59:57','2008-12-19 05:59:57'),(455,19,'8976.jpg',455,'2008-12-19 06:00:13','2008-12-19 06:00:13'),(456,20,'8977.jpg',456,'2008-12-29 03:53:10','2008-12-29 03:53:10'),(457,20,'8978.jpg',457,'2008-12-29 03:53:23','2008-12-29 03:53:23'),(458,20,'8979.jpg',458,'2008-12-29 03:53:41','2008-12-29 03:53:41'),(459,20,'8980.jpg',459,'2008-12-29 03:54:07','2008-12-29 03:54:07'),(460,21,'8981.jpg',460,'2008-12-29 03:58:13','2008-12-29 03:58:13'),(461,21,'8982.jpg',461,'2008-12-29 03:58:25','2008-12-29 03:58:25'),(462,21,'8983.jpg',462,'2008-12-29 03:58:38','2008-12-29 03:58:38'),(463,21,'8984.jpg',463,'2008-12-29 03:58:50','2008-12-29 03:58:50'),(464,21,'8985.jpg',464,'2008-12-29 03:59:03','2008-12-29 03:59:03'),(465,21,'8986.jpg',465,'2008-12-29 03:59:20','2008-12-29 03:59:20'),(466,21,'8987.jpg',466,'2008-12-29 03:59:32','2008-12-29 03:59:32'),(467,21,'8988.jpg',467,'2008-12-29 03:59:44','2008-12-29 03:59:44'),(468,21,'8989.jpg',468,'2008-12-29 03:59:57','2008-12-29 03:59:57'),(469,21,'8990.jpg',469,'2008-12-29 04:00:09','2008-12-29 04:00:09'),(470,21,'8991.jpg',470,'2008-12-29 04:00:20','2008-12-29 04:00:20'),(471,22,'8992.jpg',471,'2008-12-29 04:02:13','2008-12-29 04:02:13'),(472,22,'8993.jpg',472,'2008-12-29 04:02:25','2008-12-29 04:02:25'),(473,22,'8994.jpg',473,'2008-12-29 04:02:35','2008-12-29 04:02:35'),(474,22,'8995.jpg',474,'2008-12-29 04:02:53','2008-12-29 04:02:53'),(475,22,'8996.jpg',475,'2008-12-29 04:03:07','2008-12-29 04:03:07'),(476,22,'8997.jpg',476,'2008-12-29 04:03:17','2008-12-29 04:03:17'),(477,22,'8998.jpg',477,'2008-12-29 04:03:27','2008-12-29 04:03:27'),(478,23,'8999.jpg',478,'2008-12-29 04:08:57','2008-12-29 04:08:57'),(479,23,'9000.jpg',479,'2008-12-29 04:09:09','2008-12-29 04:09:09'),(480,23,'9001.jpg',480,'2008-12-29 04:09:20','2008-12-29 04:09:20'),(481,23,'9002.jpg',481,'2008-12-29 04:09:30','2008-12-29 04:09:30'),(482,23,'9003.jpg',482,'2008-12-29 04:09:42','2008-12-29 04:09:42'),(483,23,'9004.jpg',483,'2008-12-29 04:09:54','2008-12-29 04:09:54'),(484,23,'9005.jpg',484,'2008-12-29 04:10:06','2008-12-29 04:10:06'),(485,24,'9006.jpg',485,'2008-12-29 05:07:02','2008-12-29 05:07:02'),(486,24,'9007.jpg',486,'2008-12-29 05:07:14','2008-12-29 05:07:14'),(487,24,'9008.jpg',487,'2008-12-29 05:07:26','2008-12-29 05:07:26'),(488,24,'9009.jpg',488,'2008-12-29 05:07:37','2008-12-29 05:07:37'),(489,24,'9010.jpg',489,'2008-12-29 05:07:49','2008-12-29 05:07:49'),(490,24,'9011.jpg',490,'2008-12-29 05:08:00','2008-12-29 05:08:00'),(491,24,'9012.jpg',491,'2008-12-29 05:08:11','2008-12-29 05:08:11'),(492,24,'9013.jpg',492,'2008-12-29 05:08:22','2008-12-29 05:08:22'),(493,24,'9014.jpg',493,'2008-12-29 05:08:35','2008-12-29 05:08:35'),(494,24,'9015.jpg',494,'2008-12-29 05:08:47','2008-12-29 05:08:47'),(495,24,'9016.jpg',495,'2008-12-29 05:08:59','2008-12-29 05:08:59'),(496,24,'9017.jpg',496,'2008-12-29 05:09:10','2008-12-29 05:09:10'),(497,24,'9018.jpg',497,'2008-12-29 05:09:22','2008-12-29 05:09:22'),(498,24,'9019.jpg',498,'2008-12-29 05:09:34','2008-12-29 05:09:34'),(499,24,'9020.jpg',499,'2008-12-29 05:09:47','2008-12-29 05:09:47'),(500,24,'9021.jpg',500,'2008-12-29 05:09:59','2008-12-29 05:09:59'),(501,24,'9022.jpg',501,'2008-12-29 05:10:20','2008-12-29 05:10:20'),(502,24,'9023.jpg',502,'2008-12-29 05:10:32','2008-12-29 05:10:32'),(503,24,'9024.jpg',503,'2008-12-29 05:10:45','2008-12-29 05:10:45'),(504,24,'9025.jpg',504,'2008-12-29 05:10:58','2008-12-29 05:10:58'),(505,24,'9026.jpg',505,'2008-12-29 05:11:10','2008-12-29 05:11:10'),(506,24,'9027.jpg',506,'2008-12-29 05:11:24','2008-12-29 05:11:24'),(507,24,'9028.jpg',507,'2008-12-29 05:11:47','2008-12-29 05:11:47'),(508,24,'9029.jpg',508,'2008-12-29 05:11:58','2008-12-29 05:11:58'),(509,24,'9030.jpg',509,'2008-12-29 05:12:11','2008-12-29 05:12:11'),(510,24,'9031.jpg',510,'2008-12-29 05:12:25','2008-12-29 05:12:25'),(511,24,'9032.jpg',511,'2008-12-29 05:12:41','2008-12-29 05:12:41'),(512,24,'9033.jpg',512,'2008-12-29 05:12:54','2008-12-29 05:12:54'),(513,24,'9034.jpg',513,'2008-12-29 05:13:04','2008-12-29 05:13:04'),(514,24,'9035.jpg',514,'2008-12-29 05:13:14','2008-12-29 05:13:14'),(515,24,'9036.jpg',515,'2008-12-29 05:13:25','2008-12-29 05:13:25'),(516,24,'9037.jpg',516,'2008-12-29 05:13:36','2008-12-29 05:13:36'),(517,24,'9038.jpg',517,'2008-12-29 05:13:47','2008-12-29 05:13:47'),(518,24,'9039.jpg',518,'2008-12-29 05:14:15','2008-12-29 05:14:15'),(519,24,'9040.jpg',519,'2008-12-29 05:14:26','2008-12-29 05:14:26'),(520,24,'9041.jpg',520,'2008-12-29 05:14:38','2008-12-29 05:14:38'),(521,24,'9042.jpg',521,'2008-12-29 05:14:51','2008-12-29 05:14:51'),(522,24,'9043.jpg',522,'2008-12-29 05:15:02','2008-12-29 05:15:02'),(523,24,'9044.jpg',523,'2008-12-29 05:15:12','2008-12-29 05:15:12'),(524,24,'9045.jpg',524,'2008-12-29 05:15:24','2008-12-29 05:15:24'),(525,24,'9046.jpg',525,'2008-12-29 05:15:36','2008-12-29 05:15:36'),(526,25,'9047.jpg',526,'2008-12-29 05:19:43','2008-12-29 05:19:43'),(527,25,'9048.jpg',527,'2008-12-29 05:19:55','2008-12-29 05:19:55'),(528,25,'9049.jpg',528,'2008-12-29 05:20:07','2008-12-29 05:20:07'),(529,25,'9050.jpg',529,'2008-12-29 05:20:29','2008-12-29 05:20:29'),(530,25,'9051.jpg',530,'2008-12-29 05:20:42','2008-12-29 05:20:42'),(531,26,'9052.jpg',531,'2008-12-29 05:21:35','2008-12-29 05:21:35'),(532,26,'9053.jpg',532,'2008-12-29 05:21:47','2008-12-29 05:21:47'),(533,26,'9054.jpg',533,'2008-12-29 05:23:00','2008-12-29 05:23:00'),(534,26,'9055.jpg',534,'2008-12-29 05:23:11','2008-12-29 05:23:11'),(535,26,'9056.jpg',535,'2008-12-29 05:23:23','2008-12-29 05:23:23'),(536,26,'9057.jpg',536,'2008-12-29 05:23:38','2008-12-29 05:23:38'),(537,27,'9058.jpg',537,'2008-12-29 05:24:43','2008-12-29 05:24:43'),(538,27,'9059.jpg',538,'2008-12-29 05:24:54','2008-12-29 05:24:54'),(539,27,'9060.jpg',539,'2008-12-29 05:25:06','2008-12-29 05:25:06'),(540,27,'9061.jpg',540,'2008-12-29 05:25:21','2008-12-29 05:25:21'),(541,27,'9062.jpg',541,'2008-12-29 05:25:33','2008-12-29 05:25:33'),(542,27,'9063.jpg',542,'2008-12-29 05:25:43','2008-12-29 05:25:43'),(543,27,'9064.jpg',543,'2008-12-29 05:25:55','2008-12-29 05:25:55'),(544,27,'9065.jpg',544,'2008-12-29 05:26:13','2008-12-29 05:26:13'),(545,27,'9066.jpg',545,'2008-12-29 05:26:24','2008-12-29 05:26:24'),(546,28,'9067.jpg',546,'2008-12-29 05:35:34','2008-12-29 05:35:34'),(547,28,'9068.jpg',547,'2008-12-29 05:35:59','2008-12-29 05:35:59'),(548,28,'9069.jpg',548,'2008-12-29 05:36:10','2008-12-29 05:36:10'),(549,28,'9070.jpg',549,'2008-12-29 05:36:28','2008-12-29 05:36:28'),(550,28,'9071.jpg',550,'2008-12-29 05:36:46','2008-12-29 05:36:46'),(551,28,'9072.jpg',551,'2008-12-29 05:37:02','2008-12-29 05:37:02'),(552,28,'9073.jpg',552,'2008-12-29 05:37:20','2008-12-29 05:37:20'),(553,28,'9074.jpg',553,'2008-12-29 05:37:34','2008-12-29 05:37:34'),(554,28,'9075.jpg',554,'2008-12-29 05:37:48','2008-12-29 05:37:48'),(555,28,'9076.jpg',555,'2008-12-29 05:38:01','2008-12-29 05:38:01'),(556,28,'9077.jpg',556,'2008-12-29 05:38:22','2008-12-29 05:38:22'),(557,28,'9078.jpg',557,'2008-12-29 05:38:46','2008-12-29 05:38:46'),(558,28,'9079.jpg',558,'2008-12-29 05:39:00','2008-12-29 05:39:00'),(559,28,'9080.jpg',559,'2008-12-29 05:39:21','2008-12-29 05:39:21'),(560,28,'9081.jpg',560,'2008-12-29 05:42:34','2008-12-29 05:42:34'),(561,28,'9082.jpg',561,'2008-12-29 05:43:01','2008-12-29 05:43:01'),(562,28,'9083.jpg',562,'2008-12-29 05:43:57','2008-12-29 05:43:57'),(563,28,'9084.jpg',563,'2008-12-29 05:45:47','2008-12-29 05:45:47'),(564,28,'9085.jpg',564,'2008-12-29 05:46:15','2008-12-29 05:46:15'),(565,28,'9086.jpg',565,'2008-12-29 05:46:38','2008-12-29 05:46:38'),(566,28,'9087.jpg',566,'2008-12-29 05:46:51','2008-12-29 05:46:51'),(567,28,'9088.jpg',567,'2008-12-29 05:47:05','2008-12-29 05:47:05'),(568,28,'9089.jpg',568,'2008-12-29 05:47:21','2008-12-29 05:47:21'),(569,28,'9090.jpg',569,'2008-12-29 05:47:43','2008-12-29 05:47:43'),(570,28,'9091.jpg',570,'2008-12-29 05:48:07','2008-12-29 05:48:07'),(571,28,'9092.jpg',571,'2008-12-29 05:48:32','2008-12-29 05:48:32'),(572,28,'9093.jpg',572,'2008-12-29 05:48:53','2008-12-29 05:48:53'),(573,28,'9094.jpg',573,'2008-12-29 05:49:15','2008-12-29 05:49:15'),(574,28,'9095.jpg',574,'2008-12-29 05:49:29','2008-12-29 05:49:29'),(575,28,'9096.jpg',575,'2008-12-29 05:49:42','2008-12-29 05:49:42'),(576,28,'9097.jpg',576,'2008-12-29 05:49:53','2008-12-29 05:49:53'),(577,28,'9098.jpg',577,'2008-12-29 05:50:08','2008-12-29 05:50:08'),(578,28,'9099.jpg',578,'2008-12-29 05:50:21','2008-12-29 05:50:21'),(579,28,'9100.jpg',579,'2008-12-29 05:50:33','2008-12-29 05:50:33'),(580,28,'9101.jpg',580,'2008-12-29 05:50:46','2008-12-29 05:50:46'),(581,28,'9102.jpg',581,'2008-12-29 05:50:58','2008-12-29 05:50:58'),(582,28,'9103.jpg',582,'2008-12-29 05:51:11','2008-12-29 05:51:11'),(583,28,'9104.jpg',583,'2008-12-29 05:51:28','2008-12-29 05:51:28'),(584,28,'9105.jpg',584,'2008-12-29 05:51:52','2008-12-29 05:51:52'),(585,28,'9106.jpg',585,'2008-12-29 05:52:14','2008-12-29 05:52:14'),(586,28,'9107.jpg',586,'2008-12-29 05:52:47','2008-12-29 05:52:47'),(587,28,'9108.jpg',587,'2008-12-29 05:53:22','2008-12-29 05:53:22'),(588,28,'9109.jpg',588,'2008-12-29 05:54:01','2008-12-29 05:54:01'),(589,28,'9110.jpg',589,'2008-12-29 05:54:40','2008-12-29 05:54:40'),(590,28,'9111.jpg',590,'2008-12-29 05:55:20','2008-12-29 05:55:20'),(591,28,'9112.jpg',591,'2008-12-29 05:56:05','2008-12-29 05:56:05'),(592,28,'9113.jpg',592,'2008-12-29 05:56:39','2008-12-29 05:56:39'),(593,28,'9114.jpg',593,'2008-12-29 05:57:14','2008-12-29 05:57:14'),(594,28,'9115.jpg',594,'2008-12-29 05:58:01','2008-12-29 05:58:01'),(595,28,'9116.jpg',595,'2008-12-29 05:58:41','2008-12-29 05:58:41'),(596,28,'9117.jpg',596,'2008-12-29 05:59:18','2008-12-29 05:59:18'),(597,28,'9118.jpg',597,'2008-12-29 05:59:59','2008-12-29 05:59:59'),(598,28,'9119.jpg',598,'2008-12-29 06:00:39','2008-12-29 06:00:39'),(599,28,'9120.jpg',599,'2008-12-29 06:01:12','2008-12-29 06:01:12'),(600,28,'9121.jpg',600,'2008-12-29 06:01:47','2008-12-29 06:01:47'),(601,28,'9122.jpg',601,'2008-12-29 06:02:26','2008-12-29 06:02:26'),(602,28,'9123.jpg',602,'2008-12-29 06:03:12','2008-12-29 06:03:12'),(603,28,'9124.jpg',603,'2008-12-29 06:03:47','2008-12-29 06:03:47'),(604,28,'9125.jpg',604,'2008-12-29 06:04:23','2008-12-29 06:04:23'),(605,28,'9126.jpg',605,'2008-12-29 06:04:58','2008-12-29 06:04:58'),(606,28,'9127.jpg',606,'2008-12-29 06:05:34','2008-12-29 06:05:34'),(607,28,'9128.jpg',607,'2008-12-29 06:06:14','2008-12-29 06:06:14'),(608,28,'9129.jpg',608,'2008-12-29 06:41:39','2008-12-29 06:41:39'),(609,28,'9130.jpg',609,'2008-12-29 06:41:49','2008-12-29 06:41:49'),(610,28,'9131.jpg',610,'2008-12-29 06:42:02','2008-12-29 06:42:02'),(611,28,'9132.jpg',611,'2008-12-29 06:42:13','2008-12-29 06:42:13'),(612,28,'9133.jpg',612,'2008-12-29 06:42:35','2008-12-29 06:42:35'),(613,28,'9134.jpg',613,'2008-12-29 06:42:45','2008-12-29 06:42:45'),(614,28,'9135.jpg',614,'2008-12-29 06:42:57','2008-12-29 06:42:57'),(615,28,'9136.jpg',615,'2008-12-29 06:43:16','2008-12-29 06:43:16'),(616,28,'9137.jpg',616,'2008-12-29 06:43:30','2008-12-29 06:43:30'),(617,28,'9138.jpg',617,'2008-12-29 06:43:41','2008-12-29 06:43:41'),(618,28,'9139.jpg',618,'2008-12-29 06:44:02','2008-12-29 06:44:02'),(619,28,'9140.jpg',619,'2008-12-29 06:44:13','2008-12-29 06:44:13'),(620,28,'9141.jpg',620,'2008-12-29 06:44:25','2008-12-29 06:44:25'),(621,28,'9142.jpg',621,'2008-12-29 06:44:36','2008-12-29 06:44:36'),(622,28,'9143.jpg',622,'2008-12-29 06:44:51','2008-12-29 06:44:51'),(623,28,'9144.jpg',623,'2008-12-29 06:45:04','2008-12-29 06:45:04'),(624,28,'9145.jpg',624,'2008-12-29 06:45:15','2008-12-29 06:45:15'); /*!40000 ALTER TABLE `gal_imgs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER gal_imgs_on_adel AFTER DELETE ON gal_imgs FOR EACH ROW CALL pesq_index_rem("gal_i", OLD.`IdGalImg`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `gal_imgs_descrs` -- DROP TABLE IF EXISTS `gal_imgs_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gal_imgs_descrs` ( `IdLing` char(2) NOT NULL, `IdGalImg` int(11) NOT NULL, `Tit` varchar(50) NOT NULL, `Descr` mediumtext, PRIMARY KEY (`IdLing`,`IdGalImg`), KEY `IdGalImg` (`IdGalImg`), KEY `IdLing` (`IdLing`), CONSTRAINT `gal_imgs_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `gal_imgs_descrs_IdGalImg` FOREIGN KEY (`IdGalImg`) REFERENCES `gal_imgs` (`IdGalImg`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `gal_imgs_descrs` -- LOCK TABLES `gal_imgs_descrs` WRITE; /*!40000 ALTER TABLE `gal_imgs_descrs` DISABLE KEYS */; INSERT INTO `gal_imgs_descrs` VALUES ('pt',1,'1',''),('pt',2,'2',''),('pt',3,'3',''),('pt',4,'4',''),('pt',5,'5',''),('pt',6,'6',''),('pt',7,'7',''),('pt',8,'8',''),('pt',9,'9',''),('pt',10,'10',''),('pt',11,'11',''),('pt',12,'12',''),('pt',13,'13',''),('pt',14,'14',''),('pt',15,'15',''),('pt',16,'16',''),('pt',17,'17',''),('pt',18,'18',''),('pt',19,'19',''),('pt',20,'20',''),('pt',21,'21',''),('pt',22,'22',''),('pt',23,'23',''),('pt',24,'24',''),('pt',25,'25',''),('pt',26,'26',''),('pt',27,'27',''),('pt',28,'28',''),('pt',29,'29',''),('pt',30,'30',''),('pt',31,'31',''),('pt',32,'32',''),('pt',33,'33',''),('pt',34,'34',''),('pt',35,'35',''),('pt',36,'36',''),('pt',37,'37',''),('pt',38,'38',''),('pt',39,'39',''),('pt',40,'40',''),('pt',41,'1',''),('pt',42,'2',''),('pt',43,'3',''),('pt',44,'4',''),('pt',45,'5',''),('pt',46,'6',''),('pt',47,'7',''),('pt',48,'8',''),('pt',51,'Foto 1',NULL),('pt',52,'Foto 2',NULL),('pt',53,'Foto 3',NULL),('pt',54,'Foto 4',NULL),('pt',55,'Foto 5',NULL),('pt',56,'Foto 6',NULL),('pt',57,'Foto 7',NULL),('pt',58,'Foto 8',NULL),('pt',59,'Foto 9',NULL),('pt',60,'Foto 1',NULL),('pt',61,'Foto 2',NULL),('pt',62,'Foto 3',NULL),('pt',63,'Foto 4',NULL),('pt',64,'Foto 5',NULL),('pt',65,'Foto 6',NULL),('pt',66,'Foto 7',NULL),('pt',67,'Foto 8',NULL),('pt',68,'Foto 9',NULL),('pt',69,'Foto 10',NULL),('pt',70,'Foto 11',NULL),('pt',71,'Foto 12',NULL),('pt',72,'Foto 13',NULL),('pt',73,'Foto 14',NULL),('pt',74,'Foto 15',NULL),('pt',75,'Foto 16',NULL),('pt',76,'Foto 17',NULL),('pt',77,'Foto 18',NULL),('pt',78,'Foto 19',NULL),('pt',79,'Foto 20',NULL),('pt',80,'Foto 21',NULL),('pt',81,'Foto 22',NULL),('pt',82,'Foto 23',NULL),('pt',83,'Foto 24',NULL),('pt',84,'Foto 25',NULL),('pt',85,'Foto 26',NULL),('pt',86,'Foto 27',NULL),('pt',87,'Foto 28',NULL),('pt',88,'PIC_0047.JPG',NULL),('pt',89,'PIC_0048.JPG',NULL),('pt',90,'PIC_0049.JPG',NULL),('pt',91,'PIC_0050.JPG',NULL),('pt',92,'PIC_0052.JPG',NULL),('pt',93,'PIC_0055.JPG',NULL),('pt',95,'PIC_0006.JPG',NULL),('pt',96,'PIC_0007.JPG',NULL),('pt',97,'PIC_0008.JPG',NULL),('pt',98,'PIC_0009.JPG',NULL),('pt',99,'PIC_0010.JPG',NULL),('pt',100,'DSC01546.JPG',NULL),('pt',101,'DSC01547.JPG',NULL),('pt',102,'DSC01549.JPG',NULL),('pt',103,'DSC01550.JPG',NULL),('pt',104,'DSC01551.JPG',NULL),('pt',105,'DSC01552.JPG',NULL),('pt',106,'DSC01553.JPG',NULL),('pt',107,'DSC01554.JPG',NULL),('pt',108,'DSC01555.JPG',NULL),('pt',109,'DSC01557.JPG',NULL),('pt',110,'DSC01560.JPG',NULL),('pt',111,'DSC01561.JPG',NULL),('pt',112,'DSC01562.JPG',NULL),('pt',113,'DSC01563.JPG',NULL),('pt',114,'DSC01565.JPG',NULL),('pt',115,'DSC01567.JPG',NULL),('pt',116,'DSC01568.JPG',NULL),('pt',117,'DSC01569.JPG',NULL),('pt',118,'DSC01570.JPG',NULL),('pt',119,'DSC01571.JPG',NULL),('pt',120,'DSC01572.JPG',NULL),('pt',121,'DSC01573.JPG',NULL),('pt',122,'DSC01574.JPG',NULL),('pt',123,'DSC01575.JPG',NULL),('pt',124,'DSC01576.JPG',NULL),('pt',125,'DSC01577.JPG',NULL),('pt',126,'DSC01578.JPG',NULL),('pt',127,'DSC01579.JPG',NULL),('pt',128,'DSC01586.JPG',NULL),('pt',129,'DSC01590.JPG',NULL),('pt',130,'DSC01591.JPG',NULL),('pt',131,'DSC01592.JPG',NULL),('pt',132,'DSC01593.JPG',NULL),('pt',133,'DSC01595.JPG',NULL),('pt',134,'DSC01596.JPG',NULL),('pt',135,'DSC01597.JPG',NULL),('pt',136,'DSC01598.JPG',NULL),('pt',137,'DSC01599.JPG',NULL),('pt',138,'DSC01600.JPG',NULL),('pt',139,'DSC01601.JPG',NULL),('pt',140,'DSC01602.JPG',NULL),('pt',141,'DSC01603.JPG',NULL),('pt',142,'DSC01604.JPG',NULL),('pt',143,'DSC01605.JPG',NULL),('pt',144,'DSC01606.JPG',NULL),('pt',145,'DSC01607.JPG',NULL),('pt',146,'DSC01608.JPG',NULL),('pt',147,'DSC01609.JPG',NULL),('pt',148,'DSC01610.JPG',NULL),('pt',149,'DSC01611.JPG',NULL),('pt',150,'DSC01612.JPG',NULL),('pt',151,'DSC01613.JPG',NULL),('pt',152,'DSC01614.JPG',NULL),('pt',153,'DSC01615.JPG',NULL),('pt',154,'DSC01616.JPG',NULL),('pt',155,'DSC01617.JPG',NULL),('pt',156,'DSC01618.JPG',NULL),('pt',157,'DSC01619.JPG',NULL),('pt',158,'DSC01620.JPG',NULL),('pt',159,'DSC01621.JPG',NULL),('pt',160,'DSC01626.JPG',NULL),('pt',161,'DSC01627.JPG',NULL),('pt',162,'DSC01628.JPG',NULL),('pt',163,'DSC01629.JPG',NULL),('pt',164,'DSC01630.JPG',NULL),('pt',165,'DSC01631.JPG',NULL),('pt',166,'DSC01632.JPG',NULL),('pt',167,'DSC01634.JPG',NULL),('pt',168,'DSC01635.JPG',NULL),('pt',169,'DSC01636.JPG',NULL),('pt',170,'DSC01637.JPG',NULL),('pt',171,'P9140018.JPG',NULL),('pt',172,'P9140017.JPG',NULL),('pt',173,'P9140016.JPG',NULL),('pt',174,'P9140015.JPG',NULL),('pt',175,'P9140014.JPG',NULL),('pt',176,'P9140013.JPG',NULL),('pt',177,'P9140012.JPG',NULL),('pt',178,'P9140011.JPG',NULL),('pt',179,'P9140010.JPG',NULL),('pt',180,'P9140009.JPG',NULL),('pt',181,'P9140008.JPG',NULL),('pt',182,'P9140007.JPG',NULL),('pt',183,'P9140006.JPG',NULL),('pt',184,'P9140005.JPG',NULL),('pt',185,'P9140004.JPG',NULL),('pt',186,'P9140003.JPG',NULL),('pt',187,'P9140002.JPG',NULL),('pt',188,'P9140001.JPG',NULL),('pt',193,'PIC_0049.JPG',NULL),('pt',194,'PIC_0048.JPG',NULL),('pt',195,'PIC_0047.JPG',NULL),('pt',196,'PIC_0046.JPG',NULL),('pt',197,'PIC_0045.JPG',NULL),('pt',198,'PIC_0044.JPG',NULL),('pt',199,'PIC_0043.JPG',NULL),('pt',200,'PIC_0042.JPG',NULL),('pt',201,'PIC_0041.JPG',NULL),('pt',202,'PIC_0040.JPG',NULL),('pt',203,'PIC_0039.JPG',NULL),('pt',204,'PIC_0038.JPG',NULL),('pt',205,'PIC_0036.JPG',NULL),('pt',206,'PIC_0035.JPG',NULL),('pt',207,'PIC_0034.JPG',NULL),('pt',208,'PIC_0033.JPG',NULL),('pt',209,'PIC_0032.JPG',NULL),('pt',210,'PIC_0031.JPG',NULL),('pt',211,'PIC_0030.JPG',NULL),('pt',212,'PIC_0029.JPG',NULL),('pt',213,'PIC_0028.JPG',NULL),('pt',214,'PIC_0027.JPG',NULL),('pt',215,'PIC_0026.JPG',NULL),('pt',216,'PIC_0025.JPG',NULL),('pt',217,'PIC_0024.JPG',NULL),('pt',218,'PIC_0023.JPG',NULL),('pt',219,'PIC_0022.JPG',NULL),('pt',220,'P1010083.JPG',NULL),('pt',221,'P1010082.JPG',NULL),('pt',222,'P1010081.JPG',NULL),('pt',223,'P1010080.JPG',NULL),('pt',224,'P1010079.JPG',NULL),('pt',225,'P1010078.JPG',NULL),('pt',226,'P1010077.JPG',NULL),('pt',227,'P1010076.JPG',NULL),('pt',228,'P1010075.JPG',NULL),('pt',229,'P1010074.JPG',NULL),('pt',230,'P1010073.JPG',NULL),('pt',231,'P1010072.JPG',NULL),('pt',232,'P1010071.JPG',NULL),('pt',233,'P1010070.JPG',NULL),('pt',234,'P1010069.JPG',NULL),('pt',235,'P1010068.JPG',NULL),('pt',236,'P1010067.JPG',NULL),('pt',237,'P1010066.JPG',NULL),('pt',238,'P1010065.JPG',NULL),('pt',239,'P1010064.JPG',NULL),('pt',240,'P1010063.JPG',NULL),('pt',241,'P1010062.JPG',NULL),('pt',242,'P1010061.JPG',NULL),('pt',243,'P1010060.JPG',NULL),('pt',244,'P1010059.JPG',NULL),('pt',245,'P1010058.JPG',NULL),('pt',246,'P1010057.JPG',NULL),('pt',247,'P1010056.JPG',NULL),('pt',248,'P1010055.JPG',NULL),('pt',249,'P1010054.JPG',NULL),('pt',250,'P1010053.JPG',NULL),('pt',251,'P1010052.JPG',NULL),('pt',252,'P1010051.JPG',NULL),('pt',253,'P1010050.JPG',NULL),('pt',254,'P1010049.JPG',NULL),('pt',255,'P1010048.JPG',NULL),('pt',256,'P1010047.JPG',NULL),('pt',257,'P1010046.JPG',NULL),('pt',258,'P1010045.JPG',NULL),('pt',259,'P1010044.JPG',NULL),('pt',260,'P1010043.JPG',NULL),('pt',261,'P1010042.JPG',NULL),('pt',262,'P1010041.JPG',NULL),('pt',263,'P1010040.JPG',NULL),('pt',264,'P1010039.JPG',NULL),('pt',265,'P1010038.JPG',NULL),('pt',266,'P1010037.JPG',NULL),('pt',267,'P1010036.JPG',NULL),('pt',268,'P1010035.JPG',NULL),('pt',269,'P1010034.JPG',NULL),('pt',270,'P1010033.JPG',NULL),('pt',271,'P1010032.JPG',NULL),('pt',272,'P1010031.JPG',NULL),('pt',273,'P1010030.JPG',NULL),('pt',274,'P1010029.JPG',NULL),('pt',275,'P1010028.JPG',NULL),('pt',276,'P1010027.JPG',NULL),('pt',277,'P1010026.JPG',NULL),('pt',278,'P1010025.JPG',NULL),('pt',279,'P1010024.JPG',NULL),('pt',280,'P1010023.JPG',NULL),('pt',281,'P1010022.JPG',NULL),('pt',282,'P1010021.JPG',NULL),('pt',283,'P1010020.JPG',NULL),('pt',284,'P1010019.JPG',NULL),('pt',285,'P1010018.JPG',NULL),('pt',286,'P1010017.JPG',NULL),('pt',287,'P1010016.JPG',NULL),('pt',288,'P1010015.JPG',NULL),('pt',289,'P1010014.JPG',NULL),('pt',290,'P1010013.JPG',NULL),('pt',291,'P1010012.JPG',NULL),('pt',292,'P1010011.JPG',NULL),('pt',293,'P1010010.JPG',NULL),('pt',294,'P1010009.JPG',NULL),('pt',295,'P1010008.JPG',NULL),('pt',296,'P1010007.JPG',NULL),('pt',297,'P1010006.JPG',NULL),('pt',298,'P1010005.JPG',NULL),('pt',299,'P1010004.JPG',NULL),('pt',300,'P1010003.JPG',NULL),('pt',301,'P1010002.JPG',NULL),('pt',302,'P1010001.JPG',NULL),('pt',303,'PIC_0070.JPG',NULL),('pt',304,'PIC_0069.JPG',NULL),('pt',305,'PIC_0068.JPG',NULL),('pt',306,'PIC_0067.JPG',NULL),('pt',307,'PIC_0066.JPG',NULL),('pt',308,'PIC_0065.JPG',NULL),('pt',309,'PIC_0064.JPG',NULL),('pt',310,'PIC_0063.JPG',NULL),('pt',311,'PIC_0062.JPG',NULL),('pt',312,'PIC_0061.JPG',NULL),('pt',313,'PIC_0060.JPG',NULL),('pt',314,'PIC_0059.JPG',NULL),('pt',315,'PIC_0058.JPG',NULL),('pt',316,'PIC_0057.JPG',NULL),('pt',317,'PIC_0056.JPG',NULL),('pt',318,'P1010014.JPG',NULL),('pt',319,'P1010013.JPG',NULL),('pt',320,'P1010012.JPG',NULL),('pt',321,'P1010011.JPG',NULL),('pt',322,'P1010010.JPG',NULL),('pt',323,'P1010009.JPG',NULL),('pt',324,'P1010008.JPG',NULL),('pt',325,'P1010007.JPG',NULL),('pt',326,'P1010006.JPG',NULL),('pt',327,'P1010073.JPG',NULL),('pt',328,'P1010072.JPG',NULL),('pt',329,'P1010071.JPG',NULL),('pt',330,'P1010070.JPG',NULL),('pt',331,'P1010069.JPG',NULL),('pt',332,'P1010068.JPG',NULL),('pt',333,'P1010067.JPG',NULL),('pt',334,'P1010066.JPG',NULL),('pt',335,'P1010065.JPG',NULL),('pt',336,'P1010064.JPG',NULL),('pt',337,'P1010063.JPG',NULL),('pt',338,'P1010062.JPG',NULL),('pt',339,'P1010061.JPG',NULL),('pt',340,'P1010060.JPG',NULL),('pt',341,'P1010059.JPG',NULL),('pt',342,'P1010058.JPG',NULL),('pt',343,'P1010057.JPG',NULL),('pt',344,'P1010056.JPG',NULL),('pt',345,'P1010055.JPG',NULL),('pt',346,'P1010054.JPG',NULL),('pt',347,'P1010053.JPG',NULL),('pt',348,'P1010052.JPG',NULL),('pt',349,'P1010051.JPG',NULL),('pt',350,'P1010050.JPG',NULL),('pt',351,'P1010049.JPG',NULL),('pt',352,'P1010048.JPG',NULL),('pt',353,'P1010047.JPG',NULL),('pt',354,'P1010046.JPG',NULL),('pt',355,'P1010045.JPG',NULL),('pt',356,'P1010044.JPG',NULL),('pt',357,'P1010043.JPG',NULL),('pt',358,'P1010042.JPG',NULL),('pt',359,'P1010041.JPG',NULL),('pt',360,'P1010040.JPG',NULL),('pt',361,'P1010039.JPG',NULL),('pt',362,'P1010038.JPG',NULL),('pt',363,'P1010037.JPG',NULL),('pt',364,'P1010036.JPG',NULL),('pt',365,'P1010035.JPG',NULL),('pt',366,'P1010034.JPG',NULL),('pt',367,'P1010033.JPG',NULL),('pt',368,'P1010032.JPG',NULL),('pt',369,'P1010031.JPG',NULL),('pt',370,'P1010030.JPG',NULL),('pt',371,'P1010029.JPG',NULL),('pt',372,'P1010028.JPG',NULL),('pt',373,'P1010027.JPG',NULL),('pt',374,'P1010026.JPG',NULL),('pt',375,'P1010025.JPG',NULL),('pt',376,'P1010024.JPG',NULL),('pt',377,'P1010023.JPG',NULL),('pt',378,'P1010022.JPG',NULL),('pt',379,'P1010021.JPG',NULL),('pt',380,'P1010020.JPG',NULL),('pt',381,'P1010019.JPG',NULL),('pt',382,'P1010018.JPG',NULL),('pt',383,'P1010017.JPG',NULL),('pt',384,'P1010016.JPG',NULL),('pt',385,'P1010015.JPG',NULL),('pt',386,'P1010014.JPG',NULL),('pt',387,'P1010013.JPG',NULL),('pt',388,'P1010012.JPG',NULL),('pt',389,'P1010011.JPG',NULL),('pt',390,'P1010010.JPG',NULL),('pt',391,'P1010009.JPG',NULL),('pt',392,'P1010008.JPG',NULL),('pt',393,'P1010007.JPG',NULL),('pt',394,'P1010006.JPG',NULL),('pt',395,'PIC_0076.JPG',NULL),('pt',396,'PIC_0075.JPG',NULL),('pt',397,'PIC_0030.JPG',NULL),('pt',398,'PIC_0029.JPG',NULL),('pt',399,'PIC_0028.JPG',NULL),('pt',400,'PIC_0027.JPG',NULL),('pt',401,'PIC_0026.JPG',NULL),('pt',402,'PIC_0025.JPG',NULL),('pt',403,'PIC_0024.JPG',NULL),('pt',404,'PIC_0023.JPG',NULL),('pt',405,'PIC_0022.JPG',NULL),('pt',406,'PIC_0021.JPG',NULL),('pt',407,'PIC_0020.JPG',NULL),('pt',408,'PIC_0019.JPG',NULL),('pt',409,'PIC_0018.JPG',NULL),('pt',410,'PIC_0017.JPG',NULL),('pt',411,'PIC_0016.JPG',NULL),('pt',412,'PIC_0015.JPG',NULL),('pt',413,'PIC_0014.JPG',NULL),('pt',414,'PIC_0013.JPG',NULL),('pt',415,'PIC_0012.JPG',NULL),('pt',416,'PIC_0011.JPG',NULL),('pt',417,'PIC_0010.JPG',NULL),('pt',418,'PIC_0009.JPG',NULL),('pt',419,'PIC_0008.JPG',NULL),('pt',420,'PIC_0007.JPG',NULL),('pt',421,'PIC_0006.JPG',NULL),('pt',422,'PIC_0005.JPG',NULL),('pt',423,'PIC_0004.JPG',NULL),('pt',424,'PIC_0003.JPG',NULL),('pt',425,'PIC_0002.JPG',NULL),('pt',426,'PIC_0001.JPG',NULL),('pt',427,'PIC_0058.JPG',NULL),('pt',428,'PIC_0057.JPG',NULL),('pt',429,'PIC_0056.JPG',NULL),('pt',430,'PIC_0055.JPG',NULL),('pt',431,'PIC_0054.JPG',NULL),('pt',432,'PIC_0053.JPG',NULL),('pt',433,'PIC_0052.JPG',NULL),('pt',434,'PIC_0051.JPG',NULL),('pt',435,'PIC_0050.JPG',NULL),('pt',436,'PIC_0049.JPG',NULL),('pt',437,'PIC_0048.JPG',NULL),('pt',438,'PIC_0047.JPG',NULL),('pt',439,'PIC_0046.JPG',NULL),('pt',440,'PIC_0045.JPG',NULL),('pt',441,'Imagem 037.jpg',NULL),('pt',442,'Imagem 036.jpg',NULL),('pt',443,'Imagem 035.jpg',NULL),('pt',444,'Imagem 034.jpg',NULL),('pt',445,'Imagem 033.jpg',NULL),('pt',446,'Imagem 032.jpg',NULL),('pt',447,'Imagem 031.jpg',NULL),('pt',448,'Imagem 030.jpg',NULL),('pt',449,'Imagem 029.jpg',NULL),('pt',450,'Imagem 028.jpg',NULL),('pt',451,'Imagem 027.jpg',NULL),('pt',452,'Imagem 026.jpg',NULL),('pt',453,'Imagem 025.jpg',NULL),('pt',454,'Imagem 024.jpg',NULL),('pt',455,'Imagem 023.jpg',NULL),('pt',456,'PIC_0042.JPG',NULL),('pt',457,'PIC_0041.JPG',NULL),('pt',458,'PIC_0040.JPG',NULL),('pt',459,'PIC_0039.JPG',NULL),('pt',460,'festasrebordosa 017.jpg',NULL),('pt',461,'festasrebordosa 015.jpg',NULL),('pt',462,'festasrebordosa 013.jpg',NULL),('pt',463,'festasrebordosa 012.jpg',NULL),('pt',464,'festasrebordosa 006.jpg',NULL),('pt',465,'festasrebordosa6.jpg',NULL),('pt',466,'festasrebordosa5.jpg',NULL),('pt',467,'festasrebordosa4.jpg',NULL),('pt',468,'festasrebordosa3.jpg',NULL),('pt',469,'festasrebordosa2.jpg',NULL),('pt',470,'festasrebordosa1.jpg',NULL),('pt',471,'serragemdavelha7.jpg',NULL),('pt',472,'serragemdavelha6.jpg',NULL),('pt',473,'serragemdavelha5.jpg',NULL),('pt',474,'serragemdavelha4.jpg',NULL),('pt',475,'serragemdavelha3.jpg',NULL),('pt',476,'serragemdavelha2.jpg',NULL),('pt',477,'serragemdavelha1.jpg',NULL),('pt',478,'PIC_0008.JPG',NULL),('pt',479,'PIC_0007.JPG',NULL),('pt',480,'PIC_0006.JPG',NULL),('pt',481,'PIC_0005.JPG',NULL),('pt',482,'PIC_0004.JPG',NULL),('pt',483,'PIC_0003.JPG',NULL),('pt',484,'PIC_0002.JPG',NULL),('pt',485,'P1010041.JPG',NULL),('pt',486,'P1010040.JPG',NULL),('pt',487,'P1010039.JPG',NULL),('pt',488,'P1010038.JPG',NULL),('pt',489,'P1010037.JPG',NULL),('pt',490,'P1010036.JPG',NULL),('pt',491,'P1010035.JPG',NULL),('pt',492,'P1010034.JPG',NULL),('pt',493,'P1010033.JPG',NULL),('pt',494,'P1010032.JPG',NULL),('pt',495,'P1010031.JPG',NULL),('pt',496,'P1010030.JPG',NULL),('pt',497,'P1010029.JPG',NULL),('pt',498,'P1010028.JPG',NULL),('pt',499,'P1010027.JPG',NULL),('pt',500,'P1010026.JPG',NULL),('pt',501,'P1010025.JPG',NULL),('pt',502,'P1010024.JPG',NULL),('pt',503,'P1010023.JPG',NULL),('pt',504,'P1010022.JPG',NULL),('pt',505,'P1010021.JPG',NULL),('pt',506,'P1010020.JPG',NULL),('pt',507,'P1010019.JPG',NULL),('pt',508,'P1010018.JPG',NULL),('pt',509,'P1010017.JPG',NULL),('pt',510,'P1010016.JPG',NULL),('pt',511,'P1010015.JPG',NULL),('pt',512,'P1010014.JPG',NULL),('pt',513,'P1010013.JPG',NULL),('pt',514,'P1010012.JPG',NULL),('pt',515,'P1010011.JPG',NULL),('pt',516,'P1010010.JPG',NULL),('pt',517,'P1010009.JPG',NULL),('pt',518,'P1010008.JPG',NULL),('pt',519,'P1010007.JPG',NULL),('pt',520,'P1010006.JPG',NULL),('pt',521,'P1010005.JPG',NULL),('pt',522,'P1010004.JPG',NULL),('pt',523,'P1010003.JPG',NULL),('pt',524,'P1010002.JPG',NULL),('pt',525,'P1010001.JPG',NULL),('pt',526,'PIC_0055.JPG',NULL),('pt',527,'PIC_0054.JPG',NULL),('pt',528,'PIC_0053.JPG',NULL),('pt',529,'PIC_0035.JPG',NULL),('pt',530,'PIC_0034.JPG',NULL),('pt',531,'PIC_0007.JPG',NULL),('pt',532,'PIC_0006.JPG',NULL),('pt',533,'PIC_0005.JPG',NULL),('pt',534,'PIC_0004.JPG',NULL),('pt',535,'PIC_0003.JPG',NULL),('pt',536,'PIC_0002.JPG',NULL),('pt',537,'PIC_0026.JPG',NULL),('pt',538,'PIC_0025.JPG',NULL),('pt',539,'PIC_0024.JPG',NULL),('pt',540,'PIC_0023.JPG',NULL),('pt',541,'PIC_0022.JPG',NULL),('pt',542,'PIC_0021.JPG',NULL),('pt',543,'PIC_0020.JPG',NULL),('pt',544,'PIC_0019.JPG',NULL),('pt',545,'PIC_0018.JPG',NULL),('pt',546,'P1010145.JPG',NULL),('pt',547,'P1010144.JPG',NULL),('pt',548,'P1010143.JPG',NULL),('pt',549,'P1010142.JPG',NULL),('pt',550,'P1010141.JPG',NULL),('pt',551,'P1010139.JPG',NULL),('pt',552,'P1010136.JPG',NULL),('pt',553,'P1010134.JPG',NULL),('pt',554,'P1010131.JPG',NULL),('pt',555,'P1010130.JPG',NULL),('pt',556,'P1010129.JPG',NULL),('pt',557,'P1010128.JPG',NULL),('pt',558,'P1010127.JPG',NULL),('pt',559,'P1010126.JPG',NULL),('pt',560,'P1010125.JPG',NULL),('pt',561,'P1010124.JPG',NULL),('pt',562,'P1010122.JPG',NULL),('pt',563,'P1010120.JPG',NULL),('pt',564,'P1010116.JPG',NULL),('pt',565,'P1010114.JPG',NULL),('pt',566,'P1010113.JPG',NULL),('pt',567,'P1010110.JPG',NULL),('pt',568,'P1010109.JPG',NULL),('pt',569,'P1010108.JPG',NULL),('pt',570,'P1010107.JPG',NULL),('pt',571,'P1010104.JPG',NULL),('pt',572,'P1010103.JPG',NULL),('pt',573,'P1010102.JPG',NULL),('pt',574,'P1010098.JPG',NULL),('pt',575,'P1010092.JPG',NULL),('pt',576,'P1010090.JPG',NULL),('pt',577,'P1010089.JPG',NULL),('pt',578,'P1010088.JPG',NULL),('pt',579,'P1010085.JPG',NULL),('pt',580,'P1010084.JPG',NULL),('pt',581,'P1010081.JPG',NULL),('pt',582,'P1010078.JPG',NULL),('pt',583,'P1010077.JPG',NULL),('pt',584,'P1010075.JPG',NULL),('pt',585,'P1010071.JPG',NULL),('pt',586,'P1010070.JPG',NULL),('pt',587,'P1010068.JPG',NULL),('pt',588,'P1010067.JPG',NULL),('pt',589,'P1010066.JPG',NULL),('pt',590,'P1010065.JPG',NULL),('pt',591,'P1010063.JPG',NULL),('pt',592,'P1010061.JPG',NULL),('pt',593,'P1010059.JPG',NULL),('pt',594,'P1010057.JPG',NULL),('pt',595,'P1010056.JPG',NULL),('pt',596,'P1010052.JPG',NULL),('pt',597,'P1010051.JPG',NULL),('pt',598,'P1010050.JPG',NULL),('pt',599,'P1010049.JPG',NULL),('pt',600,'P1010048.JPG',NULL),('pt',601,'P1010046.JPG',NULL),('pt',602,'P1010045.JPG',NULL),('pt',603,'P1010044.JPG',NULL),('pt',604,'P1010042.JPG',NULL),('pt',605,'P1010037.JPG',NULL),('pt',606,'P1010036.JPG',NULL),('pt',607,'P1010035.JPG',NULL),('pt',608,'P1010032.JPG',NULL),('pt',609,'P1010031.JPG',NULL),('pt',610,'P1010030.JPG',NULL),('pt',611,'P1010029.JPG',NULL),('pt',612,'P1010026.JPG',NULL),('pt',613,'P1010021.JPG',NULL),('pt',614,'P1010020.JPG',NULL),('pt',615,'P1010019.JPG',NULL),('pt',616,'P1010016.JPG',NULL),('pt',617,'P1010015.JPG',NULL),('pt',618,'P1010014.JPG',NULL),('pt',619,'P1010013.JPG',NULL),('pt',620,'P1010011.JPG',NULL),('pt',621,'P1010008.JPG',NULL),('pt',622,'P1010005.JPG',NULL),('pt',623,'P1010004.JPG',NULL),('pt',624,'P1010001.JPG',NULL); /*!40000 ALTER TABLE `gal_imgs_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `hierarq` -- DROP TABLE IF EXISTS `hierarq`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `hierarq` ( `IdHierarq` tinyint(255) NOT NULL, `Nome` varchar(30) DEFAULT NULL, PRIMARY KEY (`IdHierarq`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `hierarq` -- LOCK TABLES `hierarq` WRITE; /*!40000 ALTER TABLE `hierarq` DISABLE KEYS */; INSERT INTO `hierarq` VALUES (1,'Pastas de páginas'); /*!40000 ALTER TABLE `hierarq` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `hierarq_elementos` -- DROP TABLE IF EXISTS `hierarq_elementos`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `hierarq_elementos` ( `IdLing` char(2) NOT NULL, `IdHierarq` tinyint(4) NOT NULL, `IdElem` int(11) NOT NULL, `IdElemAsc` int(11) DEFAULT NULL, `Nome` varchar(50) NOT NULL, `NomeCompl` varchar(384) NOT NULL, PRIMARY KEY (`IdLing`,`IdHierarq`,`IdElem`), KEY `IdLingHierarqAsc` (`IdLing`,`IdHierarq`,`IdElemAsc`), KEY `IdLingHierarqElem` (`IdLing`,`IdHierarq`,`IdElem`), FULLTEXT KEY `NomeCompl` (`NomeCompl`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `hierarq_elementos` -- LOCK TABLES `hierarq_elementos` WRITE; /*!40000 ALTER TABLE `hierarq_elementos` DISABLE KEYS */; INSERT INTO `hierarq_elementos` VALUES ('pt',1,18,NULL,'Junta de Freguesia','Junta de Freguesia'),('pt',1,26,NULL,'Rebordosa','Rebordosa'),('pt',1,27,NULL,'Secretaria On Line','Secretaria On Line'),('pt',1,28,NULL,'Manutenção','Manutenção'),('pt',1,31,NULL,'Acção Executiva','Acção Executiva'),('pt',1,34,NULL,'Formulários','Formulários'),('pt',1,35,NULL,'Informações Úteis','Informações Úteis'),('pt',1,41,NULL,'30 Anos do Poder Local','30 Anos do Poder Local'),('pt',1,43,NULL,'Banners','Banners'),('pt',1,44,NULL,'Galeria de Imagens','Galeria de Imagens'),('pt',1,50,NULL,'Eventos Realizados','Eventos Realizados'),('pt',1,54,NULL,'Escola de Artes','Escola de Artes'),('pt',1,32,31,'Feiras e Mercados','Acção Executiva Acção Executiva/Feiras e Mercados'),('pt',1,33,31,'Ambiente e Lazer','Acção Executiva Acção Executiva/Ambiente e Lazer'),('pt',1,36,31,'Cemitério','Acção Executiva Acção Executiva/Cemitério'),('pt',1,37,31,'Cultura e Educação','Acção Executiva Acção Executiva/Cultura e Educação'),('pt',1,42,31,'Vias de Comunicação','Acção Executiva Acção Executiva/Vias de Comunicação'),('pt',1,45,44,'Actividade Escolar','Galeria de Imagens Galeria de Imagens/Actividade Escolar/'),('pt',1,52,44,'Saúde','Galeria de Imagens Galeria de Imagens/Saúde/'),('pt',1,53,44,'Eventos','Galeria de Imagens Galeria de Imagens/Eventos/'),('pt',1,46,45,'Carnaval 2007','Galeria de Imagens Galeria de Imagens/Actividade Escolar/ Galeria de Imagens/Actividade Escolar/Carnaval 2007/'),('pt',1,48,45,'Exposição Postais de Natal','Galeria de Imagens Galeria de Imagens/Actividade Escolar/ Galeria de Imagens/Actividade Escolar/Exposição Postais de N'),('pt',1,49,45,'Postais de Natal','Galeria de Imagens Galeria de Imagens/Actividade Escolar/ Galeria de Imagens/Actividade Escolar/Postais de Natal/'),('pt',1,51,49,'Postais de Natal','Galeria de Imagens Galeria de Imagens/Actividade Escolar/ Galeria de Imagens/Actividade Escolar/Postais de Natal/ Galeria de Imagens/Actividade Escolar/Postais de Natal/Posta'); /*!40000 ALTER TABLE `hierarq_elementos` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER hierarq_elementos_on_ains AFTER INSERT ON hierarq_elementos FOR EACH ROW CALL pesq_index(NEW.`IdLing`, CONCAT("hq", NEW.`IdHierarq`), NEW.`IdElem`, NEW.`NomeCompl`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER hierarq_elementos_on_aupd AFTER UPDATE ON hierarq_elementos FOR EACH ROW CALL pesq_index(NEW.`IdLing`, CONCAT("hq", NEW.`IdHierarq`), NEW.`IdElem`, NEW.`NomeCompl`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER hierarq_elementos_on_adel AFTER DELETE ON hierarq_elementos FOR EACH ROW CALL pesq_index_rem(CONCAT("hq", OLD.`IdHierarq`), OLD.`IdElem`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `hierarq_pedigree` -- DROP TABLE IF EXISTS `hierarq_pedigree`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `hierarq_pedigree` ( `IdHPedigree` int(11) NOT NULL AUTO_INCREMENT, `IdHierarq` tinyint(4) NOT NULL, `IdElemDesc` int(6) NOT NULL, `IdElemAsc` int(11) DEFAULT NULL, PRIMARY KEY (`IdHPedigree`), UNIQUE KEY `IdHierarqDescAsc` (`IdHierarq`,`IdElemDesc`,`IdElemAsc`), KEY `IdHierarqDesc` (`IdHierarq`,`IdElemDesc`), KEY `IdHierarqAsc` (`IdHierarq`,`IdElemAsc`) ) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `hierarq_pedigree` -- LOCK TABLES `hierarq_pedigree` WRITE; /*!40000 ALTER TABLE `hierarq_pedigree` DISABLE KEYS */; INSERT INTO `hierarq_pedigree` VALUES (43,1,18,NULL),(44,1,26,NULL),(45,1,27,NULL),(46,1,28,NULL),(47,1,31,NULL),(68,1,32,NULL),(48,1,32,31),(69,1,33,NULL),(49,1,33,31),(50,1,34,NULL),(51,1,35,NULL),(70,1,36,NULL),(52,1,36,31),(71,1,37,NULL),(53,1,37,31),(54,1,41,NULL),(72,1,42,NULL),(55,1,42,31),(56,1,43,NULL),(57,1,44,NULL),(73,1,45,NULL),(58,1,45,44),(75,1,46,NULL),(74,1,46,44),(59,1,46,45),(77,1,48,NULL),(76,1,48,44),(60,1,48,45),(79,1,49,NULL),(78,1,49,44),(61,1,49,45),(62,1,50,NULL),(82,1,51,NULL),(81,1,51,44),(80,1,51,45),(63,1,51,49),(83,1,52,NULL),(64,1,52,44),(84,1,53,NULL),(65,1,53,44),(66,1,54,NULL); /*!40000 ALTER TABLE `hierarq_pedigree` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `menus` -- DROP TABLE IF EXISTS `menus`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `menus` ( `IdMenu` int(11) NOT NULL AUTO_INCREMENT, `Ord` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`IdMenu`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `menus` -- LOCK TABLES `menus` WRITE; /*!40000 ALTER TABLE `menus` DISABLE KEYS */; INSERT INTO `menus` VALUES (-3,9),(-2,11),(-1,10),(2,8),(3,2),(4,6),(5,5),(6,4),(7,3); /*!40000 ALTER TABLE `menus` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `menus_descrs` -- DROP TABLE IF EXISTS `menus_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `menus_descrs` ( `IdLing` char(2) NOT NULL, `IdMenu` int(11) NOT NULL, `Nome` varchar(25) NOT NULL, `Descr` varchar(100) DEFAULT NULL, PRIMARY KEY (`IdLing`,`IdMenu`), KEY `IdMenu` (`IdMenu`), KEY `IdLing` (`IdLing`), CONSTRAINT `menus_descrs_IdMenu` FOREIGN KEY (`IdMenu`) REFERENCES `menus` (`IdMenu`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `menus_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `menus_descrs` -- LOCK TABLES `menus_descrs` WRITE; /*!40000 ALTER TABLE `menus_descrs` DISABLE KEYS */; INSERT INTO `menus_descrs` VALUES ('pt',-3,'* Menu Topo *','Caixa onde geralmente está o topo.'),('pt',-2,'* Menu Inf. Dir. *','Caixa onde geralmente está o \"banner\" 2.'),('pt',-1,'* Menu Sup. Dir. *','Caixa onde geralmente está o \"banner\" 1.'),('pt',2,'Informações Úteis',NULL),('pt',3,'Rebordosa','Informação sobre a cidade.'),('pt',4,'Formulários',NULL),('pt',5,'Secretaria Online',NULL),('pt',6,'Acção Executiva',''),('pt',7,'Junta de Freguesia','Informações sobre a Junta de Freguesia'); /*!40000 ALTER TABLE `menus_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `menus_itens` -- DROP TABLE IF EXISTS `menus_itens`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `menus_itens` ( `IdMenuItem` int(11) NOT NULL AUTO_INCREMENT, `IdMenu` int(11) NOT NULL, `IdPag` int(11) DEFAULT NULL, `Ord` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`IdMenuItem`), KEY `IdPag` (`IdPag`), KEY `IdMenu` (`IdMenu`), CONSTRAINT `menus_itens_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON UPDATE CASCADE, CONSTRAINT `menus_itens_ibfk_1` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON UPDATE CASCADE, CONSTRAINT `menus_itens_IdMenu` FOREIGN KEY (`IdMenu`) REFERENCES `menus` (`IdMenu`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `menus_itens` -- LOCK TABLES `menus_itens` WRITE; /*!40000 ALTER TABLE `menus_itens` DISABLE KEYS */; /*!40000 ALTER TABLE `menus_itens` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `menus_itens_descrs` -- DROP TABLE IF EXISTS `menus_itens_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `menus_itens_descrs` ( `IdLing` char(2) NOT NULL, `IdMenuItem` int(11) NOT NULL, `Nome` varchar(30) NOT NULL, `URL` varchar(60) NOT NULL, PRIMARY KEY (`IdLing`,`IdMenuItem`), KEY `IdMenuItem` (`IdMenuItem`), KEY `IdLing` (`IdLing`), CONSTRAINT `menus_itens_descrs_IdMenuItem` FOREIGN KEY (`IdMenuItem`) REFERENCES `menus_itens` (`IdMenuItem`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `menus_itens_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `menus_itens_descrs` -- LOCK TABLES `menus_itens_descrs` WRITE; /*!40000 ALTER TABLE `menus_itens_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `menus_itens_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `ml_linguas` -- DROP TABLE IF EXISTS `ml_linguas`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `ml_linguas` ( `IdLing` char(2) NOT NULL, `Nome` char(30) DEFAULT NULL, PRIMARY KEY (`IdLing`), KEY `IdLing` (`IdLing`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `ml_linguas` -- LOCK TABLES `ml_linguas` WRITE; /*!40000 ALTER TABLE `ml_linguas` DISABLE KEYS */; INSERT INTO `ml_linguas` VALUES ('pt','Português'); /*!40000 ALTER TABLE `ml_linguas` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `ml_paises` -- DROP TABLE IF EXISTS `ml_paises`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `ml_paises` ( `IdLing` char(2) NOT NULL, `IdPais` char(2) NOT NULL, `Nome` char(50) DEFAULT NULL, PRIMARY KEY (`IdLing`,`IdPais`), KEY `IdLing` (`IdLing`), KEY `IdPais` (`IdPais`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `ml_paises` -- LOCK TABLES `ml_paises` WRITE; /*!40000 ALTER TABLE `ml_paises` DISABLE KEYS */; INSERT INTO `ml_paises` VALUES ('en','ad','Andorra'),('en','ae','United Arab Emirates'),('en','af','Afghanistan'),('en','ag','Antigua And Barbuda'),('en','ai','Anguilla'),('en','al','Albania'),('en','am','Armenia'),('en','an','Netherlands Antilles'),('en','ao','Angola'),('en','aq','Antarctica'),('en','ar','Argentina'),('en','as','American Samoa'),('en','at','Austria'),('en','au','Australia'),('en','aw','Aruba'),('en','az','Azerbaijan'),('en','ba','Bosnia and Herzegovina'),('en','bb','Barbados'),('en','bd','Bangladesh'),('en','be','Belgium'),('en','bf','Burkina Faso'),('en','bg','Bulgaria'),('en','bh','Bahrain'),('en','bi','Burundi'),('en','bj','Benin'),('en','bm','Bermuda'),('en','bn','Brunei'),('en','bo','Bolivia'),('en','br','Brazil'),('en','bs','Bahamas, The'),('en','bt','Bhutan'),('en','bv','Bouvet Island'),('en','bw','Botswana'),('en','by','Belarus'),('en','bz','Belize'),('en','ca','Canada'),('en','cc','Cocos (Keeling) Islands'),('en','cd','Congo, Democractic Republic of the'),('en','cf','Central African Republic'),('en','cg','Congo'),('en','ch','Switzerland'),('en','ci','Cote D\'Ivoire (Ivory Coast)'),('en','ck','Cook Islands'),('en','cl','Chile'),('en','cm','Cameroon'),('en','cn','China'),('en','co','Colombia'),('en','cr','Costa Rica'),('en','cu','Cuba'),('en','cv','Cape Verde'),('en','cx','Christmas Island'),('en','cy','Cyprus'),('en','cz','Czech Republic'),('en','de','Germany'),('en','dj','Djibouti'),('en','dk','Denmark'),('en','dm','Dominica'),('en','do','Dominican Republic'),('en','dz','Algeria'),('en','ec','Ecuador'),('en','ee','Estonia'),('en','eg','Egypt'),('en','eh','Western Sahara'),('en','er','Eritrea'),('en','es','Spain'),('en','et','Ethiopia'),('en','fi','Finland'),('en','fj','Fiji Islands'),('en','fk','Falkland Islands (Islas Malvinas)'),('en','fm','Micronesia'),('en','fo','Faroe Islands'),('en','fr','France'),('en','ga','Gabon'),('en','gd','Grenada'),('en','ge','Georgia'),('en','gf','French Guiana'),('en','gh','Ghana'),('en','gi','Gibraltar'),('en','gl','Greenland'),('en','gm','Gambia, The'),('en','gn','Guinea'),('en','gp','Guadeloupe'),('en','gq','Equatorial Guinea'),('en','gr','Greece'),('en','gs','South Georgia And The South Sandwich Islands'),('en','gt','Guatemala'),('en','gu','Guam'),('en','gw','Guinea-Bissau'),('en','gy','Guyana'),('en','hk','China (Hong Kong S.A.R.)'),('en','hm','Heard and McDonald Islands'),('en','hn','Honduras'),('en','hr','Croatia (Hrvatska)'),('en','ht','Haiti'),('en','hu','Hungary'),('en','id','Indonesia'),('en','ie','Ireland'),('en','in','India'),('en','io','British Indian Ocean Territory'),('en','iq','Iraq'),('en','ir','Iran'),('en','is','Iceland'),('en','it','Italy'),('en','jm','Jamaica'),('en','jo','Jordan'),('en','jp','Japan'),('en','ke','Kenya'),('en','kg','Kyrgyzstan'),('en','kh','Cambodia'),('en','ki','Kiribati'),('en','km','Comoros'),('en','kn','Saint Kitts And Nevis'),('en','kp','Korea, North'),('en','kr','Korea'),('en','kw','Kuwait'),('en','ky','Cayman Islands'),('en','kz','Kazakhstan'),('en','la','Laos'),('en','lb','Lebanon'),('en','lc','Saint Lucia'),('en','li','Liechtenstein'),('en','lk','Sri Lanka'),('en','lr','Liberia'),('en','ls','Lesotho'),('en','lt','Lithuania'),('en','lu','Luxembourg'),('en','lv','Latvia'),('en','ly','Libya'),('en','ma','Morocco'),('en','mc','Monaco'),('en','md','Moldova'),('en','mg','Madagascar'),('en','mh','Marshall Islands'),('en','mk','Macedonia, Former Yugoslav Republic of'),('en','ml','Mali'),('en','mm','Myanmar'),('en','mn','Mongolia'),('en','mo','China (Macau S.A.R.)'),('en','mp','Northern Mariana Islands'),('en','mq','Martinique'),('en','mr','Mauritania'),('en','ms','Montserrat'),('en','mt','Malta'),('en','mu','Mauritius'),('en','mv','Maldives'),('en','mw','Malawi'),('en','mx','Mexico'),('en','my','Malaysia'),('en','mz','Mozambique'),('en','na','Namibia'),('en','nc','New Caledonia'),('en','ne','Niger'),('en','nf','Norfolk Island'),('en','ng','Nigeria'),('en','ni','Nicaragua'),('en','nl','Netherlands, The'),('en','no','Norway'),('en','np','Nepal'),('en','nr','Nauru'),('en','nu','Niue'),('en','nz','New Zealand'),('en','om','Oman'),('en','pa','Panama'),('en','pe','Peru'),('en','pf','French Polynesia'),('en','pg','Papua new Guinea'),('en','ph','Philippines'),('en','pk','Pakistan'),('en','pl','Poland'),('en','pm','Saint Pierre and Miquelon'),('en','pn','Pitcairn Island'),('en','pr','Puerto Rico'),('en','ps','Palestine'),('en','pt','Portugal'),('en','pw','Palau'),('en','py','Paraguay'),('en','qa','Qatar'),('en','re','Reunion'),('en','ro','Romania'),('en','ru','Russia'),('en','rw','Rwanda'),('en','sa','Saudi Arabia'),('en','sb','Solomon Islands'),('en','sc','Seychelles'),('en','sd','Sudan'),('en','se','Sweden'),('en','sg','Singapore'),('en','sh','Saint Helena'),('en','si','Slovenia'),('en','sj','Svalbard And Jan Mayen Islands'),('en','sk','Slovakia'),('en','sl','Sierra Leone'),('en','sm','San Marino'),('en','sn','Senegal'),('en','so','Somalia'),('en','sr','Suriname'),('en','st','Sao Tome and Principe'),('en','sv','El Salvador'),('en','sy','Syria'),('en','sz','Swaziland'),('en','tc','Turks And Caicos Islands'),('en','td','Chad'),('en','tf','French Southern Territories'),('en','tg','Togo'),('en','th','Thailand'),('en','tj','Tajikistan'),('en','tk','Tokelau'),('en','tm','Turkmenistan'),('en','tn','Tunisia'),('en','to','Tonga'),('en','tp','East Timor'),('en','tr','Turkey'),('en','tt','Trinidad And Tobago'),('en','tv','Tuvalu'),('en','tw','Taiwan'),('en','tz','Tanzania'),('en','ua','Ukraine'),('en','ug','Uganda'),('en','uk','United Kingdom'),('en','um','United States Minor Outlying Islands'),('en','us','United States'),('en','uy','Uruguay'),('en','uz','Uzbekistan'),('en','va','Vatican City State (Holy See)'),('en','vc','Saint Vincent And The Grenadines'),('en','ve','Venezuela'),('en','vg','Virgin Islands (British)'),('en','vi','Virgin Islands (US)'),('en','vn','Vietnam'),('en','vu','Vanuatu'),('en','wf','Wallis And Futuna Islands'),('en','ws','Samoa'),('en','ye','Yemen'),('en','yt','Mayotte'),('en','za','South Africa'),('en','zm','Zambia'),('en','zw','Zimbabwe'),('pt','ac','Ilha Ascension'),('pt','ad','Andorra'),('pt','ae','Emirados Árabes Unidos'),('pt','af','Afeganistão'),('pt','ag','Antígua e Barbuda'),('pt','ai','Anguila'),('pt','al','Albânia'),('pt','am','Arménia'),('pt','an','Antilhas Holandesas'),('pt','ao','Angola'),('pt','aq','Antártida'),('pt','ar','Argentina'),('pt','as','Samoa Americana'),('pt','at','Áustria'),('pt','au','Austrália'),('pt','aw','Aruba'),('pt','az','Azerbaijão'),('pt','ba','Bósnia e Herzegovina'),('pt','bb','Barbados'),('pt','bd','Bangladesh'),('pt','be','Bélgica'),('pt','bf','Burkina Fasso'),('pt','bg','Bulgária'),('pt','bh','Bahrein'),('pt','bi','Burundi'),('pt','bj','Benin'),('pt','bm','Bermuda'),('pt','bn','Brunei'),('pt','bo','Bolívia'),('pt','br','Brasil'),('pt','bs','Bahamas'),('pt','bt','Butão'),('pt','bv','Ilha Bouvet'),('pt','bw','Botswana'),('pt','by','Bielorússia'),('pt','bz','Belize'),('pt','ca','Canadá'),('pt','cc','Ilhas Cocos (Keeling)'),('pt','cd','República Democrática do Congo (Zaire)'),('pt','cf','República Centro-Africana'),('pt','cg','Congo'),('pt','ch','Suíça'),('pt','ci','Costa do Marfim'),('pt','ck','Ilhas Cook'),('pt','cl','Chile'),('pt','cm','Camarões'),('pt','cn','China'),('pt','co','Colômbia'),('pt','cr','Costa Rica'),('pt','cu','Cuba'),('pt','cv','Cabo Verde'),('pt','cx','Ilha Christmas'),('pt','cy','Chipre'),('pt','cz','República Checa'),('pt','de','Alemanha'),('pt','dj','Djibuti'),('pt','dk','Dinamarca'),('pt','dm','Dominica'),('pt','do','República Dominicana'),('pt','dz','Argélia'),('pt','ec','Equador'),('pt','ee','Estónia'),('pt','eg','Egipto'),('pt','er','Eritreia'),('pt','es','Espanha'),('pt','et','Etiópia'),('pt','fi','Finlândia'),('pt','fj','Ilhas Fiji'),('pt','fk','Ilhas Malvinas (Falkland)'),('pt','fm','Micronésia'),('pt','fo','Ilhas Faroé'),('pt','fr','França'),('pt','ga','Gabão'),('pt','gd','Granada'),('pt','ge','Geórgia'),('pt','gf','Guiana Francesa'),('pt','gg','Guernsey'),('pt','gh','Gana'),('pt','gi','Gibraltar'),('pt','gl','Gronelândia'),('pt','gm','Gâmbia'),('pt','gn','Guiné'),('pt','gp','Guadalupe'),('pt','gq','Guiné Equatorial'),('pt','gr','Grécia'),('pt','gs','Ilhas Geórgia do Sul e Sandwich do Sul'),('pt','gt','Guatemala'),('pt','gu','Guam'),('pt','gw','Guiné-Bissau'),('pt','gy','Guiana'),('pt','hk','Hong Kong S. A. R'),('pt','hm','Ilhas Heard e Ilhas McDonald'),('pt','hn','Honduras'),('pt','hr','Croácia'),('pt','ht','Haiti'),('pt','hu','Hungria'),('pt','id','Indonésia'),('pt','ie','Irlanda'),('pt','il','Israel'),('pt','im','Ilha de Man'),('pt','in','Índia'),('pt','io','Território Britânico do Oceano Índico'),('pt','iq','Iraque'),('pt','ir','Irão'),('pt','is','Islândia'),('pt','it','Itália'),('pt','je','Jersey'),('pt','jm','Jamaica'),('pt','jo','Jordânia'),('pt','jp','Japão'),('pt','ke','Quénia'),('pt','kg','Quirguistão'),('pt','kh','Cambodja'),('pt','ki','Kiribati'),('pt','km','Comores'),('pt','kn','St. Kitts e Névis'),('pt','kp','Coreia do Norte'),('pt','kr','Coreia'),('pt','kw','Kwait'),('pt','ky','Ilhas Caimão'),('pt','kz','Cazaquistão'),('pt','la','Laos'),('pt','lb','Líbano'),('pt','lc','Santa Lúcia'),('pt','li','Liechtenstein'),('pt','lk','Sri Lanka'),('pt','lr','Libéria'),('pt','ls','Lesoto'),('pt','lt','Lituânia'),('pt','lu','Luxemburgo'),('pt','lv','Letónia'),('pt','ly','Líbia'),('pt','ma','Marrocos'),('pt','mc','Mónaco'),('pt','md','Moldávia'),('pt','mg','Madagáscar'),('pt','mh','Ilhas Marshall'),('pt','mk','Macedónia'),('pt','ml','Mali'),('pt','mm','Myanma'),('pt','mn','Mongólia'),('pt','mo','Macau S.A.R.'),('pt','mp','Ilhas Marianas do Norte'),('pt','mq','Martinica'),('pt','mr','Mauritânia'),('pt','ms','Montserrat'),('pt','mt','Malta'),('pt','mu','Maurício'),('pt','mv','Maldivas'),('pt','mw','Malaui'),('pt','mx','México'),('pt','my','Malásia'),('pt','mz','Moçambique'),('pt','na','Namíbia'),('pt','nc','Nova Caledónia'),('pt','ne','Níger'),('pt','nf','Ilha Norfolk'),('pt','ng','Nigéria'),('pt','ni','Nicarágua'),('pt','nl','Países Baixos'),('pt','no','Noruega'),('pt','np','Nepal'),('pt','nr','Nauru'),('pt','nu','Niue'),('pt','nz','Nova Zelândia'),('pt','om','Omã'),('pt','pa','Panamá'),('pt','pe','Peru'),('pt','pf','Polinésia Francesa'),('pt','pg','Papua-Nova Guiné'),('pt','ph','Filipinas'),('pt','pk','Paquistão'),('pt','pl','Polónia'),('pt','pm','Saint-Pierre e Miquelon'),('pt','pn','Pitcairn'),('pt','pr','Porto Rico'),('pt','ps','Palestina'),('pt','pt','Portugal'),('pt','pw','Palau'),('pt','py','Paraguai'),('pt','qa','Catar'),('pt','re','Reunião'),('pt','ro','Roménia'),('pt','ru','Rússia'),('pt','rw','Ruanda'),('pt','sa','Arábia Saudita'),('pt','sb','Ilhas Salomão'),('pt','sc','Seychelles'),('pt','sd','Sudão'),('pt','se','Suécia'),('pt','sg','Singapura'),('pt','sh','Santa Helena'),('pt','si','Eslovénia'),('pt','sj','Svalbard'),('pt','sk','Eslováquia'),('pt','sl','Serra Leoa'),('pt','sm','San Marino'),('pt','sn','Senegal'),('pt','so','Somália'),('pt','sr','Suriname'),('pt','st','São Tomé e Príncipe'),('pt','sv','El Salvador'),('pt','sy','Síria'),('pt','sz','Suazilândia'),('pt','ta','Tristan da Cunha'),('pt','tc','Ilhas Turks e Caicos'),('pt','td','Chade'),('pt','tf','Territórios Franceses do Sul'),('pt','tg','Togo'),('pt','th','Tailândia'),('pt','tj','Tagiquistão'),('pt','tk','Tokelau'),('pt','tm','Turcomenistão'),('pt','tn','Tunísia'),('pt','to','Tonga'),('pt','tp','Timor Leste'),('pt','tr','Turquia'),('pt','tt','Trinidad e Tobago'),('pt','tv','Tuvalu'),('pt','tw','Taiwan'),('pt','tz','Tanzânia'),('pt','ua','Ucrânia'),('pt','ug','Uganda'),('pt','uk','Reino Unido'),('pt','um','Territórios Insulares dos EUA'),('pt','us','Estados Unidos'),('pt','uy','Uruguai'),('pt','uz','Uzbequistão'),('pt','va','Cidade do Vaticano (Santa Sé)'),('pt','vc','São Vicente e Granadinas'),('pt','ve','Venezuela'),('pt','vg','Ilhas Virgens Britânicas'),('pt','vi','Ilhas Virgens Americanas'),('pt','vn','Vietname'),('pt','vu','Vanuatu'),('pt','wf','Wallis e Futuna'),('pt','ws','Samoa'),('pt','ye','Iémen'),('pt','yt','Mayotte'),('pt','za','África do Sul'),('pt','zm','Zâmbia'),('pt','zw','Zimbabué'); /*!40000 ALTER TABLE `ml_paises` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `ml_por_traduz` -- DROP TABLE IF EXISTS `ml_por_traduz`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `ml_por_traduz` ( `IdLing` char(2) NOT NULL, `IdTab` char(5) NOT NULL, `IdReg` int(11) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `ml_por_traduz` -- LOCK TABLES `ml_por_traduz` WRITE; /*!40000 ALTER TABLE `ml_por_traduz` DISABLE KEYS */; INSERT INTO `ml_por_traduz` VALUES ('en','fp',3),('es','fp',3); /*!40000 ALTER TABLE `ml_por_traduz` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `ml_por_traduzir` -- DROP TABLE IF EXISTS `ml_por_traduzir`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `ml_por_traduzir` ( `IdLing` char(2) NOT NULL, `IdTab` char(5) NOT NULL, `IdReg` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`IdLing`,`IdTab`,`IdReg`), KEY `ml_por_traduzir_IdTab` (`IdTab`), KEY `ml_por_traduzir_IdLing` (`IdLing`), KEY `ml_por_traduzir_IdTabReg` (`IdTab`,`IdReg`), CONSTRAINT `ml_por_traduzir_IdTab` FOREIGN KEY (`IdTab`) REFERENCES `_tabs` (`IdTab`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `ml_por_traduzir_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `ml_por_traduzir` -- LOCK TABLES `ml_por_traduzir` WRITE; /*!40000 ALTER TABLE `ml_por_traduzir` DISABLE KEYS */; /*!40000 ALTER TABLE `ml_por_traduzir` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `montra_pags_iniciais` -- DROP TABLE IF EXISTS `montra_pags_iniciais`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `montra_pags_iniciais` ( `IdPagIni` int(11) NOT NULL AUTO_INCREMENT, `IdPag` int(11) NOT NULL, `DataEntrada` datetime NOT NULL COMMENT 'Data em que esta página se torna inicial.', `DataIns` datetime NOT NULL, `Actual?` bit(1) DEFAULT NULL COMMENT 'Indica se esta é actualmente a página inicial.', PRIMARY KEY (`IdPagIni`), KEY `IdPag` (`IdPag`), KEY `DataEntrada` (`DataEntrada`), CONSTRAINT `montra_pags_iniciais_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `montra_pags_iniciais` -- LOCK TABLES `montra_pags_iniciais` WRITE; /*!40000 ALTER TABLE `montra_pags_iniciais` DISABLE KEYS */; INSERT INTO `montra_pags_iniciais` VALUES (20,157,'2007-04-30 11:20:00','2007-04-30 11:20:08','\0'),(22,145,'2007-05-07 10:25:00','2007-05-07 10:19:01','\0'),(23,137,'2007-05-22 04:00:00','2007-05-22 03:40:31','\0'),(25,146,'2007-06-11 06:00:00','2007-06-11 05:37:10','\0'),(26,146,'2007-06-11 05:45:00','2007-06-11 05:38:38','\0'),(27,180,'2007-08-24 05:45:00','2007-08-24 05:29:10','\0'),(28,181,'2007-09-24 05:25:00','2007-09-24 05:24:30','\0'),(29,180,'2007-10-02 05:40:00','2007-10-02 05:35:02','\0'),(30,182,'2007-10-31 10:30:00','2007-10-31 10:30:24','\0'),(31,183,'2007-11-12 04:21:00','2007-11-12 04:20:47','\0'),(32,184,'2007-12-11 12:22:00','2007-12-11 12:21:01','\0'),(33,185,'2007-12-17 11:01:00','2007-12-17 11:00:15','\0'),(37,186,'2008-01-04 02:47:00','2008-01-04 02:46:33','\0'),(38,194,'2008-01-16 04:22:00','2008-01-16 04:10:09','\0'),(39,183,'2008-02-07 12:14:00','2008-02-07 11:58:22','\0'),(40,184,'2008-03-03 05:23:00','2008-03-03 05:04:48','\0'),(41,195,'2008-03-27 03:17:00','2008-03-27 02:50:50','\0'),(42,196,'2008-04-21 11:57:00','2008-04-21 11:08:32','\0'),(43,197,'2008-04-28 06:06:00','2008-04-28 05:16:23','\0'),(44,198,'2008-05-20 11:35:00','2008-05-20 10:36:44','\0'),(45,199,'2008-06-02 04:40:00','2008-06-02 03:39:51','\0'),(46,200,'2009-02-10 07:11:00','2009-02-10 07:06:13','\0'),(47,199,'2009-02-10 07:15:00','2009-02-10 07:14:33','\0'),(48,200,'2009-02-10 11:00:00','2009-02-10 07:17:31','\0'),(49,199,'2009-03-03 11:14:00','2009-03-03 11:11:52',''); /*!40000 ALTER TABLE `montra_pags_iniciais` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `newsls` -- DROP TABLE IF EXISTS `newsls`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `newsls` ( `IdNewsl` int(11) NOT NULL AUTO_INCREMENT, `DataIns` datetime DEFAULT NULL, PRIMARY KEY (`IdNewsl`) ) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `newsls` -- LOCK TABLES `newsls` WRITE; /*!40000 ALTER TABLE `newsls` DISABLE KEYS */; INSERT INTO `newsls` VALUES (1,'2008-07-24 02:54:07'),(2,'2008-07-24 03:51:10'),(3,'2008-08-01 10:25:31'),(5,'2008-10-24 10:57:59'),(6,'2008-10-24 11:01:59'),(19,'2008-11-27 10:09:34'),(20,'2008-11-27 10:22:28'),(21,'2009-01-08 05:26:21'),(22,'2009-01-20 04:19:11'),(23,'2009-03-05 03:35:55'); /*!40000 ALTER TABLE `newsls` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER newsls_on_a_del AFTER DELETE ON newsls FOR EACH ROW CALL ml_n_traduz("nwl", OLD.`IdNewsl`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `newsls_asss` -- DROP TABLE IF EXISTS `newsls_asss`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `newsls_asss` ( `IdAssNewsl` int(11) NOT NULL AUTO_INCREMENT, `IdCatAssNewsl` int(11) DEFAULT NULL, `e-mail` char(40) NOT NULL, `IdLing` char(2) NOT NULL, `DataIns` datetime NOT NULL, `DataElim` datetime DEFAULT NULL, `Atributos` tinyint(4) NOT NULL DEFAULT '0' COMMENT '2 = Inactivo; 4 = Directo.', `Estado` tinyint(4) DEFAULT '0' COMMENT '0 = Ok; 1 = Não confirmado; 2 = Eliminado.', PRIMARY KEY (`IdAssNewsl`), KEY `IdCatAssNewsl` (`IdCatAssNewsl`), KEY `proc` (`IdLing`,`IdCatAssNewsl`,`e-mail`,`Estado`), KEY `IdLing` (`IdLing`), KEY `DataElim` (`DataElim`), CONSTRAINT `newsls_asss_idLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `newsls_asss_IdCatAssNewsl` FOREIGN KEY (`IdCatAssNewsl`) REFERENCES `newsls_cats_asss` (`IdCatAssNewsl`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=94 DEFAULT CHARSET=utf8 COMMENT='InnoDB free: 9216 kB; (`IdLing`) REFER `olika/linguas`(`IdLi'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `newsls_asss` -- LOCK TABLES `newsls_asss` WRITE; /*!40000 ALTER TABLE `newsls_asss` DISABLE KEYS */; INSERT INTO `newsls_asss` VALUES (2,-2,'profamandio@gmail.com','pt','2007-04-17 10:30:45',NULL,0,0),(3,-2,'JOVIC@JOVIC.MAIL.PT','pt','2007-04-17 08:16:52',NULL,0,0),(4,-2,'antoniocarolina@clix.pt','pt','2007-04-23 10:52:23',NULL,0,0),(5,-2,'kampuz@gmail.com','pt','2007-04-30 03:22:57',NULL,0,0),(6,-2,'mariajosebrito2006@yahoo.com.br','pt','2007-05-02 08:47:25',NULL,0,0),(7,-2,'anto_carlos@sapo.pt','pt','2007-05-09 11:43:24',NULL,0,0),(8,-2,'leandro_moreira_85@hotmail.com','pt','2007-05-14 02:31:32',NULL,0,0),(9,-2,'angelammcarvalho@gmail.com','pt','2007-05-14 11:14:47',NULL,0,0),(10,-2,'jofe@portugalmail.pt','pt','2007-05-18 09:20:42',NULL,0,0),(11,-2,'carlosalfredo@sapo.pt','pt','2007-05-21 08:21:18',NULL,0,0),(12,-2,'bc70147@hotmail.com','pt','2007-05-25 11:25:14',NULL,0,0),(14,-2,'carfloyd@gmail.com','pt','2007-06-13 11:17:59',NULL,0,0),(15,-2,'isabarbosa@sapo.pt','pt','2007-06-15 12:24:07',NULL,0,0),(16,-2,'pattchy@iol.pt','pt','2007-06-18 02:03:36',NULL,0,0),(17,-2,'rosacoelho535@gmail.com','pt','2007-06-26 05:16:04',NULL,0,0),(20,-2,'hib0911@gmail.com','pt','2007-06-29 11:20:03',NULL,0,0),(21,-2,'joaquim.a.t.j@sapo.pt','pt','2007-07-06 08:05:05',NULL,0,0),(22,-2,'joaquim.martinez@sapo.pt','pt','2007-07-03 08:57:27',NULL,0,0),(23,-2,'rfaquinha@hotmail.com','pt','2007-07-05 03:40:06',NULL,0,0),(24,-2,'vanessa_milka@hotmail.com','pt','2007-07-16 02:39:08',NULL,0,0),(25,-2,'jcarlos@jms.pt','pt','2007-07-17 10:51:43',NULL,0,0),(26,-2,'hmcbls@sapo.pt','pt','2007-07-22 11:17:00',NULL,0,0),(27,-2,'mark_write@hotmail.fr','pt','2007-08-02 12:03:24',NULL,0,0),(28,-2,'barbarabento@hotmail.com','pt','2007-08-10 01:02:51',NULL,0,0),(29,-2,'aprigiosantos@sapo.pt','pt','2007-08-15 11:20:32',NULL,0,0),(30,-2,'paulocastelo114@gmail.com','pt','2007-08-24 08:52:53',NULL,0,0),(31,-2,'arquitectosilvio@gmail.com','pt','2007-08-27 05:02:08',NULL,0,0),(32,-2,'micaelasaibro@hotmail.com','pt','2007-09-01 06:25:02',NULL,0,0),(33,-2,'shhorty@portugalmail.pt','pt','2007-09-11 08:54:12',NULL,0,0),(34,-2,'bunny29@iol.pt','pt','2007-09-15 10:38:43',NULL,0,0),(35,-2,'sus.coelho@clix.pt','pt','2007-09-15 10:00:54',NULL,0,0),(37,-2,'ana_leal2208@hotmail.com','pt','2007-09-17 04:41:45',NULL,0,0),(38,-2,'www.sva.julia@mail.ptprime.pt','pt','2007-09-19 02:32:33',NULL,0,0),(39,-2,'a.prec@hotmail.com','pt','2007-09-20 07:15:48',NULL,0,0),(40,-2,'rjfcardoso@hotmail.com','pt','2007-09-22 12:17:51',NULL,0,0),(41,-2,'margaridansantos@kanguru.pt','pt','2007-09-26 09:20:37',NULL,0,0),(42,-2,'pmlelal@hotmail.com','pt','2007-09-26 10:19:27',NULL,0,0),(43,-2,'anabelalopesbarbosa@gmail.com','pt','2007-09-26 11:04:34',NULL,0,0),(44,-2,'anabela@prn.pt','pt','2007-09-26 10:42:57',NULL,0,0),(45,-2,'pmleal@hotmail.com','pt','2007-09-26 11:03:20',NULL,0,0),(46,-2,'vanessinha-pop-star@hotmail.com','pt','2007-09-27 03:49:37',NULL,0,0),(47,-2,'paulaadrt@hotmail.com','pt','2007-10-10 10:58:39',NULL,0,0),(48,-2,'geral@betumes.com','pt','2007-10-13 05:44:18',NULL,0,0),(49,-2,'adriana-pacheco@hotmail.com','pt','2007-11-01 10:37:29',NULL,0,0),(50,-2,'albanoalves@gmail.com','pt','2007-11-01 03:07:17',NULL,0,0),(51,-2,'zepedrof@hotmail.com','pt','2007-11-02 07:07:09',NULL,0,0),(52,-2,'solarc@zapp.pt','pt','2007-11-13 08:34:01',NULL,0,0),(53,-2,'sorayaleal2007@hotmail.com','pt','2007-12-03 04:34:48',NULL,0,0),(55,-2,'apblima@gmail.com','pt','2008-03-06 11:48:56',NULL,0,0),(57,-2,'anaisabel96@hotmail.com','pt','2008-03-26 06:38:40',NULL,0,0),(58,-2,'pedromariasilva@gmail.com','pt','2008-04-21 04:19:30',NULL,0,0),(59,-2,'carla.campos@iol.pt','pt','2008-04-24 02:37:34',NULL,0,0),(60,-2,'sandraferreira106@gmail.com','pt','2008-04-30 12:26:04',NULL,0,0),(61,-2,'h.venda@sapo.pt','pt','2008-05-09 07:10:02',NULL,0,0),(62,-2,'laurindamoreira@sapo.pt','pt','2008-05-09 01:29:55',NULL,0,0),(66,-2,'marioleite@fenabel.com','pt','2008-05-27 09:55:41',NULL,0,0),(68,-2,'carla_bino@hotmail.com','pt','2008-06-11 02:01:30',NULL,0,0),(69,-2,'manu.v05@hotmail.com','pt','2008-06-13 01:31:16',NULL,0,0),(76,-1,'geral@jf-rebordosa.pt','pt','2008-07-28 09:18:32',NULL,4,0),(77,-1,'lisetebritos@clix.pt','pt','2008-07-28 09:59:07',NULL,4,0),(83,-2,'chuchobobby@hotmail.com','pt','2008-11-05 02:39:52',NULL,0,0),(88,-2,'abelfernando@gmail.com','pt','2009-01-10 12:22:37',NULL,0,0),(90,-2,'mlsarl@hotmail.fr','pt','2009-01-24 10:00:50',NULL,0,0),(91,-2,'pinheirobms@gmail.com','pt','2009-02-06 09:07:12',NULL,0,0),(92,-2,'jfcampos33@live.com.pt','pt','2009-02-08 02:24:29',NULL,0,1),(93,-2,'carlafpereira@hotmail.com','pt','2009-03-10 03:36:31',NULL,0,1); /*!40000 ALTER TABLE `newsls_asss` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `newsls_cats_asss` -- DROP TABLE IF EXISTS `newsls_cats_asss`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `newsls_cats_asss` ( `IdCatAssNewsl` int(11) NOT NULL AUTO_INCREMENT, `Nome` char(30) DEFAULT NULL, PRIMARY KEY (`IdCatAssNewsl`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `newsls_cats_asss` -- LOCK TABLES `newsls_cats_asss` WRITE; /*!40000 ALTER TABLE `newsls_cats_asss` DISABLE KEYS */; INSERT INTO `newsls_cats_asss` VALUES (-3,'Utentes do site'),(-2,'Assinantes'),(-1,'(Administrador)'); /*!40000 ALTER TABLE `newsls_cats_asss` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `newsls_descrs` -- DROP TABLE IF EXISTS `newsls_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `newsls_descrs` ( `IdLing` char(2) NOT NULL, `IdNewsl` int(11) NOT NULL, `Data` datetime DEFAULT NULL, `Nome` char(50) DEFAULT NULL, `e-mail` char(50) DEFAULT NULL, `IdCatAssNewsl` int(11) DEFAULT NULL, `PedirRecibo?` tinyint(4) DEFAULT NULL, `Assunto` char(100) NOT NULL, `Contd` text NOT NULL, PRIMARY KEY (`IdLing`,`IdNewsl`), KEY `IdLingCatAssNewsl` (`IdLing`,`IdCatAssNewsl`), KEY `IdCatAssNewsl` (`IdCatAssNewsl`), KEY `IdNewsl` (`IdNewsl`), KEY `IdLing` (`IdLing`), CONSTRAINT `newsls_descrs_IdNewsl` FOREIGN KEY (`IdNewsl`) REFERENCES `newsls` (`IdNewsl`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT ` newsls_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `newsls_descrs_IdCatAssNewsl` FOREIGN KEY (`IdCatAssNewsl`) REFERENCES `newsls_cats_asss` (`IdCatAssNewsl`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `newsls_descrs` -- LOCK TABLES `newsls_descrs` WRITE; /*!40000 ALTER TABLE `newsls_descrs` DISABLE KEYS */; INSERT INTO `newsls_descrs` VALUES ('pt',1,'2008-07-24 02:54:07','lisetebritos@clix.pt','geral@jf-rebordosa.pt',-3,NULL,'Concerto - Escola de Artes de Rebordosa','

\"\"

 

Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',2,'2008-07-24 03:51:10','Junta de Freguesia de Rebordosa','geral@jf-rebordosa.pt',-2,NULL,'Concerto - Escola de Artes de Rebordosa','

\"\" 

Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',3,'2008-08-01 10:25:31','Junta de Freguesia de Rebordosa','geral@jf-rebordosa.pt',-1,NULL,'Mini Festival da Canção','

\"\"

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',5,'2008-10-24 10:57:59','Junta de Freguesia de Rebordosa','geral@jf-rebordosa.pt',-1,NULL,'Mini Festival da Canção','

\"\"

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',6,'2008-10-24 11:01:59','Junta de Freguesia de Rebordosa','geral@jf-rebordosa.pt',-1,NULL,'Mini Festival da Canção','

\"\"

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',19,'2008-11-27 10:09:34','Junta de Freguesia de Rebordosa','geral@jf-rebordosa.pt',-1,NULL,'Maratona de Dança','

\"\"

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',20,'2008-11-27 10:22:28','Junta de Freguesia de Rebordosa','geral@jf-rebordosa.pt',-2,NULL,'Maratona de Dança','

\"\"

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',21,'2009-01-08 05:26:21','Junta de Freguesia de Rebordosa','geral@jf-rebordosa.pt',-2,NULL,'Danças de Salão','

\"\"

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',22,'2009-01-20 04:19:11','Junta de Freguesia de Rebordosa','admin@jf-rebordosa.pt',-2,NULL,'Danças de Salão','

\"\"

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'),('pt',23,'2009-03-05 03:35:55','Junta de Freguesia de Rebordosa','admin@jf-rebordosa.pt',-2,NULL,'NOITE DE FADOS','

\"\"

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'); /*!40000 ALTER TABLE `newsls_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `noticias` -- DROP TABLE IF EXISTS `noticias`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `noticias` ( `IdNotc` int(11) NOT NULL AUTO_INCREMENT, `NomeImg` char(50) NOT NULL DEFAULT '', `l` smallint(6) DEFAULT NULL, `a` smallint(6) DEFAULT NULL, `DataIns` datetime DEFAULT NULL, PRIMARY KEY (`IdNotc`) ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `noticias` -- LOCK TABLES `noticias` WRITE; /*!40000 ALTER TABLE `noticias` DISABLE KEYS */; INSERT INTO `noticias` VALUES (12,'',NULL,NULL,'2007-01-10 11:27:46'); /*!40000 ALTER TABLE `noticias` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `noticias_descrs` -- DROP TABLE IF EXISTS `noticias_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `noticias_descrs` ( `IdLing` char(2) NOT NULL, `IdNotc` int(11) NOT NULL DEFAULT '0', `Titulo` char(50) DEFAULT NULL, `Contd` text, `Traduz?` bit(1) DEFAULT NULL, PRIMARY KEY (`IdLing`,`IdNotc`), KEY `IdLing` (`IdLing`), KEY `IdNotc` (`IdNotc`), CONSTRAINT `notcs_descrs_IdNotc` FOREIGN KEY (`IdNotc`) REFERENCES `noticias` (`IdNotc`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `notcs_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `noticias_descrs` -- LOCK TABLES `noticias_descrs` WRITE; /*!40000 ALTER TABLE `noticias_descrs` DISABLE KEYS */; INSERT INTO `noticias_descrs` VALUES ('pt',12,'Garbo na internet','

A garbo está mais perto de si. Acabamos de abrir o nosso site na Internet, onde poderá conhecer os nossos produtos e serviços, e -nos mais facil e rapidamente.

Os clientes que se registarem no nosso site terão acesso a imagens maiores dos nossos produtos.

','\0'); /*!40000 ALTER TABLE `noticias_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `pags` -- DROP TABLE IF EXISTS `pags`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pags` ( `IdPag` int(11) NOT NULL AUTO_INCREMENT, `IdPastaPags` int(11) DEFAULT NULL, `IdClassePags` int(11) NOT NULL, `DataIns` datetime NOT NULL, `DataUltAct` datetime NOT NULL, PRIMARY KEY (`IdPag`), KEY `IdPastaPags` (`IdPastaPags`), KEY `IdClassePags` (`IdClassePags`), CONSTRAINT `pags_IdPastaPags` FOREIGN KEY (`IdPastaPags`) REFERENCES `pags_pastas` (`IdPastaPags`) ON UPDATE CASCADE, CONSTRAINT `pags_IdClassePags` FOREIGN KEY (`IdClassePags`) REFERENCES `pags_reg_classes` (`IdClassePags`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8 COMMENT='\r\n'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pags` -- LOCK TABLES `pags` WRITE; /*!40000 ALTER TABLE `pags` DISABLE KEYS */; INSERT INTO `pags` VALUES (123,28,17,'1999-11-30 12:00:00','2008-01-08 03:21:35'),(124,26,17,'1999-11-30 12:00:00','2007-05-25 10:03:36'),(125,26,17,'1999-11-30 12:00:00','2007-05-25 10:04:32'),(126,26,17,'1999-11-30 12:00:00','2008-01-28 12:38:14'),(127,18,17,'1999-11-30 12:00:00','2008-02-20 10:12:47'),(128,18,17,'1999-11-30 12:00:00','2007-10-03 10:42:18'),(129,18,17,'1999-11-30 12:00:00','2007-05-15 06:48:22'),(130,18,17,'1999-11-30 12:00:00','2008-01-03 12:30:16'),(134,26,17,'1999-11-30 12:00:00','2007-05-11 04:31:02'),(136,35,17,'1999-11-30 12:00:00','2007-05-14 12:00:21'),(137,32,17,'1999-11-30 12:00:00','2007-07-23 09:41:09'),(139,18,17,'1999-11-30 12:00:00','2007-05-07 03:58:34'),(140,27,17,'1999-11-30 12:00:00','2007-05-11 05:55:05'),(141,27,17,'1999-11-30 12:00:00','2007-05-11 05:55:36'),(142,36,17,'1999-11-30 12:00:00','2007-07-25 12:39:22'),(143,27,17,'1999-11-30 12:00:00','2007-05-25 10:12:12'),(144,27,17,'1999-11-30 12:00:00','2007-05-25 10:15:06'),(145,33,17,'1999-11-30 12:00:00','2009-01-21 04:47:29'),(146,35,17,'1999-11-30 12:00:00','2009-01-21 04:59:50'),(147,37,17,'1999-11-30 12:00:00','2009-01-21 04:47:54'),(151,34,44,'2007-04-12 09:50:31','2007-04-12 09:51:18'),(152,35,17,'2007-04-12 10:02:29','2008-01-08 01:14:42'),(153,42,17,'2007-04-12 10:09:26','2007-05-11 04:52:42'),(155,18,17,'2007-04-14 09:31:01','2007-05-25 10:08:24'),(157,NULL,17,'2007-04-14 09:39:17','2007-05-10 09:17:14'),(158,26,17,'2007-04-14 10:06:50','2007-05-11 04:43:03'),(159,26,17,'2007-04-14 10:12:35','2007-05-25 09:55:51'),(160,34,44,'2007-04-14 10:50:47','2007-04-14 10:50:47'),(161,34,44,'2007-04-14 10:59:05','2007-04-14 10:59:05'),(162,34,44,'2007-04-14 11:19:35','2007-04-14 11:19:35'),(163,41,17,'2007-04-16 09:46:31','2007-05-07 03:57:28'),(166,43,47,'2007-04-27 05:42:30','2007-04-27 05:42:30'),(167,43,47,'2007-04-27 05:44:26','2007-04-27 05:44:26'),(168,43,47,'2007-04-27 05:45:13','2007-04-27 05:45:13'),(169,27,49,'2007-04-27 05:49:06','2007-04-27 05:49:06'),(173,44,37,'2007-04-27 07:09:04','2008-12-12 05:35:23'),(177,45,37,'2007-05-07 10:04:51','2007-05-07 10:10:55'),(178,49,37,'2007-05-07 10:14:56','2007-05-07 10:14:56'),(179,45,37,'2007-05-07 10:35:24','2007-05-07 10:38:44'),(180,NULL,17,'2007-08-24 05:23:34','2007-10-19 12:33:40'),(181,35,17,'2007-09-24 05:05:20','2008-01-28 12:41:53'),(182,NULL,17,'2007-10-31 10:16:01','2008-06-30 11:55:50'),(183,NULL,17,'2007-11-12 04:00:08','2008-02-07 11:57:33'),(184,NULL,17,'2007-12-11 12:06:48','2008-03-03 05:04:19'),(185,NULL,17,'2007-12-17 10:39:16','2008-01-28 12:40:02'),(186,NULL,17,'2008-01-04 02:44:37','2008-01-04 02:56:57'),(194,NULL,17,'2008-01-15 02:08:40','2008-01-17 03:50:01'),(195,NULL,17,'2008-03-27 02:48:21','2008-03-27 03:28:06'),(196,NULL,17,'2008-04-21 11:03:28','2008-04-21 11:08:04'),(197,NULL,17,'2008-04-28 05:12:17','2008-04-28 05:14:33'),(198,NULL,17,'2008-05-20 10:21:34','2008-05-30 11:20:14'),(199,NULL,17,'2008-06-02 03:22:35','2009-03-03 06:27:31'),(200,NULL,17,'2009-02-10 07:03:39','2009-02-10 11:34:41'); /*!40000 ALTER TABLE `pags` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER pags_on_bdel BEFORE DELETE ON pags FOR EACH ROW CALL pags_index_rem(OLD.`IdPag`) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `pags_descrs` -- DROP TABLE IF EXISTS `pags_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pags_descrs` ( `IdLing` char(2) NOT NULL, `IdPag` int(11) NOT NULL, `Tit` varchar(40) NOT NULL, `NomeFich` varchar(30) NOT NULL, `Resumo` varchar(128) NOT NULL COMMENT 'Resumo do conteúdo', `Contd` mediumtext, PRIMARY KEY (`IdLing`,`IdPag`), KEY `IdLing` (`IdLing`), KEY `IdPag` (`IdPag`), CONSTRAINT `pags_descrs_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pags` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `pags_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pags_descrs` -- LOCK TABLES `pags_descrs` WRITE; /*!40000 ALTER TABLE `pags_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `pags_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `pags_pastas` -- DROP TABLE IF EXISTS `pags_pastas`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pags_pastas` ( `IdPastaPags` int(11) NOT NULL AUTO_INCREMENT, `IdPastaPagsPai` int(11) DEFAULT NULL, PRIMARY KEY (`IdPastaPags`), KEY ` pags_pastas_IdPastaPagsPai` (`IdPastaPagsPai`), CONSTRAINT `pags_pastas_ibfk_1` FOREIGN KEY (`IdPastaPagsPai`) REFERENCES `pags_pastas` (`IdPastaPags`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT ` pags_pastas_IdPastaPagsPai` FOREIGN KEY (`IdPastaPagsPai`) REFERENCES `pags_pastas` (`IdPastaPags`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8 COMMENT='Permite uma divisão lógica das várias páginas em pastas.'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pags_pastas` -- LOCK TABLES `pags_pastas` WRITE; /*!40000 ALTER TABLE `pags_pastas` DISABLE KEYS */; INSERT INTO `pags_pastas` VALUES (18,NULL),(26,NULL),(27,NULL),(28,NULL),(31,NULL),(34,NULL),(35,NULL),(41,NULL),(43,NULL),(44,NULL),(50,NULL),(54,NULL),(32,31),(33,31),(36,31),(37,31),(42,31),(45,44),(52,44),(53,44),(46,45),(48,45),(49,45),(51,49); /*!40000 ALTER TABLE `pags_pastas` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER pags_pastas_on_adel AFTER DELETE ON pags_pastas FOR EACH ROW BEGIN CALL pesq_index_rem("pp",OLD.`IdPastaPags`); CALL hierarq_rem_elem(1, OLD.`IdPastaPags`); END */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `pags_pastas_descrs` -- DROP TABLE IF EXISTS `pags_pastas_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pags_pastas_descrs` ( `IdLing` char(2) NOT NULL, `IdPastaPags` int(11) NOT NULL, `Nome` varchar(30) NOT NULL, `NomeCompl` varchar(384) NOT NULL, `NomeFis` varchar(20) NOT NULL, `NomeFisCompl` varchar(256) NOT NULL, PRIMARY KEY (`IdLing`,`IdPastaPags`), KEY `IdLing` (`IdLing`), KEY `IdPastaPags` (`IdPastaPags`), CONSTRAINT `pags_pastas_descrs_IdPastaPags` FOREIGN KEY (`IdPastaPags`) REFERENCES `pags_pastas` (`IdPastaPags`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pags_pastas_descrs` -- LOCK TABLES `pags_pastas_descrs` WRITE; /*!40000 ALTER TABLE `pags_pastas_descrs` DISABLE KEYS */; INSERT INTO `pags_pastas_descrs` VALUES ('pt',18,'Junta de Freguesia','Junta de Freguesia','junta-de-freguesia','junta-de-freguesia/'),('pt',26,'Rebordosa','Rebordosa','rebordosa','rebordosa/'),('pt',27,'Secretaria On Line','Secretaria On Line','secretaria-on-line','secretaria-on-line/'),('pt',28,'Manutenção','Manutenção','manut','manut/'),('pt',31,'Acção Executiva','Acção Executiva','accao-executiva','accao-executiva/'),('pt',32,'Feiras e Mercados','Acção Executiva/Feiras e Mercados','feiras-e-mercados','accao-executiva/feiras-e-mercados/'),('pt',33,'Ambiente e Lazer','Acção Executiva/Ambiente e Lazer','ambiente-e-lazer','accao-executiva/ambiente-e-lazer/'),('pt',34,'Formulários','Formulários','impressos-frmlrs','impressos-frmlrs/'),('pt',35,'Informações Úteis','Informações Úteis','informacoes-uteis','informacoes-uteis/'),('pt',36,'Cemitério','Acção Executiva/Cemitério','cemiterio','accao-executiva/cemiterio/'),('pt',37,'Cultura e Educação','Acção Executiva/Cultura e Educação','cultura-e-educacao','accao-executiva/cultura-e-educacao/'),('pt',41,'30 Anos do Poder Local','30 Anos do Poder Local','30-anos-poder-local','30-anos-poder-local/'),('pt',42,'Vias de Comunicação','Acção Executiva/Vias de Comunicação','vias-de-comunicacao','accao-executiva/vias-de-comunicacao/'),('pt',43,'Banners','Banners/','banners','banners/'),('pt',44,'Galeria de Imagens','Galeria de Imagens/','galeria-de-imagens','galeria-de-imagens/'),('pt',45,'Actividade Escolar','Galeria de Imagens/Actividade Escolar/','actividade-escolar','galeria-de-imagens/actividade-escolar/'),('pt',46,'Carnaval 2007','Galeria de Imagens/Actividade Escolar/Carnaval 2007/','carnaval-2007','galeria-de-imagens/actividade-escolar/carnaval-2007/'),('pt',48,'Exposição Postais de Natal','Galeria de Imagens/Actividade Escolar/Exposição Postais de Natal/','-exposicao-postai','galeria-de-imagens/actividade-escolar/-exposicao-postai/'),('pt',49,'Postais de Natal','Galeria de Imagens/Actividade Escolar/Postais de Natal/','postais-de-natal','galeria-de-imagens/actividade-escolar/postais-de-natal/'),('pt',50,'Eventos Realizados','Eventos Realizados/','eventos-realizados','eventos-realizados/'),('pt',51,'Postais de Natal','Galeria de Imagens/Actividade Escolar/Postais de Natal/Postais de Natal/','postais-de-natal','galeria-de-imagens/actividade-escolar/postais-de-natal/postais-de-natal/'),('pt',52,'Saúde','Galeria de Imagens/Saúde/','saude','galeria-de-imagens/saude/'),('pt',53,'Eventos','Galeria de Imagens/Eventos/','eventos','galeria-de-imagens/eventos/'),('pt',54,'Escola de Artes','Escola de Artes/','escola-de-artes','escola-de-artes/'); /*!40000 ALTER TABLE `pags_pastas_descrs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER pags_pastas_descrs_ains AFTER INSERT ON pags_pastas_descrs FOR EACH ROW BEGIN CALL pesq_index(NEW.IdLing,"pp",NEW.IdPastaPags,NEW.Nome); END */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER pags_pastas_descrs_aupd AFTER UPDATE ON pags_pastas_descrs FOR EACH ROW IF NEW.Nome <> OLD.Nome THEN CALL pesq_index(NEW.IdLing,"pp",NEW.IdPastaPags,NEW.Nome); END IF */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `pags_reg_classes` -- DROP TABLE IF EXISTS `pags_reg_classes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pags_reg_classes` ( `IdClassePags` int(11) NOT NULL AUTO_INCREMENT, `NomeModulo` varchar(20) NOT NULL COMMENT 'Nome da classe desta página.', `Nome` varchar(30) NOT NULL COMMENT 'Nome deste tipo de páginas', `PastaModulo` varchar(60) NOT NULL COMMENT 'Pasta com o código do módulo', `Embeb?` bit(1) NOT NULL DEFAULT b'0', PRIMARY KEY (`IdClassePags`), KEY `PastaModulo` (`PastaModulo`) ) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pags_reg_classes` -- LOCK TABLES `pags_reg_classes` WRITE; /*!40000 ALTER TABLE `pags_reg_classes` DISABLE KEYS */; INSERT INTO `pags_reg_classes` VALUES (17,'Txt','Conteúdo livre','Txt/','\0'),(37,'Gal','Galeria de Imagens','Gal/','\0'),(44,'Downls','Downloads','Downls/','\0'),(47,'Banns','Banner','Banns/',''),(49,'SugReclam','Sugestões/Reclamações','SugReclam/','\0'),(50,'BolsaEmprego','Bolsa de Emprego','BolsaEmprego/','\0'),(51,'DirEmprs','Directório de Empresas','DirEmprs/','\0'),(52,'Forum','Fórum','Forum/','\0'),(53,'ConsOp','Consulta de Opinião','ConsOp/',''); /*!40000 ALTER TABLE `pags_reg_classes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `pagsi` -- DROP TABLE IF EXISTS `pagsi`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pagsi` ( `IdPag` int(11) NOT NULL AUTO_INCREMENT, `DataUltAct` datetime DEFAULT NULL, `DataIns` datetime DEFAULT NULL, PRIMARY KEY (`IdPag`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='\r\n'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pagsi` -- LOCK TABLES `pagsi` WRITE; /*!40000 ALTER TABLE `pagsi` DISABLE KEYS */; INSERT INTO `pagsi` VALUES (3,'2008-01-09 06:30:19','2008-01-09 06:11:56'),(4,'2008-01-10 09:41:54',NULL); /*!40000 ALTER TABLE `pagsi` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `pagsi_descrs` -- DROP TABLE IF EXISTS `pagsi_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pagsi_descrs` ( `IdLing` char(2) NOT NULL, `IdPag` int(11) NOT NULL, `Tit` varchar(40) DEFAULT NULL, `Contd` mediumtext, PRIMARY KEY (`IdLing`,`IdPag`), KEY `IdLing` (`IdLing`), KEY `IdPag` (`IdPag`), CONSTRAINT `pagsi_descrs_IdPag` FOREIGN KEY (`IdPag`) REFERENCES `pagsi` (`IdPag`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `pagsi_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pagsi_descrs` -- LOCK TABLES `pagsi_descrs` WRITE; /*!40000 ALTER TABLE `pagsi_descrs` DISABLE KEYS */; INSERT INTO `pagsi_descrs` VALUES ('pt',3,NULL,'

Texto a preencher.

'),('pt',4,'Modelo de Newsletter','

<Conteúdo aqui>

 


Não quero receber mais esta newsletter
NOTA: Está a receber esta mensagem porque se registou na nossa base de dados. Esta mensagem não pode ser considerada SPAM, porque oferece uma forma do destinatário deixar de a receber. Em caso de qualquer dúvida ou reclamação por favor contacte-nos.

'); /*!40000 ALTER TABLE `pagsi_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `prods` -- DROP TABLE IF EXISTS `prods`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prods` ( `IdProdVers` int(11) NOT NULL AUTO_INCREMENT, `IdProd` int(11) NOT NULL DEFAULT '0', `Ref` char(15) NOT NULL, `IdFamProd` int(11) NOT NULL, `Pr` float(11,2) NOT NULL DEFAULT '0.00', `UMC` smallint(6) NOT NULL DEFAULT '1', `Ord` int(11) NOT NULL DEFAULT '0', `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, `Atributos` tinyint(1) NOT NULL DEFAULT '0' COMMENT '2 = Esgotado; 4 = Destaque; 8 = Referenciado.', `Estado` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0 = Ok; 1 = Eliminado; 2 = Obsoleto', `NomeImgFam` varchar(15) NOT NULL COMMENT 'Nome da imagem usada (pode ser a imagem da família).', `Elim?` bit(1) NOT NULL DEFAULT b'0', PRIMARY KEY (`IdProdVers`), UNIQUE KEY `Ref` (`Ref`), KEY `IdFamProd` (`IdFamProd`), KEY `IdProd` (`IdProd`), CONSTRAINT `prods_IdFamProd` FOREIGN KEY (`IdFamProd`) REFERENCES `prods_fams` (`IdFamProd`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `prods` -- LOCK TABLES `prods` WRITE; /*!40000 ALTER TABLE `prods` DISABLE KEYS */; /*!40000 ALTER TABLE `prods` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER prods_on_del AFTER DELETE ON prods FOR EACH ROW BEGIN CALL pesq_index_rem("pro",OLD.`IdProdVers`); CALL ml_n_traduz("pro", OLD.`IdProdVers`); END */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `prods_descrs` -- DROP TABLE IF EXISTS `prods_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prods_descrs` ( `IdLing` char(2) NOT NULL, `IdProdVers` int(11) NOT NULL DEFAULT '0', `Nome` varchar(40) NOT NULL, `Descr` mediumtext, `Obs` mediumtext, PRIMARY KEY (`IdLing`,`IdProdVers`), KEY `IdProdVers` (`IdProdVers`), KEY `IdLing` (`IdLing`), CONSTRAINT `prods_descrs_IdProdVers` FOREIGN KEY (`IdProdVers`) REFERENCES `prods` (`IdProdVers`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `prods_descrs_IdLing` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `prods_descrs` -- LOCK TABLES `prods_descrs` WRITE; /*!40000 ALTER TABLE `prods_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `prods_descrs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER prods_descrs_on_upd BEFORE UPDATE ON prods_descrs FOR EACH ROW BEGIN -- ATENÇÃO! Não indexar aqui! END */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `prods_fams` -- DROP TABLE IF EXISTS `prods_fams`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prods_fams` ( `IdFamProd` int(11) NOT NULL AUTO_INCREMENT, `IdFamProdPai` int(11) DEFAULT NULL, `Ord` int(11) NOT NULL DEFAULT '0', `NomeImgProds` varchar(15) NOT NULL COMMENT 'Imagem usada em produtos desta familia sem imagem própria', PRIMARY KEY (`IdFamProd`), KEY `IdFamProdPai` (`IdFamProdPai`), CONSTRAINT `prods_fams_IdFamProdPai` FOREIGN KEY (`IdFamProdPai`) REFERENCES `prods_fams` (`IdFamProd`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `prods_fams` -- LOCK TABLES `prods_fams` WRITE; /*!40000 ALTER TABLE `prods_fams` DISABLE KEYS */; /*!40000 ALTER TABLE `prods_fams` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER prods_fams_on_aupd AFTER UPDATE ON prods_fams FOR EACH ROW BEGIN DECLARE updImgProds INT DEFAULT OLD.`NomeImgProds` <> NEW.`NomeImgProds`; -- Se se mudar de família superior... IF (NEW.IdFamProdPai <> OLD.IdFamProdPai) OR (NEW.IdFamProdPai IS NULL AND NOT OLD.IdFamProdPai IS NULL) OR (NOT NEW.IdFamProdPai IS NULL AND OLD.IdFamProdPai IS NULL) THEN -- Se esta família não tiver uma imagem para atribuír aos seus produtos sem imagem própria, isso implica -- que podem estar a usar a de uma família superior... IF NEW.`NomeImgProds` = "" THEN SET updImgProds = 1; END IF; END IF; -- Actualizar a imagem de produtos sem imagem própria. IF updImgProds THEN CALL prods_fams_act_img_prods(NEW.IdFamProd, NEW.NomeImgProds); END IF; END */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER prods_fams_on_adel AFTER DELETE ON prods_fams FOR EACH ROW BEGIN CALL pesq_index_rem("fp",OLD.`IdFamProd`); CALL ml_n_traduz("fp", OLD.`IdFamProd`); CALL hierarq_rem_elem(1, OLD.`IdFamProd`); END */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `prods_fams_descrs` -- DROP TABLE IF EXISTS `prods_fams_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prods_fams_descrs` ( `IdLing` char(2) NOT NULL, `IdFamProd` int(11) NOT NULL DEFAULT '0', `Nome` varchar(40) NOT NULL, `Descr` mediumtext, PRIMARY KEY (`IdLing`,`IdFamProd`), KEY `IdFamProd` (`IdFamProd`), KEY `IdLing` (`IdLing`), CONSTRAINT `_IdL` FOREIGN KEY (`IdLing`) REFERENCES `ml_linguas` (`IdLing`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `_IdFam` FOREIGN KEY (`IdFamProd`) REFERENCES `prods_fams` (`IdFamProd`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `prods_fams_descrs` -- LOCK TABLES `prods_fams_descrs` WRITE; /*!40000 ALTER TABLE `prods_fams_descrs` DISABLE KEYS */; /*!40000 ALTER TABLE `prods_fams_descrs` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER prods_fams_descrs_on_ains AFTER INSERT ON prods_fams_descrs FOR EACH ROW CALL pesq_index(NEW.IdLing,"fp",NEW.IdFamProd,NEW.Nome) */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; /*!50003 SET character_set_client = utf8 */ ; /*!50003 SET character_set_results = utf8 */ ; /*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER prods_fams_descrs_on_aupd AFTER UPDATE ON prods_fams_descrs FOR EACH ROW IF NEW.Nome <> OLD.Nome THEN CALL pesq_index(NEW.IdLing,"fp",NEW.IdFamProd,NEW.Nome); END IF */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `prods_imgs` -- DROP TABLE IF EXISTS `prods_imgs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prods_imgs` ( `IdProdImg` int(11) NOT NULL AUTO_INCREMENT, `IdProdVers` int(11) DEFAULT NULL, `NomeImg` varchar(15) NOT NULL, PRIMARY KEY (`IdProdImg`), KEY `IdProdVers` (`IdProdVers`), CONSTRAINT `prods_imgs_IdProdVers` FOREIGN KEY (`IdProdVers`) REFERENCES `prods` (`IdProdVers`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `prods_imgs` -- LOCK TABLES `prods_imgs` WRITE; /*!40000 ALTER TABLE `prods_imgs` DISABLE KEYS */; /*!40000 ALTER TABLE `prods_imgs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `prods_marcas` -- DROP TABLE IF EXISTS `prods_marcas`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prods_marcas` ( `IdMarcaProd` int(11) NOT NULL, `Nome` varchar(40) NOT NULL, `Ord` int(11) NOT NULL, `NomeImg` varchar(15) NOT NULL, `NomeImgGr` varchar(15) DEFAULT NULL COMMENT 'Esta imagem pode ser diferente de "NomeImg".', `DataUltAct` datetime NOT NULL, `DataIns` datetime NOT NULL, `Atributos` tinyint(4) NOT NULL DEFAULT '0' COMMENT '2 = Na página inicial;' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `prods_marcas` -- LOCK TABLES `prods_marcas` WRITE; /*!40000 ALTER TABLE `prods_marcas` DISABLE KEYS */; INSERT INTO `prods_marcas` VALUES (3,'Baccarat',5,'8742.jpg',NULL,'2007-10-17 11:45:52','2007-09-07 11:44:53',2),(4,'Daum',2,'8743.jpg',NULL,'2007-10-04 12:43:55','2007-09-07 12:15:18',2),(5,'ERCUIS',1,'8744.jpg',NULL,'2007-10-19 12:30:10','2007-09-07 12:15:30',2),(6,'Kartell',4,'8745.jpg',NULL,'2007-09-07 12:15:39','2007-09-07 12:15:39',2),(7,'LALIQUE',3,'8746.jpg',NULL,'2007-09-07 12:16:29','2007-09-07 12:15:48',2),(8,'VERSACE',6,'8747.jpg',NULL,'2007-10-17 01:07:02','2007-09-07 12:16:08',2); /*!40000 ALTER TABLE `prods_marcas` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `prods_marcas_descrs` -- DROP TABLE IF EXISTS `prods_marcas_descrs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prods_marcas_descrs` ( `IdLing` char(2) NOT NULL, `IdMarcaProd` int(11) NOT NULL, `Descr` mediumtext, `Hiperlig` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `prods_marcas_descrs` -- LOCK TABLES `prods_marcas_descrs` WRITE; /*!40000 ALTER TABLE `prods_marcas_descrs` DISABLE KEYS */; INSERT INTO `prods_marcas_descrs` VALUES ('en',3,NULL,''),('en',4,NULL,''),('en',5,NULL,''),('en',6,NULL,''),('en',7,NULL,''),('en',8,NULL,''),('es',3,NULL,''),('es',4,NULL,''),('es',5,NULL,''),('es',6,NULL,''),('es',7,NULL,''),('es',8,NULL,''),('pt',3,NULL,''),('pt',4,NULL,''),('pt',5,NULL,''),('pt',6,NULL,''),('pt',7,NULL,''),('pt',8,NULL,''); /*!40000 ALTER TABLE `prods_marcas_descrs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `prods_rels` -- DROP TABLE IF EXISTS `prods_rels`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prods_rels` ( `IdProd` int(11) NOT NULL, `IdProdRel` int(11) NOT NULL, `Ord` smallint(6) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `prods_rels` -- LOCK TABLES `prods_rels` WRITE; /*!40000 ALTER TABLE `prods_rels` DISABLE KEYS */; /*!40000 ALTER TABLE `prods_rels` ENABLE KEYS */; UNLOCK TABLES; -- -- Temporary table structure for view `vw_admin_lista` -- DROP TABLE IF EXISTS `vw_admin_lista`; /*!50001 DROP VIEW IF EXISTS `vw_admin_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_admin_lista` ( `IdAdmin` int(11), `Nome` char(50), `NomeUtilz` char(15), `e-mail` char(50) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_admin_smtp` -- DROP TABLE IF EXISTS `vw_admin_smtp`; /*!50001 DROP VIEW IF EXISTS `vw_admin_smtp`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_admin_smtp` ( `IdServSMTP` int(11), `Nome` char(30), `Porta` int(11), `NomeUtilz` char(30), `Senha` char(20), `Remetente` char(30), `SSL?` bit(1), `TLS?` bit(1) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_admin_smtp_lista` -- DROP TABLE IF EXISTS `vw_admin_smtp_lista`; /*!50001 DROP VIEW IF EXISTS `vw_admin_smtp_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_admin_smtp_lista` ( `IdServSMTP` int(11), `Nome` char(30), `Porta` int(11), `NomeUtilz` char(30), `Senha` char(20), `SSL?` bit(1), `TLS?` bit(1), `MaxDestsPorMsg` int(11), `Fiabilidade` tinyint(4), `SegsEntreMsgs` int(11), `Activo?` bit(1) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_banns_fichs_lista` -- DROP TABLE IF EXISTS `vw_banns_fichs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_banns_fichs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_banns_fichs_lista` ( `IdLing` char(2), `IdBann` int(11), `IdBannFich` int(11), `NomeFich` varchar(15), `URL` varchar(120), `DataUltAct` datetime, `DataIns` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_bolsa_emprego_escol_lista` -- DROP TABLE IF EXISTS `vw_bolsa_emprego_escol_lista`; /*!50001 DROP VIEW IF EXISTS `vw_bolsa_emprego_escol_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_bolsa_emprego_escol_lista` ( `IdLing` char(2), `IdPag` int(11), `IdBEEscolaridade` int(11), `Descr` varchar(30) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_bolsa_emprego_itens_lista` -- DROP TABLE IF EXISTS `vw_bolsa_emprego_itens_lista`; /*!50001 DROP VIEW IF EXISTS `vw_bolsa_emprego_itens_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_bolsa_emprego_itens_lista` ( `IdLing` char(2), `IdPag` int(11), `Tipo` char(1), `IdBEItem` int(11), `Nome` varchar(40), `Locald` varchar(30), `DataNasc` datetime, `IdBEEscolaridade` int(11), `DescrEscol` varchar(30), `IdBEProf` int(11), `NomeProf` varchar(50), `Residente?` bigint(21) unsigned, `DataIns` datetime, `DataUltAct` datetime, `Sexo` char(1), `DataFecho` datetime, `Estado` smallint(6) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_bolsa_emprego_itens_lista_ofertas` -- DROP TABLE IF EXISTS `vw_bolsa_emprego_itens_lista_ofertas`; /*!50001 DROP VIEW IF EXISTS `vw_bolsa_emprego_itens_lista_ofertas`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_bolsa_emprego_itens_lista_ofertas` ( `IdLing` char(2), `IdPag` int(11), `Tipo` char(1), `IdBEItem` int(11), `Nome` varchar(40), `Locald` varchar(30), `IdBEEscolaridade` int(11), `DescrEscol` varchar(30), `IdBEProf` int(11), `NomeProf` varchar(50), `DataIns` datetime, `DataFecho` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_bolsa_emprego_profs_lista` -- DROP TABLE IF EXISTS `vw_bolsa_emprego_profs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_bolsa_emprego_profs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_bolsa_emprego_profs_lista` ( `IdLing` char(2), `IdPag` int(11), `IdBEProf` int(11), `Nome` varchar(50) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_clis_aprov_lista` -- DROP TABLE IF EXISTS `vw_clis_aprov_lista`; /*!50001 DROP VIEW IF EXISTS `vw_clis_aprov_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_clis_aprov_lista` ( `IdCliVers` int(11), `Nome` varchar(60), `Empr` varchar(40), `Morada` varchar(40), `CP` varchar(15), `Locald` varchar(30), `IdPais` varchar(2), `DataNasc` date, `NumContrib` bigint(20), `Telef` varchar(15), `Telem` varchar(15), `Fax` varchar(15), `DataIns` datetime, `e-mail` varchar(40), `IdLing` char(2) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_clis_lista` -- DROP TABLE IF EXISTS `vw_clis_lista`; /*!50001 DROP VIEW IF EXISTS `vw_clis_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_clis_lista` ( `IdLing` char(2), `IdCliVers` int(11), `NumEleitor` int(11), `Nome` varchar(60), `Empr` varchar(40), `Morada` varchar(40), `CP` varchar(15), `Locald` varchar(30), `IdPais` varchar(2), `DataRecens` date, `DataNasc` date, `NumContrib` bigint(20), `Telef` varchar(15), `Telem` varchar(15), `Fax` varchar(15), `DataIns` datetime, `e-mail` varchar(40), `Atributos` tinyint(3) unsigned, `Estado` tinyint(4) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_consop_resps_lista` -- DROP TABLE IF EXISTS `vw_consop_resps_lista`; /*!50001 DROP VIEW IF EXISTS `vw_consop_resps_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_consop_resps_lista` ( `IdLing` char(2), `IdConsOpResp` int(11), `IdConsOp` int(11), `Resposta` varchar(40), `ContagemVotos` int(11), `DataUltAct` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_dir_emprs_actvs_lista` -- DROP TABLE IF EXISTS `vw_dir_emprs_actvs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_dir_emprs_actvs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_dir_emprs_actvs_lista` ( `IdLing` char(2), `IdDirActv` int(11), `IdPag` int(11), `Nome` varchar(50) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_dir_emprs_emprs_lista` -- DROP TABLE IF EXISTS `vw_dir_emprs_emprs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_dir_emprs_emprs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_dir_emprs_emprs_lista` ( `IdLing` char(2), `IdPag` int(11), `IdDirEmpr` int(11), `Nome` varchar(40), `Morada` varchar(50), `CP` varchar(10), `IdDirActv` int(11), `Actv` varchar(50), `DataUltAct` datetime, `Telefs` varchar(50), `Telem` varchar(15), `E-mail` varchar(40) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_dir_emprs_emprs_pesq` -- DROP TABLE IF EXISTS `vw_dir_emprs_emprs_pesq`; /*!50001 DROP VIEW IF EXISTS `vw_dir_emprs_emprs_pesq`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_dir_emprs_emprs_pesq` ( `IdProc` int(255), `IdLing` char(2), `IdPag` int(11), `IdDirEmpr` int(11), `Nome` varchar(40), `Morada` varchar(50), `CP` varchar(10), `IdDirActv` int(11), `Actv` varchar(50), `DataUltAct` datetime, `Telefs` varchar(50), `Telem` varchar(15), `E-mail` varchar(40) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_downls_fichs` -- DROP TABLE IF EXISTS `vw_downls_fichs`; /*!50001 DROP VIEW IF EXISTS `vw_downls_fichs`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_downls_fichs` ( `IdLing` char(2), `IdPag` int(11), `IdDownlFich` int(11), `Nome` varchar(100), `Descr` text, `DataUltAct` datetime, `DataIns` datetime, `NomeFich` varchar(50) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_downls_fichs_lista` -- DROP TABLE IF EXISTS `vw_downls_fichs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_downls_fichs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_downls_fichs_lista` ( `IdLing` char(2), `IdPag` int(11), `IdDownlFich` int(11), `Nome` varchar(100), `Descr` varchar(180), `DataUltAct` datetime, `DataIns` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_entd_fils` -- DROP TABLE IF EXISTS `vw_entd_fils`; /*!50001 DROP VIEW IF EXISTS `vw_entd_fils`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_entd_fils` ( `IdLing` char(2), `IdFil` int(11), `Nome` varchar(50), `Dados` mediumtext, `NomeImg` char(15), `temIndic` int(1) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_entd_fils_lista` -- DROP TABLE IF EXISTS `vw_entd_fils_lista`; /*!50001 DROP VIEW IF EXISTS `vw_entd_fils_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_entd_fils_lista` ( `IdFil` int(11), `Nome` varchar(50), `Sede?` tinyint(1), `DataUltAct` date, `IdLing` char(2) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_estat_pags` -- DROP TABLE IF EXISTS `vw_estat_pags`; /*!50001 DROP VIEW IF EXISTS `vw_estat_pags`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_estat_pags` ( `IdLing` char(2), `IdPag` int(11), `NumVisitas` bigint(21), `NumCliques` decimal(32,0) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_estat_pags_lista` -- DROP TABLE IF EXISTS `vw_estat_pags_lista`; /*!50001 DROP VIEW IF EXISTS `vw_estat_pags_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_estat_pags_lista` ( `IdLing` char(2), `IdPag` int(11), `Tit` varchar(40), `NomeFisCompl` varchar(286), `NumVisitas` bigint(21), `NumCliques` decimal(32,0) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_estat_prods_fams` -- DROP TABLE IF EXISTS `vw_estat_prods_fams`; /*!50001 DROP VIEW IF EXISTS `vw_estat_prods_fams`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_estat_prods_fams` ( `IdLing` char(2), `IdFamProd` int(11), `NomeCompl` varchar(384), `NumCliques` decimal(32,0), `NumVisitas` bigint(21) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_estat_prods_fams_` -- DROP TABLE IF EXISTS `vw_estat_prods_fams_`; /*!50001 DROP VIEW IF EXISTS `vw_estat_prods_fams_`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_estat_prods_fams_` ( `IdFamProd` int(11), `NumCliques` decimal(32,0), `NumVisitas` bigint(21) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_estat_vis` -- DROP TABLE IF EXISTS `vw_estat_vis`; /*!50001 DROP VIEW IF EXISTS `vw_estat_vis`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_estat_vis` ( `IdSess` int(11), `IP1` int(3) unsigned, `IP2` int(3) unsigned, `IP3` int(3) unsigned, `IP4` int(3) unsigned, `IP5` int(3) unsigned, `IP6` int(3) unsigned, `NumVisitas` bigint(21), `DataInicio` datetime, `DataUltAct` datetime, `NumCliques` int(11) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_forum_autores_lista` -- DROP TABLE IF EXISTS `vw_forum_autores_lista`; /*!50001 DROP VIEW IF EXISTS `vw_forum_autores_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_forum_autores_lista` ( `IdAutorMsgForum` int(11), `IdPag` int(11), `IdCli` int(11), `Alcunha` varchar(20) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_forum_autores_listagem` -- DROP TABLE IF EXISTS `vw_forum_autores_listagem`; /*!50001 DROP VIEW IF EXISTS `vw_forum_autores_listagem`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_forum_autores_listagem` ( `IdAutorMsgForum` int(11), `IdPag` int(11), `IdCli` int(11), `Alcunha` varchar(20), `Nome` varchar(60), `NumEleitor` int(11), `NumMsgs` int(11), `NumTopicos` int(11), `Atributos` smallint(6), `DataIns` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_forum_msgs_lista` -- DROP TABLE IF EXISTS `vw_forum_msgs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_forum_msgs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_forum_msgs_lista` ( `IdLing` char(2), `IdMsgForum` int(11), `Tit` varchar(40), `Texto` mediumtext, `IdTemaForum` int(11), `NomeTema` varchar(40), `IdTopicoForum` int(11), `TitTopico` varchar(40), `IdAutorMsgForum` int(11), `AlcunhaAutor` varchar(20), `DataUltAct` datetime, `Atributos` smallint(6) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_forum_msgs_pesq` -- DROP TABLE IF EXISTS `vw_forum_msgs_pesq`; /*!50001 DROP VIEW IF EXISTS `vw_forum_msgs_pesq`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_forum_msgs_pesq` ( `IdProc` int(255), `IdLing` char(2), `IdMsgForum` int(11), `Tit` varchar(40), `Texto` mediumtext, `IdAutorMsgForum` int(11), `AlcunhaAutor` varchar(20), `IdPag` int(11), `IdTemaForum` int(11), `NomeTema` varchar(40), `IdTopicoForum` int(11), `TitTopico` varchar(40), `ContagemMsgs` int(11), `ContagemViss` int(11), `DataUltMsg` datetime, `DataUltAct` datetime, `Atributos` smallint(6) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_forum_so_msgs_lista` -- DROP TABLE IF EXISTS `vw_forum_so_msgs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_forum_so_msgs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_forum_so_msgs_lista` ( `IdLing` char(2), `IdMsgForum` int(11), `Tit` varchar(40), `Texto` mediumtext, `IdTemaForum` int(11), `NomeTema` varchar(40), `IdTopicoForum` int(11), `TitTopico` varchar(40), `IdAutorMsgForum` int(11), `AlcunhaAutor` varchar(20), `DataUltAct` datetime, `Atributos` smallint(6) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_forum_temas_lista` -- DROP TABLE IF EXISTS `vw_forum_temas_lista`; /*!50001 DROP VIEW IF EXISTS `vw_forum_temas_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_forum_temas_lista` ( `IdLing` char(2), `IdTemaForum` int(11), `IdPag` int(11), `Nome` varchar(40), `Descr` varchar(255), `ContagemMsgs` int(11), `DataUltMsg` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_forum_topicos_lista` -- DROP TABLE IF EXISTS `vw_forum_topicos_lista`; /*!50001 DROP VIEW IF EXISTS `vw_forum_topicos_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_forum_topicos_lista` ( `IdLing` char(2), `IdTopicoForum` int(11), `IdPag` int(11), `IdMsgForum` int(11), `IdTemaForum` int(11), `NomeTema` varchar(40), `IdAutorMsgForum` int(11), `AlcunhaAutor` varchar(20), `Tit` varchar(40), `ContagemViss` int(11), `ContagemMsgs` int(11), `DataUltMsg` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_forum_topicos_notif` -- DROP TABLE IF EXISTS `vw_forum_topicos_notif`; /*!50001 DROP VIEW IF EXISTS `vw_forum_topicos_notif`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_forum_topicos_notif` ( `IdTopicoForum` int(11), `IdAutorMsgForum` int(11), `Alcunha` varchar(20), `e-mail` varchar(40) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_cats` -- DROP TABLE IF EXISTS `vw_gal_cats`; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_cats` ( `IdLing` char(2), `IdGalCat` int(11), `IdGal` int(11), `Tit` varchar(50), `DataIns` datetime, `DataUltAct` datetime, `Ord` int(11), `NomeImg` varchar(15) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_cats_imgs` -- DROP TABLE IF EXISTS `vw_gal_cats_imgs`; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats_imgs`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_cats_imgs` ( `IdGalCat` int(11), `NomeImg` varchar(15) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_cats_imgs_1` -- DROP TABLE IF EXISTS `vw_gal_cats_imgs_1`; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats_imgs_1`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_cats_imgs_1` ( `IdGalCat` int(11), `NomeImg` varchar(15), `Ord` int(11) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_cats_imgs_2` -- DROP TABLE IF EXISTS `vw_gal_cats_imgs_2`; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats_imgs_2`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_cats_imgs_2` ( `IdGalCat` int(11), `NomeImg` varchar(15) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_cats_lista` -- DROP TABLE IF EXISTS `vw_gal_cats_lista`; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_cats_lista` ( `IdLing` char(2), `IdGalCat` int(11), `IdPag` int(11), `Tit` varchar(50), `DataIns` datetime, `DataUltAct` datetime, `Ord` int(11) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_entradas` -- DROP TABLE IF EXISTS `vw_gal_entradas`; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_entradas` ( `IdLing` char(2), `IdGalEntrada` int(11), `Tit` varchar(50), `IdGalCat` int(11), `DataUltAct` datetime, `DataIns` datetime, `NomeImg` varchar(15) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_entradas_imgs` -- DROP TABLE IF EXISTS `vw_gal_entradas_imgs`; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas_imgs`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_entradas_imgs` ( `IdGalEntrada` int(11), `NomeImg` varchar(15) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_entradas_imgs_1` -- DROP TABLE IF EXISTS `vw_gal_entradas_imgs_1`; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas_imgs_1`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_entradas_imgs_1` ( `IdGalEntrada` int(11), `NomeImg` varchar(15), `Ord` int(11) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_entradas_imgs_2` -- DROP TABLE IF EXISTS `vw_gal_entradas_imgs_2`; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas_imgs_2`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_entradas_imgs_2` ( `IdGalEntrada` int(11), `NomeImg` varchar(15) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_entradas_lista` -- DROP TABLE IF EXISTS `vw_gal_entradas_lista`; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_entradas_lista` ( `IdLing` char(2), `IdGalEntrada` int(11), `IdGalCat` int(11), `Tit` varchar(50), `DataUltAct` datetime, `DataIns` datetime, `Ord` int(11) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_imgs` -- DROP TABLE IF EXISTS `vw_gal_imgs`; /*!50001 DROP VIEW IF EXISTS `vw_gal_imgs`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_imgs` ( `IdLing` char(2), `IdGalEntrada` int(11), `IdGalImg` int(11), `Tit` varchar(50), `Descr` mediumtext, `NomeImg` varchar(15), `DataUltAct` datetime, `DataIns` datetime, `Ord` int(11) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_imgs_lista` -- DROP TABLE IF EXISTS `vw_gal_imgs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_gal_imgs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_imgs_lista` ( `IdLing` char(2), `IdGalEntrada` int(11), `IdGalImg` int(11), `Tit` varchar(50), `Descr` varchar(100), `NomeImg` varchar(15), `DataUltAct` datetime, `DataIns` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_gal_imgs_por_gal` -- DROP TABLE IF EXISTS `vw_gal_imgs_por_gal`; /*!50001 DROP VIEW IF EXISTS `vw_gal_imgs_por_gal`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_gal_imgs_por_gal` ( `IdPag` int(11), `NomeImg` varchar(15) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_hierarq_elems` -- DROP TABLE IF EXISTS `vw_hierarq_elems`; /*!50001 DROP VIEW IF EXISTS `vw_hierarq_elems`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_hierarq_elems` ( `IdHierarq` tinyint(4), `IdElemAsc` int(11), `IdElemDesc` int(6), `Nome` varchar(50), `NomeCompl` varchar(384) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_menus_itens_lista` -- DROP TABLE IF EXISTS `vw_menus_itens_lista`; /*!50001 DROP VIEW IF EXISTS `vw_menus_itens_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_menus_itens_lista` ( `IdLing` char(2), `IdMenuItem` int(11), `IdMenu` int(11), `Nome` varchar(30), `IdPag` int(11), `URL` varchar(60), `Ord` int(11) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_menus_itens_lista_x` -- DROP TABLE IF EXISTS `vw_menus_itens_lista_x`; /*!50001 DROP VIEW IF EXISTS `vw_menus_itens_lista_x`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_menus_itens_lista_x` ( `IdLing` char(2), `IdMenuItem` int(11), `IdMenu` int(11), `Nome` varchar(30), `IdPag` int(11), `URL` varchar(60), `Ord` int(11), `NomeFisCompl` varchar(256), `NomeFich` varchar(30), `NomeMenu` varchar(25) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_menus_lista` -- DROP TABLE IF EXISTS `vw_menus_lista`; /*!50001 DROP VIEW IF EXISTS `vw_menus_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_menus_lista` ( `IdLing` char(2), `IdMenu` int(11), `Nome` varchar(25), `Ord` int(11), `Descr` varchar(100) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_ml_newsls_lista` -- DROP TABLE IF EXISTS `vw_ml_newsls_lista`; /*!50001 DROP VIEW IF EXISTS `vw_ml_newsls_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_ml_newsls_lista` ( `IdNewsl` int(11), `Data` datetime, `Nome` char(50), `IdCatAssNewsl` int(11), `NomeCat` char(30), `Assunto` char(100), `IdLing` char(2) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_ml_notcs_lista` -- DROP TABLE IF EXISTS `vw_ml_notcs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_ml_notcs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_ml_notcs_lista` ( `IdNotc` int(11), `Titulo` char(50), `Contd` varchar(280), `IdLing` char(2), `DataIns` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_ml_paises` -- DROP TABLE IF EXISTS `vw_ml_paises`; /*!50001 DROP VIEW IF EXISTS `vw_ml_paises`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_ml_paises` ( `IdPais` char(2), `Nome` char(50), `IdLing` char(2) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_ml_por_traduz` -- DROP TABLE IF EXISTS `vw_ml_por_traduz`; /*!50001 DROP VIEW IF EXISTS `vw_ml_por_traduz`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_ml_por_traduz` ( `C` bigint(21), `Nome` varchar(40), `Abrev` varchar(10), `NomeIco` varchar(25), `TitParaTraduz` varchar(50), `IdLing` char(2) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_montra_pags_iniciais_lista` -- DROP TABLE IF EXISTS `vw_montra_pags_iniciais_lista`; /*!50001 DROP VIEW IF EXISTS `vw_montra_pags_iniciais_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_montra_pags_iniciais_lista` ( `IdLing` char(2), `IdPagIni` int(11), `IdPag` int(11), `Tit` varchar(40), `DataEntrada` datetime, `DataIns` datetime, `Actual?` bit(1), `IdPastaPags` int(11), `NomeFisComplPastaPags` varchar(256), `NomeFich` varchar(30) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_newsls_asss_lista` -- DROP TABLE IF EXISTS `vw_newsls_asss_lista`; /*!50001 DROP VIEW IF EXISTS `vw_newsls_asss_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_newsls_asss_lista` ( `IdAssNewsl` int(11), `IdCatAssNewsl` int(11), `NomeCat` char(30), `e-mail` char(40), `IdLing` char(2), `DataIns` datetime, `Atributos` tinyint(4) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_newsls_cats_asss` -- DROP TABLE IF EXISTS `vw_newsls_cats_asss`; /*!50001 DROP VIEW IF EXISTS `vw_newsls_cats_asss`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_newsls_cats_asss` ( `IdCatAssNewsl` int(11), `Nome` char(30) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_newsls_cats_usadas` -- DROP TABLE IF EXISTS `vw_newsls_cats_usadas`; /*!50001 DROP VIEW IF EXISTS `vw_newsls_cats_usadas`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_newsls_cats_usadas` ( `IdCatAssNewsl` int(11), `Nome` char(30), `IdLing` char(2) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_newsls_ex_asss` -- DROP TABLE IF EXISTS `vw_newsls_ex_asss`; /*!50001 DROP VIEW IF EXISTS `vw_newsls_ex_asss`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_newsls_ex_asss` ( `IdAssNewsl` int(11), `e-mail` char(40), `IdCatAssNewsl` int(11), `NomeCat` char(30), `DataElim` datetime, `IdLing` char(2) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_newsls_lista` -- DROP TABLE IF EXISTS `vw_newsls_lista`; /*!50001 DROP VIEW IF EXISTS `vw_newsls_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_newsls_lista` ( `IdNewsl` int(11), `Data` datetime, `Nome` char(50), `IdCatAssNewsl` int(11), `NomeCat` char(30), `Assunto` char(100), `IdLing` char(2) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_notcs_50` -- DROP TABLE IF EXISTS `vw_notcs_50`; /*!50001 DROP VIEW IF EXISTS `vw_notcs_50`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_notcs_50` ( `IdNotc` int(11), `Titulo` char(50), `Contd` text, `IdLing` char(2), `DataIns` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_notcs_lista` -- DROP TABLE IF EXISTS `vw_notcs_lista`; /*!50001 DROP VIEW IF EXISTS `vw_notcs_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_notcs_lista` ( `IdNotc` int(11), `Titulo` char(50), `Contd` varchar(280), `IdLing` char(2), `DataIns` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_pags_lista` -- DROP TABLE IF EXISTS `vw_pags_lista`; /*!50001 DROP VIEW IF EXISTS `vw_pags_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_pags_lista` ( `IdPag` int(11), `IdLing` char(2), `Tit` varchar(40), `DescrModulo` varchar(30), `PastaModulo` varchar(60), `IdPastaPags` int(11), `IdClassePags` int(11), `NomeFich` varchar(30), `NomePasta` varchar(384), `Embeb?` bit(1), `NomeFisPasta` varchar(256) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_pags_pastas_lista` -- DROP TABLE IF EXISTS `vw_pags_pastas_lista`; /*!50001 DROP VIEW IF EXISTS `vw_pags_pastas_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_pags_pastas_lista` ( `IdLing` char(2), `IdPastaPags` int(11), `IdPastaPagsPai` int(11), `Nome` varchar(30), `NomeCompl` varchar(384), `NomeFisCompl` varchar(256) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_pags_pesq` -- DROP TABLE IF EXISTS `vw_pags_pesq`; /*!50001 DROP VIEW IF EXISTS `vw_pags_pesq`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_pags_pesq` ( `IdLing` char(2), `IdProc` int(255), `Tit` varchar(40), `Resumo` varchar(128), `DataIns` datetime, `DataUltAct` datetime, `URL` varchar(286) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_pags_pesq_lista` -- DROP TABLE IF EXISTS `vw_pags_pesq_lista`; /*!50001 DROP VIEW IF EXISTS `vw_pags_pesq_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_pags_pesq_lista` ( `IdLing` char(2), `IdPag` int(11), `Tit` varchar(40), `Resumo` varchar(128), `URL` varchar(286), `DataUltAct` datetime, `DataIns` datetime ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Temporary table structure for view `vw_pagsi_lista` -- DROP TABLE IF EXISTS `vw_pagsi_lista`; /*!50001 DROP VIEW IF EXISTS `vw_pagsi_lista`*/; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; /*!50001 CREATE TABLE `vw_pagsi_lista` ( `IdPag` int(11), `IdLing` char(2), `Tit` varchar(40) ) ENGINE=MyISAM */; SET character_set_client = @saved_cs_client; -- -- Final view structure for view `vw_admin_lista` -- /*!50001 DROP TABLE `vw_admin_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_admin_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_admin_lista` AS select `admin`.`IdAdmin` AS `IdAdmin`,`admin`.`Nome` AS `Nome`,`admin`.`NomeUtilz` AS `NomeUtilz`,`admin`.`e-mail` AS `e-mail` from `admin` group by `admin`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_admin_smtp` -- /*!50001 DROP TABLE `vw_admin_smtp`*/; /*!50001 DROP VIEW IF EXISTS `vw_admin_smtp`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_admin_smtp` AS select `admin_smtp`.`IdServSMTP` AS `IdServSMTP`,`admin_smtp`.`Nome` AS `Nome`,`admin_smtp`.`Porta` AS `Porta`,`admin_smtp`.`NomeUtilz` AS `NomeUtilz`,`admin_smtp`.`Senha` AS `Senha`,`admin_smtp`.`Remetente` AS `Remetente`,`admin_smtp`.`SSL?` AS `SSL?`,`admin_smtp`.`TLS?` AS `TLS?` from `admin_smtp` where `admin_smtp`.`Activo?` order by `admin_smtp`.`Remetente`,`admin_smtp`.`Fiabilidade` desc limit 1 */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_admin_smtp_lista` -- /*!50001 DROP TABLE `vw_admin_smtp_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_admin_smtp_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_admin_smtp_lista` AS select `admin_smtp`.`IdServSMTP` AS `IdServSMTP`,`admin_smtp`.`Nome` AS `Nome`,`admin_smtp`.`Porta` AS `Porta`,`admin_smtp`.`NomeUtilz` AS `NomeUtilz`,`admin_smtp`.`Senha` AS `Senha`,`admin_smtp`.`SSL?` AS `SSL?`,`admin_smtp`.`TLS?` AS `TLS?`,`admin_smtp`.`MaxDestsPorMsg` AS `MaxDestsPorMsg`,`admin_smtp`.`Fiabilidade` AS `Fiabilidade`,`admin_smtp`.`SegsEntreMsgs` AS `SegsEntreMsgs`,`admin_smtp`.`Activo?` AS `Activo?` from `admin_smtp` order by `admin_smtp`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_banns_fichs_lista` -- /*!50001 DROP TABLE `vw_banns_fichs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_banns_fichs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_banns_fichs_lista` AS select `banns_fichs_descrs`.`IdLing` AS `IdLing`,`banns_fichs`.`IdBann` AS `IdBann`,`banns_fichs`.`IdBannFich` AS `IdBannFich`,`banns_fichs_descrs`.`NomeFich` AS `NomeFich`,`banns_fichs_descrs`.`URL` AS `URL`,`banns_fichs`.`DataUltAct` AS `DataUltAct`,`banns_fichs`.`DataIns` AS `DataIns` from (`banns_fichs` join `banns_fichs_descrs` on((`banns_fichs`.`IdBannFich` = `banns_fichs_descrs`.`IdBannFich`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_bolsa_emprego_escol_lista` -- /*!50001 DROP TABLE `vw_bolsa_emprego_escol_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_bolsa_emprego_escol_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_bolsa_emprego_escol_lista` AS select `bolsa_emprego_escol_descrs`.`IdLing` AS `IdLing`,`bolsa_emprego_escol`.`IdPag` AS `IdPag`,`bolsa_emprego_escol`.`IdBEEscolaridade` AS `IdBEEscolaridade`,`bolsa_emprego_escol_descrs`.`Descr` AS `Descr` from (`bolsa_emprego_escol` join `bolsa_emprego_escol_descrs` on((`bolsa_emprego_escol_descrs`.`IdBEEscolaridade` = `bolsa_emprego_escol`.`IdBEEscolaridade`))) order by `bolsa_emprego_escol`.`Ord` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_bolsa_emprego_itens_lista` -- /*!50001 DROP TABLE `vw_bolsa_emprego_itens_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_bolsa_emprego_itens_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_bolsa_emprego_itens_lista` AS select `bei`.`IdLing` AS `IdLing`,`bei`.`IdPag` AS `IdPag`,`bei`.`Tipo` AS `Tipo`,`bei`.`IdBEItem` AS `IdBEItem`,`bei`.`Nome` AS `Nome`,`bei`.`Locald` AS `Locald`,`bei`.`DataNasc` AS `DataNasc`,`bei`.`IdBEEscolaridade` AS `IdBEEscolaridade`,`beed`.`Descr` AS `DescrEscol`,`bei`.`IdBEProf` AS `IdBEProf`,if(isnull(`bepd`.`Nome`),`bei`.`OutraProf`,`bepd`.`Nome`) AS `NomeProf`,(`bei`.`Atributos` & 2) AS `Residente?`,`bei`.`DataIns` AS `DataIns`,`bei`.`DataUltAct` AS `DataUltAct`,`bei`.`Sexo` AS `Sexo`,`bei`.`DataFecho` AS `DataFecho`,`bei`.`Estado` AS `Estado` from ((`bolsa_emprego_itens` `bei` left join `bolsa_emprego_escol_descrs` `beed` on(((`bei`.`IdBEEscolaridade` = `beed`.`IdBEEscolaridade`) and (`bei`.`IdLing` = `beed`.`IdLing`)))) left join `bolsa_emprego_profs_descrs` `bepd` on(((`bei`.`IdBEProf` = `bepd`.`IdBEProf`) and (`bei`.`IdLing` = `bepd`.`IdLing`)))) order by `bei`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_bolsa_emprego_itens_lista_ofertas` -- /*!50001 DROP TABLE `vw_bolsa_emprego_itens_lista_ofertas`*/; /*!50001 DROP VIEW IF EXISTS `vw_bolsa_emprego_itens_lista_ofertas`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_bolsa_emprego_itens_lista_ofertas` AS select `vw_bolsa_emprego_itens_lista`.`IdLing` AS `IdLing`,`vw_bolsa_emprego_itens_lista`.`IdPag` AS `IdPag`,`vw_bolsa_emprego_itens_lista`.`Tipo` AS `Tipo`,`vw_bolsa_emprego_itens_lista`.`IdBEItem` AS `IdBEItem`,`vw_bolsa_emprego_itens_lista`.`Nome` AS `Nome`,`vw_bolsa_emprego_itens_lista`.`Locald` AS `Locald`,`vw_bolsa_emprego_itens_lista`.`IdBEEscolaridade` AS `IdBEEscolaridade`,`vw_bolsa_emprego_itens_lista`.`DescrEscol` AS `DescrEscol`,`vw_bolsa_emprego_itens_lista`.`IdBEProf` AS `IdBEProf`,`vw_bolsa_emprego_itens_lista`.`NomeProf` AS `NomeProf`,`vw_bolsa_emprego_itens_lista`.`DataIns` AS `DataIns`,`vw_bolsa_emprego_itens_lista`.`DataFecho` AS `DataFecho` from `vw_bolsa_emprego_itens_lista` where (`vw_bolsa_emprego_itens_lista`.`Estado` = 0) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_bolsa_emprego_profs_lista` -- /*!50001 DROP TABLE `vw_bolsa_emprego_profs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_bolsa_emprego_profs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_bolsa_emprego_profs_lista` AS select `bolsa_emprego_profs_descrs`.`IdLing` AS `IdLing`,`bolsa_emprego_profs`.`IdPag` AS `IdPag`,`bolsa_emprego_profs`.`IdBEProf` AS `IdBEProf`,`bolsa_emprego_profs_descrs`.`Nome` AS `Nome` from (`bolsa_emprego_profs` join `bolsa_emprego_profs_descrs` on((`bolsa_emprego_profs`.`IdBEProf` = `bolsa_emprego_profs_descrs`.`IdBEProf`))) order by `bolsa_emprego_profs_descrs`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_clis_aprov_lista` -- /*!50001 DROP TABLE `vw_clis_aprov_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_clis_aprov_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_clis_aprov_lista` AS select `vw_clis_lista`.`IdCliVers` AS `IdCliVers`,`vw_clis_lista`.`Nome` AS `Nome`,`vw_clis_lista`.`Empr` AS `Empr`,`vw_clis_lista`.`Morada` AS `Morada`,`vw_clis_lista`.`CP` AS `CP`,`vw_clis_lista`.`Locald` AS `Locald`,`vw_clis_lista`.`IdPais` AS `IdPais`,`vw_clis_lista`.`DataNasc` AS `DataNasc`,`vw_clis_lista`.`NumContrib` AS `NumContrib`,`vw_clis_lista`.`Telef` AS `Telef`,`vw_clis_lista`.`Telem` AS `Telem`,`vw_clis_lista`.`Fax` AS `Fax`,`vw_clis_lista`.`DataIns` AS `DataIns`,`vw_clis_lista`.`e-mail` AS `e-mail`,`vw_clis_lista`.`IdLing` AS `IdLing` from `vw_clis_lista` where (`vw_clis_lista`.`Atributos` & 4) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_clis_lista` -- /*!50001 DROP TABLE `vw_clis_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_clis_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_clis_lista` AS select `ml_paises`.`IdLing` AS `IdLing`,`clientes`.`IdCliVers` AS `IdCliVers`,`clientes`.`NumEleitor` AS `NumEleitor`,`clientes`.`Nome` AS `Nome`,`clientes`.`Empr` AS `Empr`,`clientes`.`Morada` AS `Morada`,`clientes`.`CP` AS `CP`,`clientes`.`Locald` AS `Locald`,`clientes`.`IdPais` AS `IdPais`,`clientes`.`DataRecens` AS `DataRecens`,`clientes`.`DataNasc` AS `DataNasc`,`clientes`.`NumContrib` AS `NumContrib`,`clientes`.`Telef` AS `Telef`,`clientes`.`Telem` AS `Telem`,`clientes`.`Fax` AS `Fax`,`clientes`.`DataIns` AS `DataIns`,`clientes`.`e-mail` AS `e-mail`,`clientes`.`Atributos` AS `Atributos`,`clientes`.`Estado` AS `Estado` from (`clientes` join `ml_paises` on((`clientes`.`IdPais` = `ml_paises`.`IdPais`))) order by `clientes`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_consop_resps_lista` -- /*!50001 DROP TABLE `vw_consop_resps_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_consop_resps_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_consop_resps_lista` AS select `consop_resps_descrs`.`IdLing` AS `IdLing`,`consop_resps`.`IdConsOpResp` AS `IdConsOpResp`,`consop_resps`.`IdConsOp` AS `IdConsOp`,`consop_resps_descrs`.`Resposta` AS `Resposta`,`consop_resps`.`ContagemVotos` AS `ContagemVotos`,`consop_resps`.`DataUltAct` AS `DataUltAct` from (`consop_resps` join `consop_resps_descrs` on((`consop_resps`.`IdConsOpResp` = `consop_resps_descrs`.`IdConsOpResp`))) order by `consop_resps`.`Ord` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_dir_emprs_actvs_lista` -- /*!50001 DROP TABLE `vw_dir_emprs_actvs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_dir_emprs_actvs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_dir_emprs_actvs_lista` AS select `dir_emprs_actvs_descrs`.`IdLing` AS `IdLing`,`dir_emprs_actvs`.`IdDirActv` AS `IdDirActv`,`dir_emprs_actvs`.`IdPag` AS `IdPag`,`dir_emprs_actvs_descrs`.`Nome` AS `Nome` from (`dir_emprs_actvs` join `dir_emprs_actvs_descrs` on((`dir_emprs_actvs`.`IdDirActv` = `dir_emprs_actvs_descrs`.`IdDirActv`))) order by `dir_emprs_actvs_descrs`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_dir_emprs_emprs_lista` -- /*!50001 DROP TABLE `vw_dir_emprs_emprs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_dir_emprs_emprs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_dir_emprs_emprs_lista` AS select `dir_emprs_emprs`.`IdLing` AS `IdLing`,`dir_emprs_emprs`.`IdPag` AS `IdPag`,`dir_emprs_emprs`.`IdDirEmpr` AS `IdDirEmpr`,`dir_emprs_emprs`.`Nome` AS `Nome`,`dir_emprs_emprs`.`Morada` AS `Morada`,`dir_emprs_emprs`.`CP` AS `CP`,`dir_emprs_emprs`.`IdDirActv` AS `IdDirActv`,if(isnull(`dir_emprs_actvs_descrs`.`Nome`),`dir_emprs_emprs`.`OutraActv`,`dir_emprs_actvs_descrs`.`Nome`) AS `Actv`,`dir_emprs_emprs`.`DataUltAct` AS `DataUltAct`,`dir_emprs_emprs`.`Telefs` AS `Telefs`,`dir_emprs_emprs`.`Telem` AS `Telem`,`dir_emprs_emprs`.`E-mail` AS `E-mail` from (`dir_emprs_emprs` left join `dir_emprs_actvs_descrs` on(((`dir_emprs_emprs`.`IdDirActv` = `dir_emprs_actvs_descrs`.`IdDirActv`) and (`dir_emprs_actvs_descrs`.`IdLing` = `dir_emprs_emprs`.`IdLing`)))) where (`dir_emprs_emprs`.`Estado` = _utf8'0') order by `dir_emprs_emprs`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_dir_emprs_emprs_pesq` -- /*!50001 DROP TABLE `vw_dir_emprs_emprs_pesq`*/; /*!50001 DROP VIEW IF EXISTS `vw_dir_emprs_emprs_pesq`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_dir_emprs_emprs_pesq` AS select `_procs_lins`.`IdProc` AS `IdProc`,`vw_dir_emprs_emprs_lista`.`IdLing` AS `IdLing`,`vw_dir_emprs_emprs_lista`.`IdPag` AS `IdPag`,`vw_dir_emprs_emprs_lista`.`IdDirEmpr` AS `IdDirEmpr`,`vw_dir_emprs_emprs_lista`.`Nome` AS `Nome`,`vw_dir_emprs_emprs_lista`.`Morada` AS `Morada`,`vw_dir_emprs_emprs_lista`.`CP` AS `CP`,`vw_dir_emprs_emprs_lista`.`IdDirActv` AS `IdDirActv`,`vw_dir_emprs_emprs_lista`.`Actv` AS `Actv`,`vw_dir_emprs_emprs_lista`.`DataUltAct` AS `DataUltAct`,`vw_dir_emprs_emprs_lista`.`Telefs` AS `Telefs`,`vw_dir_emprs_emprs_lista`.`Telem` AS `Telem`,`vw_dir_emprs_emprs_lista`.`E-mail` AS `E-mail` from (`_procs_lins` join `vw_dir_emprs_emprs_lista` on((`_procs_lins`.`IdReg` = `vw_dir_emprs_emprs_lista`.`IdDirEmpr`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_downls_fichs` -- /*!50001 DROP TABLE `vw_downls_fichs`*/; /*!50001 DROP VIEW IF EXISTS `vw_downls_fichs`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_downls_fichs` AS select `downls_fichs_descrs`.`IdLing` AS `IdLing`,`downls_fichs`.`IdPag` AS `IdPag`,`downls_fichs_descrs`.`IdDownlFich` AS `IdDownlFich`,`downls_fichs_descrs`.`Nome` AS `Nome`,`downls_fichs_descrs`.`Descr` AS `Descr`,`downls_fichs`.`DataUltAct` AS `DataUltAct`,`downls_fichs`.`DataIns` AS `DataIns`,`downls_fichs_descrs`.`NomeFich` AS `NomeFich` from (`downls_fichs` join `downls_fichs_descrs` on((`downls_fichs`.`IdDownlFich` = `downls_fichs_descrs`.`IdDownlFich`))) order by `downls_fichs_descrs`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_downls_fichs_lista` -- /*!50001 DROP TABLE `vw_downls_fichs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_downls_fichs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_downls_fichs_lista` AS select `vw_downls_fichs`.`IdLing` AS `IdLing`,`vw_downls_fichs`.`IdPag` AS `IdPag`,`vw_downls_fichs`.`IdDownlFich` AS `IdDownlFich`,`vw_downls_fichs`.`Nome` AS `Nome`,substr(`vw_downls_fichs`.`Descr`,1,180) AS `Descr`,`vw_downls_fichs`.`DataUltAct` AS `DataUltAct`,`vw_downls_fichs`.`DataIns` AS `DataIns` from `vw_downls_fichs` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_entd_fils` -- /*!50001 DROP TABLE `vw_entd_fils`*/; /*!50001 DROP VIEW IF EXISTS `vw_entd_fils`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_entd_fils` AS select `fd`.`IdLing` AS `IdLing`,`f`.`IdFil` AS `IdFil`,`fd`.`Nome` AS `Nome`,`fd`.`Dados` AS `Dados`,`f`.`NomeImg` AS `NomeImg`,(`fd`.`Indic` <> _utf8'') AS `temIndic` from (`entd_filiais` `f` join `entd_filiais_descrs` `fd` on((`f`.`IdFil` = `fd`.`IdFil`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_entd_fils_lista` -- /*!50001 DROP TABLE `vw_entd_fils_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_entd_fils_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_entd_fils_lista` AS select `entd_filiais`.`IdFil` AS `IdFil`,`entd_filiais_descrs`.`Nome` AS `Nome`,`entd_filiais`.`Sede?` AS `Sede?`,`entd_filiais`.`DataUltAct` AS `DataUltAct`,`entd_filiais_descrs`.`IdLing` AS `IdLing` from (`entd_filiais` join `entd_filiais_descrs` on((`entd_filiais`.`IdFil` = `entd_filiais_descrs`.`IdFil`))) order by `entd_filiais`.`Sede?` desc,`entd_filiais_descrs`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_estat_pags` -- /*!50001 DROP TABLE `vw_estat_pags`*/; /*!50001 DROP VIEW IF EXISTS `vw_estat_pags`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_estat_pags` AS select `estat_pags`.`IdLing` AS `IdLing`,`estat_pags`.`IdPag` AS `IdPag`,count(`estat_pags`.`IdPag`) AS `NumVisitas`,sum(`estat_pags`.`NumCliques`) AS `NumCliques` from `estat_pags` group by `estat_pags`.`IdLing`,`estat_pags`.`IdPag` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_estat_pags_lista` -- /*!50001 DROP TABLE `vw_estat_pags_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_estat_pags_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_estat_pags_lista` AS select `vw_estat_pags`.`IdLing` AS `IdLing`,`vw_estat_pags`.`IdPag` AS `IdPag`,`vw_pags_lista`.`Tit` AS `Tit`,concat(if(isnull(`pags_pastas_descrs`.`NomeFisCompl`),_utf8'',`pags_pastas_descrs`.`NomeFisCompl`),`vw_pags_lista`.`NomeFich`) AS `NomeFisCompl`,`vw_estat_pags`.`NumVisitas` AS `NumVisitas`,`vw_estat_pags`.`NumCliques` AS `NumCliques` from ((`vw_estat_pags` join `vw_pags_lista` on(((`vw_estat_pags`.`IdPag` = `vw_pags_lista`.`IdPag`) and (`vw_estat_pags`.`IdLing` = `vw_pags_lista`.`IdLing`)))) join `pags_pastas_descrs` on(((`vw_pags_lista`.`IdLing` = `pags_pastas_descrs`.`IdLing`) and (`vw_pags_lista`.`IdPastaPags` = `pags_pastas_descrs`.`IdPastaPags`)))) order by `vw_estat_pags`.`NumVisitas` desc,`vw_pags_lista`.`Tit` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_estat_prods_fams` -- /*!50001 DROP TABLE `vw_estat_prods_fams`*/; /*!50001 DROP VIEW IF EXISTS `vw_estat_prods_fams`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_estat_prods_fams` AS select `prods_fams_descrs`.`IdLing` AS `IdLing`,`vw_estat_prods_fams_`.`IdFamProd` AS `IdFamProd`,`hierarq_elementos`.`NomeCompl` AS `NomeCompl`,`vw_estat_prods_fams_`.`NumCliques` AS `NumCliques`,`vw_estat_prods_fams_`.`NumVisitas` AS `NumVisitas` from ((`prods_fams_descrs` join `hierarq_elementos` on(((`prods_fams_descrs`.`IdLing` = `hierarq_elementos`.`IdLing`) and (`hierarq_elementos`.`IdHierarq` = _utf8'1') and (`prods_fams_descrs`.`IdFamProd` = `hierarq_elementos`.`IdElem`)))) join `vw_estat_prods_fams_` on((`vw_estat_prods_fams_`.`IdFamProd` = `prods_fams_descrs`.`IdFamProd`))) group by `prods_fams_descrs`.`IdFamProd`,`prods_fams_descrs`.`IdLing`,`hierarq_elementos`.`NomeCompl` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_estat_prods_fams_` -- /*!50001 DROP TABLE `vw_estat_prods_fams_`*/; /*!50001 DROP VIEW IF EXISTS `vw_estat_prods_fams_`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_estat_prods_fams_` AS select `estat_prods_fams`.`IdFamProd` AS `IdFamProd`,sum(`estat_prods_fams`.`NumCliques`) AS `NumCliques`,count(distinct `estat_prods_fams`.`IdSess`) AS `NumVisitas` from `estat_prods_fams` group by `estat_prods_fams`.`IdFamProd` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_estat_vis` -- /*!50001 DROP TABLE `vw_estat_vis`*/; /*!50001 DROP VIEW IF EXISTS `vw_estat_vis`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_estat_vis` AS select `estat_sesss`.`IdSess` AS `IdSess`,`estat_sesss`.`IP1` AS `IP1`,`estat_sesss`.`IP2` AS `IP2`,`estat_sesss`.`IP3` AS `IP3`,`estat_sesss`.`IP4` AS `IP4`,`estat_sesss`.`IP5` AS `IP5`,`estat_sesss`.`IP6` AS `IP6`,count(0) AS `NumVisitas`,`estat_sesss`.`DataInicio` AS `DataInicio`,`estat_sesss`.`DataUltAct` AS `DataUltAct`,`estat_sesss`.`NumCliques` AS `NumCliques` from `estat_sesss` group by `estat_sesss`.`IP1`,`estat_sesss`.`IP2`,`estat_sesss`.`IP3`,`estat_sesss`.`IP4` order by count(0) desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_forum_autores_lista` -- /*!50001 DROP TABLE `vw_forum_autores_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_forum_autores_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_forum_autores_lista` AS select `forum_autores`.`IdAutorMsgForum` AS `IdAutorMsgForum`,`forum_autores`.`IdPag` AS `IdPag`,`forum_autores`.`IdCli` AS `IdCli`,`forum_autores`.`Alcunha` AS `Alcunha` from `forum_autores` order by `forum_autores`.`Alcunha` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_forum_autores_listagem` -- /*!50001 DROP TABLE `vw_forum_autores_listagem`*/; /*!50001 DROP VIEW IF EXISTS `vw_forum_autores_listagem`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_forum_autores_listagem` AS select `forum_autores`.`IdAutorMsgForum` AS `IdAutorMsgForum`,`forum_autores`.`IdPag` AS `IdPag`,`forum_autores`.`IdCli` AS `IdCli`,`forum_autores`.`Alcunha` AS `Alcunha`,`clientes`.`Nome` AS `Nome`,`clientes`.`NumEleitor` AS `NumEleitor`,`forum_autores`.`NumMsgs` AS `NumMsgs`,`forum_autores`.`NumTopicos` AS `NumTopicos`,`forum_autores`.`Atributos` AS `Atributos`,`forum_autores`.`DataIns` AS `DataIns` from (`forum_autores` join `clientes` on((`forum_autores`.`IdCli` = `clientes`.`IdCliVers`))) order by `forum_autores`.`Alcunha` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_forum_msgs_lista` -- /*!50001 DROP TABLE `vw_forum_msgs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_forum_msgs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_forum_msgs_lista` AS select `forum_msgs_descrs`.`IdLing` AS `IdLing`,`forum_msgs`.`IdMsgForum` AS `IdMsgForum`,`forum_msgs_descrs`.`Tit` AS `Tit`,`forum_msgs_descrs`.`Texto` AS `Texto`,`forum_topicos`.`IdTemaForum` AS `IdTemaForum`,`forum_temas_descrs`.`Nome` AS `NomeTema`,`forum_msgs`.`IdTopicoForum` AS `IdTopicoForum`,`fmd`.`Tit` AS `TitTopico`,`forum_msgs`.`IdAutorMsgForum` AS `IdAutorMsgForum`,`forum_autores`.`Alcunha` AS `AlcunhaAutor`,`forum_msgs`.`DataUltAct` AS `DataUltAct`,`forum_msgs`.`Atributos` AS `Atributos` from (((((`forum_msgs` join `forum_msgs_descrs` on((`forum_msgs`.`IdMsgForum` = `forum_msgs_descrs`.`IdMsgForum`))) join `forum_autores` on((`forum_msgs`.`IdAutorMsgForum` = `forum_autores`.`IdAutorMsgForum`))) join `forum_topicos` on((`forum_msgs`.`IdTopicoForum` = `forum_topicos`.`IdTopicoForum`))) join `forum_temas_descrs` on(((`forum_msgs_descrs`.`IdLing` = `forum_temas_descrs`.`IdLing`) and (`forum_topicos`.`IdTemaForum` = `forum_temas_descrs`.`IdTemaForum`)))) left join `forum_msgs_descrs` `fmd` on(((`forum_msgs_descrs`.`IdLing` = `fmd`.`IdLing`) and (`forum_topicos`.`IdPrimMsg` = `fmd`.`IdMsgForum`)))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_forum_msgs_pesq` -- /*!50001 DROP TABLE `vw_forum_msgs_pesq`*/; /*!50001 DROP VIEW IF EXISTS `vw_forum_msgs_pesq`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_forum_msgs_pesq` AS select `_procs_lins`.`IdProc` AS `IdProc`,`vw_forum_msgs_lista`.`IdLing` AS `IdLing`,`vw_forum_msgs_lista`.`IdMsgForum` AS `IdMsgForum`,`vw_forum_msgs_lista`.`Tit` AS `Tit`,`vw_forum_msgs_lista`.`Texto` AS `Texto`,`vw_forum_msgs_lista`.`IdAutorMsgForum` AS `IdAutorMsgForum`,`vw_forum_msgs_lista`.`AlcunhaAutor` AS `AlcunhaAutor`,`forum_temas`.`IdPag` AS `IdPag`,`forum_topicos`.`IdTemaForum` AS `IdTemaForum`,`vw_forum_msgs_lista`.`NomeTema` AS `NomeTema`,`vw_forum_msgs_lista`.`IdTopicoForum` AS `IdTopicoForum`,`vw_forum_msgs_lista`.`TitTopico` AS `TitTopico`,`forum_topicos`.`ContagemMsgs` AS `ContagemMsgs`,`forum_topicos`.`ContagemViss` AS `ContagemViss`,`forum_topicos`.`DataUltMsg` AS `DataUltMsg`,`vw_forum_msgs_lista`.`DataUltAct` AS `DataUltAct`,`vw_forum_msgs_lista`.`Atributos` AS `Atributos` from (((`_procs_lins` join `vw_forum_msgs_lista` on((`_procs_lins`.`IdReg` = `vw_forum_msgs_lista`.`IdMsgForum`))) join `forum_topicos` on((`vw_forum_msgs_lista`.`IdTopicoForum` = `forum_topicos`.`IdTopicoForum`))) join `forum_temas` on((`forum_topicos`.`IdTemaForum` = `forum_temas`.`IdTemaForum`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_forum_so_msgs_lista` -- /*!50001 DROP TABLE `vw_forum_so_msgs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_forum_so_msgs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_forum_so_msgs_lista` AS select `vw_forum_msgs_lista`.`IdLing` AS `IdLing`,`vw_forum_msgs_lista`.`IdMsgForum` AS `IdMsgForum`,`vw_forum_msgs_lista`.`Tit` AS `Tit`,`vw_forum_msgs_lista`.`Texto` AS `Texto`,`vw_forum_msgs_lista`.`IdTemaForum` AS `IdTemaForum`,`vw_forum_msgs_lista`.`NomeTema` AS `NomeTema`,`vw_forum_msgs_lista`.`IdTopicoForum` AS `IdTopicoForum`,`vw_forum_msgs_lista`.`TitTopico` AS `TitTopico`,`vw_forum_msgs_lista`.`IdAutorMsgForum` AS `IdAutorMsgForum`,`vw_forum_msgs_lista`.`AlcunhaAutor` AS `AlcunhaAutor`,`vw_forum_msgs_lista`.`DataUltAct` AS `DataUltAct`,`vw_forum_msgs_lista`.`Atributos` AS `Atributos` from `vw_forum_msgs_lista` where (not((`vw_forum_msgs_lista`.`Atributos` & 8))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_forum_temas_lista` -- /*!50001 DROP TABLE `vw_forum_temas_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_forum_temas_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_forum_temas_lista` AS select `forum_temas_descrs`.`IdLing` AS `IdLing`,`forum_temas`.`IdTemaForum` AS `IdTemaForum`,`forum_temas`.`IdPag` AS `IdPag`,`forum_temas_descrs`.`Nome` AS `Nome`,`forum_temas_descrs`.`Descr` AS `Descr`,`forum_temas`.`ContagemMsgs` AS `ContagemMsgs`,`forum_temas`.`DataUltMsg` AS `DataUltMsg` from (`forum_temas` join `forum_temas_descrs` on((`forum_temas`.`IdTemaForum` = `forum_temas_descrs`.`IdTemaForum`))) order by `forum_temas_descrs`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_forum_topicos_lista` -- /*!50001 DROP TABLE `vw_forum_topicos_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_forum_topicos_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_forum_topicos_lista` AS select `vw_forum_msgs_lista`.`IdLing` AS `IdLing`,`forum_topicos`.`IdTopicoForum` AS `IdTopicoForum`,`vw_forum_temas_lista`.`IdPag` AS `IdPag`,`vw_forum_msgs_lista`.`IdMsgForum` AS `IdMsgForum`,`forum_topicos`.`IdTemaForum` AS `IdTemaForum`,`vw_forum_temas_lista`.`Nome` AS `NomeTema`,`vw_forum_msgs_lista`.`IdAutorMsgForum` AS `IdAutorMsgForum`,`vw_forum_msgs_lista`.`AlcunhaAutor` AS `AlcunhaAutor`,`vw_forum_msgs_lista`.`Tit` AS `Tit`,`forum_topicos`.`ContagemViss` AS `ContagemViss`,`forum_topicos`.`ContagemMsgs` AS `ContagemMsgs`,`forum_topicos`.`DataUltMsg` AS `DataUltMsg` from ((`forum_topicos` join `vw_forum_msgs_lista` on((`forum_topicos`.`IdPrimMsg` = `vw_forum_msgs_lista`.`IdMsgForum`))) join `vw_forum_temas_lista` on(((`vw_forum_msgs_lista`.`IdLing` = `vw_forum_temas_lista`.`IdLing`) and (`forum_topicos`.`IdTemaForum` = `vw_forum_temas_lista`.`IdTemaForum`)))) order by `vw_forum_msgs_lista`.`IdMsgForum` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_forum_topicos_notif` -- /*!50001 DROP TABLE `vw_forum_topicos_notif`*/; /*!50001 DROP VIEW IF EXISTS `vw_forum_topicos_notif`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_forum_topicos_notif` AS select `forum_msgs`.`IdTopicoForum` AS `IdTopicoForum`,`forum_autores`.`IdAutorMsgForum` AS `IdAutorMsgForum`,`forum_autores`.`Alcunha` AS `Alcunha`,`clientes`.`e-mail` AS `e-mail` from (`clientes` left join (`forum_msgs` join `forum_autores` on((`forum_msgs`.`IdAutorMsgForum` = `forum_autores`.`IdAutorMsgForum`))) on((`forum_autores`.`IdCli` = `clientes`.`IdCli`))) where ((`forum_msgs`.`Atributos` & 2) and (`clientes`.`e-mail` <> _utf8'') and (`clientes`.`e-mail` is not null)) group by `forum_msgs`.`IdAutorMsgForum`,`forum_msgs`.`IdTopicoForum` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_cats` -- /*!50001 DROP TABLE `vw_gal_cats`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_cats` AS select `vw_gal_cats_lista`.`IdLing` AS `IdLing`,`vw_gal_cats_lista`.`IdGalCat` AS `IdGalCat`,`vw_gal_cats_lista`.`IdPag` AS `IdGal`,`vw_gal_cats_lista`.`Tit` AS `Tit`,`vw_gal_cats_lista`.`DataIns` AS `DataIns`,`vw_gal_cats_lista`.`DataUltAct` AS `DataUltAct`,`vw_gal_cats_lista`.`Ord` AS `Ord`,`vw_gal_cats_imgs_2`.`NomeImg` AS `NomeImg` from (`vw_gal_cats_lista` join `vw_gal_cats_imgs_2` on((`vw_gal_cats_lista`.`IdGalCat` = `vw_gal_cats_imgs_2`.`IdGalCat`))) order by `vw_gal_cats_lista`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_cats_imgs` -- /*!50001 DROP TABLE `vw_gal_cats_imgs`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats_imgs`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_cats_imgs` AS select `gal_entradas`.`IdGalCat` AS `IdGalCat`,`gal_imgs`.`NomeImg` AS `NomeImg` from (`gal_imgs` join `gal_entradas` on((`gal_imgs`.`IdGalEntrada` = `gal_entradas`.`IdGalEntrada`))) group by `gal_entradas`.`IdGalCat` order by `gal_imgs`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_cats_imgs_1` -- /*!50001 DROP TABLE `vw_gal_cats_imgs_1`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats_imgs_1`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_cats_imgs_1` AS select `gal_entradas`.`IdGalCat` AS `IdGalCat`,`gal_imgs`.`NomeImg` AS `NomeImg`,`gal_imgs`.`Ord` AS `Ord` from (`gal_imgs` join `gal_entradas` on((`gal_imgs`.`IdGalEntrada` = `gal_entradas`.`IdGalEntrada`))) order by `gal_entradas`.`IdGalCat`,`gal_imgs`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_cats_imgs_2` -- /*!50001 DROP TABLE `vw_gal_cats_imgs_2`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats_imgs_2`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_cats_imgs_2` AS select `vw_gal_cats_imgs_1`.`IdGalCat` AS `IdGalCat`,`vw_gal_cats_imgs_1`.`NomeImg` AS `NomeImg` from `vw_gal_cats_imgs_1` group by `vw_gal_cats_imgs_1`.`IdGalCat` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_cats_lista` -- /*!50001 DROP TABLE `vw_gal_cats_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_cats_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_cats_lista` AS select `gal_cats_descrs`.`IdLing` AS `IdLing`,`gal_cats`.`IdGalCat` AS `IdGalCat`,`gal_cats`.`IdPag` AS `IdPag`,`gal_cats_descrs`.`Tit` AS `Tit`,`gal_cats`.`DataIns` AS `DataIns`,`gal_cats`.`DataUltAct` AS `DataUltAct`,`gal_cats`.`Ord` AS `Ord` from (`gal_cats` join `gal_cats_descrs` on((`gal_cats`.`IdGalCat` = `gal_cats_descrs`.`IdGalCat`))) order by `gal_cats`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_entradas` -- /*!50001 DROP TABLE `vw_gal_entradas`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_entradas` AS select `vw_gal_entradas_lista`.`IdLing` AS `IdLing`,`vw_gal_entradas_lista`.`IdGalEntrada` AS `IdGalEntrada`,`vw_gal_entradas_lista`.`Tit` AS `Tit`,`vw_gal_entradas_lista`.`IdGalCat` AS `IdGalCat`,`vw_gal_entradas_lista`.`DataUltAct` AS `DataUltAct`,`vw_gal_entradas_lista`.`DataIns` AS `DataIns`,`vw_gal_entradas_imgs_2`.`NomeImg` AS `NomeImg` from (`vw_gal_entradas_lista` join `vw_gal_entradas_imgs_2` on((`vw_gal_entradas_lista`.`IdGalEntrada` = `vw_gal_entradas_imgs_2`.`IdGalEntrada`))) order by `vw_gal_entradas_lista`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_entradas_imgs` -- /*!50001 DROP TABLE `vw_gal_entradas_imgs`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas_imgs`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_entradas_imgs` AS select `gal_imgs`.`IdGalEntrada` AS `IdGalEntrada`,`gal_imgs`.`NomeImg` AS `NomeImg` from `gal_imgs` group by `gal_imgs`.`IdGalEntrada` order by `gal_imgs`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_entradas_imgs_1` -- /*!50001 DROP TABLE `vw_gal_entradas_imgs_1`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas_imgs_1`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_entradas_imgs_1` AS select `gal_imgs`.`IdGalEntrada` AS `IdGalEntrada`,`gal_imgs`.`NomeImg` AS `NomeImg`,`gal_imgs`.`Ord` AS `Ord` from `gal_imgs` order by `gal_imgs`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_entradas_imgs_2` -- /*!50001 DROP TABLE `vw_gal_entradas_imgs_2`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas_imgs_2`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_entradas_imgs_2` AS select `vw_gal_entradas_imgs_1`.`IdGalEntrada` AS `IdGalEntrada`,`vw_gal_entradas_imgs_1`.`NomeImg` AS `NomeImg` from `vw_gal_entradas_imgs_1` group by `vw_gal_entradas_imgs_1`.`IdGalEntrada` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_entradas_lista` -- /*!50001 DROP TABLE `vw_gal_entradas_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_entradas_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_entradas_lista` AS select `gal_entradas_descrs`.`IdLing` AS `IdLing`,`gal_entradas_descrs`.`IdGalEntrada` AS `IdGalEntrada`,`gal_entradas`.`IdGalCat` AS `IdGalCat`,`gal_entradas_descrs`.`Tit` AS `Tit`,`gal_entradas`.`DataUltAct` AS `DataUltAct`,`gal_entradas`.`DataIns` AS `DataIns`,`gal_entradas`.`Ord` AS `Ord` from (`gal_entradas` join `gal_entradas_descrs` on((`gal_entradas`.`IdGalEntrada` = `gal_entradas_descrs`.`IdGalEntrada`))) order by `gal_entradas`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_imgs` -- /*!50001 DROP TABLE `vw_gal_imgs`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_imgs`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_imgs` AS select `gal_imgs_descrs`.`IdLing` AS `IdLing`,`gal_imgs`.`IdGalEntrada` AS `IdGalEntrada`,`gal_imgs_descrs`.`IdGalImg` AS `IdGalImg`,`gal_imgs_descrs`.`Tit` AS `Tit`,`gal_imgs_descrs`.`Descr` AS `Descr`,`gal_imgs`.`NomeImg` AS `NomeImg`,`gal_imgs`.`DataUltAct` AS `DataUltAct`,`gal_imgs`.`DataIns` AS `DataIns`,`gal_imgs`.`Ord` AS `Ord` from (`gal_imgs` join `gal_imgs_descrs` on((`gal_imgs`.`IdGalImg` = `gal_imgs_descrs`.`IdGalImg`))) order by `gal_imgs`.`Ord` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_imgs_lista` -- /*!50001 DROP TABLE `vw_gal_imgs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_imgs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_imgs_lista` AS select `vw_gal_imgs`.`IdLing` AS `IdLing`,`vw_gal_imgs`.`IdGalEntrada` AS `IdGalEntrada`,`vw_gal_imgs`.`IdGalImg` AS `IdGalImg`,`vw_gal_imgs`.`Tit` AS `Tit`,substr(`vw_gal_imgs`.`Descr`,1,100) AS `Descr`,`vw_gal_imgs`.`NomeImg` AS `NomeImg`,`vw_gal_imgs`.`DataUltAct` AS `DataUltAct`,`vw_gal_imgs`.`DataIns` AS `DataIns` from `vw_gal_imgs` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_gal_imgs_por_gal` -- /*!50001 DROP TABLE `vw_gal_imgs_por_gal`*/; /*!50001 DROP VIEW IF EXISTS `vw_gal_imgs_por_gal`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_gal_imgs_por_gal` AS select `gal_cats`.`IdPag` AS `IdPag`,`gal_imgs`.`NomeImg` AS `NomeImg` from ((`gal_imgs` join `gal_entradas` on((`gal_imgs`.`IdGalEntrada` = `gal_entradas`.`IdGalEntrada`))) join `gal_cats` on((`gal_entradas`.`IdGalCat` = `gal_cats`.`IdGalCat`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_hierarq_elems` -- /*!50001 DROP TABLE `vw_hierarq_elems`*/; /*!50001 DROP VIEW IF EXISTS `vw_hierarq_elems`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_hierarq_elems` AS select `hierarq_pedigree`.`IdHierarq` AS `IdHierarq`,`hierarq_pedigree`.`IdElemAsc` AS `IdElemAsc`,`hierarq_pedigree`.`IdElemDesc` AS `IdElemDesc`,`hierarq_elementos`.`Nome` AS `Nome`,`hierarq_elementos`.`NomeCompl` AS `NomeCompl` from (`hierarq_pedigree` join `hierarq_elementos` on((`hierarq_pedigree`.`IdElemDesc` = `hierarq_elementos`.`IdElem`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_menus_itens_lista` -- /*!50001 DROP TABLE `vw_menus_itens_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_menus_itens_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_menus_itens_lista` AS select `menus_itens_descrs`.`IdLing` AS `IdLing`,`menus_itens`.`IdMenuItem` AS `IdMenuItem`,`menus_itens`.`IdMenu` AS `IdMenu`,`menus_itens_descrs`.`Nome` AS `Nome`,`menus_itens`.`IdPag` AS `IdPag`,`menus_itens_descrs`.`URL` AS `URL`,`menus_itens`.`Ord` AS `Ord` from (`menus_itens` join `menus_itens_descrs` on((`menus_itens`.`IdMenuItem` = `menus_itens_descrs`.`IdMenuItem`))) order by `menus_itens`.`Ord`,`menus_itens_descrs`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_menus_itens_lista_x` -- /*!50001 DROP TABLE `vw_menus_itens_lista_x`*/; /*!50001 DROP VIEW IF EXISTS `vw_menus_itens_lista_x`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_menus_itens_lista_x` AS select `mil`.`IdLing` AS `IdLing`,`mil`.`IdMenuItem` AS `IdMenuItem`,`mil`.`IdMenu` AS `IdMenu`,`mil`.`Nome` AS `Nome`,`mil`.`IdPag` AS `IdPag`,`mil`.`URL` AS `URL`,`mil`.`Ord` AS `Ord`,`ppd`.`NomeFisCompl` AS `NomeFisCompl`,`pd`.`NomeFich` AS `NomeFich`,`menus_descrs`.`Nome` AS `NomeMenu` from ((((`vw_menus_itens_lista` `mil` left join `pags` `p` on((`mil`.`IdPag` = `p`.`IdPag`))) left join `pags_pastas_descrs` `ppd` on(((`p`.`IdPastaPags` = `ppd`.`IdPastaPags`) and (`mil`.`IdLing` = `ppd`.`IdLing`)))) left join `pags_descrs` `pd` on(((`p`.`IdPag` = `pd`.`IdPag`) and (`mil`.`IdLing` = `pd`.`IdLing`)))) join `menus_descrs` on(((`mil`.`IdLing` = `menus_descrs`.`IdLing`) and (`mil`.`IdMenu` = `menus_descrs`.`IdMenu`)))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_menus_lista` -- /*!50001 DROP TABLE `vw_menus_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_menus_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_menus_lista` AS select `menus_descrs`.`IdLing` AS `IdLing`,`menus`.`IdMenu` AS `IdMenu`,`menus_descrs`.`Nome` AS `Nome`,`menus`.`Ord` AS `Ord`,`menus_descrs`.`Descr` AS `Descr` from (`menus` join `menus_descrs` on((`menus`.`IdMenu` = `menus_descrs`.`IdMenu`))) order by `menus`.`Ord`,`menus_descrs`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_ml_newsls_lista` -- /*!50001 DROP TABLE `vw_ml_newsls_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_ml_newsls_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_ml_newsls_lista` AS select `vw_newsls_lista`.`IdNewsl` AS `IdNewsl`,`vw_newsls_lista`.`Data` AS `Data`,`vw_newsls_lista`.`Nome` AS `Nome`,`vw_newsls_lista`.`IdCatAssNewsl` AS `IdCatAssNewsl`,`vw_newsls_lista`.`NomeCat` AS `NomeCat`,`vw_newsls_lista`.`Assunto` AS `Assunto`,`vw_newsls_lista`.`IdLing` AS `IdLing` from (`vw_newsls_lista` join `ml_por_traduzir` on(((`vw_newsls_lista`.`IdNewsl` = `ml_por_traduzir`.`IdReg`) and (`vw_newsls_lista`.`IdLing` = `ml_por_traduzir`.`IdLing`)))) where (`ml_por_traduzir`.`IdTab` = _utf8'nwl') */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_ml_notcs_lista` -- /*!50001 DROP TABLE `vw_ml_notcs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_ml_notcs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_ml_notcs_lista` AS select `nl`.`IdNotc` AS `IdNotc`,`nl`.`Titulo` AS `Titulo`,`nl`.`Contd` AS `Contd`,`nl`.`IdLing` AS `IdLing`,`nl`.`DataIns` AS `DataIns` from (`vw_notcs_lista` `nl` join `ml_por_traduzir` on(((`nl`.`IdNotc` = `ml_por_traduzir`.`IdReg`) and (`nl`.`IdLing` = `ml_por_traduzir`.`IdLing`) and (`ml_por_traduzir`.`IdTab` = _utf8'ntc')))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_ml_paises` -- /*!50001 DROP TABLE `vw_ml_paises`*/; /*!50001 DROP VIEW IF EXISTS `vw_ml_paises`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_ml_paises` AS select `ml_paises`.`IdPais` AS `IdPais`,`ml_paises`.`Nome` AS `Nome`,`ml_paises`.`IdLing` AS `IdLing` from `ml_paises` order by `ml_paises`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_ml_por_traduz` -- /*!50001 DROP TABLE `vw_ml_por_traduz`*/; /*!50001 DROP VIEW IF EXISTS `vw_ml_por_traduz`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_ml_por_traduz` AS select count(`ml_por_traduzir`.`IdReg`) AS `C`,`_tabs`.`Nome` AS `Nome`,`_tabs`.`Abrev` AS `Abrev`,`_tabs`.`NomeIco` AS `NomeIco`,`_tabs`.`TitParaTraduz` AS `TitParaTraduz`,`ml_por_traduzir`.`IdLing` AS `IdLing` from (`ml_por_traduzir` join `_tabs` on((`ml_por_traduzir`.`IdTab` = `_tabs`.`IdTab`))) group by `ml_por_traduzir`.`IdTab`,`ml_por_traduzir`.`IdLing` order by `_tabs`.`Ord` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_montra_pags_iniciais_lista` -- /*!50001 DROP TABLE `vw_montra_pags_iniciais_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_montra_pags_iniciais_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_montra_pags_iniciais_lista` AS select `vw_pags_lista`.`IdLing` AS `IdLing`,`montra_pags_iniciais`.`IdPagIni` AS `IdPagIni`,`montra_pags_iniciais`.`IdPag` AS `IdPag`,`vw_pags_lista`.`Tit` AS `Tit`,`montra_pags_iniciais`.`DataEntrada` AS `DataEntrada`,`montra_pags_iniciais`.`DataIns` AS `DataIns`,`montra_pags_iniciais`.`Actual?` AS `Actual?`,`vw_pags_lista`.`IdPastaPags` AS `IdPastaPags`,`pags_pastas_descrs`.`NomeFisCompl` AS `NomeFisComplPastaPags`,`vw_pags_lista`.`NomeFich` AS `NomeFich` from ((`montra_pags_iniciais` join `vw_pags_lista` on((`montra_pags_iniciais`.`IdPag` = `vw_pags_lista`.`IdPag`))) left join `pags_pastas_descrs` on(((`vw_pags_lista`.`IdPastaPags` = `pags_pastas_descrs`.`IdPastaPags`) and (`vw_pags_lista`.`IdLing` = `pags_pastas_descrs`.`IdLing`)))) order by `montra_pags_iniciais`.`DataEntrada` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_newsls_asss_lista` -- /*!50001 DROP TABLE `vw_newsls_asss_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_newsls_asss_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_newsls_asss_lista` AS select `newsls_asss`.`IdAssNewsl` AS `IdAssNewsl`,`newsls_asss`.`IdCatAssNewsl` AS `IdCatAssNewsl`,`newsls_cats_asss`.`Nome` AS `NomeCat`,`newsls_asss`.`e-mail` AS `e-mail`,`newsls_asss`.`IdLing` AS `IdLing`,`newsls_asss`.`DataIns` AS `DataIns`,`newsls_asss`.`Atributos` AS `Atributos` from (`newsls_asss` join `newsls_cats_asss` on((`newsls_asss`.`IdCatAssNewsl` = `newsls_cats_asss`.`IdCatAssNewsl`))) where (`newsls_asss`.`Estado` = 0) order by `newsls_asss`.`e-mail` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_newsls_cats_asss` -- /*!50001 DROP TABLE `vw_newsls_cats_asss`*/; /*!50001 DROP VIEW IF EXISTS `vw_newsls_cats_asss`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_newsls_cats_asss` AS select `newsls_cats_asss`.`IdCatAssNewsl` AS `IdCatAssNewsl`,`newsls_cats_asss`.`Nome` AS `Nome` from `newsls_cats_asss` order by `newsls_cats_asss`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_newsls_cats_usadas` -- /*!50001 DROP TABLE `vw_newsls_cats_usadas`*/; /*!50001 DROP VIEW IF EXISTS `vw_newsls_cats_usadas`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_newsls_cats_usadas` AS select distinct `newsls_cats_asss`.`IdCatAssNewsl` AS `IdCatAssNewsl`,`newsls_cats_asss`.`Nome` AS `Nome`,`newsls_asss`.`IdLing` AS `IdLing` from (`newsls_asss` join `newsls_cats_asss` on((`newsls_cats_asss`.`IdCatAssNewsl` = `newsls_asss`.`IdCatAssNewsl`))) where (`newsls_asss`.`Estado` = 0) order by `newsls_cats_asss`.`Nome` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_newsls_ex_asss` -- /*!50001 DROP TABLE `vw_newsls_ex_asss`*/; /*!50001 DROP VIEW IF EXISTS `vw_newsls_ex_asss`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_newsls_ex_asss` AS select `newsls_asss`.`IdAssNewsl` AS `IdAssNewsl`,`newsls_asss`.`e-mail` AS `e-mail`,`newsls_cats_asss`.`IdCatAssNewsl` AS `IdCatAssNewsl`,`newsls_cats_asss`.`Nome` AS `NomeCat`,`newsls_asss`.`DataElim` AS `DataElim`,`newsls_asss`.`IdLing` AS `IdLing` from (`newsls_asss` join `newsls_cats_asss` on((`newsls_asss`.`IdCatAssNewsl` = `newsls_cats_asss`.`IdCatAssNewsl`))) where (`newsls_asss`.`Estado` = 1) order by `newsls_asss`.`DataElim` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_newsls_lista` -- /*!50001 DROP TABLE `vw_newsls_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_newsls_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_newsls_lista` AS select `newsls_descrs`.`IdNewsl` AS `IdNewsl`,`newsls_descrs`.`Data` AS `Data`,`newsls_descrs`.`Nome` AS `Nome`,`newsls_descrs`.`IdCatAssNewsl` AS `IdCatAssNewsl`,`newsls_cats_asss`.`Nome` AS `NomeCat`,`newsls_descrs`.`Assunto` AS `Assunto`,`newsls_descrs`.`IdLing` AS `IdLing` from (`newsls_descrs` join `newsls_cats_asss` on((`newsls_descrs`.`IdCatAssNewsl` = `newsls_cats_asss`.`IdCatAssNewsl`))) order by `newsls_descrs`.`Data` desc,`newsls_descrs`.`Assunto` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_notcs_50` -- /*!50001 DROP TABLE `vw_notcs_50`*/; /*!50001 DROP VIEW IF EXISTS `vw_notcs_50`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_notcs_50` AS select `noticias`.`IdNotc` AS `IdNotc`,`noticias_descrs`.`Titulo` AS `Titulo`,`noticias_descrs`.`Contd` AS `Contd`,`noticias_descrs`.`IdLing` AS `IdLing`,`noticias`.`DataIns` AS `DataIns` from (`noticias` join `noticias_descrs` on((`noticias`.`IdNotc` = `noticias_descrs`.`IdNotc`))) order by `noticias`.`DataIns` desc limit 50 */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_notcs_lista` -- /*!50001 DROP TABLE `vw_notcs_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_notcs_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_notcs_lista` AS select `noticias`.`IdNotc` AS `IdNotc`,`noticias_descrs`.`Titulo` AS `Titulo`,substr(`noticias_descrs`.`Contd`,1,280) AS `Contd`,`noticias_descrs`.`IdLing` AS `IdLing`,`noticias`.`DataIns` AS `DataIns` from (`noticias` join `noticias_descrs` on((`noticias`.`IdNotc` = `noticias_descrs`.`IdNotc`))) order by `noticias`.`DataIns` desc */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_pags_lista` -- /*!50001 DROP TABLE `vw_pags_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_pags_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_pags_lista` AS select `pags`.`IdPag` AS `IdPag`,`pags_descrs`.`IdLing` AS `IdLing`,`pags_descrs`.`Tit` AS `Tit`,`pags_reg_classes`.`Nome` AS `DescrModulo`,`pags_reg_classes`.`PastaModulo` AS `PastaModulo`,`pags`.`IdPastaPags` AS `IdPastaPags`,`pags`.`IdClassePags` AS `IdClassePags`,`pags_descrs`.`NomeFich` AS `NomeFich`,`pags_pastas_descrs`.`NomeCompl` AS `NomePasta`,`pags_reg_classes`.`Embeb?` AS `Embeb?`,`pags_pastas_descrs`.`NomeFisCompl` AS `NomeFisPasta` from (((`pags` join `pags_descrs` on((`pags`.`IdPag` = `pags_descrs`.`IdPag`))) join `pags_reg_classes` on((`pags`.`IdClassePags` = `pags_reg_classes`.`IdClassePags`))) left join `pags_pastas_descrs` on(((`pags`.`IdPastaPags` = `pags_pastas_descrs`.`IdPastaPags`) and (`pags_descrs`.`IdLing` = `pags_pastas_descrs`.`IdLing`)))) order by `pags_descrs`.`Tit` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_pags_pastas_lista` -- /*!50001 DROP TABLE `vw_pags_pastas_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_pags_pastas_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_pags_pastas_lista` AS select `pags_pastas_descrs`.`IdLing` AS `IdLing`,`pags_pastas`.`IdPastaPags` AS `IdPastaPags`,`pags_pastas`.`IdPastaPagsPai` AS `IdPastaPagsPai`,`pags_pastas_descrs`.`Nome` AS `Nome`,`pags_pastas_descrs`.`NomeCompl` AS `NomeCompl`,`pags_pastas_descrs`.`NomeFisCompl` AS `NomeFisCompl` from (`pags_pastas` join `pags_pastas_descrs` on((`pags_pastas`.`IdPastaPags` = `pags_pastas_descrs`.`IdPastaPags`))) order by `pags_pastas_descrs`.`NomeCompl` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_pags_pesq` -- /*!50001 DROP TABLE `vw_pags_pesq`*/; /*!50001 DROP VIEW IF EXISTS `vw_pags_pesq`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_pags_pesq` AS select `pags_descrs`.`IdLing` AS `IdLing`,`_procs_lins`.`IdProc` AS `IdProc`,`pags_descrs`.`Tit` AS `Tit`,`pags_descrs`.`Resumo` AS `Resumo`,`pags`.`DataIns` AS `DataIns`,`pags`.`DataUltAct` AS `DataUltAct`,concat(if(isnull(`pags_pastas_descrs`.`NomeFisCompl`),_utf8'',`pags_pastas_descrs`.`NomeFisCompl`),`pags_descrs`.`NomeFich`) AS `URL` from (((`_procs_lins` join `pags` on((`_procs_lins`.`IdReg` = `pags`.`IdPag`))) join `pags_descrs` on((`pags`.`IdPag` = `pags_descrs`.`IdPag`))) left join `pags_pastas_descrs` on(((`pags`.`IdPastaPags` = `pags_pastas_descrs`.`IdPastaPags`) and (`pags_descrs`.`IdLing` = `pags_pastas_descrs`.`IdLing`)))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_pags_pesq_lista` -- /*!50001 DROP TABLE `vw_pags_pesq_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_pags_pesq_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_pags_pesq_lista` AS select `pags_descrs`.`IdLing` AS `IdLing`,`pags`.`IdPag` AS `IdPag`,`pags_descrs`.`Tit` AS `Tit`,`pags_descrs`.`Resumo` AS `Resumo`,concat(`pags_pastas_descrs`.`NomeFisCompl`,`pags_descrs`.`NomeFich`) AS `URL`,`pags`.`DataUltAct` AS `DataUltAct`,`pags`.`DataIns` AS `DataIns` from ((`pags` join `pags_descrs` on((`pags`.`IdPag` = `pags_descrs`.`IdPag`))) join `pags_pastas_descrs` on(((`pags_descrs`.`IdLing` = `pags_pastas_descrs`.`IdLing`) and (`pags`.`IdPastaPags` = `pags_pastas_descrs`.`IdPastaPags`)))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; -- -- Final view structure for view `vw_pagsi_lista` -- /*!50001 DROP TABLE `vw_pagsi_lista`*/; /*!50001 DROP VIEW IF EXISTS `vw_pagsi_lista`*/; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; /*!50001 SET character_set_client = utf8 */; /*!50001 SET character_set_results = utf8 */; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50001 VIEW `vw_pagsi_lista` AS select `pagsi`.`IdPag` AS `IdPag`,`pagsi_descrs`.`IdLing` AS `IdLing`,`pagsi_descrs`.`Tit` AS `Tit` from (`pagsi` join `pagsi_descrs` on((`pagsi`.`IdPag` = `pagsi_descrs`.`IdPag`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2009-04-08 11:11:36