From 1a1bffddfd248953900d19080f590a229d881f6b Mon Sep 17 00:00:00 2001 From: humano Date: Mon, 27 Jul 2015 19:19:54 -0500 Subject: [PATCH] =?UTF-8?q?Implemetaci=C3=B3n=20de=20funciones=20de=20busc?= =?UTF-8?q?ador=20y=20correcciones=20generales?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- milfs.sql | 3026 +++++++++++++++++++++++++++++ milfs.sql.gz | 109 +- milfs/funciones/funciones.php | 322 ++- milfs/includes/upload_archivo.php | 4 +- 4 files changed, 3364 insertions(+), 97 deletions(-) create mode 100644 milfs.sql diff --git a/milfs.sql b/milfs.sql new file mode 100644 index 0000000..aafc268 --- /dev/null +++ b/milfs.sql @@ -0,0 +1,3026 @@ +-- phpMyAdmin SQL Dump +-- version 4.2.12deb2 +-- http://www.phpmyadmin.net +-- +-- Host: localhost +-- Generation Time: Jul 11, 2015 at 10:04 AM +-- Server version: 5.5.43-0+deb8u1 +-- PHP Version: 5.6.9-0+deb8u1 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!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 */; + +-- +-- Database: `milfs` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `empresa` +-- + +CREATE TABLE IF NOT EXISTS `empresa` ( +`id` int(11) NOT NULL, + `id_responsable` int(11) NOT NULL DEFAULT '0' COMMENT 'Se guarda el id del responsable de la empresa', + `ciiu` char(5) CHARACTER SET latin1 NOT NULL DEFAULT '', + `sector` int(3) NOT NULL, + `razon_social` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `sigla` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `slogan` text CHARACTER SET latin1 NOT NULL, + `nit` varchar(15) CHARACTER SET latin1 NOT NULL DEFAULT '', + `direccion` text CHARACTER SET latin1 NOT NULL, + `telefono_1` varchar(30) CHARACTER SET latin1 NOT NULL DEFAULT '', + `web` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `email` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `persona_contacto` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `regimen_tributario` char(15) CHARACTER SET latin1 NOT NULL DEFAULT '', + `resolucion_facturacion` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `facturacion_desde` int(30) DEFAULT NULL COMMENT 'Comienzo del permiso de facturación', + `facturacion_hasta` int(30) DEFAULT NULL COMMENT 'Fin del permiso de facturación', + `facturacion_primera` int(30) DEFAULT NULL COMMENT 'Primera factura que se imprimirá, puede ser la primera de la resolución', + `facturacion_prefijo` varchar(25) CHARACTER SET latin1 NOT NULL DEFAULT '', + `facturacion_fecha` int(20) NOT NULL DEFAULT '0' COMMENT 'Fechad e la resolucion', + `facturacion_vencimiento` int(20) NOT NULL DEFAULT '0' COMMENT 'Fecha de vencimiento de la resolucion de facturación', + `logo_color` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `logo_bn` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `logo_alta` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `logo_baja` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `imagen` char(40) COLLATE utf8_spanish2_ci NOT NULL, + `css` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `css_impresion` varchar(254) CHARACTER SET latin1 NOT NULL DEFAULT '', + `id_localizacion` int(11) NOT NULL, + `id_redes_sociales` int(11) NOT NULL, + `twitter` varchar(50) COLLATE utf8_spanish2_ci NOT NULL, + `facebook` varchar(200) COLLATE utf8_spanish2_ci NOT NULL +) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci COMMENT='Datos de la IPS'; + +-- +-- Dumping data for table `empresa` +-- + +INSERT INTO `empresa` (`id`, `id_responsable`, `ciiu`, `sector`, `razon_social`, `sigla`, `slogan`, `nit`, `direccion`, `telefono_1`, `web`, `email`, `persona_contacto`, `regimen_tributario`, `resolucion_facturacion`, `facturacion_desde`, `facturacion_hasta`, `facturacion_primera`, `facturacion_prefijo`, `facturacion_fecha`, `facturacion_vencimiento`, `logo_color`, `logo_bn`, `logo_alta`, `logo_baja`, `imagen`, `css`, `css_impresion`, `id_localizacion`, `id_redes_sociales`, `twitter`, `facebook`) VALUES +(1, 1, '', 0, 'qwerty', 'MILFS', 'El futuro ya no es lo que era', '', '', '', 'http://qwerty.co', 'correo@qwerty.co', '', '', '', NULL, NULL, NULL, '', 0, 0, '', '', '', '', '5ea17940eb83cbcff6a7cea1c501ce85.jpg', '', '', 0, 0, 'qwerty_co', 'https://www.facebook.com/pages/Qwerty-co/146226688795185'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `estilos` +-- + +CREATE TABLE IF NOT EXISTS `estilos` ( +`id` int(11) NOT NULL, + `elemento` varchar(100) DEFAULT NULL, + `label` varchar(19) DEFAULT NULL, + `valor` varchar(10277) DEFAULT NULL, + `color` varchar(8) DEFAULT NULL, + `tipo` varchar(32) NOT NULL, + `identificador` varchar(32) NOT NULL, + `id_empresa` int(11) NOT NULL +) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `estilos` +-- + +INSERT INTO `estilos` (`id`, `elemento`, `label`, `valor`, `color`, `tipo`, `identificador`, `id_empresa`) VALUES +(1, '.campo_nombre', 'font-weight', 'bold', NULL, '', '', 1), +(2, '.campo_contenido', 'font-normal', 'bold', NULL, '', '', 1), +(6, '.modal-dialogx', ' width', '98% !important', NULL, '', '', 1), +(7, '.modal-content', 'height', '100%', NULL, '', '', 1), +(8, '.modal-dialog', 'padding', '0', NULL, '', '', 1), +(9, '.modal-dialog', 'height', 'auto', NULL, '', '', 1), +(10, '.panel-map', 'border-radius', '10px', NULL, '', '', 1), +(11, '.panel-map', 'width', '18%', NULL, '', '', 1), +(12, '.panel-map', 'background-color', 'white', NULL, '', '', 1), +(13, '.panel-map', 'margin-left', '80%', NULL, '', '', 1), +(14, '.panel-map', 'z-index', '10000', NULL, '', '', 1), +(15, '.panel-map', 'position', 'absolute', NULL, '', '', 1), +(16, '.panel-map', 'top', '20%', NULL, '', '', 1), +(17, '.panel-map', 'padding', '10px', NULL, '', '', 1), +(18, '.leaflet-popup-content-wrapper', 'background', '#a7ffee !important', '', '', '', 1), +(19, '.leaflet-popup-content-wrapper', 'color', '#333399 !important', '', '', '', 1), +(20, '.leaflet-popup-content-wrapper', 'line-height', '24px !important', '', '', '', 1), +(21, '.leaflet-popup-content-wrapper', 'border-style', 'dotted !important', '', '', '', 1), +(22, '.leaflet-popup-content-wrapper', 'border-radius', '10px !important', '', '', '', 1), +(23, '.leaflet-popup-content-wrapper', 'border-width', '2px !important', '', '', '', 1), +(24, '.leaflet-popup-tip', 'border-top', '15px dotted #333399 !important', '', '', '', 1), +(26, '.ficha-contenido', 'padding', '5px', NULL, '', '', 1), +(28, '.ficha-contenido', 'margin', '0px', NULL, '', '', 1), +(29, '.XXXdropdown-menu liXXX:hover .XXXsub-menu', 'visibility', 'visible', NULL, '', '', 1), +(30, '.XXXdropdown:hover .XXXdropdown-menu', 'display', 'block', NULL, '', '', 1), +(31, '.dropdown:hover .dropdown-menu', 'background', 'rgba(255,255,255,1)', NULL, '', '', 1), +(32, '.navbar-default ', 'background', 'rgba(255,255,255,1)', NULL, '', '', 1), +(33, 'nav.navbar.navbar-default.submenu', 'background', 'rgba(255,255,255,0.8)', NULL, '', '', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `form_areas` +-- + +CREATE TABLE IF NOT EXISTS `form_areas` ( +`id` int(11) NOT NULL, + `nombre` text NOT NULL, + `descripcion` text NOT NULL, + `estado` int(11) NOT NULL DEFAULT '0', + `orden` int(11) NOT NULL DEFAULT '0' COMMENT 'Orden en que se muestran las areas', + `id_empresa` int(11) NOT NULL +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; + +-- +-- Dumping data for table `form_areas` +-- + +INSERT INTO `form_areas` (`id`, `nombre`, `descripcion`, `estado`, `orden`, `id_empresa`) VALUES +(1, 'General', '', 1, 1, 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `form_campos` +-- + +CREATE TABLE IF NOT EXISTS `form_campos` ( +`id` int(11) NOT NULL, + `id_especialista` int(11) NOT NULL DEFAULT '0', + `id_empresa` int(11) NOT NULL, + `campo_nombre` text CHARACTER SET utf8 COLLATE utf8_spanish2_ci NOT NULL, + `campo_descripcion` text CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL, + `campo_tipo` int(11) NOT NULL DEFAULT '0', + `campo_area` int(11) DEFAULT NULL, + `orden` int(2) NOT NULL DEFAULT '0', + `activo` int(11) NOT NULL DEFAULT '0', + `identificador` varchar(32) NOT NULL, + `bloqueo` int(1) NOT NULL DEFAULT '0', + `tipo_contenido` set('1','a','s') NOT NULL COMMENT '''1 numerico'',''alfanumerico'',''simbolos''' +) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=latin1; + +-- +-- Dumping data for table `form_campos` +-- + +INSERT INTO `form_campos` (`id`, `id_especialista`, `id_empresa`, `campo_nombre`, `campo_descripcion`, `campo_tipo`, `campo_area`, `orden`, `activo`, `identificador`, `bloqueo`, `tipo_contenido`) VALUES +(0, 0, 1, 'imagen', 'Campo especial para la imagen', 15, 1, 0, 1, 'imagen', 0, ''), +(1, 0, 1, 'Primer nombre', 'Pablo', 1, 1, 0, 1, 'f13bb435acfd7ba3f88a5f74fe3fadc2', 0, ''), +(2, 0, 1, 'Segundo nombre', 'Fernando', 1, 1, 0, 1, 'e03db6f72422a01b20953b25d7c7fee3', 0, ''), +(3, 0, 1, 'Primer apellido', 'Perez', 1, 0, 0, 1, '5c3cdc8e15eb15dfce8c591986deb800', 0, ''), +(4, 0, 1, 'Segundo apellido', 'Martinez', 1, 1, 0, 1, 'bc1699111bd9aa3b3ec114f53f99a3cb', 0, ''), +(5, 0, 1, 'Nombres y apellidos', 'Escriba el nombre completo con apellidos', 1, 0, 0, 1, '531a7eaef7ed326a6222e2aeb1229e9c', 0, ''), +(6, 0, 1, 'Telefono', 'Solo números', 3, 0, 0, 1, '4a70495abb15d926dcc031e58b67fbe4', 0, ''), +(7, 0, 1, 'Dirección', 'Escriba la dirección completa', 2, 2, 0, 1, '400864ef5b72242c7aa78edaa83854f3', 0, ''), +(8, 0, 1, 'Actividad', '', 1, 0, 0, 1, 'e92ff0595452708abc9e7bfe698eafd1', 0, ''), +(9, 0, 1, 'Descripcion', 'limitado a 140 caracteres.', 17, 0, 0, 1, '34b1a570180e02f1960e7d7a25e23002', 0, ''), +(10, 0, 1, 'Mes', 'Los meses del año', 8, 0, 0, 1, '400ba32128df67eb162fb753e8cfad4c', 0, ''), +(11, 0, 1, 'Entidad', 'Nombre de la entidad.', 1, 0, 0, 1, '9141fdf92fbed44d18789854b537868e', 0, ''), +(12, 0, 1, 'Cargo', 'Cargo en la empresa, no es un campo obligatorio.', 1, 0, 0, 1, '16011685a8337f9c38e988652969a96f', 0, ''), +(13, 0, 1, 'Celular', 'Numero de celular.', 3, 0, 0, 1, '1a9ca006b88f96785ca15a6165e813ff', 0, ''), +(14, 0, 1, 'Categoria', 'Categoria para los contactos del museo ', 8, 0, 0, 1, '1852d58951a6980771d9ee7ba189722a', 0, ''), +(15, 0, 1, 'Correo electronico', 'Correo electronico', 1, 2, 0, 1, 'dd9fc13c87ca1fbde986c92c131e6b5d', 0, ''), +(16, 0, 1, 'Correo electronico secundario', 'Correo Electronico Secundario, si la persona tiene un segundo correo este campo puede ser útil.', 1, 0, 0, 1, '65e752c9c88fdfba3a1eea293a89e4f3', 0, ''), +(17, 0, 1, 'Ciudad', 'Ciudad relacionada', 1, 0, 0, 1, 'baea0a6f032dc1b9ef3a5e36872d3dc1', 0, ''), +(18, 0, 1, 'Mapa', 'Campo de georeferencia', 14, 0, 0, 1, 'ed76fc240f8e9a4fa980fd76ba1d75e1', 0, ''), +(19, 0, 1, 'Parrafo', 'Texto extenso', 17, 0, 0, 1, '22197bf9c4f70d27730114e5cf4aafc4', 0, ''), +(20, 0, 1, 'Título', '', 1, 0, 0, 1, '0d3edae00f76e28cf9ff7f2c6b4f53dd', 0, ''), +(21, 0, 1, 'Pais', 'Pais donde esta ubicado el sujeto - contacto, artista, curador, espacio alternativo, visitante, etc.', 1, 0, 0, 1, '1d140883024f3928d1dcd13a94f4d497', 0, ''), +(22, 0, 1, 'Fecha de inicio', '', 11, 0, 0, 1, '45a51ae25218e7f5bc109b02ca106b8e', 0, ''), +(23, 0, 1, 'Fecha de finalización', '', 11, 0, 0, 1, '4ed6b84e9d8e2b37a712c7a0c8404dff', 0, ''), +(24, 0, 1, 'Html', 'este campo es de html', 7, 0, 0, 1, 'ce7df66e8e9d343687a89b0733df216c', 0, ''), +(25, 0, 1, 'Link', 'Link del formulario de contacto', 4, 0, 0, 1, '8c7b8349d6b91886a89f476be8835e1f', 0, ''), +(26, 0, 1, 'Foto', 'Muéstranos tu carita', 15, 0, 0, 1, '9015233fe2ed5ebf8a0076faca6aff91', 0, ''), +(38, 0, 1, 'Dc:title', 'Definición: (Título del recurso) nombre por el cual el recurso es conocido, asignado\nusualmente por el creador o editor.\nGuía para la creación de contenido: normalmente el título será aquel por el que se\nconozca formalmente el recurso. Sí existe duda sobre qué constituye el título, repita\nel campo e incluya las variantes del título. Sí el ítem está en HTML, vea el código\nfuente y asegúrese que el título que se indica en el header (metadato) está también\nincluido como título del ítem.', 1, 0, 0, 1, 'd8ef2eac6b885d6e7c474fea37590174', 0, ''), +(39, 0, 1, 'Dc:title.alternative', 'Refinamiento de elementos: Alternative: la etiqueta Title puede complementarse con\nel calificador “alternative” para indicar las variantes del título y puede incluir\nabreviaturas y traducciones del título.', 1, 0, 0, 1, '2585baf1bbff3417e7842ac2045497f7', 0, ''), +(40, 0, 1, 'Dc:creator', 'Definición: entidad principal responsable de crear el contenido del recurso, puede ser personal, corporativa, o un servicio.\n\nGuía para la creación de contenido: los creadores deberán ser listados\nseparadamente, preferentemente en el mismo orden que ellos aparecen en la\npublicación. Los nombres personales se ingresarán por el apellido seguido por el\nprimer nombre o el nombre de familia. Cuando exista duda ingrese el nombre tal\ncomo aparece y no lo invierta.', 1, 0, 0, 1, '52c08f2f1aa1f486c30221ebca18d6af', 0, ''), +(41, 0, 1, 'Dc:creator.name', '', 1, 0, 0, 1, '857885faf3d8568f314a36dca3373f0f', 0, ''), +(42, 0, 1, 'Dc:creator.email', '', 1, 0, 0, 1, '5886b247db5d035361160213fb75c1c4', 0, ''), +(43, 0, 1, 'Dc:creator.address', '', 1, 0, 0, 1, '4e0a1fd04c9035af1159057c88e11a32', 0, ''), +(44, 0, 1, 'Dc:subject', 'Definición: tema del contenido del recurso.', 1, 0, 0, 1, '6cf896176cff698edd65a0064b2e160e', 0, ''), +(45, 0, 1, 'Dc:description', 'Definición: explicación del contenido del recurso.\nGuía para la creación de contenido: dado que el campo de descripción es\npotencialmente una rica fuente de términos indizables, se debe precaver su inclusión\nsiempre que esto sea posible. La práctica más recomendada es usar frases\ncompletas, ya que la descripción se usa para proporcionar una mayor información a\nlos usuarios de la que pueden obtener a través de los datos ingresados en los demás\nelementos.\nLa descripción puede incluir, pero no se limita a: un resumen, tabla de contenidos,\nreferencia a una representación gráfica del contenido o una explicación en texto libre\nsobre el contenido.', 2, 0, 0, 1, '779595ba958df927a27f57a554264c76', 0, ''), +(46, 0, 1, 'Dc:description.tableofcontents', '', 2, 0, 0, 1, 'f6428a1ff799a04008be6b51a4fa0dbf', 0, ''), +(47, 0, 1, 'Dc:description.abstract', '', 2, 0, 0, 1, 'd2eaed6787620156c0af199c8961fe6f', 0, ''), +(48, 0, 1, 'Dc:publisher', 'Definición: entidad responsable de que el recurso esté disponible.', 1, 0, 0, 1, 'b0b3763cc40f32eae93d5b5ee9aaab67', 0, ''), +(49, 0, 1, 'Dc:contributor', 'Definición: entidad responsable de hacer contribuciones al contenido del recurso,\nincluye personas, entidades corporativas o un servicio.', 1, 0, 0, 1, '6e9e0f7d30b10bf6b6c4c2fc04b6fb71', 0, ''), +(50, 0, 1, 'Dc:date', 'Definición: cualquier fecha asociada con el ciclo de vida de un recurso.\nGuía para la creación de contenido: normalmente, la fecha estará relacionada con la\ncreación o disponibilidad del recurso. Lo más recomendable es seguir la norma\nISO8601: formato YYYY-MM-DD (1999-06-05).', 11, 0, 0, 1, '8d44da45c9c649de6fa2e1c51a992e42', 0, ''), +(51, 0, 1, 'Dc:type', 'Definición: naturaleza o género del contenido del recurso.\nGuía para la creación de contenido: el elemento Type incluye términos que\ndescriben categorías generales, funciones, géneros o niveles de agregación de\ncontenido. La práctica más recomendada es seleccionar un valor desde un\nvocabulario controlado (por ejemplo, el vocabulario DCMIType). Para describir la\nmanifestación física o digital del recurso, use el campo Format (formato).\nSí el contenido del recurso incluye varios o múltiples tipos, use la función de\nrepetibilidad de los elementos y repita los tipos más importantes que describan el\nrecurso.', 8, 0, 0, 1, '3943a48c25543bff1a641e70e45b6811', 0, ''), +(52, 0, 1, 'Dc:format', 'Definición: la presentación física o digital del recurso.\nGuía para creación del contenido: normalmente, el formato puede incluir tipos de\nmedios o dimensiones de un recurso, las dimensiones incluyen el tamaño y la\nduración. El formato puede usarse para identificar el software, hardware u otros\nequipamientos necesarios para visualizar/presentar u operar el recurso. La práctica\nmás recomendada es seleccionar un valor de un vocabulario controlado, por ejemplo,\nla lista de Internet Media Types, disponible en:\n que define\nlos formatos de medios computacionales.', 8, 0, 0, 1, '9a4361a6817fecc0a6a66874c64504ee', 0, ''), +(53, 0, 1, 'Dc:source', 'Definición: identifica al recurso del cual deriva el recurso que está siendo descrito.\nGuía para la creación de contenido: el recurso digitalizado puede derivar en parte o\nen su totalidad desde otra fuente. Se recomienda hacer referencia al recurso por\nmedio de una cadena de números conforme a un sistema de identificación formal.', 1, 0, 0, 1, '55b5737650c44c8692d71db525245b53', 0, ''), +(54, 0, 1, 'Dc:languaje', 'Definición: idioma del contenido intelectual de un recurso.\nGuía para la creación de contenido: aquí se puede representar un valor codificado o\nun string de texto. Si el contenido está en más de un idioma, el elemento puede ser\nrepetido.', 8, 0, 0, 1, '7b6e12971eb2c7eff16776f0be5b4bd5', 0, ''), +(55, 0, 1, 'Dc:relation', 'Definición: referencia a un recurso relacionado.\nGuía para la creación del contenido: las relaciones pueden ser expresadas\nrecíprocamente (siempre que los recursos hayan sido descritos en ambos extremos de\nla relación) o en una dirección solamente, aún cuando exista un refinamiento\ndisponible para permitir la reciprocidad. Si se usan strings de textos en lugar de\nnúmeros de identificación, la referencia se debería especificar apropiadamente. La\npráctica más recomendada es identificar los recursos referenciados mediante un\nstring [conjunto de caracteres manipulados como un grupo] o un número conforme a\nun sistema de identificación formal.\nSe sugiere usar este elemento. dado que proporciona más información al usuario\nfinal.', 1, 0, 0, 1, '0c63e5cb81279f2c4403a1222f853fb8', 0, ''), +(56, 0, 1, 'Dc:coverage', 'Definición: extensión, magnitud o el alcance del contenido de un recurso.\nGuía para la creación de contenido: normalmente, la cobertura incluirá la\nlocalización espacial (un nombre de un lugar o unas coordenadas geográficas),\nperíodo temporal (una expresión que identifica un período, fecha o rango de fecha) o\njurisdicción (por ejemplo una denominación de una entidad administrativa). La\npráctica recomendada es seleccionar un valor de un vocabulario controlado (por\nejemplo, del Tesauro de Nombres Geográficos [TGN]) y usar, cuando sea oportuno,\nnombres de períodos de tiempo o de lugares, más que identificadores numéricos\ncomo un conjunto de coordenadas o rangos de fecha.', 1, 0, 0, 1, '5b3b7658ac2bad7caa691b35b5f9c564', 0, ''), +(57, 0, 1, 'Dc:coverage.temporal', '', 1, 0, 0, 1, '7c3ca3333cb948e523b2754b3674b837', 0, ''), +(58, 0, 1, 'Dc:coverage.spatial', 'Lugar o coordenadas', 14, 0, 0, 1, '1051b68fde2e91ba393191be8c109a52', 0, ''), +(59, 0, 1, 'Dc:coverage.temporal.inicio', '', 1, 0, 0, 1, 'dd961c81031d162056517e1065d9a3aa', 0, ''), +(60, 0, 1, 'Dc:coverage.fin', '', 1, 0, 0, 1, '7b6597965be3e7948cfee358b55f9d60', 0, ''), +(61, 0, 1, 'Dc:rights', 'Definición: información sobre los derechos legales que afectan el uso del recurso.\nGuía para la creación del contenido: los derechos pueden ser citados en un texto o\nseñalados en una URL que enlace a las menciones de derechos, o una combinación\nde ambas. Normalmente, los derechos contendrán una declaración de gestión de\nderechos para el recurso, o referenciarán un servicio que proporcione dicha\ninformación. La información sobre los derechos generalmente abarca los derechos de\nPropiedad Intelectual (IPR), Copyright, y varios derechos relacionados con la\npropiedad. Si este tipo de datos no viene en el recurso que se describirá, no se debe\nincluir.', 2, 0, 0, 1, 'afce0628cb7f0650b00df1bc62a00832', 0, ''), +(62, 0, 1, 'Dc:audience', 'Definición: clase de entidad para quién el recurso pretende ser útil. La clase de\nentidad puede ser determinada por el autor, editor o por una tercera parte.\nGuía para la creación del contenido: Los términos incluidos en Audiencia se utilizan\npreferentemente en el contexto de vocabularios controlados formales o informales.\nNinguno de ellos, actualmente ha sido registrado o recomendado por DCMI. En\nausencia de vocabularios controlados recomendados, se anima a los\nimplementadores a desarrollar listas locales de valores, y usarlos consistentemente.', 1, 0, 0, 1, '0de8bef05d6b90f3f76d65a3197351e0', 0, ''), +(63, 0, 1, 'Dc:provenance', 'Definición: declaración de cualquier cambio en la propiedad y custodia del recurso\ndesde su creación, que sea significativo para su autenticidad, integridad e\ninterpretación.', 1, 0, 0, 1, 'dfe2299052223439313154da0a469f34', 0, ''), +(64, 0, 1, 'Dc:rightsholder', 'Definición: Persona u organización que posee o que gestiona los derechos sobre el\nrecurso. La práctica más recomendada es usar la URI o el nombre del titular de los\nderechos.\nGuía para la creación del contenido: Ya que, en general, a la mayoría de las\npersonas u organizaciones no se les asigna URIS, se puede indicar el nombre en\nforma textual. A veces los titulares de derechos tienen sitios web, no obstante, el uso\nde estas URLS por general no son apropiadas en este contexto, ya que ellas no\nidentifican claramente a la persona o a la organización, sino más bien indican la\nlocalización del sitio web.', 1, 0, 0, 1, 'e2228042395755058d2807925bf4d010', 0, ''), +(65, 0, 1, 'Dc:instructionalmethod', 'Definición: Es el proceso, usado para generar conocimiento, actitudes y habilidades,\nque se encuentra inserto en el recurso. El método instructivo incluirá típicamente\nformas de presentar los materiales de enseñanza o la conducción de actividades\ninstructivas, modelos de interacción estudiante-a- estudiante, de estudiante-a-\ninstructor, y los mecanismos por los que se miden grupos y niveles de aprendizaje.\nLos métodos de enseñanza incluyen todos los aspectos de los procesos de la\ninstrucción y del aprendizaje, desde la planificación e implementación hasta la\nevaluación y retroalimentación.', 1, 0, 0, 1, 'c61b4eb0bee6360158bf0b32d2b0f04a', 0, ''), +(66, 0, 1, 'Dc:accrualmethod', 'Definición: Es el método que se usa para agregar ítemes a una colección.', 1, 0, 0, 1, '1db968b9f4b9cf32f0f046aaed574d8f', 0, ''), +(67, 0, 1, 'Dc:accrualpolicy', 'Definición: La política establecida para la adición de ítemes a una colección.', 1, 0, 0, 1, '5ad94d58fd8e863f4c4df2141d979508', 0, ''), +(68, 0, 1, 'Dc:uri', 'Dirección del recurso', 4, 0, 0, 1, 'abc6b46aef3462e8dc0bb9034bbe6c3b', 0, ''), +(69, 0, 1, 'Dc:media', 'Campo para embeber la uri de un medio, se hará el reder en un iframe', 5, 0, 0, 1, '0ba1df8291582e7b93cbe8a9cd1ba685', 0, ''), +(70, 0, 1, 'Dc:imagen', 'Cuando el recurso es una imagen', 15, 0, 0, 1, '9311f72e48bc310eaae4f6fb20e72123', 0, ''), +(71, 0, 1, 'Municipios Colombia', 'Combo select de los municipios de Colombia', 9, 0, 0, 1, '659f1f0dd0b16b94df7095523fd0c631', 0, ''), +(72, 0, 1, 'Referido', 'Selecciona un contacto que ya esté incrito', 10, 0, 0, 1, '930227d7199cae1e3e305faa37655029', 0, ''), +(73, 0, 1, 'Fecha de nacimiento', 'La fecha de nacimiento es un dato privado y no se publicará.', 11, 1, 0, 1, 'aa9c7429da7bbf0d105cd31c789e888f', 0, ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `form_campos_valores` +-- + +CREATE TABLE IF NOT EXISTS `form_campos_valores` ( +`id` int(11) NOT NULL, + `id_form_campo` int(11) NOT NULL, + `campo_valor` char(200) COLLATE utf8_spanish2_ci NOT NULL, + `predeterminado` set('0','1') COLLATE utf8_spanish2_ci NOT NULL DEFAULT '0' +) ENGINE=InnoDB AUTO_INCREMENT=2366 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci; + +-- +-- Dumping data for table `form_campos_valores` +-- + +INSERT INTO `form_campos_valores` (`id`, `id_form_campo`, `campo_valor`, `predeterminado`) VALUES +(1, 10, 'Enero', '0'), +(2, 10, 'Febrero', '0'), +(3, 10, 'Marzo', '0'), +(4, 10, 'Abril', '0'), +(5, 10, 'Mayo', '0'), +(6, 10, 'Junio', '0'), +(7, 10, 'Julio', '0'), +(8, 10, 'Agosto', '0'), +(9, 10, 'Septiembre', '0'), +(10, 10, 'Octubre', '0'), +(11, 10, 'Noviembre', '0'), +(12, 10, 'Diciembre', '0'), +(13, 14, 'Medio local', '0'), +(15, 14, 'Cooperación', '0'), +(16, 14, 'Amigo', '0'), +(17, 14, 'Privado', '0'), +(18, 14, 'Ong', '0'), +(20, 9, '140', '0'), +(21, 19, '100', '0'), +(43, 51, 'Collection(colección)', '0'), +(44, 51, 'Dataset (conjunto de datos)', '0'), +(45, 51, 'Event (acontecimiento)', '0'), +(46, 51, 'Image (imagen)', '0'), +(47, 51, 'Interactiveresource (recurso interactivo)', '0'), +(48, 51, 'Movingimage (imagen en movimiento)', '0'), +(49, 51, 'Physicalobject (objecte físic)', '0'), +(50, 51, 'Service (servicio)', '0'), +(51, 51, 'Software (software)', '0'), +(52, 51, 'Sound(sonido)', '0'), +(53, 51, 'Stillimage (imagen fija)', '0'), +(54, 51, 'Text (texto)', '0'), +(55, 52, 'Application/vnd.hzn-3d-crossword', '0'), +(56, 52, 'Application/andrew-inset', '0'), +(57, 52, 'Application/applixware', '0'), +(58, 52, 'Application/atom+xml', '0'), +(59, 52, 'Application/atomcat+xml', '0'), +(60, 52, 'Application/atomsvc+xml', '0'), +(61, 52, 'Application/ccxml+xml', '0'), +(62, 52, 'Application/cdmi-capability', '0'), +(63, 52, 'Application/cdmi-container', '0'), +(64, 52, 'Application/cdmi-domain', '0'), +(65, 52, 'Application/cdmi-object', '0'), +(66, 52, 'Application/cdmi-queue', '0'), +(67, 52, 'Application/cu-seeme', '0'), +(68, 52, 'Application/davmount+xml', '0'), +(69, 52, 'Application/dssc+der', '0'), +(70, 52, 'Application/dssc+xml', '0'), +(71, 52, 'Application/ecmascript', '0'), +(72, 52, 'Application/emma+xml', '0'), +(73, 52, 'Application/epub+zip', '0'), +(74, 52, 'Application/exi', '0'), +(75, 52, 'Application/font-tdpfr', '0'), +(76, 52, 'Application/hyperstudio', '0'), +(77, 52, 'Application/ipfix', '0'), +(78, 52, 'Application/java-archive', '0'), +(79, 52, 'Application/java-serialized-object', '0'), +(80, 52, 'Application/java-vm', '0'), +(81, 52, 'Application/javascript', '0'), +(82, 52, 'Application/json', '0'), +(83, 52, 'Application/mac-binhex40', '0'), +(84, 52, 'Application/mac-compactpro', '0'), +(85, 52, 'Application/mads+xml', '0'), +(86, 52, 'Application/marc', '0'), +(87, 52, 'Application/marcxml+xml', '0'), +(88, 52, 'Application/mathematica', '0'), +(89, 52, 'Application/mathml+xml', '0'), +(90, 52, 'Application/mbox', '0'), +(91, 52, 'Application/mediaservercontrol+xml', '0'), +(92, 52, 'Application/metalink4+xml', '0'), +(93, 52, 'Application/mets+xml', '0'), +(94, 52, 'Application/mods+xml', '0'), +(95, 52, 'Application/mp21', '0'), +(96, 52, 'Application/mp4', '0'), +(97, 52, 'Application/msword', '0'), +(98, 52, 'Application/mxf', '0'), +(99, 52, 'Application/octet-stream', '0'), +(100, 52, 'Application/oda', '0'), +(101, 52, 'Application/oebps-package+xml', '0'), +(102, 52, 'Application/ogg', '0'), +(103, 52, 'Application/onenote', '0'), +(104, 52, 'Application/patch-ops-error+xml', '0'), +(105, 52, 'Application/pdf', '0'), +(106, 52, 'Application/pgp-encrypted', '0'), +(107, 52, 'Application/pgp-signature', '0'), +(108, 52, 'Application/pics-rules', '0'), +(109, 52, 'Application/pkcs10', '0'), +(110, 52, 'Application/pkcs7-mime', '0'), +(111, 52, 'Application/pkcs7-signature', '0'), +(112, 52, 'Application/pkcs8', '0'), +(113, 52, 'Application/pkix-attr-cert', '0'), +(114, 52, 'Application/pkix-cert', '0'), +(115, 52, 'Application/pkix-crl', '0'), +(116, 52, 'Application/pkix-pkipath', '0'), +(117, 52, 'Application/pkixcmp', '0'), +(118, 52, 'Application/pls+xml', '0'), +(119, 52, 'Application/postscript', '0'), +(120, 52, 'Application/prs.cww', '0'), +(121, 52, 'Application/pskc+xml', '0'), +(122, 52, 'Application/rdf+xml', '0'), +(123, 52, 'Application/reginfo+xml', '0'), +(124, 52, 'Application/relax-ng-compact-syntax', '0'), +(125, 52, 'Application/resource-lists-diff+xml', '0'), +(126, 52, 'Application/resource-lists+xml', '0'), +(127, 52, 'Application/rls-services+xml', '0'), +(128, 52, 'Application/rsd+xml', '0'), +(129, 52, 'Application/rss+xml', '0'), +(130, 52, 'Application/rtf', '0'), +(131, 52, 'Application/sbml+xml', '0'), +(132, 52, 'Application/scvp-cv-request', '0'), +(133, 52, 'Application/scvp-cv-response', '0'), +(134, 52, 'Application/scvp-vp-request', '0'), +(135, 52, 'Application/scvp-vp-response', '0'), +(136, 52, 'Application/sdp', '0'), +(137, 52, 'Application/set-payment-initiation', '0'), +(138, 52, 'Application/set-registration-initiation', '0'), +(139, 52, 'Application/shf+xml', '0'), +(140, 52, 'Application/smil+xml', '0'), +(141, 52, 'Application/sparql-query', '0'), +(142, 52, 'Application/sparql-results+xml', '0'), +(143, 52, 'Application/srgs', '0'), +(144, 52, 'Application/srgs+xml', '0'), +(145, 52, 'Application/sru+xml', '0'), +(146, 52, 'Application/ssml+xml', '0'), +(147, 52, 'Application/tei+xml', '0'), +(148, 52, 'Application/thraud+xml', '0'), +(149, 52, 'Application/timestamped-data', '0'), +(150, 52, 'Application/vnd.3gpp.pic-bw-large', '0'), +(151, 52, 'Application/vnd.3gpp.pic-bw-small', '0'), +(152, 52, 'Application/vnd.3gpp.pic-bw-var', '0'), +(153, 52, 'Application/vnd.3gpp2.tcap', '0'), +(154, 52, 'Application/vnd.3m.post-it-notes', '0'), +(155, 52, 'Application/vnd.accpac.simply.aso', '0'), +(156, 52, 'Application/vnd.accpac.simply.imp', '0'), +(157, 52, 'Application/vnd.acucobol', '0'), +(158, 52, 'Application/vnd.acucorp', '0'), +(159, 52, 'Application/vnd.adobe.air-application-installer-package+zip', '0'), +(160, 52, 'Application/vnd.adobe.fxp', '0'), +(161, 52, 'Application/vnd.adobe.xdp+xml', '0'), +(162, 52, 'Application/vnd.adobe.xfdf', '0'), +(163, 52, 'Application/vnd.ahead.space', '0'), +(164, 52, 'Application/vnd.airzip.filesecure.azf', '0'), +(165, 52, 'Application/vnd.airzip.filesecure.azs', '0'), +(166, 52, 'Application/vnd.amazon.ebook', '0'), +(167, 52, 'Application/vnd.americandynamics.acc', '0'), +(168, 52, 'Application/vnd.amiga.ami', '0'), +(169, 52, 'Application/vnd.android.package-archive', '0'), +(170, 52, 'Application/vnd.anser-web-certificate-issue-initiation', '0'), +(171, 52, 'Application/vnd.anser-web-funds-transfer-initiation', '0'), +(172, 52, 'Application/vnd.antix.game-component', '0'), +(173, 52, 'Application/vnd.apple.installer+xml', '0'), +(174, 52, 'Application/vnd.apple.mpegurl', '0'), +(175, 52, 'Application/vnd.aristanetworks.swi', '0'), +(176, 52, 'Application/vnd.audiograph', '0'), +(177, 52, 'Application/vnd.blueice.multipass', '0'), +(178, 52, 'Application/vnd.bmi', '0'), +(179, 52, 'Application/vnd.businessobjects', '0'), +(180, 52, 'Application/vnd.chemdraw+xml', '0'), +(181, 52, 'Application/vnd.chipnuts.karaoke-mmd', '0'), +(182, 52, 'Application/vnd.cinderella', '0'), +(183, 52, 'Application/vnd.claymore', '0'), +(184, 52, 'Application/vnd.cloanto.rp9', '0'), +(185, 52, 'Application/vnd.clonk.c4group', '0'), +(186, 52, 'Application/vnd.cluetrust.cartomobile-config', '0'), +(187, 52, 'Application/vnd.cluetrust.cartomobile-config-pkg', '0'), +(188, 52, 'Application/vnd.commonspace', '0'), +(189, 52, 'Application/vnd.contact.cmsg', '0'), +(190, 52, 'Application/vnd.cosmocaller', '0'), +(191, 52, 'Application/vnd.crick.clicker', '0'), +(192, 52, 'Application/vnd.crick.clicker.keyboard', '0'), +(193, 52, 'Application/vnd.crick.clicker.palette', '0'), +(194, 52, 'Application/vnd.crick.clicker.template', '0'), +(195, 52, 'Application/vnd.crick.clicker.wordbank', '0'), +(196, 52, 'Application/vnd.criticaltools.wbs+xml', '0'), +(197, 52, 'Application/vnd.ctc-posml', '0'), +(198, 52, 'Application/vnd.cups-ppd', '0'), +(199, 52, 'Application/vnd.curl.car', '0'), +(200, 52, 'Application/vnd.curl.pcurl', '0'), +(201, 52, 'Application/vnd.data-vision.rdz', '0'), +(202, 52, 'Application/vnd.denovo.fcselayout-link', '0'), +(203, 52, 'Application/vnd.dna', '0'), +(204, 52, 'Application/vnd.dolby.mlp', '0'), +(205, 52, 'Application/vnd.dpgraph', '0'), +(206, 52, 'Application/vnd.dreamfactory', '0'), +(207, 52, 'Application/vnd.dvb.ait', '0'), +(208, 52, 'Application/vnd.dvb.service', '0'), +(209, 52, 'Application/vnd.dynageo', '0'), +(210, 52, 'Application/vnd.ecowin.chart', '0'), +(211, 52, 'Application/vnd.enliven', '0'), +(212, 52, 'Application/vnd.epson.esf', '0'), +(213, 52, 'Application/vnd.epson.msf', '0'), +(214, 52, 'Application/vnd.epson.quickanime', '0'), +(215, 52, 'Application/vnd.epson.salt', '0'), +(216, 52, 'Application/vnd.epson.ssf', '0'), +(217, 52, 'Application/vnd.eszigno3+xml', '0'), +(218, 52, 'Application/vnd.ezpix-album', '0'), +(219, 52, 'Application/vnd.ezpix-package', '0'), +(220, 52, 'Application/vnd.fdf', '0'), +(221, 52, 'Application/vnd.fdsn.seed', '0'), +(222, 52, 'Application/vnd.flographit', '0'), +(223, 52, 'Application/vnd.fluxtime.clip', '0'), +(224, 52, 'Application/vnd.framemaker', '0'), +(225, 52, 'Application/vnd.frogans.fnc', '0'), +(226, 52, 'Application/vnd.frogans.ltf', '0'), +(227, 52, 'Application/vnd.fsc.weblaunch', '0'), +(228, 52, 'Application/vnd.fujitsu.oasys', '0'), +(229, 52, 'Application/vnd.fujitsu.oasys2', '0'), +(230, 52, 'Application/vnd.fujitsu.oasys3', '0'), +(231, 52, 'Application/vnd.fujitsu.oasysgp', '0'), +(232, 52, 'Application/vnd.fujitsu.oasysprs', '0'), +(233, 52, 'Application/vnd.fujixerox.ddd', '0'), +(234, 52, 'Application/vnd.fujixerox.docuworks', '0'), +(235, 52, 'Application/vnd.fujixerox.docuworks.binder', '0'), +(236, 52, 'Application/vnd.fuzzysheet', '0'), +(237, 52, 'Application/vnd.genomatix.tuxedo', '0'), +(238, 52, 'Application/vnd.geogebra.file', '0'), +(239, 52, 'Application/vnd.geogebra.tool', '0'), +(240, 52, 'Application/vnd.geometry-explorer', '0'), +(241, 52, 'Application/vnd.geonext', '0'), +(242, 52, 'Application/vnd.geoplan', '0'), +(243, 52, 'Application/vnd.geospace', '0'), +(244, 52, 'Application/vnd.gmx', '0'), +(245, 52, 'Application/vnd.google-earth.kml+xml', '0'), +(246, 52, 'Application/vnd.google-earth.kmz', '0'), +(247, 52, 'Application/vnd.grafeq', '0'), +(248, 52, 'Application/vnd.groove-account', '0'), +(249, 52, 'Application/vnd.groove-help', '0'), +(250, 52, 'Application/vnd.groove-identity-message', '0'), +(251, 52, 'Application/vnd.groove-injector', '0'), +(252, 52, 'Application/vnd.groove-tool-message', '0'), +(253, 52, 'Application/vnd.groove-tool-template', '0'), +(254, 52, 'Application/vnd.groove-vcard', '0'), +(255, 52, 'Application/vnd.hal+xml', '0'), +(256, 52, 'Application/vnd.handheld-entertainment+xml', '0'), +(257, 52, 'Application/vnd.hbci', '0'), +(258, 52, 'Application/vnd.hhe.lesson-player', '0'), +(259, 52, 'Application/vnd.hp-hpgl', '0'), +(260, 52, 'Application/vnd.hp-hpid', '0'), +(261, 52, 'Application/vnd.hp-hps', '0'), +(262, 52, 'Application/vnd.hp-jlyt', '0'), +(263, 52, 'Application/vnd.hp-pcl', '0'), +(264, 52, 'Application/vnd.hp-pclxl', '0'), +(265, 52, 'Application/vnd.hydrostatix.sof-data', '0'), +(266, 52, 'Application/vnd.ibm.minipay', '0'), +(267, 52, 'Application/vnd.ibm.modcap', '0'), +(268, 52, 'Application/vnd.ibm.rights-management', '0'), +(269, 52, 'Application/vnd.ibm.secure-container', '0'), +(270, 52, 'Application/vnd.iccprofile', '0'), +(271, 52, 'Application/vnd.igloader', '0'), +(272, 52, 'Application/vnd.immervision-ivp', '0'), +(273, 52, 'Application/vnd.immervision-ivu', '0'), +(274, 52, 'Application/vnd.insors.igm', '0'), +(275, 52, 'Application/vnd.intercon.formnet', '0'), +(276, 52, 'Application/vnd.intergeo', '0'), +(277, 52, 'Application/vnd.intu.qbo', '0'), +(278, 52, 'Application/vnd.intu.qfx', '0'), +(279, 52, 'Application/vnd.ipunplugged.rcprofile', '0'), +(280, 52, 'Application/vnd.irepository.package+xml', '0'), +(281, 52, 'Application/vnd.is-xpr', '0'), +(282, 52, 'Application/vnd.isac.fcs', '0'), +(283, 52, 'Application/vnd.jam', '0'), +(284, 52, 'Application/vnd.jcp.javame.midlet-rms', '0'), +(285, 52, 'Application/vnd.jisp', '0'), +(286, 52, 'Application/vnd.joost.joda-archive', '0'), +(287, 52, 'Application/vnd.kahootz', '0'), +(288, 52, 'Application/vnd.kde.karbon', '0'), +(289, 52, 'Application/vnd.kde.kchart', '0'), +(290, 52, 'Application/vnd.kde.kformula', '0'), +(291, 52, 'Application/vnd.kde.kivio', '0'), +(292, 52, 'Application/vnd.kde.kontour', '0'), +(293, 52, 'Application/vnd.kde.kpresenter', '0'), +(294, 52, 'Application/vnd.kde.kspread', '0'), +(295, 52, 'Application/vnd.kde.kword', '0'), +(296, 52, 'Application/vnd.kenameaapp', '0'), +(297, 52, 'Application/vnd.kidspiration', '0'), +(298, 52, 'Application/vnd.kinar', '0'), +(299, 52, 'Application/vnd.koan', '0'), +(300, 52, 'Application/vnd.kodak-descriptor', '0'), +(301, 52, 'Application/vnd.las.las+xml', '0'), +(302, 52, 'Application/vnd.llamagraphics.life-balance.desktop', '0'), +(303, 52, 'Application/vnd.llamagraphics.life-balance.exchange+xml', '0'), +(304, 52, 'Application/vnd.lotus-1-2-3', '0'), +(305, 52, 'Application/vnd.lotus-approach', '0'), +(306, 52, 'Application/vnd.lotus-freelance', '0'), +(307, 52, 'Application/vnd.lotus-notes', '0'), +(308, 52, 'Application/vnd.lotus-organizer', '0'), +(309, 52, 'Application/vnd.lotus-screencam', '0'), +(310, 52, 'Application/vnd.lotus-wordpro', '0'), +(311, 52, 'Application/vnd.macports.portpkg', '0'), +(312, 52, 'Application/vnd.mcd', '0'), +(313, 52, 'Application/vnd.medcalcdata', '0'), +(314, 52, 'Application/vnd.mediastation.cdkey', '0'), +(315, 52, 'Application/vnd.mfer', '0'), +(316, 52, 'Application/vnd.mfmp', '0'), +(317, 52, 'Application/vnd.micrografx.flo', '0'), +(318, 52, 'Application/vnd.micrografx.igx', '0'), +(319, 52, 'Application/vnd.mif', '0'), +(320, 52, 'Application/vnd.mobius.daf', '0'), +(321, 52, 'Application/vnd.mobius.dis', '0'), +(322, 52, 'Application/vnd.mobius.mbk', '0'), +(323, 52, 'Application/vnd.mobius.mqy', '0'), +(324, 52, 'Application/vnd.mobius.msl', '0'), +(325, 52, 'Application/vnd.mobius.plc', '0'), +(326, 52, 'Application/vnd.mobius.txf', '0'), +(327, 52, 'Application/vnd.mophun.application', '0'), +(328, 52, 'Application/vnd.mophun.certificate', '0'), +(329, 52, 'Application/vnd.mozilla.xul+xml', '0'), +(330, 52, 'Application/vnd.ms-artgalry', '0'), +(331, 52, 'Application/vnd.ms-cab-compressed', '0'), +(332, 52, 'Application/vnd.ms-excel', '0'), +(333, 52, 'Application/vnd.ms-excel.addin.macroenabled.12', '0'), +(334, 52, 'Application/vnd.ms-excel.sheet.binary.macroenabled.12', '0'), +(335, 52, 'Application/vnd.ms-excel.sheet.macroenabled.12', '0'), +(336, 52, 'Application/vnd.ms-excel.template.macroenabled.12', '0'), +(337, 52, 'Application/vnd.ms-fontobject', '0'), +(338, 52, 'Application/vnd.ms-htmlhelp', '0'), +(339, 52, 'Application/vnd.ms-ims', '0'), +(340, 52, 'Application/vnd.ms-lrm', '0'), +(341, 52, 'Application/vnd.ms-officetheme', '0'), +(342, 52, 'Application/vnd.ms-pki.seccat', '0'), +(343, 52, 'Application/vnd.ms-pki.stl', '0'), +(344, 52, 'Application/vnd.ms-powerpoint', '0'), +(345, 52, 'Application/vnd.ms-powerpoint.addin.macroenabled.12', '0'), +(346, 52, 'Application/vnd.ms-powerpoint.presentation.macroenabled.12', '0'), +(347, 52, 'Application/vnd.ms-powerpoint.slide.macroenabled.12', '0'), +(348, 52, 'Application/vnd.ms-powerpoint.slideshow.macroenabled.12', '0'), +(349, 52, 'Application/vnd.ms-powerpoint.template.macroenabled.12', '0'), +(350, 52, 'Application/vnd.ms-project', '0'), +(351, 52, 'Application/vnd.ms-word.document.macroenabled.12', '0'), +(352, 52, 'Application/vnd.ms-word.template.macroenabled.12', '0'), +(353, 52, 'Application/vnd.ms-works', '0'), +(354, 52, 'Application/vnd.ms-wpl', '0'), +(355, 52, 'Application/vnd.ms-xpsdocument', '0'), +(356, 52, 'Application/vnd.mseq', '0'), +(357, 52, 'Application/vnd.musician', '0'), +(358, 52, 'Application/vnd.muvee.style', '0'), +(359, 52, 'Application/vnd.neurolanguage.nlu', '0'), +(360, 52, 'Application/vnd.noblenet-directory', '0'), +(361, 52, 'Application/vnd.noblenet-sealer', '0'), +(362, 52, 'Application/vnd.noblenet-web', '0'), +(363, 52, 'Application/vnd.nokia.n-gage.data', '0'), +(364, 52, 'Application/vnd.nokia.n-gage.symbian.install', '0'), +(365, 52, 'Application/vnd.nokia.radio-preset', '0'), +(366, 52, 'Application/vnd.nokia.radio-presets', '0'), +(367, 52, 'Application/vnd.novadigm.edm', '0'), +(368, 52, 'Application/vnd.novadigm.edx', '0'), +(369, 52, 'Application/vnd.novadigm.ext', '0'), +(370, 52, 'Application/vnd.oasis.opendocument.chart', '0'), +(371, 52, 'Application/vnd.oasis.opendocument.chart-template', '0'), +(372, 52, 'Application/vnd.oasis.opendocument.database', '0'), +(373, 52, 'Application/vnd.oasis.opendocument.formula', '0'), +(374, 52, 'Application/vnd.oasis.opendocument.formula-template', '0'), +(375, 52, 'Application/vnd.oasis.opendocument.graphics', '0'), +(376, 52, 'Application/vnd.oasis.opendocument.graphics-template', '0'), +(377, 52, 'Application/vnd.oasis.opendocument.image', '0'), +(378, 52, 'Application/vnd.oasis.opendocument.image-template', '0'), +(379, 52, 'Application/vnd.oasis.opendocument.presentation', '0'), +(380, 52, 'Application/vnd.oasis.opendocument.presentation-template', '0'), +(381, 52, 'Application/vnd.oasis.opendocument.spreadsheet', '0'), +(382, 52, 'Application/vnd.oasis.opendocument.spreadsheet-template', '0'), +(383, 52, 'Application/vnd.oasis.opendocument.text', '0'), +(384, 52, 'Application/vnd.oasis.opendocument.text-master', '0'), +(385, 52, 'Application/vnd.oasis.opendocument.text-template', '0'), +(386, 52, 'Application/vnd.oasis.opendocument.text-web', '0'), +(387, 52, 'Application/vnd.olpc-sugar', '0'), +(388, 52, 'Application/vnd.oma.dd2+xml', '0'), +(389, 52, 'Application/vnd.openofficeorg.extension', '0'), +(390, 52, 'Application/vnd.openxmlformats-officedocument.presentationml.presentation', '0'), +(391, 52, 'Application/vnd.openxmlformats-officedocument.presentationml.slide', '0'), +(392, 52, 'Application/vnd.openxmlformats-officedocument.presentationml.slideshow', '0'), +(393, 52, 'Application/vnd.openxmlformats-officedocument.presentationml.template', '0'), +(394, 52, 'Application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', '0'), +(395, 52, 'Application/vnd.openxmlformats-officedocument.spreadsheetml.template', '0'), +(396, 52, 'Application/vnd.openxmlformats-officedocument.wordprocessingml.document', '0'), +(397, 52, 'Application/vnd.openxmlformats-officedocument.wordprocessingml.template', '0'), +(398, 52, 'Application/vnd.osgeo.mapguide.package', '0'), +(399, 52, 'Application/vnd.osgi.dp', '0'), +(400, 52, 'Application/vnd.palm', '0'), +(401, 52, 'Application/vnd.pawaafile', '0'), +(402, 52, 'Application/vnd.pg.format', '0'), +(403, 52, 'Application/vnd.pg.osasli', '0'), +(404, 52, 'Application/vnd.picsel', '0'), +(405, 52, 'Application/vnd.pmi.widget', '0'), +(406, 52, 'Application/vnd.pocketlearn', '0'), +(407, 52, 'Application/vnd.powerbuilder6', '0'), +(408, 52, 'Application/vnd.previewsystems.box', '0'), +(409, 52, 'Application/vnd.proteus.magazine', '0'), +(410, 52, 'Application/vnd.publishare-delta-tree', '0'), +(411, 52, 'Application/vnd.pvi.ptid1', '0'), +(412, 52, 'Application/vnd.quark.quarkxpress', '0'), +(413, 52, 'Application/vnd.realvnc.bed', '0'), +(414, 52, 'Application/vnd.recordare.musicxml', '0'), +(415, 52, 'Application/vnd.recordare.musicxml+xml', '0'), +(416, 52, 'Application/vnd.rig.cryptonote', '0'), +(417, 52, 'Application/vnd.rim.cod', '0'), +(418, 52, 'Application/vnd.rn-realmedia', '0'), +(419, 52, 'Application/vnd.route66.link66+xml', '0'), +(420, 52, 'Application/vnd.sailingtracker.track', '0'), +(421, 52, 'Application/vnd.seemail', '0'), +(422, 52, 'Application/vnd.sema', '0'), +(423, 52, 'Application/vnd.semd', '0'), +(424, 52, 'Application/vnd.semf', '0'), +(425, 52, 'Application/vnd.shana.informed.formdata', '0'), +(426, 52, 'Application/vnd.shana.informed.formtemplate', '0'), +(427, 52, 'Application/vnd.shana.informed.interchange', '0'), +(428, 52, 'Application/vnd.shana.informed.package', '0'), +(429, 52, 'Application/vnd.simtech-mindmapper', '0'), +(430, 52, 'Application/vnd.smaf', '0'), +(431, 52, 'Application/vnd.smart.teacher', '0'), +(432, 52, 'Application/vnd.solent.sdkm+xml', '0'), +(433, 52, 'Application/vnd.spotfire.dxp', '0'), +(434, 52, 'Application/vnd.spotfire.sfs', '0'), +(435, 52, 'Application/vnd.stardivision.calc', '0'), +(436, 52, 'Application/vnd.stardivision.draw', '0'), +(437, 52, 'Application/vnd.stardivision.impress', '0'), +(438, 52, 'Application/vnd.stardivision.math', '0'), +(439, 52, 'Application/vnd.stardivision.writer', '0'), +(440, 52, 'Application/vnd.stardivision.writer-global', '0'), +(441, 52, 'Application/vnd.stepmania.stepchart', '0'), +(442, 52, 'Application/vnd.sun.xml.calc', '0'), +(443, 52, 'Application/vnd.sun.xml.calc.template', '0'), +(444, 52, 'Application/vnd.sun.xml.draw', '0'), +(445, 52, 'Application/vnd.sun.xml.draw.template', '0'), +(446, 52, 'Application/vnd.sun.xml.impress', '0'), +(447, 52, 'Application/vnd.sun.xml.impress.template', '0'), +(448, 52, 'Application/vnd.sun.xml.math', '0'), +(449, 52, 'Application/vnd.sun.xml.writer', '0'), +(450, 52, 'Application/vnd.sun.xml.writer.global', '0'), +(451, 52, 'Application/vnd.sun.xml.writer.template', '0'), +(452, 52, 'Application/vnd.sus-calendar', '0'), +(453, 52, 'Application/vnd.svd', '0'), +(454, 52, 'Application/vnd.symbian.install', '0'), +(455, 52, 'Application/vnd.syncml.dm+wbxml', '0'), +(456, 52, 'Application/vnd.syncml.dm+xml', '0'), +(457, 52, 'Application/vnd.syncml+xml', '0'), +(458, 52, 'Application/vnd.tao.intent-module-archive', '0'), +(459, 52, 'Application/vnd.tmobile-livetv', '0'), +(460, 52, 'Application/vnd.trid.tpt', '0'), +(461, 52, 'Application/vnd.triscape.mxs', '0'), +(462, 52, 'Application/vnd.trueapp', '0'), +(463, 52, 'Application/vnd.ufdl', '0'), +(464, 52, 'Application/vnd.uiq.theme', '0'), +(465, 52, 'Application/vnd.umajin', '0'), +(466, 52, 'Application/vnd.unity', '0'), +(467, 52, 'Application/vnd.uoml+xml', '0'), +(468, 52, 'Application/vnd.vcx', '0'), +(469, 52, 'Application/vnd.visio', '0'), +(470, 52, 'Application/vnd.visionary', '0'), +(471, 52, 'Application/vnd.vsf', '0'), +(472, 52, 'Application/vnd.wap.wbxml', '0'), +(473, 52, 'Application/vnd.wap.wmlc', '0'), +(474, 52, 'Application/vnd.wap.wmlscriptc', '0'), +(475, 52, 'Application/vnd.webturbo', '0'), +(476, 52, 'Application/vnd.wolfram.player', '0'), +(477, 52, 'Application/vnd.wordperfect', '0'), +(478, 52, 'Application/vnd.wqd', '0'), +(479, 52, 'Application/vnd.wt.stf', '0'), +(480, 52, 'Application/vnd.xara', '0'), +(481, 52, 'Application/vnd.xfdl', '0'), +(482, 52, 'Application/vnd.yamaha.hv-dic', '0'), +(483, 52, 'Application/vnd.yamaha.hv-script', '0'), +(484, 52, 'Application/vnd.yamaha.hv-voice', '0'), +(485, 52, 'Application/vnd.yamaha.openscoreformat', '0'), +(486, 52, 'Application/vnd.yamaha.openscoreformat.osfpvg+xml', '0'), +(487, 52, 'Application/vnd.yamaha.smaf-audio', '0'), +(488, 52, 'Application/vnd.yamaha.smaf-phrase', '0'), +(489, 52, 'Application/vnd.yellowriver-custom-menu', '0'), +(490, 52, 'Application/vnd.zul', '0'), +(491, 52, 'Application/vnd.zzazz.deck+xml', '0'), +(492, 52, 'Application/voicexml+xml', '0'), +(493, 52, 'Application/widget', '0'), +(494, 52, 'Application/winhlp', '0'), +(495, 52, 'Application/wsdl+xml', '0'), +(496, 52, 'Application/wspolicy+xml', '0'), +(497, 52, 'Application/x-7z-compressed', '0'), +(498, 52, 'Application/x-abiword', '0'), +(499, 52, 'Application/x-ace-compressed', '0'), +(500, 52, 'Application/x-authorware-bin', '0'), +(501, 52, 'Application/x-authorware-map', '0'), +(502, 52, 'Application/x-authorware-seg', '0'), +(503, 52, 'Application/x-bcpio', '0'), +(504, 52, 'Application/x-bittorrent', '0'), +(505, 52, 'Application/x-bzip', '0'), +(506, 52, 'Application/x-bzip2', '0'), +(507, 52, 'Application/x-cdlink', '0'), +(508, 52, 'Application/x-chat', '0'), +(509, 52, 'Application/x-chess-pgn', '0'), +(510, 52, 'Application/x-cpio', '0'), +(511, 52, 'Application/x-csh', '0'), +(512, 52, 'Application/x-debian-package', '0'), +(513, 52, 'Application/x-director', '0'), +(514, 52, 'Application/x-doom', '0'), +(515, 52, 'Application/x-dtbncx+xml', '0'), +(516, 52, 'Application/x-dtbook+xml', '0'), +(517, 52, 'Application/x-dtbresource+xml', '0'), +(518, 52, 'Application/x-dvi', '0'), +(519, 52, 'Application/x-font-bdf', '0'), +(520, 52, 'Application/x-font-ghostscript', '0'), +(521, 52, 'Application/x-font-linux-psf', '0'), +(522, 52, 'Application/x-font-otf', '0'), +(523, 52, 'Application/x-font-pcf', '0'), +(524, 52, 'Application/x-font-snf', '0'), +(525, 52, 'Application/x-font-ttf', '0'), +(526, 52, 'Application/x-font-type1', '0'), +(527, 52, 'Application/x-font-woff', '0'), +(528, 52, 'Application/x-futuresplash', '0'), +(529, 52, 'Application/x-gnumeric', '0'), +(530, 52, 'Application/x-gtar', '0'), +(531, 52, 'Application/x-hdf', '0'), +(532, 52, 'Application/x-java-jnlp-file', '0'), +(533, 52, 'Application/x-latex', '0'), +(534, 52, 'Application/x-mobipocket-ebook', '0'), +(535, 52, 'Application/x-ms-application', '0'), +(536, 52, 'Application/x-ms-wmd', '0'), +(537, 52, 'Application/x-ms-wmz', '0'), +(538, 52, 'Application/x-ms-xbap', '0'), +(539, 52, 'Application/x-msaccess', '0'), +(540, 52, 'Application/x-msbinder', '0'), +(541, 52, 'Application/x-mscardfile', '0'), +(542, 52, 'Application/x-msclip', '0'), +(543, 52, 'Application/x-msdownload', '0'), +(544, 52, 'Application/x-msmediaview', '0'), +(545, 52, 'Application/x-msmetafile', '0'), +(546, 52, 'Application/x-msmoney', '0'), +(547, 52, 'Application/x-mspublisher', '0'), +(548, 52, 'Application/x-msschedule', '0'), +(549, 52, 'Application/x-msterminal', '0'), +(550, 52, 'Application/x-mswrite', '0'), +(551, 52, 'Application/x-netcdf', '0'), +(552, 52, 'Application/x-pkcs12', '0'), +(553, 52, 'Application/x-pkcs7-certificates', '0'), +(554, 52, 'Application/x-pkcs7-certreqresp', '0'), +(555, 52, 'Application/x-rar-compressed', '0'), +(556, 52, 'Application/x-sh', '0'), +(557, 52, 'Application/x-shar', '0'), +(558, 52, 'Application/x-shockwave-flash', '0'), +(559, 52, 'Application/x-silverlight-app', '0'), +(560, 52, 'Application/x-stuffit', '0'), +(561, 52, 'Application/x-stuffitx', '0'), +(562, 52, 'Application/x-sv4cpio', '0'), +(563, 52, 'Application/x-sv4crc', '0'), +(564, 52, 'Application/x-tar', '0'), +(565, 52, 'Application/x-tcl', '0'), +(566, 52, 'Application/x-tex', '0'), +(567, 52, 'Application/x-tex-tfm', '0'), +(568, 52, 'Application/x-texinfo', '0'), +(569, 52, 'Application/x-ustar', '0'), +(570, 52, 'Application/x-wais-source', '0'), +(571, 52, 'Application/x-x509-ca-cert', '0'), +(572, 52, 'Application/x-xfig', '0'), +(573, 52, 'Application/x-xpinstall', '0'), +(574, 52, 'Application/xcap-diff+xml', '0'), +(575, 52, 'Application/xenc+xml', '0'), +(576, 52, 'Application/xhtml+xml', '0'), +(577, 52, 'Application/xml', '0'), +(578, 52, 'Application/xml-dtd', '0'), +(579, 52, 'Application/xop+xml', '0'), +(580, 52, 'Application/xslt+xml', '0'), +(581, 52, 'Application/xspf+xml', '0'), +(582, 52, 'Application/xv+xml', '0'), +(583, 52, 'Application/yang', '0'), +(584, 52, 'Application/yin+xml', '0'), +(585, 52, 'Application/zip', '0'), +(586, 52, 'Audio/adpcm', '0'), +(587, 52, 'Audio/basic', '0'), +(588, 52, 'Audio/midi', '0'), +(589, 52, 'Audio/mp4', '0'), +(590, 52, 'Audio/mpeg', '0'), +(591, 52, 'Audio/ogg', '0'), +(592, 52, 'Audio/vnd.dece.audio', '0'), +(593, 52, 'Audio/vnd.digital-winds', '0'), +(594, 52, 'Audio/vnd.dra', '0'), +(595, 52, 'Audio/vnd.dts', '0'), +(596, 52, 'Audio/vnd.dts.hd', '0'), +(597, 52, 'Audio/vnd.lucent.voice', '0'), +(598, 52, 'Audio/vnd.ms-playready.media.pya', '0'), +(599, 52, 'Audio/vnd.nuera.ecelp4800', '0'), +(600, 52, 'Audio/vnd.nuera.ecelp7470', '0'), +(601, 52, 'Audio/vnd.nuera.ecelp9600', '0'), +(602, 52, 'Audio/vnd.rip', '0'), +(603, 52, 'Audio/webm', '0'), +(604, 52, 'Audio/x-aac', '0'), +(605, 52, 'Audio/x-aiff', '0'), +(606, 52, 'Audio/x-mpegurl', '0'), +(607, 52, 'Audio/x-ms-wax', '0'), +(608, 52, 'Audio/x-ms-wma', '0'), +(609, 52, 'Audio/x-pn-realaudio', '0'), +(610, 52, 'Audio/x-pn-realaudio-plugin', '0'), +(611, 52, 'Audio/x-wav', '0'), +(612, 52, 'Chemical/x-cdx', '0'), +(613, 52, 'Chemical/x-cif', '0'), +(614, 52, 'Chemical/x-cmdf', '0'), +(615, 52, 'Chemical/x-cml', '0'), +(616, 52, 'Chemical/x-csml', '0'), +(617, 52, 'Chemical/x-xyz', '0'), +(618, 52, 'Image/bmp', '0'), +(619, 52, 'Image/cgm', '0'), +(620, 52, 'Image/g3fax', '0'), +(621, 52, 'Image/gif', '0'), +(622, 52, 'Image/ief', '0'), +(623, 52, 'Image/jpeg', '0'), +(624, 52, 'Image/ktx', '0'), +(625, 52, 'Image/png', '0'), +(626, 52, 'Image/prs.btif', '0'), +(627, 52, 'Image/svg+xml', '0'), +(628, 52, 'Image/tiff', '0'), +(629, 52, 'Image/vnd.adobe.photoshop', '0'), +(630, 52, 'Image/vnd.dece.graphic', '0'), +(631, 52, 'Image/vnd.djvu', '0'), +(632, 52, 'Image/vnd.dvb.subtitle', '0'), +(633, 52, 'Image/vnd.dwg', '0'), +(634, 52, 'Image/vnd.dxf', '0'), +(635, 52, 'Image/vnd.fastbidsheet', '0'), +(636, 52, 'Image/vnd.fpx', '0'), +(637, 52, 'Image/vnd.fst', '0'), +(638, 52, 'Image/vnd.fujixerox.edmics-mmr', '0'), +(639, 52, 'Image/vnd.fujixerox.edmics-rlc', '0'), +(640, 52, 'Image/vnd.ms-modi', '0'), +(641, 52, 'Image/vnd.net-fpx', '0'), +(642, 52, 'Image/vnd.wap.wbmp', '0'), +(643, 52, 'Image/vnd.xiff', '0'), +(644, 52, 'Image/webp', '0'), +(645, 52, 'Image/x-cmu-raster', '0'), +(646, 52, 'Image/x-cmx', '0'), +(647, 52, 'Image/x-freehand', '0'), +(648, 52, 'Image/x-icon', '0'), +(649, 52, 'Image/x-pcx', '0'), +(650, 52, 'Image/x-pict', '0'), +(651, 52, 'Image/x-portable-anymap', '0'), +(652, 52, 'Image/x-portable-bitmap', '0'), +(653, 52, 'Image/x-portable-graymap', '0'), +(654, 52, 'Image/x-portable-pixmap', '0'), +(655, 52, 'Image/x-rgb', '0'), +(656, 52, 'Image/x-xbitmap', '0'), +(657, 52, 'Image/x-xpixmap', '0'), +(658, 52, 'Image/x-xwindowdump', '0'), +(659, 52, 'Message/rfc822', '0'), +(660, 52, 'Model/iges', '0'), +(661, 52, 'Model/mesh', '0'), +(662, 52, 'Model/vnd.collada+xml', '0'), +(663, 52, 'Model/vnd.dwf', '0'), +(664, 52, 'Model/vnd.gdl', '0'), +(665, 52, 'Model/vnd.gtw', '0'), +(666, 52, 'Model/vnd.mts', '0'), +(667, 52, 'Model/vnd.vtu', '0'), +(668, 52, 'Model/vrml', '0'), +(669, 52, 'Text/calendar', '0'), +(670, 52, 'Text/css', '0'), +(671, 52, 'Text/csv', '0'), +(672, 52, 'Text/html', '0'), +(673, 52, 'Text/n3', '0'), +(674, 52, 'Text/plain', '0'), +(675, 52, 'Text/plain-bas', '0'), +(676, 52, 'Text/prs.lines.tag', '0'), +(677, 52, 'Text/richtext', '0'), +(678, 52, 'Text/sgml', '0'), +(679, 52, 'Text/tab-separated-values', '0'), +(680, 52, 'Text/troff', '0'), +(681, 52, 'Text/turtle', '0'), +(682, 52, 'Text/uri-list', '0'), +(683, 52, 'Text/vnd.curl', '0'), +(684, 52, 'Text/vnd.curl.dcurl', '0'), +(685, 52, 'Text/vnd.curl.mcurl', '0'), +(686, 52, 'Text/vnd.curl.scurl', '0'), +(687, 52, 'Text/vnd.fly', '0'), +(688, 52, 'Text/vnd.fmi.flexstor', '0'), +(689, 52, 'Text/vnd.graphviz', '0'), +(690, 52, 'Text/vnd.in3d.3dml', '0'), +(691, 52, 'Text/vnd.in3d.spot', '0'), +(692, 52, 'Text/vnd.sun.j2me.app-descriptor', '0'), +(693, 52, 'Text/vnd.wap.wml', '0'), +(694, 52, 'Text/vnd.wap.wmlscript', '0'), +(695, 52, 'Text/x-asm', '0'), +(696, 52, 'Text/x-c', '0'), +(697, 52, 'Text/x-fortran', '0'), +(698, 52, 'Text/x-java-source', '0'), +(699, 52, 'Java', '0'), +(700, 52, 'Text/x-pascal', '0'), +(701, 52, 'Text/x-setext', '0'), +(702, 52, 'Text/x-uuencode', '0'), +(703, 52, 'Text/x-vcalendar', '0'), +(704, 52, 'Text/x-vcard', '0'), +(705, 52, 'Text/yaml', '0'), +(706, 52, 'Video/3gpp', '0'), +(707, 52, 'Video/3gpp2', '0'), +(708, 52, 'Video/h261', '0'), +(709, 52, 'Video/h263', '0'), +(710, 52, 'Video/h264', '0'), +(711, 52, 'Video/jpeg', '0'), +(712, 52, 'Video/jpm', '0'), +(713, 52, 'Video/mj2', '0'), +(714, 52, 'Video/mp4', '0'), +(715, 52, 'Video/mpeg', '0'), +(716, 52, 'Video/ogg', '0'), +(717, 52, 'Video/quicktime', '0'), +(718, 52, 'Video/vnd.dece.hd', '0'), +(719, 52, 'Video/vnd.dece.mobile', '0'), +(720, 52, 'Video/vnd.dece.pd', '0'), +(721, 52, 'Video/vnd.dece.sd', '0'), +(722, 52, 'Video/vnd.dece.video', '0'), +(723, 52, 'Video/vnd.fvt', '0'), +(724, 52, 'Video/vnd.mpegurl', '0'), +(725, 52, 'Video/vnd.ms-playready.media.pyv', '0'), +(726, 52, 'Video/vnd.uvvu.mp4', '0'), +(727, 52, 'Video/vnd.vivo', '0'), +(728, 52, 'Video/webm', '0'), +(729, 52, 'Video/x-f4v', '0'), +(730, 52, 'Video/x-fli', '0'), +(731, 52, 'Video/x-flv', '0'), +(732, 52, 'Video/x-m4v', '0'), +(733, 52, 'Video/x-ms-asf', '0'), +(734, 52, 'Video/x-ms-wm', '0'), +(735, 52, 'Video/x-ms-wmv', '0'), +(736, 52, 'Video/x-ms-wmx', '0'), +(737, 52, 'Video/x-ms-wvx', '0'), +(738, 52, 'Video/x-msvideo', '0'), +(739, 52, 'Video/x-sgi-movie', '0'), +(740, 52, 'X-conference/x-cooltalk', '0'), +(741, 54, 'Spa', '0'), +(742, 54, 'Eng', '0'), +(743, 54, 'Aar', '0'), +(744, 54, 'Abk', '0'), +(745, 54, 'Ace', '0'), +(746, 54, 'Ach', '0'), +(747, 54, 'Ada', '0'), +(748, 54, 'Ady', '0'), +(749, 54, 'Afa', '0'), +(750, 54, 'Afh', '0'), +(751, 54, 'Afr', '0'), +(752, 54, 'Ain', '0'), +(753, 54, 'Aka', '0'), +(754, 54, 'Akk', '0'), +(755, 54, 'Alb', '0'), +(756, 54, 'Sqi', '0'), +(757, 54, 'Ale', '0'), +(758, 54, 'Alg', '0'), +(759, 54, 'Alt', '0'), +(760, 54, 'Amh', '0'), +(761, 54, 'Ang', '0'), +(762, 54, 'Anp', '0'), +(763, 54, 'Apa', '0'), +(764, 54, 'Ara', '0'), +(765, 54, 'Arc', '0'), +(766, 54, 'Arg', '0'), +(767, 54, 'Arm', '0'), +(768, 54, 'Hye', '0'), +(769, 54, 'Arn', '0'), +(770, 54, 'Arp', '0'), +(771, 54, 'Art', '0'), +(772, 54, 'Arw', '0'), +(773, 54, 'Asm', '0'), +(774, 54, 'Ast', '0'), +(775, 54, 'Ath', '0'), +(776, 54, 'Aus', '0'), +(777, 54, 'Ava', '0'), +(778, 54, 'Ave', '0'), +(779, 54, 'Awa', '0'), +(780, 54, 'Aym', '0'), +(781, 54, 'Aze', '0'), +(782, 54, 'Bad', '0'), +(783, 54, 'Bai', '0'), +(784, 54, 'Bak', '0'), +(785, 54, 'Bal', '0'), +(786, 54, 'Bam', '0'), +(787, 54, 'Ban', '0'), +(788, 54, 'Baq', '0'), +(789, 54, 'Eus', '0'), +(790, 54, 'Bas', '0'), +(791, 54, 'Bat', '0'), +(792, 54, 'Bej', '0'), +(793, 54, 'Bel', '0'), +(794, 54, 'Bem', '0'), +(795, 54, 'Ben', '0'), +(796, 54, 'Ber', '0'), +(797, 54, 'Bho', '0'), +(798, 54, 'Bih', '0'), +(799, 54, 'Bik', '0'), +(800, 54, 'Bin', '0'), +(801, 54, 'Bis', '0'), +(802, 54, 'Bla', '0'), +(803, 54, 'Bnt', '0'), +(804, 54, 'Tib', '0'), +(805, 54, 'Bod', '0'), +(806, 54, 'Bos', '0'), +(807, 54, 'Bra', '0'), +(808, 54, 'Bre', '0'), +(809, 54, 'Btk', '0'), +(810, 54, 'Bua', '0'), +(811, 54, 'Bug', '0'), +(812, 54, 'Bul', '0'), +(813, 54, 'Bur', '0'), +(814, 54, 'Mya', '0'), +(815, 54, 'Byn', '0'), +(816, 54, 'Cad', '0'), +(817, 54, 'Cai', '0'), +(818, 54, 'Car', '0'), +(819, 54, 'Cat', '0'), +(820, 54, 'Cau', '0'), +(821, 54, 'Ceb', '0'), +(822, 54, 'Cel', '0'), +(823, 54, 'Cze', '0'), +(824, 54, 'Ces', '0'), +(825, 54, 'Cha', '0'), +(826, 54, 'Chb', '0'), +(827, 54, 'Che', '0'), +(828, 54, 'Chg', '0'), +(829, 54, 'Chi', '0'), +(830, 54, 'Zho', '0'), +(831, 54, 'Chk', '0'), +(832, 54, 'Chm', '0'), +(833, 54, 'Chn', '0'), +(834, 54, 'Cho', '0'), +(835, 54, 'Chp', '0'), +(836, 54, 'Chr', '0'), +(837, 54, 'Chu', '0'), +(838, 54, 'Chv', '0'), +(839, 54, 'Chy', '0'), +(840, 54, 'Cmc', '0'), +(841, 54, 'Cop', '0'), +(842, 54, 'Cor', '0'), +(843, 54, 'Cos', '0'), +(844, 54, 'Cpe', '0'), +(845, 54, 'Cpf', '0'), +(846, 54, 'Cpp', '0'), +(847, 54, 'Cre', '0'), +(848, 54, 'Crh', '0'), +(849, 54, 'Crp', '0'), +(850, 54, 'Csb', '0'), +(851, 54, 'Cus', '0'), +(852, 54, 'Wel', '0'), +(853, 54, 'Cym', '0'), +(854, 54, 'Cze', '0'), +(855, 54, 'Ces', '0'), +(856, 54, 'Dak', '0'), +(857, 54, 'Dan', '0'), +(858, 54, 'Dar', '0'), +(859, 54, 'Day', '0'), +(860, 54, 'Del', '0'), +(861, 54, 'Den', '0'), +(862, 54, 'Ger', '0'), +(863, 54, 'Deu', '0'), +(864, 54, 'Dgr', '0'), +(865, 54, 'Din', '0'), +(866, 54, 'Div', '0'), +(867, 54, 'Doi', '0'), +(868, 54, 'Dra', '0'), +(869, 54, 'Dsb', '0'), +(870, 54, 'Dua', '0'), +(871, 54, 'Dum', '0'), +(872, 54, 'Dut', '0'), +(873, 54, 'Nld', '0'), +(874, 54, 'Dyu', '0'), +(875, 54, 'Dzo', '0'), +(876, 54, 'Efi', '0'), +(877, 54, 'Egy', '0'), +(878, 54, 'Eka', '0'), +(879, 54, 'Gre', '0'), +(880, 54, 'Ell', '0'), +(881, 54, 'Elx', '0'), +(882, 54, 'Eng', '0'), +(883, 54, 'Enm', '0'), +(884, 54, 'Epo', '0'), +(885, 54, 'Est', '0'), +(886, 54, 'Baq', '0'), +(887, 54, 'Eus', '0'), +(888, 54, 'Ewe', '0'), +(889, 54, 'Ewo', '0'), +(890, 54, 'Fan', '0'), +(891, 54, 'Fao', '0'), +(892, 54, 'Per', '0'), +(893, 54, 'Fas', '0'), +(894, 54, 'Fat', '0'), +(895, 54, 'Fij', '0'), +(896, 54, 'Fil', '0'), +(897, 54, 'Fin', '0'), +(898, 54, 'Fiu', '0'), +(899, 54, 'Fon', '0'), +(900, 54, 'Fre', '0'), +(901, 54, 'Fra', '0'), +(902, 54, 'Fre', '0'), +(903, 54, 'Fra', '0'), +(904, 54, 'Frm', '0'), +(905, 54, 'Fro', '0'), +(906, 54, 'Frr', '0'), +(907, 54, 'Frs', '0'), +(908, 54, 'Fry', '0'), +(909, 54, 'Ful', '0'), +(910, 54, 'Fur', '0'), +(911, 54, 'Gaa', '0'), +(912, 54, 'Gay', '0'), +(913, 54, 'Gba', '0'), +(914, 54, 'Gem', '0'), +(915, 54, 'Geo', '0'), +(916, 54, 'Kat', '0'), +(917, 54, 'Ger', '0'), +(918, 54, 'Deu', '0'), +(919, 54, 'Gez', '0'), +(920, 54, 'Gil', '0'), +(921, 54, 'Gla', '0'), +(922, 54, 'Gle', '0'), +(923, 54, 'Glg', '0'), +(924, 54, 'Glv', '0'), +(925, 54, 'Gmh', '0'), +(926, 54, 'Goh', '0'), +(927, 54, 'Gon', '0'), +(928, 54, 'Gor', '0'), +(929, 54, 'Got', '0'), +(930, 54, 'Grb', '0'), +(931, 54, 'Grc', '0'), +(932, 54, 'Gre', '0'), +(933, 54, 'Ell', '0'), +(934, 54, 'Grn', '0'), +(935, 54, 'Gsw', '0'), +(936, 54, 'Guj', '0'), +(937, 54, 'Gwi', '0'), +(938, 54, 'Hai', '0'), +(939, 54, 'Hat', '0'), +(940, 54, 'Hau', '0'), +(941, 54, 'Haw', '0'), +(942, 54, 'Heb', '0'), +(943, 54, 'Her', '0'), +(944, 54, 'Hil', '0'), +(945, 54, 'Him', '0'), +(946, 54, 'Hin', '0'), +(947, 54, 'Hit', '0'), +(948, 54, 'Hmn', '0'), +(949, 54, 'Hmo', '0'), +(950, 54, 'Hrv', '0'), +(951, 54, 'Hsb', '0'), +(952, 54, 'Hun', '0'), +(953, 54, 'Hup', '0'), +(954, 54, 'Arm', '0'), +(955, 54, 'Hye', '0'), +(956, 54, 'Iba', '0'), +(957, 54, 'Ibo', '0'), +(958, 54, 'Ice', '0'), +(959, 54, 'Isl', '0'), +(960, 54, 'Ido', '0'), +(961, 54, 'Iii', '0'), +(962, 54, 'Ijo', '0'), +(963, 54, 'Iku', '0'), +(964, 54, 'Ile', '0'), +(965, 54, 'Ilo', '0'), +(966, 54, 'Ina', '0'), +(967, 54, 'Inc', '0'), +(968, 54, 'Ind', '0'), +(969, 54, 'Ine', '0'), +(970, 54, 'Inh', '0'), +(971, 54, 'Ipk', '0'), +(972, 54, 'Ira', '0'), +(973, 54, 'Iro', '0'), +(974, 54, 'Ice', '0'), +(975, 54, 'Isl', '0'), +(976, 54, 'Ita', '0'), +(977, 54, 'Jav', '0'), +(978, 54, 'Jbo', '0'), +(979, 54, 'Jpn', '0'), +(980, 54, 'Jpr', '0'), +(981, 54, 'Jrb', '0'), +(982, 54, 'Kaa', '0'), +(983, 54, 'Kab', '0'), +(984, 54, 'Kac', '0'), +(985, 54, 'Kal', '0'), +(986, 54, 'Kam', '0'), +(987, 54, 'Kan', '0'), +(988, 54, 'Kar', '0'), +(989, 54, 'Kas', '0'), +(990, 54, 'Geo', '0'), +(991, 54, 'Kat', '0'), +(992, 54, 'Kau', '0'), +(993, 54, 'Kaw', '0'), +(994, 54, 'Kaz', '0'), +(995, 54, 'Kbd', '0'), +(996, 54, 'Kha', '0'), +(997, 54, 'Khi', '0'), +(998, 54, 'Khm', '0'), +(999, 54, 'Kho', '0'), +(1000, 54, 'Kik', '0'), +(1001, 54, 'Kin', '0'), +(1002, 54, 'Kir', '0'), +(1003, 54, 'Kmb', '0'), +(1004, 54, 'Kok', '0'), +(1005, 54, 'Kom', '0'), +(1006, 54, 'Kon', '0'), +(1007, 54, 'Kor', '0'), +(1008, 54, 'Kos', '0'), +(1009, 54, 'Kpe', '0'), +(1010, 54, 'Krc', '0'), +(1011, 54, 'Krl', '0'), +(1012, 54, 'Kro', '0'), +(1013, 54, 'Kru', '0'), +(1014, 54, 'Kua', '0'), +(1015, 54, 'Kum', '0'), +(1016, 54, 'Kur', '0'), +(1017, 54, 'Kut', '0'), +(1018, 54, 'Lad', '0'), +(1019, 54, 'Lah', '0'), +(1020, 54, 'Lam', '0'), +(1021, 54, 'Lao', '0'), +(1022, 54, 'Lat', '0'), +(1023, 54, 'Lav', '0'), +(1024, 54, 'Lez', '0'), +(1025, 54, 'Lim', '0'), +(1026, 54, 'Lin', '0'), +(1027, 54, 'Lit', '0'), +(1028, 54, 'Lol', '0'), +(1029, 54, 'Loz', '0'), +(1030, 54, 'Ltz', '0'), +(1031, 54, 'Lua', '0'), +(1032, 54, 'Lub', '0'), +(1033, 54, 'Lug', '0'), +(1034, 54, 'Lui', '0'), +(1035, 54, 'Lun', '0'), +(1036, 54, 'Luo', '0'), +(1037, 54, 'Lus', '0'), +(1038, 54, 'Mac', '0'), +(1039, 54, 'Mkd', '0'), +(1040, 54, 'Mad', '0'), +(1041, 54, 'Mag', '0'), +(1042, 54, 'Mah', '0'), +(1043, 54, 'Mai', '0'), +(1044, 54, 'Mak', '0'), +(1045, 54, 'Mal', '0'), +(1046, 54, 'Man', '0'), +(1047, 54, 'Mao', '0'), +(1048, 54, 'Mri', '0'), +(1049, 54, 'Map', '0'), +(1050, 54, 'Mar', '0'), +(1051, 54, 'Mas', '0'), +(1052, 54, 'May', '0'), +(1053, 54, 'Msa', '0'), +(1054, 54, 'Mdf', '0'), +(1055, 54, 'Mdr', '0'), +(1056, 54, 'Men', '0'), +(1057, 54, 'Mga', '0'), +(1058, 54, 'Mic', '0'), +(1059, 54, 'Min', '0'), +(1060, 54, 'Mis', '0'), +(1061, 54, 'Mac', '0'), +(1062, 54, 'Mkd', '0'), +(1063, 54, 'Mkh', '0'), +(1064, 54, 'Mlg', '0'), +(1065, 54, 'Mlt', '0'), +(1066, 54, 'Mnc', '0'), +(1067, 54, 'Mni', '0'), +(1068, 54, 'Mno', '0'), +(1069, 54, 'Moh', '0'), +(1070, 54, 'Mon', '0'), +(1071, 54, 'Mos', '0'), +(1072, 54, 'Mao', '0'), +(1073, 54, 'Mri', '0'), +(1074, 54, 'May', '0'), +(1075, 54, 'Msa', '0'), +(1076, 54, 'Mul', '0'), +(1077, 54, 'Mun', '0'), +(1078, 54, 'Mus', '0'), +(1079, 54, 'Mwl', '0'), +(1080, 54, 'Mwr', '0'), +(1081, 54, 'Bur', '0'), +(1082, 54, 'Mya', '0'), +(1083, 54, 'Myn', '0'), +(1084, 54, 'Myv', '0'), +(1085, 54, 'Nah', '0'), +(1086, 54, 'Nai', '0'), +(1087, 54, 'Nap', '0'), +(1088, 54, 'Nau', '0'), +(1089, 54, 'Nav', '0'), +(1090, 54, 'Nbl', '0'), +(1091, 54, 'Nde', '0'), +(1092, 54, 'Ndo', '0'), +(1093, 54, 'Nds', '0'), +(1094, 54, 'Nep', '0'), +(1095, 54, 'New', '0'), +(1096, 54, 'Nia', '0'), +(1097, 54, 'Nic', '0'), +(1098, 54, 'Niu', '0'), +(1099, 54, 'Dut', '0'), +(1100, 54, 'Nld', '0'), +(1101, 54, 'Nno', '0'), +(1102, 54, 'Nob', '0'), +(1103, 54, 'Nog', '0'), +(1104, 54, 'Non', '0'), +(1105, 54, 'Nor', '0'), +(1106, 54, 'Nqo', '0'), +(1107, 54, 'Nso', '0'), +(1108, 54, 'Nub', '0'), +(1109, 54, 'Nwc', '0'), +(1110, 54, 'Nya', '0'), +(1111, 54, 'Nym', '0'), +(1112, 54, 'Nyn', '0'), +(1113, 54, 'Nyo', '0'), +(1114, 54, 'Nzi', '0'), +(1115, 54, 'Oci', '0'), +(1116, 54, 'Oji', '0'), +(1117, 54, 'Ori', '0'), +(1118, 54, 'Orm', '0'), +(1119, 54, 'Osa', '0'), +(1120, 54, 'Oss', '0'), +(1121, 54, 'Ota', '0'), +(1122, 54, 'Oto', '0'), +(1123, 54, 'Paa', '0'), +(1124, 54, 'Pag', '0'), +(1125, 54, 'Pal', '0'), +(1126, 54, 'Pam', '0'), +(1127, 54, 'Pan', '0'), +(1128, 54, 'Pap', '0'), +(1129, 54, 'Pau', '0'), +(1130, 54, 'Peo', '0'), +(1131, 54, 'Per', '0'), +(1132, 54, 'Fas', '0'), +(1133, 54, 'Phi', '0'), +(1134, 54, 'Phn', '0'), +(1135, 54, 'Pli', '0'), +(1136, 54, 'Pol', '0'), +(1137, 54, 'Pon', '0'), +(1138, 54, 'Por', '0'), +(1139, 54, 'Pra', '0'), +(1140, 54, 'Pro', '0'), +(1141, 54, 'Pus', '0'), +(1142, 54, 'Qaa', '0'), +(1143, 54, 'Que', '0'), +(1144, 54, 'Raj', '0'), +(1145, 54, 'Rap', '0'), +(1146, 54, 'Rar', '0'), +(1147, 54, 'Roa', '0'), +(1148, 54, 'Roh', '0'), +(1149, 54, 'Rom', '0'), +(1150, 54, 'Rum', '0'), +(1151, 54, 'Ron', '0'), +(1152, 54, 'Rum', '0'), +(1153, 54, 'Ron', '0'), +(1154, 54, 'Run', '0'), +(1155, 54, 'Rup', '0'), +(1156, 54, 'Rus', '0'), +(1157, 54, 'Sad', '0'), +(1158, 54, 'Sag', '0'), +(1159, 54, 'Sah', '0'), +(1160, 54, 'Sai', '0'), +(1161, 54, 'Sal', '0'), +(1162, 54, 'Sam', '0'), +(1163, 54, 'San', '0'), +(1164, 54, 'Sas', '0'), +(1165, 54, 'Sat', '0'), +(1166, 54, 'Scn', '0'), +(1167, 54, 'Sco', '0'), +(1168, 54, 'Sel', '0'), +(1169, 54, 'Sem', '0'), +(1170, 54, 'Sga', '0'), +(1171, 54, 'Sgn', '0'), +(1172, 54, 'Shn', '0'), +(1173, 54, 'Sid', '0'), +(1174, 54, 'Sin', '0'), +(1175, 54, 'Sio', '0'), +(1176, 54, 'Sit', '0'), +(1177, 54, 'Sla', '0'), +(1178, 54, 'Slo', '0'), +(1179, 54, 'Slk', '0'), +(1180, 54, 'Slo', '0'), +(1181, 54, 'Slk', '0'), +(1182, 54, 'Slv', '0'), +(1183, 54, 'Sma', '0'), +(1184, 54, 'Sme', '0'), +(1185, 54, 'Smi', '0'), +(1186, 54, 'Smj', '0'), +(1187, 54, 'Smn', '0'), +(1188, 54, 'Smo', '0'), +(1189, 54, 'Sms', '0'), +(1190, 54, 'Sna', '0'), +(1191, 54, 'Snd', '0'), +(1192, 54, 'Snk', '0'), +(1193, 54, 'Sog', '0'), +(1194, 54, 'Som', '0'), +(1195, 54, 'Son', '0'), +(1196, 54, 'Sot', '0'), +(1197, 54, 'Spa', '0'), +(1198, 54, 'Alb', '0'), +(1199, 54, 'Sqi', '0'), +(1200, 54, 'Srd', '0'), +(1201, 54, 'Srn', '0'), +(1202, 54, 'Srp', '0'), +(1203, 54, 'Srr', '0'), +(1204, 54, 'Ssa', '0'), +(1205, 54, 'Ssw', '0'), +(1206, 54, 'Suk', '0'), +(1207, 54, 'Sun', '0'), +(1208, 54, 'Sus', '0'), +(1209, 54, 'Sux', '0'), +(1210, 54, 'Swa', '0'), +(1211, 54, 'Swe', '0'), +(1212, 54, 'Syc', '0'), +(1213, 54, 'Syr', '0'), +(1214, 54, 'Tah', '0'), +(1215, 54, 'Tai', '0'), +(1216, 54, 'Tam', '0'), +(1217, 54, 'Tat', '0'), +(1218, 54, 'Tel', '0'), +(1219, 54, 'Tem', '0'), +(1220, 54, 'Ter', '0'), +(1221, 54, 'Tet', '0'), +(1222, 54, 'Tgk', '0'), +(1223, 54, 'Tgl', '0'), +(1224, 54, 'Tha', '0'), +(1225, 54, 'Tib', '0'), +(1226, 54, 'Bod', '0'), +(1227, 54, 'Tig', '0'), +(1228, 54, 'Tir', '0'), +(1229, 54, 'Tiv', '0'), +(1230, 54, 'Tkl', '0'), +(1231, 54, 'Tlh', '0'), +(1232, 54, 'Tli', '0'), +(1233, 54, 'Tmh', '0'), +(1234, 54, 'Tog', '0'), +(1235, 54, 'Ton', '0'), +(1236, 54, 'Tpi', '0'), +(1237, 54, 'Tsi', '0'), +(1238, 54, 'Tsn', '0'), +(1239, 54, 'Tso', '0'), +(1240, 54, 'Tuk', '0'), +(1241, 54, 'Tum', '0'), +(1242, 54, 'Tup', '0'), +(1243, 54, 'Tur', '0'), +(1244, 54, 'Tut', '0'), +(1245, 54, 'Tvl', '0'), +(1246, 54, 'Twi', '0'), +(1247, 54, 'Tyv', '0'), +(1248, 54, 'Udm', '0'), +(1249, 54, 'Uga', '0'), +(1250, 54, 'Uig', '0'), +(1251, 54, 'Ukr', '0'), +(1252, 54, 'Umb', '0'), +(1253, 54, 'Und', '0'), +(1254, 54, 'Urd', '0'), +(1255, 54, 'Uzb', '0'), +(1256, 54, 'Vai', '0'), +(1257, 54, 'Ven', '0'), +(1258, 54, 'Vie', '0'), +(1259, 54, 'Vol', '0'), +(1260, 54, 'Vot', '0'), +(1261, 54, 'Wak', '0'), +(1262, 54, 'Wal', '0'), +(1263, 54, 'War', '0'), +(1264, 54, 'Was', '0'), +(1265, 54, 'Wel', '0'), +(1266, 54, 'Cym', '0'), +(1267, 54, 'Wen', '0'), +(1268, 54, 'Wln', '0'), +(1269, 54, 'Wol', '0'), +(1270, 54, 'Xal', '0'), +(1271, 54, 'Xho', '0'), +(1272, 54, 'Yao', '0'), +(1273, 54, 'Yap', '0'), +(1274, 54, 'Yid', '0'), +(1275, 54, 'Yor', '0'), +(1276, 54, 'Ypk', '0'), +(1277, 54, 'Zap', '0'), +(1278, 54, 'Zbl', '0'), +(1279, 54, 'Zen', '0'), +(1280, 54, 'Zgh', '0'), +(1281, 54, 'Zha', '0'), +(1282, 54, 'Chi', '0'), +(1283, 54, 'Zho', '0'), +(1284, 54, 'Znd', '0'), +(1285, 54, 'Zul', '0'), +(1286, 54, 'Zun', '0'), +(1287, 54, 'Zxx', '0'), +(1288, 54, 'Zza', '0'), +(1289, 71, 'Amazonas:Puerto santander', '0'), +(1290, 71, 'Amazonas:La chorrera', '0'), +(1291, 71, 'Amazonas:La pedrera', '0'), +(1292, 71, 'Amazonas:Puerto alegria', '0'), +(1293, 71, 'Amazonas:Puerto arica', '0'), +(1294, 71, 'Amazonas:El encanto', '0'), +(1295, 71, 'Amazonas:Tarapaca', '0'), +(1296, 71, 'Amazonas:Leticia', '0'), +(1297, 71, 'Antioquia:Arboletes', '0'), +(1298, 71, 'Antioquia:San juan de uraba', '0'), +(1299, 71, 'Antioquia:Necocli', '0'), +(1300, 71, 'Antioquia:San pedro de uraba', '0'), +(1301, 71, 'Antioquia:Turbo', '0'), +(1302, 71, 'Antioquia:Nechi', '0'), +(1303, 71, 'Antioquia:Apartado', '0'), +(1304, 71, 'Antioquia:El bagre', '0'), +(1305, 71, 'Antioquia:Caceres', '0'), +(1306, 71, 'Antioquia:Carepa', '0'), +(1307, 71, 'Antioquia:Taraza', '0'), +(1308, 71, 'Antioquia:Zaragoza', '0'), +(1309, 71, 'Antioquia:Mutata', '0'), +(1310, 71, 'Antioquia:Briceno', '0'), +(1311, 71, 'Antioquia:Yarumal', '0'), +(1312, 71, 'Antioquia:Peque', '0'), +(1313, 71, 'Antioquia:Dabeiba', '0'), +(1314, 71, 'Antioquia:Campamento', '0'), +(1315, 71, 'Antioquia:Toledo', '0'), +(1316, 71, 'Antioquia:Sabanalarga', '0'), +(1317, 71, 'Antioquia:San andres', '0'), +(1318, 71, 'Antioquia:Canasgordas', '0'), +(1319, 71, 'Antioquia:Buritica', '0'), +(1320, 71, 'Antioquia:Angostura', '0'), +(1321, 71, 'Antioquia:Guadalupe', '0'), +(1322, 71, 'Antioquia:San jose de la montana', '0'), +(1323, 71, 'Antioquia:Gomez plata', '0'), +(1324, 71, 'Antioquia:Yolombo', '0'), +(1325, 71, 'Antioquia:Carolina', '0'), +(1326, 71, 'Antioquia:Liborina', '0'), +(1327, 71, 'Antioquia:Vegachi', '0'), +(1328, 71, 'Antioquia:Yali', '0'), +(1329, 71, 'Antioquia:Belmira', '0'), +(1330, 71, 'Antioquia:Abriaqui', '0'), +(1331, 71, 'Antioquia:Puerto berrio', '0'), +(1332, 71, 'Antioquia:Sabaneta', '0'), +(1333, 71, 'Antioquia:Concordia', '0'), +(1334, 71, 'Antioquia:Retiro', '0'), +(1335, 71, 'Antioquia:El carmen de viboral', '0'), +(1336, 71, 'Antioquia:San luis', '0'), +(1337, 71, 'Antioquia:Argelia', '0'), +(1338, 71, 'Antioquia:Caucasia', '0'), +(1339, 71, 'Antioquia:Chigorodo', '0'), +(1340, 71, 'Antioquia:Segovia', '0'), +(1341, 71, 'Antioquia:Anori', '0'), +(1342, 71, 'Antioquia:Valdivia', '0'), +(1343, 71, 'Antioquia:Ituango', '0'), +(1344, 71, 'Antioquia:Casabe', '0'), +(1345, 71, 'Antioquia:Amalfi', '0'), +(1346, 71, 'Antioquia:Remedios', '0'), +(1347, 71, 'Antioquia:Frontino', '0'), +(1348, 71, 'Antioquia:Santa rosa de osos', '0'), +(1349, 71, 'Antioquia:Vigia del fuerte', '0'), +(1350, 71, 'Antioquia:Santafe de antioquia', '0'), +(1351, 71, 'Antioquia:Entrerrios', '0'), +(1352, 71, 'Antioquia:Olaya', '0'), +(1353, 71, 'Antioquia:Maceo', '0'), +(1354, 71, 'Antioquia:Caracoli', '0'), +(1355, 71, 'Antioquia:Sopetran', '0'), +(1356, 71, 'Antioquia:Urrao', '0'), +(1357, 71, 'Antioquia:Cisneros', '0'), +(1358, 71, 'Antioquia:Don matias', '0'), +(1359, 71, 'Antioquia:Santo domingo', '0'), +(1360, 71, 'Antioquia:San roque', '0'), +(1361, 71, 'Antioquia:San pedro', '0'), +(1362, 71, 'Antioquia:Caicedo', '0'), +(1363, 71, 'Antioquia:San jeronimo', '0'), +(1364, 71, 'Antioquia:Barbosa', '0'), +(1365, 71, 'Antioquia:Concepcion', '0'), +(1366, 71, 'Antioquia:Girardota', '0'), +(1367, 71, 'Antioquia:Copacabana', '0'), +(1368, 71, 'Antioquia:Bello', '0'), +(1369, 71, 'Antioquia:Ebejico', '0'), +(1370, 71, 'Antioquia:Alejandria', '0'), +(1371, 71, 'Antioquia:Anza', '0'), +(1372, 71, 'Antioquia:San rafael', '0'), +(1373, 71, 'Antioquia:Guarne', '0'), +(1374, 71, 'Antioquia:Penol', '0'), +(1375, 71, 'Antioquia:San carlos', '0'), +(1376, 71, 'Antioquia:Guatape', '0'), +(1377, 71, 'Antioquia:La magdalena', '0'), +(1378, 71, 'Antioquia:Betulia', '0'), +(1379, 71, 'Antioquia:Heliconia', '0'), +(1380, 71, 'Antioquia:Marinilla', '0'), +(1381, 71, 'Antioquia:Armenia', '0'), +(1382, 71, 'Antioquia:Rionegro', '0'), +(1383, 71, 'Antioquia:Granada', '0'), +(1384, 71, 'Antioquia:Itagui', '0'), +(1385, 71, 'Antioquia:Envigado', '0'), +(1386, 71, 'Antioquia:Angelopolis', '0'), +(1387, 71, 'Antioquia:El santuario', '0'), +(1388, 71, 'Antioquia:Cocorna', '0'), +(1389, 71, 'Antioquia:Caldas', '0'), +(1390, 71, 'Antioquia:Amaga', '0'), +(1391, 71, 'Antioquia:La ceja', '0'), +(1392, 71, 'Antioquia:Puerto triunfo', '0'), +(1393, 71, 'Antioquia:La union', '0'), +(1394, 71, 'Antioquia:Montebello', '0'), +(1395, 71, 'Antioquia:Venecia', '0'), +(1396, 71, 'Antioquia:Fredonia', '0'), +(1397, 71, 'Antioquia:San francisco', '0'), +(1398, 71, 'Antioquia:Santa barbara', '0'), +(1399, 71, 'Antioquia:Tarso', '0'), +(1400, 71, 'Antioquia:Abejorral', '0'), +(1401, 71, 'Antioquia:Ciudad bolivar', '0'), +(1402, 71, 'Antioquia:Sonson', '0'), +(1403, 71, 'Antioquia:Pueblorrico', '0'), +(1404, 71, 'Antioquia:Jerico', '0'), +(1405, 71, 'Antioquia:Hispania', '0'), +(1406, 71, 'Antioquia:La pintada', '0'), +(1407, 71, 'Antioquia:Tamesis', '0'), +(1408, 71, 'Antioquia:Betania', '0'), +(1409, 71, 'Antioquia:Andes', '0'), +(1410, 71, 'Antioquia:Valparaiso', '0'), +(1411, 71, 'Antioquia:Narino', '0'), +(1412, 71, 'Antioquia:Jardin', '0'), +(1413, 71, 'Antioquia:Caramanta', '0'), +(1414, 71, 'Antioquia:Medellin', '0'), +(1415, 71, 'Arauca:Saravena', '0'), +(1416, 71, 'Arauca:Arauquita', '0'), +(1417, 71, 'Arauca:Fortul', '0'), +(1418, 71, 'Arauca:Tame', '0'), +(1419, 71, 'Arauca:Puerto rondon', '0'), +(1420, 71, 'Arauca:Cravo norte', '0'), +(1421, 71, 'Arauca:Arauca', '0'), +(1422, 71, 'Atlantico:Tubara', '0'), +(1423, 71, 'Atlantico:Galapa', '0'), +(1424, 71, 'Atlantico:Soledad', '0'), +(1425, 71, 'Atlantico:Malambo', '0'), +(1426, 71, 'Atlantico:Juan de acosta', '0'), +(1427, 71, 'Atlantico:Baranoa', '0'), +(1428, 71, 'Atlantico:Sabanagrande', '0'), +(1429, 71, 'Atlantico:Polonuevo', '0'), +(1430, 71, 'Atlantico:Piojo', '0'), +(1431, 71, 'Atlantico:Usiacuri', '0'), +(1432, 71, 'Atlantico:Santo tomas', '0'), +(1433, 71, 'Atlantico:Palmar de varela', '0'), +(1434, 71, 'Atlantico:Sabanalarga', '0'), +(1435, 71, 'Atlantico:Ponedera', '0'), +(1436, 71, 'Atlantico:Luruaco', '0'), +(1437, 71, 'Atlantico:Repelon', '0'), +(1438, 71, 'Atlantico:Candelaria', '0'), +(1439, 71, 'Atlantico:Manati', '0'), +(1440, 71, 'Atlantico:Campo de la cruz', '0'), +(1441, 71, 'Atlantico:Santa lucia', '0'), +(1442, 71, 'Atlantico:Suan', '0'), +(1443, 71, 'Atlantico:Baranquilla', '0'), +(1444, 71, 'Bolivar:Santa catalina', '0'), +(1445, 71, 'Bolivar:Clemencia', '0'), +(1446, 71, 'Bolivar:Santa rosa', '0'), +(1447, 71, 'Bolivar:Villanueva', '0'), +(1448, 71, 'Bolivar:San estanislao', '0'), +(1449, 71, 'Bolivar:Turbaco', '0'), +(1450, 71, 'Bolivar:San cristobal', '0'), +(1451, 71, 'Bolivar:Soplaviento', '0'), +(1452, 71, 'Bolivar:Calamar', '0'), +(1453, 71, 'Bolivar:Arjona', '0'), +(1454, 71, 'Bolivar:Turbana', '0'), +(1455, 71, 'Bolivar:Arroyohondo', '0'), +(1456, 71, 'Bolivar:Mahates', '0'), +(1457, 71, 'Bolivar:El guamo', '0'), +(1458, 71, 'Bolivar:San juan nepomuceno', '0'), +(1459, 71, 'Bolivar:Maria la baja', '0'), +(1460, 71, 'Bolivar:San jacinto', '0'), +(1461, 71, 'Bolivar:El carmen de bolivar', '0'), +(1462, 71, 'Bolivar:Zambrano', '0'), +(1463, 71, 'Bolivar:Cordoba', '0'), +(1464, 71, 'Bolivar:Magangue', '0'), +(1465, 71, 'Bolivar:Talaigua nuevo', '0'), +(1466, 71, 'Bolivar:Mompos', '0'), +(1467, 71, 'Bolivar:San fernando', '0'), +(1468, 71, 'Bolivar:Pinillos', '0'), +(1469, 71, 'Bolivar:Hatillo de loba', '0'), +(1470, 71, 'Bolivar:El penon', '0'), +(1471, 71, 'Bolivar:San martin de loba', '0'), +(1472, 71, 'Bolivar:Barranco de loba', '0'), +(1473, 71, 'Bolivar:Altos del rosario', '0'), +(1474, 71, 'Bolivar:Achi', '0'), +(1475, 71, 'Bolivar:Regidor', '0'), +(1476, 71, 'Bolivar:Rio viejo', '0'), +(1477, 71, 'Bolivar:Tiquisio', '0'), +(1478, 71, 'Bolivar:Arenal', '0'), +(1479, 71, 'Bolivar:Morales', '0'), +(1480, 71, 'Bolivar:San jacinto del cauca', '0'), +(1481, 71, 'Bolivar:Montecristo', '0'), +(1482, 71, 'Bolivar:Simiti', '0'), +(1483, 71, 'Bolivar:Santa rosa del sur', '0'), +(1484, 71, 'Bolivar:San pablo', '0'), +(1485, 71, 'Bolivar:Cantagallo', '0'), +(1486, 71, 'Bolivar:Cartagena', '0'), +(1487, 71, 'Boyaca:Cubara', '0'), +(1488, 71, 'Boyaca:Chiscas', '0'), +(1489, 71, 'Boyaca:Guican', '0'); +INSERT INTO `form_campos_valores` (`id`, `id_form_campo`, `campo_valor`, `predeterminado`) VALUES +(1490, 71, 'Boyaca:Tutaza', '0'), +(1491, 71, 'Boyaca:Jenesano', '0'), +(1492, 71, 'Boyaca:Nuevo colon', '0'), +(1493, 71, 'Boyaca:Macanal', '0'), +(1494, 71, 'Boyaca:Miraflores', '0'), +(1495, 71, 'Boyaca:Pachavita', '0'), +(1496, 71, 'Boyaca:Garagoa', '0'), +(1497, 71, 'Boyaca:La capilla', '0'), +(1498, 71, 'Boyaca:Guateque', '0'), +(1499, 71, 'Boyaca:Sutatenza', '0'), +(1500, 71, 'Boyaca:Covarachia', '0'), +(1501, 71, 'Boyaca:El espino', '0'), +(1502, 71, 'Boyaca:Panqueba', '0'), +(1503, 71, 'Boyaca:Guacamayas', '0'), +(1504, 71, 'Boyaca:San mateo', '0'), +(1505, 71, 'Boyaca:Boavita', '0'), +(1506, 71, 'Boyaca:Soata', '0'), +(1507, 71, 'Boyaca:La uvita', '0'), +(1508, 71, 'Boyaca:Susacon', '0'), +(1509, 71, 'Boyaca:Puerto boyaca', '0'), +(1510, 71, 'Boyaca:Jerico', '0'), +(1511, 71, 'Boyaca:Sativanorte', '0'), +(1512, 71, 'Boyaca:Socota', '0'), +(1513, 71, 'Boyaca:Sativasur', '0'), +(1514, 71, 'Boyaca:Santana', '0'), +(1515, 71, 'Boyaca:Paz de rio', '0'), +(1516, 71, 'Boyaca:Belen', '0'), +(1517, 71, 'Boyaca:Chitaraque', '0'), +(1518, 71, 'Boyaca:Socha', '0'), +(1519, 71, 'Boyaca:San jose de pare', '0'), +(1520, 71, 'Boyaca:Cerinza', '0'), +(1521, 71, 'Boyaca:Paipa', '0'), +(1522, 71, 'Boyaca:Duitama', '0'), +(1523, 71, 'Boyaca:Tasco', '0'), +(1524, 71, 'Boyaca:Togui', '0'), +(1525, 71, 'Boyaca:Santa rosa de viterbo', '0'), +(1526, 71, 'Boyaca:Beteitiva', '0'), +(1527, 71, 'Boyaca:Moniquira', '0'), +(1528, 71, 'Boyaca:Floresta', '0'), +(1529, 71, 'Boyaca:Otanche', '0'), +(1530, 71, 'Boyaca:Corrales', '0'), +(1531, 71, 'Boyaca:Busbanza', '0'), +(1532, 71, 'Boyaca:Sotaquira', '0'), +(1533, 71, 'Boyaca:Gameza', '0'), +(1534, 71, 'Boyaca:Pisba', '0'), +(1535, 71, 'Boyaca:Arcabuco', '0'), +(1536, 71, 'Boyaca:Paya', '0'), +(1537, 71, 'Boyaca:Pauna', '0'), +(1538, 71, 'Boyaca:Tibasosa', '0'), +(1539, 71, 'Boyaca:Nobsa', '0'), +(1540, 71, 'Boyaca:Gachantiva', '0'), +(1541, 71, 'Boyaca:Combita', '0'), +(1542, 71, 'Boyaca:Topaga', '0'), +(1543, 71, 'Boyaca:Santa sofia', '0'), +(1544, 71, 'Boyaca:Mongua', '0'), +(1545, 71, 'Boyaca:Saboya', '0'), +(1546, 71, 'Boyaca:Sogamoso', '0'), +(1547, 71, 'Boyaca:San pablo de borbur', '0'), +(1548, 71, 'Boyaca:Mongui', '0'), +(1549, 71, 'Boyaca:Tunungua', '0'), +(1550, 71, 'Boyaca:Tuta', '0'), +(1551, 71, 'Boyaca:Villa de leyva', '0'), +(1552, 71, 'Boyaca:Firavitoba', '0'), +(1553, 71, 'Boyaca:Chiquiza', '0'), +(1554, 71, 'Boyaca:Chiquinquira', '0'), +(1555, 71, 'Boyaca:Briceno', '0'), +(1556, 71, 'Boyaca:Sutamarchan', '0'), +(1557, 71, 'Boyaca:Labranzagrande', '0'), +(1558, 71, 'Boyaca:Motavita', '0'), +(1559, 71, 'Boyaca:Oicata', '0'), +(1560, 71, 'Boyaca:Quipama', '0'), +(1561, 71, 'Boyaca:Toca', '0'), +(1562, 71, 'Boyaca:Iza', '0'), +(1563, 71, 'Boyaca:Maripi', '0'), +(1564, 71, 'Boyaca:Pesca', '0'), +(1565, 71, 'Boyaca:Aquitania', '0'), +(1566, 71, 'Boyaca:Chivata', '0'), +(1567, 71, 'Boyaca:Caldas', '0'), +(1568, 71, 'Boyaca:Tinjaca', '0'), +(1569, 71, 'Boyaca:Sachica', '0'), +(1570, 71, 'Boyaca:Cuitiva', '0'), +(1571, 71, 'Boyaca:Sora', '0'), +(1572, 71, 'Boyaca:Muzo', '0'), +(1573, 71, 'Boyaca:San miguel de sema', '0'), +(1574, 71, 'Boyaca:Raquira', '0'), +(1575, 71, 'Boyaca:Tota', '0'), +(1576, 71, 'Boyaca:Cucaita', '0'), +(1577, 71, 'Boyaca:Samaca', '0'), +(1578, 71, 'Boyaca:Siachoque', '0'), +(1579, 71, 'Boyaca:La victoria', '0'), +(1580, 71, 'Boyaca:Buenavista', '0'), +(1581, 71, 'Boyaca:Soraca', '0'), +(1582, 71, 'Boyaca:Coper', '0'), +(1583, 71, 'Boyaca:Pajarito', '0'), +(1584, 71, 'Boyaca:Viracacha', '0'), +(1585, 71, 'Boyaca:Rondon', '0'), +(1586, 71, 'Boyaca:Boyaca', '0'), +(1587, 71, 'Boyaca:Ventaquemada', '0'), +(1588, 71, 'Boyaca:Ramiriqui', '0'), +(1589, 71, 'Boyaca:Cienega', '0'), +(1590, 71, 'Boyaca:Turmeque', '0'), +(1591, 71, 'Boyaca:Tibana', '0'), +(1592, 71, 'Boyaca:Zetaquira', '0'), +(1593, 71, 'Boyaca:San eduardo', '0'), +(1594, 71, 'Boyaca:Umbita', '0'), +(1595, 71, 'Boyaca:Berbeo', '0'), +(1596, 71, 'Boyaca:Tenza', '0'), +(1597, 71, 'Boyaca:Campohermoso', '0'), +(1598, 71, 'Boyaca:Chinavita', '0'), +(1599, 71, 'Boyaca:Almeida', '0'), +(1600, 71, 'Boyaca:Somondoco', '0'), +(1601, 71, 'Boyaca:Guayata', '0'), +(1602, 71, 'Boyaca:Santa maria', '0'), +(1603, 71, 'Boyaca:Chivor', '0'), +(1604, 71, 'Boyaca:Paez', '0'), +(1605, 71, 'Boyaca:Chita', '0'), +(1606, 71, 'Boyaca:El cocuy', '0'), +(1607, 71, 'Boyaca:San luis de gaceno', '0'), +(1608, 71, 'Boyaca:Tunja', '0'), +(1609, 71, 'Caldas:Risaralda', '0'), +(1610, 71, 'Caldas:La dorada', '0'), +(1611, 71, 'Caldas:Norcasia', '0'), +(1612, 71, 'Caldas:Samana', '0'), +(1613, 71, 'Caldas:Aguadas', '0'), +(1614, 71, 'Caldas:Victoria', '0'), +(1615, 71, 'Caldas:Pacora', '0'), +(1616, 71, 'Caldas:Riosucio', '0'), +(1617, 71, 'Caldas:Pensilvania', '0'), +(1618, 71, 'Caldas:Marmato', '0'), +(1619, 71, 'Caldas:Supia', '0'), +(1620, 71, 'Caldas:Salamina', '0'), +(1621, 71, 'Caldas:Filadelfia', '0'), +(1622, 71, 'Caldas:Aranzazu', '0'), +(1623, 71, 'Caldas:Marulanda', '0'), +(1624, 71, 'Caldas:Marquetalia', '0'), +(1625, 71, 'Caldas:Manzanares', '0'), +(1626, 71, 'Caldas:Anserma', '0'), +(1627, 71, 'Caldas:Palestina', '0'), +(1628, 71, 'Caldas:Viterbo', '0'), +(1629, 71, 'Caldas:San jose', '0'), +(1630, 71, 'Caldas:Chinchina', '0'), +(1631, 71, 'Caldas:Belalcazar', '0'), +(1632, 71, 'Caldas:Neira', '0'), +(1633, 71, 'Caldas:Manizales', '0'), +(1634, 71, 'Caqueta:San vicente del caguan', '0'), +(1635, 71, 'Caqueta:Puerto rico', '0'), +(1636, 71, 'Caqueta:El doncello', '0'), +(1637, 71, 'Caqueta:El paujil', '0'), +(1638, 71, 'Caqueta:La montanita', '0'), +(1639, 71, 'Caqueta:Belen de los andaquies', '0'), +(1640, 71, 'Caqueta:San jose del fragua', '0'), +(1641, 71, 'Caqueta:Morelia', '0'), +(1642, 71, 'Caqueta:Cartagena del chaira', '0'), +(1643, 71, 'Caqueta:Albania', '0'), +(1644, 71, 'Caqueta:Milan', '0'), +(1645, 71, 'Caqueta:Valparaiso', '0'), +(1646, 71, 'Caqueta:Curillo', '0'), +(1647, 71, 'Caqueta:Solano', '0'), +(1648, 71, 'Caqueta:Solita', '0'), +(1649, 71, 'Caqueta:Florencia', '0'), +(1650, 71, 'Casanare:Mani', '0'), +(1651, 71, 'Casanare:Villanueva', '0'), +(1652, 71, 'Casanare:Hato corozal', '0'), +(1653, 71, 'Casanare:La salina', '0'), +(1654, 71, 'Casanare:Paz de ariporo', '0'), +(1655, 71, 'Casanare:Sacama', '0'), +(1656, 71, 'Casanare:Tamara', '0'), +(1657, 71, 'Casanare:Pore', '0'), +(1658, 71, 'Casanare:Nunchia', '0'), +(1659, 71, 'Casanare:Trinidad', '0'), +(1660, 71, 'Casanare:San luis de palenque', '0'), +(1661, 71, 'Casanare:Recetor', '0'), +(1662, 71, 'Casanare:Chameza', '0'), +(1663, 71, 'Casanare:Aguazul', '0'), +(1664, 71, 'Casanare:Orocue', '0'), +(1665, 71, 'Casanare:Tauramena', '0'), +(1666, 71, 'Casanare:Monterrey', '0'), +(1667, 71, 'Casanare:Sabanalarga', '0'), +(1668, 71, 'Casanare:Yopal', '0'), +(1669, 71, 'Cauca:Caloto', '0'), +(1670, 71, 'Cauca:Santander de quilichao', '0'), +(1671, 71, 'Cauca:Buenos aires', '0'), +(1672, 71, 'Cauca:Padilla', '0'), +(1673, 71, 'Cauca:Puerto tejada', '0'), +(1674, 71, 'Cauca:Suarez', '0'), +(1675, 71, 'Cauca:Belalcazar', '0'), +(1676, 71, 'Cauca:Miranda', '0'), +(1677, 71, 'Cauca:Villa rica', '0'), +(1678, 71, 'Cauca:Micay', '0'), +(1679, 71, 'Cauca:Corinto', '0'), +(1680, 71, 'Cauca:Toribio', '0'), +(1681, 71, 'Cauca:Jambalo', '0'), +(1682, 71, 'Cauca:Morales', '0'), +(1683, 71, 'Cauca:Timbiqui', '0'), +(1684, 71, 'Cauca:Caldono', '0'), +(1685, 71, 'Cauca:Piendamo', '0'), +(1686, 71, 'Cauca:El tambo', '0'), +(1687, 71, 'Cauca:Silvia', '0'), +(1688, 71, 'Cauca:Cajibio', '0'), +(1689, 71, 'Cauca:Inza', '0'), +(1690, 71, 'Cauca:Totoro', '0'), +(1691, 71, 'Cauca:Argelia', '0'), +(1692, 71, 'Cauca:Timbio', '0'), +(1693, 71, 'Cauca:Coconuco', '0'), +(1694, 71, 'Cauca:Paispamba', '0'), +(1695, 71, 'Cauca:El bordo', '0'), +(1696, 71, 'Cauca:Rosas', '0'), +(1697, 71, 'Cauca:Balboa', '0'), +(1698, 71, 'Cauca:La vega', '0'), +(1699, 71, 'Cauca:Bolivar', '0'), +(1700, 71, 'Cauca:Almaguer', '0'), +(1701, 71, 'Cauca:San sebastian', '0'), +(1702, 71, 'Cauca:Mercaderes', '0'), +(1703, 71, 'Cauca:Santa rosa', '0'), +(1704, 71, 'Cauca:Florencia', '0'), +(1705, 71, 'Cauca:Guapi', '0'), +(1706, 71, 'Cauca:Popayan', '0'), +(1707, 71, 'Cesar:Tamalameque', '0'), +(1708, 71, 'Cesar:Robles', '0'), +(1709, 71, 'Cesar:San diego', '0'), +(1710, 71, 'Cesar:Agustin codazzi', '0'), +(1711, 71, 'Cesar:Bosconia', '0'), +(1712, 71, 'Cesar:Becerril', '0'), +(1713, 71, 'Cesar:El paso', '0'), +(1714, 71, 'Cesar:La jagua de ibirico', '0'), +(1715, 71, 'Cesar:Chiriguana', '0'), +(1716, 71, 'Cesar:Astrea', '0'), +(1717, 71, 'Cesar:Chimichagua', '0'), +(1718, 71, 'Cesar:Curumani', '0'), +(1719, 71, 'Cesar:Pailitas', '0'), +(1720, 71, 'Cesar:Pelaya', '0'), +(1721, 71, 'Cesar:La gloria', '0'), +(1722, 71, 'Cesar:Aguachica', '0'), +(1723, 71, 'Cesar:Gamarra', '0'), +(1724, 71, 'Cesar:Gonzalez', '0'), +(1725, 71, 'Cesar:Rio de oro', '0'), +(1726, 71, 'Cesar:San martin', '0'), +(1727, 71, 'Cesar:San alberto', '0'), +(1728, 71, 'Cesar:El copey', '0'), +(1729, 71, 'Cesar:Pueblo bello', '0'), +(1730, 71, 'Cesar:Valledupar', '0'), +(1731, 71, 'Choco:Acandi', '0'), +(1732, 71, 'Choco:Unguia', '0'), +(1733, 71, 'Choco:Mutis', '0'), +(1734, 71, 'Choco:Boca de pepe', '0'), +(1735, 71, 'Choco:Murindo', '0'), +(1736, 71, 'Choco:Jurado', '0'), +(1737, 71, 'Choco:Bellavista', '0'), +(1738, 71, 'Choco:Bete', '0'), +(1739, 71, 'Choco:Pie de pato', '0'), +(1740, 71, 'Choco:El carmen de atrato', '0'), +(1741, 71, 'Choco:Nuqui', '0'), +(1742, 71, 'Choco:Lloro', '0'), +(1743, 71, 'Choco:Yuto', '0'), +(1744, 71, 'Choco:Paimado', '0'), +(1745, 71, 'Choco:Bagado', '0'), +(1746, 71, 'Choco:Pizarro', '0'), +(1747, 71, 'Choco:Tado', '0'), +(1748, 71, 'Choco:Las animas', '0'), +(1749, 71, 'Choco:Novita', '0'), +(1750, 71, 'Choco:Itsmina', '0'), +(1751, 71, 'Choco:Condoto', '0'), +(1752, 71, 'Choco:San jose del palmar', '0'), +(1753, 71, 'Choco:Sipi', '0'), +(1754, 71, 'Choco:Riosucio', '0'), +(1755, 71, 'Choco:Santa genoveva de docord', '0'), +(1756, 71, 'Choco:San francisco de quibdo', '0'), +(1757, 71, 'Cordoba:San bernardo del viento', '0'), +(1758, 71, 'Cordoba:San antero', '0'), +(1759, 71, 'Cordoba:Purisima', '0'), +(1760, 71, 'Cordoba:Momil', '0'), +(1761, 71, 'Cordoba:Lorica', '0'), +(1762, 71, 'Cordoba:Monitos', '0'), +(1763, 71, 'Cordoba:San andres sotavento', '0'), +(1764, 71, 'Cordoba:Chima', '0'), +(1765, 71, 'Cordoba:Chinu', '0'), +(1766, 71, 'Cordoba:Puerto escondido', '0'), +(1767, 71, 'Cordoba:Cotorra', '0'), +(1768, 71, 'Cordoba:San pelayo', '0'), +(1769, 71, 'Cordoba:Cienaga de oro', '0'), +(1770, 71, 'Cordoba:Sahagun', '0'), +(1771, 71, 'Cordoba:Cerete', '0'), +(1772, 71, 'Cordoba:Los cordobas', '0'), +(1773, 71, 'Cordoba:San carlos', '0'), +(1774, 71, 'Cordoba:Canalete', '0'), +(1775, 71, 'Cordoba:Pueblo nuevo', '0'), +(1776, 71, 'Cordoba:Planeta rica', '0'), +(1777, 71, 'Cordoba:Ayapel', '0'), +(1778, 71, 'Cordoba:Valencia', '0'), +(1779, 71, 'Cordoba:Buenavista', '0'), +(1780, 71, 'Cordoba:Tierralta', '0'), +(1781, 71, 'Cordoba:Montelibano', '0'), +(1782, 71, 'Cordoba:La apartada', '0'), +(1783, 71, 'Cordoba:Puerto libertador', '0'), +(1784, 71, 'Cordoba:Monteria', '0'), +(1785, 71, 'Cundinamarca:La palma', '0'), +(1786, 71, 'Cundinamarca:San cayetano', '0'), +(1787, 71, 'Cundinamarca:Topaipi', '0'), +(1788, 71, 'Cundinamarca:Utica', '0'), +(1789, 71, 'Cundinamarca:Choconta', '0'), +(1790, 71, 'Cundinamarca:Suesca', '0'), +(1791, 71, 'Cundinamarca:Vergara', '0'), +(1792, 71, 'Cundinamarca:Nimaima', '0'), +(1793, 71, 'Cundinamarca:Cogua', '0'), +(1794, 71, 'Cundinamarca:Nemocon', '0'), +(1795, 71, 'Cundinamarca:Facatativa', '0'), +(1796, 71, 'Cundinamarca:Yacopi', '0'), +(1797, 71, 'Cundinamarca:Puerto salgar', '0'), +(1798, 71, 'Cundinamarca:Simijaca', '0'), +(1799, 71, 'Cundinamarca:Caparrapi', '0'), +(1800, 71, 'Cundinamarca:Susa', '0'), +(1801, 71, 'Cundinamarca:Fuquene', '0'), +(1802, 71, 'Cundinamarca:Carmen de carupa', '0'), +(1803, 71, 'Cundinamarca:Paime', '0'), +(1804, 71, 'Cundinamarca:Guacheta', '0'), +(1805, 71, 'Cundinamarca:Guaduas', '0'), +(1806, 71, 'Cundinamarca:Lenguazaque', '0'), +(1807, 71, 'Cundinamarca:Ubate', '0'), +(1808, 71, 'Cundinamarca:Villapinzon', '0'), +(1809, 71, 'Cundinamarca:Villagomez', '0'), +(1810, 71, 'Cundinamarca:El penon', '0'), +(1811, 71, 'Cundinamarca:Cucunuba', '0'), +(1812, 71, 'Cundinamarca:Pacho', '0'), +(1813, 71, 'Cundinamarca:Sutatausa', '0'), +(1814, 71, 'Cundinamarca:Zipaquira', '0'), +(1815, 71, 'Cundinamarca:Quebradanegra', '0'), +(1816, 71, 'Cundinamarca:Macheta', '0'), +(1817, 71, 'Cundinamarca:Tibirita', '0'), +(1818, 71, 'Cundinamarca:Supata', '0'), +(1819, 71, 'Cundinamarca:Nocaima', '0'), +(1820, 71, 'Cundinamarca:Sesquile', '0'), +(1821, 71, 'Cundinamarca:Subachoque', '0'), +(1822, 71, 'Cundinamarca:Villeta', '0'), +(1823, 71, 'Cundinamarca:La vega', '0'), +(1824, 71, 'Cundinamarca:Manta', '0'), +(1825, 71, 'Cundinamarca:La pena', '0'), +(1826, 71, 'Cundinamarca:Tausa', '0'), +(1827, 71, 'Cundinamarca:Gachancipa', '0'), +(1828, 71, 'Cundinamarca:San francisco', '0'), +(1829, 71, 'Cundinamarca:Tocancipa', '0'), +(1830, 71, 'Cundinamarca:Sasaima', '0'), +(1831, 71, 'Cundinamarca:Chaguani', '0'), +(1832, 71, 'Cundinamarca:Tabio', '0'), +(1833, 71, 'Cundinamarca:Guatavita', '0'), +(1834, 71, 'Cundinamarca:Cajica', '0'), +(1835, 71, 'Cundinamarca:San juan de rio seco', '0'), +(1836, 71, 'Cundinamarca:Sopo', '0'), +(1837, 71, 'Cundinamarca:Viani', '0'), +(1838, 71, 'Cundinamarca:Gacheta', '0'), +(1839, 71, 'Cundinamarca:Alban', '0'), +(1840, 71, 'Cundinamarca:Guayabal de siquima', '0'), +(1841, 71, 'Cundinamarca:El rosal', '0'), +(1842, 71, 'Cundinamarca:Bituima', '0'), +(1843, 71, 'Cundinamarca:Guasca', '0'), +(1844, 71, 'Cundinamarca:Chia', '0'), +(1845, 71, 'Cundinamarca:Tenjo', '0'), +(1846, 71, 'Cundinamarca:Ubala', '0'), +(1847, 71, 'Cundinamarca:Madrid', '0'), +(1848, 71, 'Cundinamarca:Cota', '0'), +(1849, 71, 'Cundinamarca:Anolaima', '0'), +(1850, 71, 'Cundinamarca:Beltran', '0'), +(1851, 71, 'Cundinamarca:Junin', '0'), +(1852, 71, 'Cundinamarca:La calera', '0'), +(1853, 71, 'Cundinamarca:Zipacon', '0'), +(1854, 71, 'Cundinamarca:Gachala', '0'), +(1855, 71, 'Cundinamarca:Quipile', '0'), +(1856, 71, 'Cundinamarca:Funza', '0'), +(1857, 71, 'Cundinamarca:Gama', '0'), +(1858, 71, 'Cundinamarca:Cachipay', '0'), +(1859, 71, 'Cundinamarca:Bojaca', '0'), +(1860, 71, 'Cundinamarca:Puli', '0'), +(1861, 71, 'Cundinamarca:Mosquera', '0'), +(1862, 71, 'Cundinamarca:La mesa', '0'), +(1863, 71, 'Cundinamarca:Tena', '0'), +(1864, 71, 'Cundinamarca:Fomeque', '0'), +(1865, 71, 'Cundinamarca:Medina', '0'), +(1866, 71, 'Cundinamarca:Jerusalen', '0'), +(1867, 71, 'Cundinamarca:Choachi', '0'), +(1868, 71, 'Cundinamarca:San antonio de tequendam', '0'), +(1869, 71, 'Cundinamarca:Anapoima', '0'), +(1870, 71, 'Cundinamarca:Soacha', '0'), +(1871, 71, 'Cundinamarca:Rafael reyes', '0'), +(1872, 71, 'Cundinamarca:El colegio', '0'), +(1873, 71, 'Cundinamarca:Tocaima', '0'), +(1874, 71, 'Cundinamarca:Guataqui', '0'), +(1875, 71, 'Cundinamarca:Granada', '0'), +(1876, 71, 'Cundinamarca:Ubaque', '0'), +(1877, 71, 'Cundinamarca:Sibate', '0'), +(1878, 71, 'Cundinamarca:Viota', '0'), +(1879, 71, 'Cundinamarca:Chipaque', '0'), +(1880, 71, 'Cundinamarca:Silvania', '0'), +(1881, 71, 'Cundinamarca:Narino', '0'), +(1882, 71, 'Cundinamarca:Caqueza', '0'), +(1883, 71, 'Cundinamarca:Girardot', '0'), +(1884, 71, 'Cundinamarca:Une', '0'), +(1885, 71, 'Cundinamarca:Fusagasuga', '0'), +(1886, 71, 'Cundinamarca:Agua de dios', '0'), +(1887, 71, 'Cundinamarca:Quetame', '0'), +(1888, 71, 'Cundinamarca:Pasca', '0'), +(1889, 71, 'Cundinamarca:Ricaurte', '0'), +(1890, 71, 'Cundinamarca:Tibacuy', '0'), +(1891, 71, 'Cundinamarca:Nilo', '0'), +(1892, 71, 'Cundinamarca:Fosca', '0'), +(1893, 71, 'Cundinamarca:Guayabetal', '0'), +(1894, 71, 'Cundinamarca:Gutierrez', '0'), +(1895, 71, 'Cundinamarca:Arbelaez', '0'), +(1896, 71, 'Cundinamarca:Pandi', '0'), +(1897, 71, 'Cundinamarca:San bernardo', '0'), +(1898, 71, 'Cundinamarca:Ospina perez', '0'), +(1899, 71, 'Cundinamarca:Cabrera', '0'), +(1900, 71, 'Cundinamarca:Paratebueno', '0'), +(1901, 71, 'Cundinamarca:Bogota', '0'), +(1902, 71, 'Guainia:Cacahual', '0'), +(1903, 71, 'Guainia:Barranco minas', '0'), +(1904, 71, 'Guainia:San felipe', '0'), +(1905, 71, 'Guainia:Inirida', '0'), +(1906, 71, 'Guaviare:El retorno', '0'), +(1907, 71, 'Guaviare:Calamar', '0'), +(1908, 71, 'Guaviare:Miraflores', '0'), +(1909, 71, 'Guaviare:San jose del guaviare', '0'), +(1910, 71, 'Huila:Tello', '0'), +(1911, 71, 'Huila:Altamira', '0'), +(1912, 71, 'Huila:Colombia', '0'), +(1913, 71, 'Huila:Aipe', '0'), +(1914, 71, 'Huila:Villavieja', '0'), +(1915, 71, 'Huila:Baraya', '0'), +(1916, 71, 'Huila:Palermo', '0'), +(1917, 71, 'Huila:Santa maria', '0'), +(1918, 71, 'Huila:Iquira', '0'), +(1919, 71, 'Huila:Rivera', '0'), +(1920, 71, 'Huila:Teruel', '0'), +(1921, 71, 'Huila:Campoalegre', '0'), +(1922, 71, 'Huila:Yaguara', '0'), +(1923, 71, 'Huila:Algeciras', '0'), +(1924, 71, 'Huila:Nataga', '0'), +(1925, 71, 'Huila:Hobo', '0'), +(1926, 71, 'Huila:Tesalia', '0'), +(1927, 71, 'Huila:Gigante', '0'), +(1928, 71, 'Huila:La plata', '0'), +(1929, 71, 'Huila:Paicol', '0'), +(1930, 71, 'Huila:Agrado', '0'), +(1931, 71, 'Huila:Pital', '0'), +(1932, 71, 'Huila:Garzon', '0'), +(1933, 71, 'Huila:San jose de isnos', '0'), +(1934, 71, 'Huila:La argentina', '0'), +(1935, 71, 'Huila:Saladoblanco', '0'), +(1936, 71, 'Huila:Tarqui', '0'), +(1937, 71, 'Huila:San agustin', '0'), +(1938, 71, 'Huila:Oporapa', '0'), +(1939, 71, 'Huila:Guadalupe', '0'), +(1940, 71, 'Huila:Elias', '0'), +(1941, 71, 'Huila:Timana', '0'), +(1942, 71, 'Huila:Suaza', '0'), +(1943, 71, 'Huila:Pitalito', '0'), +(1944, 71, 'Huila:Acevedo', '0'), +(1945, 71, 'Huila:Palestina', '0'), +(1946, 71, 'Huila:Neiva', '0'), +(1947, 71, 'La guajira:Uribia', '0'), +(1948, 71, 'La guajira:Manaure', '0'), +(1949, 71, 'La guajira:Maicao', '0'), +(1950, 71, 'La guajira:Dibulla', '0'), +(1951, 71, 'La guajira:Hatonuevo', '0'), +(1952, 71, 'La guajira:Barrancas', '0'), +(1953, 71, 'La guajira:Distraccion', '0'), +(1954, 71, 'La guajira:Fonseca', '0'), +(1955, 71, 'La guajira:San juan del cesar', '0'), +(1956, 71, 'La guajira:El molino', '0'), +(1957, 71, 'La guajira:Villanueva', '0'), +(1958, 71, 'La guajira:Urumita', '0'), +(1959, 71, 'La guajira:La jagua del pilar', '0'), +(1960, 71, 'La guajira:Balcon del cesar', '0'), +(1961, 71, 'La guajira:Riohacha', '0'), +(1962, 71, 'Magdalena:Sitionuevo', '0'), +(1963, 71, 'Magdalena:Aracataca', '0'), +(1964, 71, 'Magdalena:El reten', '0'), +(1965, 71, 'Magdalena:Remolino', '0'), +(1966, 71, 'Magdalena:Pivijay', '0'), +(1967, 71, 'Magdalena:Salamina', '0'), +(1968, 71, 'Magdalena:El pinon', '0'), +(1969, 71, 'Magdalena:Algarrobo', '0'), +(1970, 71, 'Magdalena:Cerro san antonio', '0'), +(1971, 71, 'Magdalena:Concordia', '0'), +(1972, 71, 'Magdalena:Pedraza', '0'), +(1973, 71, 'Magdalena:San angel', '0'), +(1974, 71, 'Magdalena:Chivolo', '0'), +(1975, 71, 'Magdalena:Tenerife', '0'), +(1976, 71, 'Magdalena:Plato', '0'), +(1977, 71, 'Magdalena:El dificil', '0'), +(1978, 71, 'Magdalena:Santa ana', '0'), +(1979, 71, 'Magdalena:Pijino del carmen', '0'), +(1980, 71, 'Magdalena:San sebastian de buenavista', '0'), +(1981, 71, 'Magdalena:San zenon', '0'), +(1982, 71, 'Magdalena:Guamal', '0'), +(1983, 71, 'Magdalena:El banco', '0'), +(1984, 71, 'Magdalena:Santa marta', '0'), +(1985, 71, 'Meta:San luis de cubarral', '0'), +(1986, 71, 'Meta:Barranca de upia', '0'), +(1987, 71, 'Meta:Vistahermosa', '0'), +(1988, 71, 'Meta:Puerto concordia', '0'), +(1989, 71, 'Meta:San juanito', '0'), +(1990, 71, 'Meta:Puerto gaitan', '0'), +(1991, 71, 'Meta:Cabuyaro', '0'), +(1992, 71, 'Meta:Restrepo', '0'), +(1993, 71, 'Meta:El calvario', '0'), +(1994, 71, 'Meta:Puerto lopez', '0'), +(1995, 71, 'Meta:Cumaral', '0'), +(1996, 71, 'Meta:Acacias', '0'), +(1997, 71, 'Meta:Guamal', '0'), +(1998, 71, 'Meta:San carlos de guaroa', '0'), +(1999, 71, 'Meta:Castilla la nueva', '0'), +(2000, 71, 'Meta:San martin', '0'), +(2001, 71, 'Meta:Lejanias', '0'), +(2002, 71, 'Meta:La uribe', '0'), +(2003, 71, 'Meta:El castillo', '0'), +(2004, 71, 'Meta:Granada', '0'), +(2005, 71, 'Meta:Mesetas', '0'), +(2006, 71, 'Meta:Fuente de oro', '0'), +(2007, 71, 'Meta:San juan de arama', '0'), +(2008, 71, 'Meta:Puerto lleras', '0'), +(2009, 71, 'Meta:Mapiripan', '0'), +(2010, 71, 'Meta:Puerto rico', '0'), +(2011, 71, 'Meta:La macarena', '0'), +(2012, 71, 'Meta:El dorado', '0'), +(2013, 71, 'Meta:Villavicencio', '0'), +(2014, 71, 'Narino:Iles', '0'), +(2015, 71, 'Narino:Cumbal', '0'), +(2016, 71, 'Narino:Pupiales', '0'), +(2017, 71, 'Narino:Aldana', '0'), +(2018, 71, 'Narino:Gualmatan', '0'), +(2019, 71, 'Narino:Contadero', '0'), +(2020, 71, 'Narino:Puerres', '0'), +(2021, 71, 'Narino:Carlosama', '0'), +(2022, 71, 'Narino:Ipiales', '0'), +(2023, 71, 'Narino:Cordoba', '0'), +(2024, 71, 'Narino:Potosi', '0'), +(2025, 71, 'Narino:El charco', '0'), +(2026, 71, 'Narino:La tola', '0'), +(2027, 71, 'Narino:Iscuande', '0'), +(2028, 71, 'Narino:Bocas de satinga', '0'), +(2029, 71, 'Narino:Mosquera', '0'), +(2030, 71, 'Narino:Salahonda', '0'), +(2031, 71, 'Narino:San jose', '0'), +(2032, 71, 'Narino:Leiva', '0'), +(2033, 71, 'Narino:Payan', '0'), +(2034, 71, 'Narino:Tumaco', '0'), +(2035, 71, 'Narino:El rosario', '0'), +(2036, 71, 'Narino:Cumbitara', '0'), +(2037, 71, 'Narino:Policarpa', '0'), +(2038, 71, 'Narino:Barbacoas', '0'), +(2039, 71, 'Narino:San pablo', '0'), +(2040, 71, 'Narino:Sotomayor', '0'), +(2041, 71, 'Narino:La union', '0'), +(2042, 71, 'Narino:Taminango', '0'), +(2043, 71, 'Narino:Genova', '0'), +(2044, 71, 'Narino:San lorenzo', '0'), +(2045, 71, 'Narino:La llanada', '0'), +(2046, 71, 'Narino:La cruz', '0'), +(2047, 71, 'Narino:Belen', '0'), +(2048, 71, 'Narino:El penol', '0'), +(2049, 71, 'Narino:San pedro de cartago', '0'), +(2050, 71, 'Narino:San bernardo', '0'), +(2051, 71, 'Narino:Berruecos', '0'), +(2052, 71, 'Narino:El tambo', '0'), +(2053, 71, 'Narino:Chachagui', '0'), +(2054, 71, 'Narino:El tablon', '0'), +(2055, 71, 'Narino:San jose', '0'), +(2056, 71, 'Narino:Linares', '0'), +(2057, 71, 'Narino:Ricaurte', '0'), +(2058, 71, 'Narino:Buesaco', '0'), +(2059, 71, 'Narino:La florida', '0'), +(2060, 71, 'Narino:Guachaves', '0'), +(2061, 71, 'Narino:Sandona', '0'), +(2062, 71, 'Narino:Piedrancha', '0'), +(2063, 71, 'Narino:Ancuya', '0'), +(2064, 71, 'Narino:Providencia', '0'), +(2065, 71, 'Narino:Tuquerres', '0'), +(2066, 71, 'Narino:Consaca', '0'), +(2067, 71, 'Narino:Guaitarilla', '0'), +(2068, 71, 'Narino:Tangua', '0'), +(2069, 71, 'Narino:Yacuanquer', '0'), +(2070, 71, 'Narino:Imues', '0'), +(2071, 71, 'Narino:Sapuyes', '0'), +(2072, 71, 'Narino:Ospina', '0'), +(2073, 71, 'Narino:Funes', '0'), +(2074, 71, 'Narino:Guachucal', '0'), +(2075, 71, 'Narino:San juan de pasto', '0'), +(2076, 71, 'Norte de santander:El carmen', '0'), +(2077, 71, 'Norte de santander:Convencion', '0'), +(2078, 71, 'Norte de santander:Teorama', '0'), +(2079, 71, 'Norte de santander:Tibu', '0'), +(2080, 71, 'Norte de santander:Ocana', '0'), +(2081, 71, 'Norte de santander:El tarra', '0'), +(2082, 71, 'Norte de santander:San calixto', '0'), +(2083, 71, 'Norte de santander:Sardinata', '0'), +(2084, 71, 'Norte de santander:Hacari', '0'), +(2085, 71, 'Norte de santander:Puerto santander', '0'), +(2086, 71, 'Norte de santander:La playa', '0'), +(2087, 71, 'Norte de santander:El zulia', '0'), +(2088, 71, 'Norte de santander:Abrego', '0'), +(2089, 71, 'Norte de santander:Bucarasica', '0'), +(2090, 71, 'Norte de santander:Villa caro', '0'), +(2091, 71, 'Norte de santander:Gramalote', '0'), +(2092, 71, 'Norte de santander:Santiago', '0'), +(2093, 71, 'Norte de santander:Salazar', '0'), +(2094, 71, 'Norte de santander:Los patios', '0'), +(2095, 71, 'Norte de santander:Cachira', '0'), +(2096, 71, 'Norte de santander:Durania', '0'), +(2097, 71, 'Norte de santander:La esperanza', '0'), +(2098, 71, 'Norte de santander:Chinacota', '0'), +(2099, 71, 'Norte de santander:Ragonvalia', '0'), +(2100, 71, 'Norte de santander:Arboledas', '0'), +(2101, 71, 'Norte de santander:Cucutilla', '0'), +(2102, 71, 'Norte de santander:Pamplonita', '0'), +(2103, 71, 'Norte de santander:Herran', '0'), +(2104, 71, 'Norte de santander:Lourdes', '0'), +(2105, 71, 'Norte de santander:San cayetano', '0'), +(2106, 71, 'Norte de santander:Villa del rosario', '0'), +(2107, 71, 'Norte de santander:Bochalema', '0'), +(2108, 71, 'Norte de santander:Toledo', '0'), +(2109, 71, 'Norte de santander:Pamplona', '0'), +(2110, 71, 'Norte de santander:Labateca', '0'), +(2111, 71, 'Norte de santander:Mutiscua', '0'), +(2112, 71, 'Norte de santander:Cacota', '0'), +(2113, 71, 'Norte de santander:Silos', '0'), +(2114, 71, 'Norte de santander:Chitaga', '0'), +(2115, 71, 'Norte de santander:Cucuta', '0'), +(2116, 71, 'Putumayo:Puerto asis', '0'), +(2117, 71, 'Putumayo:Puerto caicedo', '0'), +(2118, 71, 'Putumayo:Puerto leguizamo', '0'), +(2119, 71, 'Putumayo:Orito', '0'), +(2120, 71, 'Putumayo:La hormiga', '0'), +(2121, 71, 'Putumayo:San francisco', '0'), +(2122, 71, 'Putumayo:Sibundoy', '0'), +(2123, 71, 'Putumayo:Colon', '0'), +(2124, 71, 'Putumayo:Santiago', '0'), +(2125, 71, 'Putumayo:Villagarzon', '0'), +(2126, 71, 'Putumayo:Puerto guzman', '0'), +(2127, 71, 'Putumayo:Mocoa', '0'), +(2128, 71, 'Quindio:Quimbaya', '0'), +(2129, 71, 'Quindio:Montenegro', '0'), +(2130, 71, 'Quindio:Calarca', '0'), +(2131, 71, 'Quindio:Salento', '0'), +(2132, 71, 'Quindio:Circasia', '0'), +(2133, 71, 'Quindio:Filandia', '0'), +(2134, 71, 'Quindio:La tebaida', '0'), +(2135, 71, 'Quindio:Cordoba', '0'), +(2136, 71, 'Quindio:Buenavista', '0'), +(2137, 71, 'Quindio:Pijao', '0'), +(2138, 71, 'Quindio:Genova', '0'), +(2139, 71, 'Quindio:Armenia', '0'), +(2140, 71, 'Risaralda:Pueblo rico', '0'), +(2141, 71, 'Risaralda:Quinchia', '0'), +(2142, 71, 'Risaralda:Apia', '0'), +(2143, 71, 'Risaralda:Mistrato', '0'), +(2144, 71, 'Risaralda:Guatica', '0'), +(2145, 71, 'Risaralda:Santuario', '0'), +(2146, 71, 'Risaralda:Belen de umbria', '0'), +(2147, 71, 'Risaralda:Marsella', '0'), +(2148, 71, 'Risaralda:Balboa', '0'), +(2149, 71, 'Risaralda:Santa rosa de cabal', '0'), +(2150, 71, 'Risaralda:La virginia', '0'), +(2151, 71, 'Risaralda:Dosquebradas', '0'), +(2152, 71, 'Risaralda:La celia', '0'), +(2153, 71, 'Risaralda:Pereira', '0'), +(2154, 71, 'San andres y providencia:San andres', '0'), +(2155, 71, 'Santander:Rionegro', '0'), +(2156, 71, 'Santander:Sabana de torres', '0'), +(2157, 71, 'Santander:El playon', '0'), +(2158, 71, 'Santander:Surata', '0'), +(2159, 71, 'Santander:Tona', '0'), +(2160, 71, 'Santander:Barrancabermeja', '0'), +(2161, 71, 'Santander:Giron', '0'), +(2162, 71, 'Santander:Betulia', '0'), +(2163, 71, 'Santander:San vicente chucuri', '0'), +(2164, 71, 'Santander:Floridablanca', '0'), +(2165, 71, 'Santander:Piedecuesta', '0'), +(2166, 71, 'Santander:Santa barbara', '0'), +(2167, 71, 'Santander:Guaca', '0'), +(2168, 71, 'Santander:Cerrito', '0'), +(2169, 71, 'Santander:Zapatoca', '0'), +(2170, 71, 'Santander:Simacota', '0'), +(2171, 71, 'Santander:San andres', '0'), +(2172, 71, 'Santander:El carmen de chucuri', '0'), +(2173, 71, 'Santander:Aratoca', '0'), +(2174, 71, 'Santander:Cepita', '0'), +(2175, 71, 'Santander:Galan', '0'), +(2176, 71, 'Santander:Malaga', '0'), +(2177, 71, 'Santander:Cimitarra', '0'), +(2178, 71, 'Santander:Villanueva', '0'), +(2179, 71, 'Santander:Carcasi', '0'), +(2180, 71, 'Santander:El penon', '0'), +(2181, 71, 'Santander:Chipata', '0'), +(2182, 71, 'Santander:Matanza', '0'), +(2183, 71, 'Santander:Lebrija', '0'), +(2184, 71, 'Santander:California', '0'), +(2185, 71, 'Santander:Vetas', '0'), +(2186, 71, 'Santander:Charta', '0'), +(2187, 71, 'Santander:Los santos', '0'), +(2188, 71, 'Santander:Concepcion', '0'), +(2189, 71, 'Santander:Puerto parra', '0'), +(2190, 71, 'Santander:Jordan', '0'), +(2191, 71, 'Santander:Barichara', '0'), +(2192, 71, 'Santander:Molagavita', '0'), +(2193, 71, 'Santander:Enciso', '0'), +(2194, 71, 'Santander:Curiti', '0'), +(2195, 71, 'Santander:San jose de miranda', '0'), +(2196, 71, 'Santander:San gil', '0'), +(2197, 71, 'Santander:Mogotes', '0'), +(2198, 71, 'Santander:Hato', '0'), +(2199, 71, 'Santander:Cabrera', '0'), +(2200, 71, 'Santander:San miguel', '0'), +(2201, 71, 'Santander:Capitanejo', '0'), +(2202, 71, 'Santander:Macaravita', '0'), +(2203, 71, 'Santander:San joaquin', '0'), +(2204, 71, 'Santander:Palmar', '0'), +(2205, 71, 'Santander:Landazuri', '0'), +(2206, 71, 'Santander:Velez', '0'), +(2207, 71, 'Santander:Pinchote', '0'), +(2208, 71, 'Santander:Onzaga', '0'), +(2209, 71, 'Santander:Socorro', '0'), +(2210, 71, 'Santander:Santa helena del opon', '0'), +(2211, 71, 'Santander:Paramo', '0'), +(2212, 71, 'Santander:Valle de san jose', '0'), +(2213, 71, 'Santander:Chima', '0'), +(2214, 71, 'Santander:Palmas socorro', '0'), +(2215, 71, 'Santander:Confines', '0'), +(2216, 71, 'Santander:Ocamonte', '0'), +(2217, 71, 'Santander:Charala', '0'), +(2218, 71, 'Santander:La paz', '0'), +(2219, 71, 'Santander:Coromoro', '0'), +(2220, 71, 'Santander:Contratacion', '0'), +(2221, 71, 'Santander:Guapota', '0'), +(2222, 71, 'Santander:Oiba', '0'), +(2223, 71, 'Santander:El guacamayo', '0'), +(2224, 71, 'Santander:Guadalupe', '0'), +(2225, 71, 'Santander:Bolivar', '0'), +(2226, 71, 'Santander:Aguada', '0'), +(2227, 71, 'Santander:Encino', '0'), +(2228, 71, 'Santander:Suaita', '0'), +(2229, 71, 'Santander:Sucre', '0'), +(2230, 71, 'Santander:San benito', '0'), +(2231, 71, 'Santander:Gambita', '0'), +(2232, 71, 'Santander:Guepsa', '0'), +(2233, 71, 'Santander:La belleza', '0'), +(2234, 71, 'Santander:Barbosa', '0'), +(2235, 71, 'Santander:Guavata', '0'), +(2236, 71, 'Santander:Puente nacional', '0'), +(2237, 71, 'Santander:Jesus maria', '0'), +(2238, 71, 'Santander:Albania', '0'), +(2239, 71, 'Santander:Florian', '0'), +(2240, 71, 'Santander:Bucaramanga', '0'), +(2241, 71, 'Sucre:San onofre', '0'), +(2242, 71, 'Sucre:Ovejas', '0'), +(2243, 71, 'Sucre:Tolu', '0'), +(2244, 71, 'Sucre:Chalan', '0'), +(2245, 71, 'Sucre:Ricaurte (coloso)', '0'), +(2246, 71, 'Sucre:Toluviejo', '0'), +(2247, 71, 'Sucre:San pedro', '0'), +(2248, 71, 'Sucre:Los palmitos', '0'), +(2249, 71, 'Sucre:Morroa', '0'), +(2250, 71, 'Sucre:Corozal', '0'), +(2251, 71, 'Sucre:Buenavista', '0'), +(2252, 71, 'Sucre:Palmito', '0'), +(2253, 71, 'Sucre:San juan de betulia', '0'), +(2254, 71, 'Sucre:Since', '0'), +(2255, 71, 'Sucre:Sampues', '0'), +(2256, 71, 'Sucre:Nueva granada', '0'), +(2257, 71, 'Sucre:San benito abad', '0'), +(2258, 71, 'Sucre:Sucre', '0'), +(2259, 71, 'Sucre:Caimito', '0'), +(2260, 71, 'Sucre:La union', '0'), +(2261, 71, 'Sucre:Majagual', '0'), +(2262, 71, 'Sucre:San marcos', '0'), +(2263, 71, 'Sucre:Guaranda', '0'), +(2264, 71, 'Sucre:Sincelejo', '0'), +(2265, 71, 'Tolima:Piedras', '0'), +(2266, 71, 'Tolima:Coyaima', '0'), +(2267, 71, 'Tolima:Anzoategui', '0'), +(2268, 71, 'Tolima:Alvarado', '0'), +(2269, 71, 'Tolima:Honda', '0'), +(2270, 71, 'Tolima:Mariquita', '0'), +(2271, 71, 'Tolima:Fresno', '0'), +(2272, 71, 'Tolima:Falan', '0'), +(2273, 71, 'Tolima:Herveo', '0'), +(2274, 71, 'Tolima:Guayabal', '0'), +(2275, 71, 'Tolima:Palocabildo', '0'), +(2276, 71, 'Tolima:Casabianca', '0'), +(2277, 71, 'Tolima:Villahermosa', '0'), +(2278, 71, 'Tolima:Libano', '0'), +(2279, 71, 'Tolima:Lerida', '0'), +(2280, 71, 'Tolima:Ambalema', '0'), +(2281, 71, 'Tolima:Murillo', '0'), +(2282, 71, 'Tolima:Santa isabel', '0'), +(2283, 71, 'Tolima:Venadillo', '0'), +(2284, 71, 'Tolima:Coello', '0'), +(2285, 71, 'Tolima:Rovira', '0'), +(2286, 71, 'Tolima:San luis', '0'), +(2287, 71, 'Tolima:Flandes', '0'), +(2288, 71, 'Tolima:Roncesvalles', '0'), +(2289, 71, 'Tolima:Valle de san juan', '0'), +(2290, 71, 'Tolima:Melgar', '0'), +(2291, 71, 'Tolima:Icononzo', '0'), +(2292, 71, 'Tolima:Suarez', '0'), +(2293, 71, 'Tolima:Guamo', '0'), +(2294, 71, 'Tolima:Espinal', '0'), +(2295, 71, 'Tolima:Carmen de apicala', '0'), +(2296, 71, 'Tolima:Cunday', '0'), +(2297, 71, 'Tolima:San antonio', '0'), +(2298, 71, 'Tolima:Ortega', '0'), +(2299, 71, 'Tolima:Chaparral', '0'), +(2300, 71, 'Tolima:Purificacion', '0'), +(2301, 71, 'Tolima:Saldana', '0'), +(2302, 71, 'Tolima:Villarrica', '0'), +(2303, 71, 'Tolima:Dolores', '0'), +(2304, 71, 'Tolima:Prado', '0'), +(2305, 71, 'Tolima:Rioblanco', '0'), +(2306, 71, 'Tolima:Natagaima', '0'), +(2307, 71, 'Tolima:Ataco', '0'), +(2308, 71, 'Tolima:Alpujarra', '0'), +(2309, 71, 'Tolima:Planadas', '0'), +(2310, 71, 'Tolima:Ibague', '0'), +(2311, 71, 'Valle:El dovio', '0'), +(2312, 71, 'Valle:La union', '0'), +(2313, 71, 'Valle:La victoria', '0'), +(2314, 71, 'Valle:Restrepo', '0'), +(2315, 71, 'Valle:Guacari', '0'), +(2316, 71, 'Valle:Versalles', '0'), +(2317, 71, 'Valle:Obando', '0'), +(2318, 71, 'Valle:El aguila', '0'), +(2319, 71, 'Valle:Ansermanuevo', '0'), +(2320, 71, 'Valle:El cairo', '0'), +(2321, 71, 'Valle:Cartago', '0'), +(2322, 71, 'Valle:Argelia', '0'), +(2323, 71, 'Valle:Ulloa', '0'), +(2324, 71, 'Valle:Toro', '0'), +(2325, 71, 'Valle:Alcala', '0'), +(2326, 71, 'Valle:Roldanillo', '0'), +(2327, 71, 'Valle:Bolivar', '0'), +(2328, 71, 'Valle:Zarzal', '0'), +(2329, 71, 'Valle:Caicedonia', '0'), +(2330, 71, 'Valle:Sevilla', '0'), +(2331, 71, 'Valle:Bugalagrande', '0'), +(2332, 71, 'Valle:Trujillo', '0'), +(2333, 71, 'Valle:Buenaventura', '0'), +(2334, 71, 'Valle:Andalucia', '0'), +(2335, 71, 'Valle:Riofrio', '0'), +(2336, 71, 'Valle:Tulua', '0'), +(2337, 71, 'Valle:Darien', '0'), +(2338, 71, 'Valle:Yotoco', '0'), +(2339, 71, 'Valle:San pedro', '0'), +(2340, 71, 'Valle:Buga', '0'), +(2341, 71, 'Valle:Dagua', '0'), +(2342, 71, 'Valle:Vijes', '0'), +(2343, 71, 'Valle:Ginebra', '0'), +(2344, 71, 'Valle:El cerrito', '0'), +(2345, 71, 'Valle:La cumbre', '0'), +(2346, 71, 'Valle:Palmira', '0'), +(2347, 71, 'Valle:Yumbo', '0'), +(2348, 71, 'Valle:Pradera', '0'), +(2349, 71, 'Valle:Candelaria', '0'), +(2350, 71, 'Valle:Florida', '0'), +(2351, 71, 'Valle:Jamundi', '0'), +(2352, 71, 'Valle:Santiago de cali', '0'), +(2353, 71, 'Valle:Cali', '0'), +(2354, 71, 'Vaupes:Taraira', '0'), +(2355, 71, 'Vaupes:Caruru', '0'), +(2356, 71, 'Vaupes:Mitú', '0'), +(2357, 71, 'Vichada:La primavera', '0'), +(2358, 71, 'Vichada:Cumaribo', '0'), +(2359, 71, 'Vichada:Puerto carreno', '0'), +(2361, 18, '-75.9791386 5.9631358 15', '0'), +(2365, 72, 'id_form:2 key:38 limit:10', '0'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `form_contenido_campos` +-- + +CREATE TABLE IF NOT EXISTS `form_contenido_campos` ( +`id` int(11) NOT NULL, + `id_campo` int(11) NOT NULL, + `id_empresa` int(11) NOT NULL, + `id_form` int(2) NOT NULL, + `obligatorio` set('0','1') COLLATE utf8_spanish2_ci NOT NULL DEFAULT '0', + `multiple` set('0','1') COLLATE utf8_spanish2_ci NOT NULL DEFAULT '0', + `orden` int(2) NOT NULL COMMENT 'orden en que aparecerá cada campo en la cnsulta particular', + `control` varchar(32) COLLATE utf8_spanish2_ci NOT NULL +) ENGINE=MyISAM AUTO_INCREMENT=82 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci; + +-- +-- Dumping data for table `form_contenido_campos` +-- + +INSERT INTO `form_contenido_campos` (`id`, `id_campo`, `id_empresa`, `id_form`, `obligatorio`, `multiple`, `orden`, `control`) VALUES +(1, 8, 1, 1, '0', '0', 64, '6e32ac8d93d1a961ab91d73cfb7575d3'), +(2, 12, 1, 1, '0', '0', 86, '834f71fbbafd7ec4f3ee69e29f03acad'), +(3, 14, 1, 1, '0', '0', 28, '4721b9600b48d52bcea9562e761cdf63'), +(4, 13, 1, 1, '0', '0', 92, '0bf782d4f388d371beac89d0c04add1f'), +(5, 17, 1, 1, '0', '0', 21, '68298143ba7642d8c159bd1e6683fd69'), +(6, 15, 1, 1, '0', '0', 100, 'cab04c8a42502bcc0c09b345626899a8'), +(7, 16, 1, 1, '0', '0', 80, '9ce8a2166c9fbe73db787b2fa3792236'), +(8, 9, 1, 1, '0', '1', 45, '82fea7e28bb6d1c8b662f38917a20105'), +(9, 7, 1, 1, '0', '0', 50, '0c7e879ac516f5bee9bc5a987c81364a'), +(10, 11, 1, 1, '1', '0', 40, '00bee84be8fad0e613a6b7884dc4666b'), +(11, 18, 1, 1, '1', '0', 35, '23b34e9ef1fa1a9bababd422981f1327'), +(12, 10, 1, 1, '0', '0', 75, '0ca2686b829f9e84272e628d9189f7ed'), +(14, 3, 1, 1, '0', '0', 10, '820fb45d7de3a9c89269c1be25b7c370'), +(15, 1, 1, 1, '0', '0', 3, 'c6157909441e8a4ed35f40778ffb6798'), +(16, 4, 1, 1, '0', '0', 11, 'bbe12fe0eea1ac187d7c08d96c6c635a'), +(17, 2, 1, 1, '0', '0', 6, '8d9ffbf53c8f139785ee5e2268eacdcf'), +(18, 6, 1, 1, '0', '0', 87, '1e5b1b8b1b5b0b936652ce98c2f9424c'), +(65, 58, 1, 2, '0', '1', 21, 'dccampos21'), +(64, 57, 1, 2, '0', '1', 20, 'dccampos20'), +(63, 56, 1, 2, '0', '1', 19, 'dccampos19'), +(62, 55, 1, 2, '0', '1', 18, 'dccampos18'), +(61, 54, 1, 2, '0', '1', 17, 'dccampos17'), +(60, 53, 1, 2, '0', '1', 16, 'dccampos16'), +(59, 52, 1, 2, '0', '1', 15, 'dccampos15'), +(58, 51, 1, 2, '0', '1', 14, 'dccampos14'), +(57, 50, 1, 2, '0', '1', 13, 'dccampos13'), +(56, 49, 1, 2, '0', '1', 12, 'dccampos12'), +(55, 48, 1, 2, '0', '1', 11, 'dccampos11'), +(54, 47, 1, 2, '0', '1', 10, 'dccampos10'), +(53, 46, 1, 2, '0', '1', 9, 'dccampos09'), +(52, 45, 1, 2, '0', '1', 8, 'dccampos08'), +(51, 44, 1, 2, '0', '1', 7, 'dccampos07'), +(50, 43, 1, 2, '0', '1', 6, 'dccampos06'), +(49, 42, 1, 2, '0', '1', 5, 'dccampos05'), +(48, 41, 1, 2, '0', '1', 4, 'dccampos04'), +(47, 40, 1, 2, '0', '1', 3, 'dccampos03'), +(41, 19, 2, 1, '0', '0', 100, '38a7c271c9b8cbbb787e66d24d32bec6'), +(42, 26, 1, 1, '0', '0', 0, '1093ccfaf6138e73381df8bf004b76cc'), +(46, 39, 1, 2, '0', '1', 2, 'dccampos02'), +(45, 38, 1, 2, '0', '1', 1, 'dccampos01'), +(66, 59, 1, 2, '0', '1', 22, 'dccampos22'), +(67, 60, 1, 2, '0', '1', 23, 'dccampos23'), +(68, 61, 1, 2, '0', '1', 24, 'dccampos24'), +(69, 62, 1, 2, '0', '1', 25, 'dccampos25'), +(70, 63, 1, 2, '0', '1', 26, 'dccampos26'), +(71, 64, 1, 2, '0', '1', 27, 'dccampos27'), +(72, 65, 1, 2, '0', '1', 28, 'dccampos28'), +(73, 66, 1, 2, '0', '1', 29, 'dccampos29'), +(74, 67, 1, 2, '0', '1', 30, 'dccampos30'), +(75, 68, 1, 2, '0', '1', 31, 'dccampos31'), +(76, 69, 1, 2, '0', '0', 0, 'e5add8d17b13a7f49b032839bd7a5526'), +(77, 70, 1, 2, '0', '0', 0, '326d66ceef37a30dc7ee0cbf2ffee221'), +(78, 71, 1, 1, '0', '0', 17, 'a1cc9a5f7c0e8c5a9adb9206180231b4'), +(79, 72, 1, 1, '0', '0', 2, 'be9b193e361a6c92be50c0dffd67436e'), +(80, 25, 1, 1, '0', '0', 0, 'c6b2ca70996c7216af2188101765c6f2'), +(81, 14, 1, 3, '0', '0', 0, '29bdc9f9ad1a1e63193f51f51884a80e'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `form_datos` +-- + +CREATE TABLE IF NOT EXISTS `form_datos` ( +`id` int(11) NOT NULL, + `id_campo` int(11) DEFAULT NULL, + `form_id` int(3) DEFAULT NULL, + `orden` int(11) NOT NULL DEFAULT '0', + `id_usuario` int(11) DEFAULT NULL, + `id_empresa` int(11) NOT NULL, + `contenido` text NOT NULL, + `timestamp` int(20) DEFAULT NULL, + `ip` int(10) unsigned DEFAULT NULL, + `control` char(32) NOT NULL +) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=latin1; + +-- +-- Dumping data for table `form_datos` +-- + +INSERT INTO `form_datos` (`id`, `id_campo`, `form_id`, `orden`, `id_usuario`, `id_empresa`, `contenido`, `timestamp`, `ip`, `control`) VALUES +(1, 70, 2, 0, 1, 1, '919667cc0724a21a78e221ba5d4524d0.png', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(2, 69, 2, 0, 1, 1, 'https://www.youtube.com/watch?v=EAvWLo74alY', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(3, 38, 2, 0, 1, 1, 'Yoga Cinco ritos tibetanos', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(4, 39, 2, 0, 1, 1, 'Easy Five Tibetans Rites', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(5, 40, 2, 0, 1, 1, 'Fundación VivirEnLaFinca.org', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(6, 41, 2, 0, 1, 1, 'Janeth Urreste Castro', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(7, 42, 2, 0, 1, 1, 'proyectos@vivirenlafinca.org', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(8, 43, 2, 0, 1, 1, 'http://vivirenlafinca.org', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(9, 44, 2, 0, 1, 1, 'Yoga', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(10, 45, 2, 0, 1, 1, 'Ejercicios completos de la rutina de los "Cinco ritos tibetanos" explicados para su realización de forma fácil.', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(11, 47, 2, 0, 1, 1, 'Full exercise routine "Five Tibetan Rites " explained for implementation easy.', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(12, 48, 2, 0, 1, 1, 'Fundación Vivirenlafinca.org', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(13, 49, 2, 0, 1, 1, 'fredy Rivera', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(14, 50, 2, 0, 1, 1, '2010-03-01', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(15, 51, 2, 0, 1, 1, 'Movingimage (imagen en movimiento)', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(16, 52, 2, 0, 1, 1, 'Video/3gpp', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(17, 53, 2, 0, 1, 1, 'https://www.youtube.com/watch?v=EAvWLo74alY', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(18, 54, 2, 0, 1, 1, 'Spa', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(19, 55, 2, 0, 1, 1, 'http://en.wikipedia.org/wiki/Five_Tibetan_Rites', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(20, 61, 2, 0, 1, 1, 'http://creativecommons.org/licenses/by-sa/2.5/co/', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(21, 62, 2, 0, 1, 1, 'All', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(22, 64, 2, 0, 1, 1, 'Fredy Rivera y Janeth Urreste', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(23, 65, 2, 0, 1, 1, 'Ejercicios prácticos', 1424879698, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(24, 68, 2, 0, 1, 1, 'https://www.youtube.com/watch?v=EAvWLo74alY', 1424879699, NULL, 'feb16a589d41a37406fb5ed9d1c34f11'), +(25, 1, 1, 0, 1, 1, 'Fredy', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(26, 3, 1, 0, 1, 1, 'Rivera', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(27, 4, 1, 0, 1, 1, 'Bermúdez', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(28, 71, 1, 0, 1, 1, 'Cundinamarca Bogota', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(29, 14, 1, 0, 1, 1, 'Amigo', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(30, 18, 1, 0, 1, 1, '-74.091796875 4.576424935853651 7', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(31, 11, 1, 0, 1, 1, 'QWERTY LTDA', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(32, 9, 1, 0, 1, 1, 'Director de desarrollo MILFS', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(33, 15, 1, 0, 1, 1, 'fredyrivera@qwerty.co', 1433516975, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(34, 72, 1, 0, 1, 1, '5cc74e40b9af87c0bc6b56ca4796c073', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(35, 1, 1, 0, 1, 1, 'Pedro', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(36, 2, 1, 0, 1, 1, 'Miguel', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(37, 3, 1, 0, 1, 1, 'Picapiedra', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(38, 4, 1, 0, 1, 1, 'Marmol', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(39, 71, 1, 0, 1, 1, 'Cundinamarca Susa', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(40, 14, 1, 0, 1, 1, 'Amigo', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(41, 18, 1, 0, 1, 1, '-74.35546875 5.3425828520359735 7', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(42, 11, 1, 0, 1, 1, 'Carrangueros ltda.', 1433615534, NULL, '018f39193a26376e38273ef8a50e478a'), +(43, 72, 1, 0, 1, 1, '018f39193a26376e38273ef8a50e478a', 1433864155, NULL, '018f39193a26376e38273ef8a50e478a'), +(44, 72, 1, 0, 1, 1, 'feb16a589d41a37406fb5ed9d1c34f11', 1433865581, NULL, '2d1ee243aad9d2fe2804618b0673cc73'), +(45, 1, 1, 0, 1, 1, 'Janeth', 1433865581, NULL, '2d1ee243aad9d2fe2804618b0673cc73'), +(46, 3, 1, 0, 1, 1, 'Urreste', 1433865581, NULL, '2d1ee243aad9d2fe2804618b0673cc73'), +(47, 4, 1, 0, 1, 1, 'Castro', 1433865581, NULL, '2d1ee243aad9d2fe2804618b0673cc73'), +(48, 71, 1, 0, 1, 1, 'Risaralda Dosquebradas', 1433865581, NULL, '2d1ee243aad9d2fe2804618b0673cc73'), +(49, 18, 1, 0, 1, 1, '-75.9791386 5.9631358 15', 1433865581, NULL, '2d1ee243aad9d2fe2804618b0673cc73'), +(50, 11, 1, 0, 1, 1, 'core', 1433865590, NULL, '2d1ee243aad9d2fe2804618b0673cc73'), +(51, 26, 1, 0, 1, 1, '7814eb0da3dd472dfd509e045e769ab4.jpg', 1433896692, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'), +(52, 4, 1, 0, 1, 1, 'Bermúdez', 1433896692, NULL, '5cc74e40b9af87c0bc6b56ca4796c073'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `form_grupo` +-- + +CREATE TABLE IF NOT EXISTS `form_grupo` ( +`id_grupo` int(11) NOT NULL, + `id` int(11) NOT NULL, + `grupo` text NOT NULL, + `id_empresa` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `form_id` +-- + +CREATE TABLE IF NOT EXISTS `form_id` ( +`id` int(11) NOT NULL, + `nombre` varchar(60) COLLATE utf8_spanish2_ci NOT NULL, + `descripcion` text COLLATE utf8_spanish2_ci NOT NULL, + `activo` set('0','1') COLLATE utf8_spanish2_ci NOT NULL, + `modificable` set('0','1') COLLATE utf8_spanish2_ci NOT NULL DEFAULT '1', + `publico` set('0','1') COLLATE utf8_spanish2_ci NOT NULL DEFAULT '0', + `propietario` int(11) NOT NULL, + `id_empresa` int(11) NOT NULL, + `creacion` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `orden` int(11) NOT NULL, + `formulario_respuesta` int(3) DEFAULT NULL COMMENT 'Formulario con el que se contesta' +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci; + +-- +-- Dumping data for table `form_id` +-- + +INSERT INTO `form_id` (`id`, `nombre`, `descripcion`, `activo`, `modificable`, `publico`, `propietario`, `id_empresa`, `creacion`, `orden`, `formulario_respuesta`) VALUES +(1, 'Contacto', 'Capura de datos en evento.', '1', '1', '1', 1, 1, '2014-09-30 19:47:38', 80, 0), +(2, 'Biblioteca Digital', 'Repositorio digital de documentos de nuestrared.org.\nLos metadatos fueron establecidos usando Este documento', '1', '1', '1', 1, 1, '2015-02-25 15:38:05', 1, 0), +(3, 'Pruebas', 'Es un formulario para pruebas varias', '1', '1', '1', 1, 1, '2015-07-09 22:04:16', 0, 0), +(4, 'Formulario agrupado', 'Prueba de formularios agrupados', '1', '1', '1', 1, 1, '2015-07-09 22:05:22', 0, 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `form_tipo_campo` +-- + +CREATE TABLE IF NOT EXISTS `form_tipo_campo` ( +`id_tipo_campo` int(11) NOT NULL, + `tipo_campo_nombre` text NOT NULL, + `tipo_campo_accion` text NOT NULL, + `activo` int(11) NOT NULL DEFAULT '0' +) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1; + +-- +-- Dumping data for table `form_tipo_campo` +-- + +INSERT INTO `form_tipo_campo` (`id_tipo_campo`, `tipo_campo_nombre`, `tipo_campo_accion`, `activo`) VALUES +(1, 'Texto', 'text', 1), +(2, 'Nota', 'textarea', 1), +(3, 'Numérico', 'number', 1), +(4, 'URL', 'url', 1), +(5, 'Medio', 'media', 1), +(7, 'HTML', 'html', 1), +(8, 'Select', 'select', 1), +(9, 'Combo select', 'combo', 1), +(10, 'Relación', 'relacion', 1), +(11, 'Fecha', 'date', 1), +(12, 'Email', 'email', 1), +(13, 'Email envío', 'envio', 1), +(14, 'Mapa', 'mapa', 1), +(15, 'Imagen', 'imagen', 1), +(16, 'Rango', 'rango', 1), +(17, 'Texto limitado', 'limit', 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `parametrizacion` +-- + +CREATE TABLE IF NOT EXISTS `parametrizacion` ( +`id` int(11) NOT NULL, + `tabla` varchar(32) NOT NULL, + `campo` varchar(32) NOT NULL, + `opcion` varchar(200) NOT NULL, + `descripcion` text NOT NULL, + `visible` set('0','1') NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `usuarios` +-- + +CREATE TABLE IF NOT EXISTS `usuarios` ( +`id` int(32) NOT NULL, + `username` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT '', + `passwd` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT '', + `id_grupo` int(11) NOT NULL DEFAULT '0', + `id_empresa` int(11) NOT NULL DEFAULT '0', + `email` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT '', + `adddate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `status` int(3) NOT NULL DEFAULT '0', + `lastip` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT '', + `lastdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `p_nombre` varchar(255) COLLATE utf8_spanish2_ci DEFAULT NULL, + `s_nombre` varchar(255) COLLATE utf8_spanish2_ci DEFAULT NULL, + `p_apellido` varchar(255) COLLATE utf8_spanish2_ci DEFAULT NULL, + `s_apellido` varchar(255) COLLATE utf8_spanish2_ci NOT NULL DEFAULT '', + `nombre_completo` varchar(254) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL DEFAULT '', + `fecha_nacimiento` varchar(15) COLLATE utf8_spanish2_ci NOT NULL, + `documento_tipo` int(11) NOT NULL DEFAULT '0', + `documento_numero` char(20) CHARACTER SET latin1 NOT NULL, + `documento_expedicion` varchar(100) COLLATE utf8_spanish2_ci NOT NULL, + `control` varchar(50) CHARACTER SET latin1 COLLATE latin1_spanish_ci DEFAULT NULL, + `firma_recuperacion` char(40) COLLATE utf8_spanish2_ci DEFAULT NULL, + `genero` set('M','F') CHARACTER SET latin1 NOT NULL DEFAULT '', + `cargo` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT '', + `fotografia` char(36) COLLATE utf8_spanish2_ci NOT NULL, + `licencia` text COLLATE utf8_spanish2_ci NOT NULL, + `licencia_fecha` int(20) DEFAULT '0', + `bio` longtext COLLATE utf8_spanish2_ci NOT NULL +) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci; + +-- +-- Dumping data for table `usuarios` +-- + +INSERT INTO `usuarios` (`id`, `username`, `passwd`, `id_grupo`, `id_empresa`, `email`, `adddate`, `status`, `lastip`, `lastdate`, `p_nombre`, `s_nombre`, `p_apellido`, `s_apellido`, `nombre_completo`, `fecha_nacimiento`, `documento_tipo`, `documento_numero`, `documento_expedicion`, `control`, `firma_recuperacion`, `genero`, `cargo`, `fotografia`, `licencia`, `licencia_fecha`, `bio`) VALUES +(1, 'admin', '21232f297a57a5a743894a0e4a801fc3', 0, 1, 'correo@qwerty.co', '2014-09-15 22:58:45', 1, '', '0000-00-00 00:00:00', 'administrador', NULL, 'milfs', '', '', '', 0, '', '', NULL, '', '', '', '', '', 0, ''); + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `empresa` +-- +ALTER TABLE `empresa` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `estilos` +-- +ALTER TABLE `estilos` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `form_areas` +-- +ALTER TABLE `form_areas` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `form_campos` +-- +ALTER TABLE `form_campos` + ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `identificador` (`identificador`), ADD KEY `id` (`id`); + +-- +-- Indexes for table `form_campos_valores` +-- +ALTER TABLE `form_campos_valores` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `form_contenido_campos` +-- +ALTER TABLE `form_contenido_campos` + ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `control` (`control`); + +-- +-- Indexes for table `form_datos` +-- +ALTER TABLE `form_datos` + ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `id` (`id`), ADD KEY `control` (`control`), ADD KEY `id_campo` (`id_campo`), ADD KEY `perfil` (`form_id`), ADD KEY `id_usuario` (`id_usuario`); + +-- +-- Indexes for table `form_grupo` +-- +ALTER TABLE `form_grupo` + ADD PRIMARY KEY (`id_grupo`); + +-- +-- Indexes for table `form_id` +-- +ALTER TABLE `form_id` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `form_tipo_campo` +-- +ALTER TABLE `form_tipo_campo` + ADD PRIMARY KEY (`id_tipo_campo`); + +-- +-- Indexes for table `parametrizacion` +-- +ALTER TABLE `parametrizacion` + ADD PRIMARY KEY (`id`), ADD KEY `id` (`id`); + +-- +-- Indexes for table `usuarios` +-- +ALTER TABLE `usuarios` + ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `email` (`email`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `empresa` +-- +ALTER TABLE `empresa` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7; +-- +-- AUTO_INCREMENT for table `estilos` +-- +ALTER TABLE `estilos` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=34; +-- +-- AUTO_INCREMENT for table `form_areas` +-- +ALTER TABLE `form_areas` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; +-- +-- AUTO_INCREMENT for table `form_campos` +-- +ALTER TABLE `form_campos` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=74; +-- +-- AUTO_INCREMENT for table `form_campos_valores` +-- +ALTER TABLE `form_campos_valores` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2366; +-- +-- AUTO_INCREMENT for table `form_contenido_campos` +-- +ALTER TABLE `form_contenido_campos` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=82; +-- +-- AUTO_INCREMENT for table `form_datos` +-- +ALTER TABLE `form_datos` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=53; +-- +-- AUTO_INCREMENT for table `form_grupo` +-- +ALTER TABLE `form_grupo` +MODIFY `id_grupo` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `form_id` +-- +ALTER TABLE `form_id` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5; +-- +-- AUTO_INCREMENT for table `form_tipo_campo` +-- +ALTER TABLE `form_tipo_campo` +MODIFY `id_tipo_campo` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=18; +-- +-- AUTO_INCREMENT for table `parametrizacion` +-- +ALTER TABLE `parametrizacion` +MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; +-- +-- AUTO_INCREMENT for table `usuarios` +-- +ALTER TABLE `usuarios` +MODIFY `id` int(32) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7; +/*!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 */; diff --git a/milfs.sql.gz b/milfs.sql.gz index 091205d..3993e23 100644 --- a/milfs.sql.gz +++ b/milfs.sql.gz @@ -3,8 +3,8 @@ -- http://www.phpmyadmin.net -- -- Host: localhost --- Generation Time: Jul 10, 2015 at 09:00 AM --- Server version: 5.5.43-0+deb8u1 +-- Generation Time: Jul 27, 2015 at 07:11 PM +-- Server version: 5.5.44-0+deb8u1 -- PHP Version: 5.6.9-0+deb8u1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; @@ -132,7 +132,7 @@ CREATE TABLE IF NOT EXISTS `form_areas` ( `estado` int(11) NOT NULL DEFAULT '0', `orden` int(11) NOT NULL DEFAULT '0' COMMENT 'Orden en que se muestran las areas', `id_empresa` int(11) NOT NULL -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- -- Dumping data for table `form_areas` @@ -160,7 +160,7 @@ CREATE TABLE IF NOT EXISTS `form_campos` ( `identificador` varchar(32) NOT NULL, `bloqueo` int(1) NOT NULL DEFAULT '0', `tipo_contenido` set('1','a','s') NOT NULL COMMENT '''1 numerico'',''alfanumerico'',''simbolos''' -) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=latin1; -- -- Dumping data for table `form_campos` @@ -176,7 +176,7 @@ INSERT INTO `form_campos` (`id`, `id_especialista`, `id_empresa`, `campo_nombre` (6, 0, 1, 'Telefono', 'Solo números', 3, 0, 0, 1, '4a70495abb15d926dcc031e58b67fbe4', 0, ''), (7, 0, 1, 'Dirección', 'Escriba la dirección completa', 2, 2, 0, 1, '400864ef5b72242c7aa78edaa83854f3', 0, ''), (8, 0, 1, 'Actividad', '', 1, 0, 0, 1, 'e92ff0595452708abc9e7bfe698eafd1', 0, ''), -(9, 0, 1, 'Descripcion', 'limitado a 140 caracteres.', 17, 0, 0, 1, '34b1a570180e02f1960e7d7a25e23002', 0, ''), +(9, 0, 1, 'Descripción', 'limitado a 140 caracteres.', 17, 0, 0, 1, '34b1a570180e02f1960e7d7a25e23002', 0, ''), (10, 0, 1, 'Mes', 'Los meses del año', 8, 0, 0, 1, '400ba32128df67eb162fb753e8cfad4c', 0, ''), (11, 0, 1, 'Entidad', 'Nombre de la entidad.', 1, 0, 0, 1, '9141fdf92fbed44d18789854b537868e', 0, ''), (12, 0, 1, 'Cargo', 'Cargo en la empresa, no es un campo obligatorio.', 1, 0, 0, 1, '16011685a8337f9c38e988652969a96f', 0, ''), @@ -229,7 +229,9 @@ INSERT INTO `form_campos` (`id`, `id_especialista`, `id_empresa`, `campo_nombre` (70, 0, 1, 'Dc:imagen', 'Cuando el recurso es una imagen', 15, 0, 0, 1, '9311f72e48bc310eaae4f6fb20e72123', 0, ''), (71, 0, 1, 'Municipios Colombia', 'Combo select de los municipios de Colombia', 9, 0, 0, 1, '659f1f0dd0b16b94df7095523fd0c631', 0, ''), (72, 0, 1, 'Referido', 'Selecciona un contacto que ya esté incrito', 10, 0, 0, 1, '930227d7199cae1e3e305faa37655029', 0, ''), -(73, 0, 1, 'Fecha de nacimiento', 'La fecha de nacimiento es un dato privado y no se publicará.', 11, 1, 0, 1, 'aa9c7429da7bbf0d105cd31c789e888f', 0, ''); +(73, 0, 1, 'Fecha de nacimiento', 'La fecha de nacimiento es un dato privado y no se publicará.', 11, 1, 0, 1, 'aa9c7429da7bbf0d105cd31c789e888f', 0, ''), +(74, 0, 1, 'Buscadorcito', 'Campo demostrativo de buscador', 6, 1, 0, 1, '51641d0685c0f8cbcf6e1f58fa8cf93c', 0, ''), +(75, 0, 1, 'Código', '', 17, 1, 0, 1, '27e60ae17ac1c332daa5f72af159558e', 0, ''); -- -------------------------------------------------------- @@ -242,7 +244,7 @@ CREATE TABLE IF NOT EXISTS `form_campos_valores` ( `id_form_campo` int(11) NOT NULL, `campo_valor` char(200) COLLATE utf8_spanish2_ci NOT NULL, `predeterminado` set('0','1') COLLATE utf8_spanish2_ci NOT NULL DEFAULT '0' -) ENGINE=InnoDB AUTO_INCREMENT=2366 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci; +) ENGINE=InnoDB AUTO_INCREMENT=2374 DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci; -- -- Dumping data for table `form_campos_valores` @@ -266,7 +268,6 @@ INSERT INTO `form_campos_valores` (`id`, `id_form_campo`, `campo_valor`, `predet (16, 14, 'Amigo', '0'), (17, 14, 'Privado', '0'), (18, 14, 'Ong', '0'), -(20, 9, '140', '0'), (21, 19, '100', '0'), (43, 51, 'Collection(colección)', '0'), (44, 51, 'Dataset (conjunto de datos)', '0'), @@ -1660,52 +1661,46 @@ INSERT INTO `form_campos_valores` (`id`, `id_form_campo`, `campo_valor`, `predet (1432, 71, 'Atlantico:Santo tomas', '0'), (1433, 71, 'Atlantico:Palmar de varela', '0'), (1434, 71, 'Atlantico:Sabanalarga', '0'), -(1435, 71, 'Atlantico:Ponedera', '0'), -(1436, 71, 'Atlantico:Luruaco', '0'), -(1437, 71, 'Atlantico:Repelon', '0'), -(1438, 71, 'Atlantico:Candelaria', '0'), -(1439, 71, 'Atlantico:Manati', '0'), -(1440, 71, 'Atlantico:Campo de la cruz', '0')}vH>S*PUgOd6I1ɐzTgΡGj EM/g16lȪTRąîξ{RT"\UvY!B:xP4+ʒ6ú,D3t(B=*RV|tn),b8wY]hKQh IEF0mh.kv]$H#U) -Yi.(R41A󥦲 8 j 4}}[W9g\܊l X҆LfUrU/LV8M -,T|!x"I7,03рYN_2ŧr>& NȹXjÌh">5R&\6`ˢZd,Ba#Nyi3.*c 0@@Df6CuT)G ˕\yM4%\ s2+lA`E1 lK)҆xAM`x28O0yJ ѩ4+̳r) BWszA¢S D$Νh+I *yॐ_@kˣu!(kB0l/ˍ{h!)4nz[KQTP` bhI0*ތ - B%5oMBaL=}ajt/[=vAsa*r|NGQ>k -ƋyKZ=}N -@>CNrolh$VJGz帟&?kꯤ`GJ|: |j{Ap*L13L.)&I. b*VD)*g)*d?+ "PJfrMP#薗P׎j o <D_5jhF1k&B4 gHiS "1aØ -wV@Cs0jP^BҗaL -s å*k%c6/DTOi&\kf*уffMxجh1:L|EB&Jk UL <eZ><*Bs05O SnS!rccT&0 >EjQ@znY%* -(JPaDs6 -hbWPJuQkB_A^&'縥h])6w{R U( % v 3-Hm3t^/[ffq{FbMvFt :Pjq͔?65n@E tDD@A|^P*BNԭ&ѯѦqIDkޙSpn ƬxG7G&}̑yaQPJ 08K X`j 0.KF1oUa5Ɓ -k9mS0h%(L-Q̙ydz]- e 24!{%J#E&4atfN֌m9)kYQoN2ΎmJQ6 ZxIx6m2JXy䲦{#͉= l?B$ R$N zԊrAabdxmQb&ո^l?I+c DJhhFu+ڴ(hFp\L2m#Mg7S}e[:cՇT)ȑ*+ѩ6ҤzI1dx#v\uYWu;FpwM`F6l1bP#MJ.HֹNc$jRs4'O3t9kK*1Q5m]#K%]#Ozm+v,;E5r3wftr욹n7i-{fDHU]HQ% ƞ|r=#CX(H^j%gEX72N#:F~TLO\iXkM> ]bL]}#Q3Yb xf\M#1TuɧD`P높 - -3^*%,4PsV -1xALLu`$夣K,q`$`"4SY'#-5 HeWi971IԞFJf9F>Nj\F>e^t"p7m84Rob]Eef.;/YJvZAӡ[][0]VQ#Iƺ2%GVPo! EL!^_?(zyԱPC_̣:˪Ɓ06£l) $,Da޲:ʼndL{UqǔBm:RN\*U wAq`?an:br-2pp/ĚT?dQaZ;qX \"*R ce -Pl9P/ jhh-<kE[gx>",d6'^,aiq|AZBPTWu#VtvBu9"6$]jT5ik8AV@OC `IH&/O;&"?+ȵW16k ILhH=@.zc٫r 'QF})zt> -".юV"9(s(R6ܪKJՎΘnQS>5xٜau[zoZ2!^d|f="0LʸQZV_e13^) 2`h&K:g` =]ځ -uWǣPY-!jVą-lx.v6k\̠DKq?ݝ GS")`g*7&wј"n"g{poBnS%1@"Зi LOM'n7RkGLڧˎ9$I_|!&哮bMһIhm%Etmxy - !zNEL;f㘦EMcjX4fG]>+昫oipkMg d13WzA<ܷhOrc׮:AH(2CPɞ젹=4Mvp5]Nv.Kv2]g|c$!v  Fv%z)ܳeul=nAȳKNc IR<5sK\5=IE;\`f͙ܳPݱw~CaF2h;DKZwv}&pOF;Vof+y -;XV-hۻ2j)Eo-v"z"c-m]Rt遍3 F؍ۺY{`C7@] -"{8'7XHQ[l.w5J묦0kWTyQeJ=36  Aa'l`ˤf,'l0Xd儱 ȹ*g "SAg-j g,l071eEЧ2t>>XUEܼ5jXZ"]z\ vbO]X`p& E踟+ [x\[L6HhZXr4ʎhPb@Lj褨nE tRުz@',E+NΥlp3ymZm`{&h̊.q= X,{nxM X4 a$zczP'?)Z*a}hGC+:`1iQYJkOmQĬ#ɕ'}Em졭`Dfd)4уbujJs1B0:/XΜsf"bFΊYe#r AATHX餼%ϑNǹ(Y<GXt.LYq$b UOlTN9.}(]g` :+c!s 3G:Gt@:%cL04+B9Nĭ8/PEJtL15*DCd20D%?0)kQW褜mjYZ8gaB4MsM 6;/5 SN%;@:!gHWj ][$G_F'#KZrm :-&rʐ:FbLmS,i:Fsaؘ 8E@,!#ZqB[Lk]֐{f JI  @UKA-9s25g:A?(]NJiI\O'v-%:ڀҩP9qȮoH4bRЍ+BeuU)cnރAB˜Y]vO.ݲHY+^gG LiOV &&~\9M"1 *cc /=f%3r>72H8 rEWq݀ -) taނ;'H*r͆TG2 TܐJ\ FQC*w^  㒩ОB -9sc6<@XK -ҭ} َ+w̃P_:f_Xws~Lv7͝M9`xE rZ#.bU2܈IY%ڶe193|&ٖ7fb>tɍ'G< b&`r1+&V8 Ωc̭CbcAsGU.- c`?ҝinE).&c\c[Wi p`RD"$cb^ 88{ObA&h.*`xu*Y͆@zP2TW5436l*d0sZyTʳh ToAɎBϣTkj:<*_Sj&J]Q!Aڜe[ócĺx?۬?|.VQ_8Ώꎋgg?X\a_?a_uEz@rh?;]hoݛ|8U[ˮ\R>e:??n?uRV_6?Ar ‹9jaLXenE֩7$֝vs1~/ޝ^t~z}pn|9q\?$G?\]~¶6 FvKH V#ujf^?TS'ڲU}.7to/`u?{۷TJY'^$tD8ye4 -  wzWŞ?yy̟{RtA tb eϏ\'MBN84" BWF `޷g(vs9s/rR vf"ϝj,Foa I{B 4wd<<+ʼ%x/g'Ƞ$oa$"V-`A@Xn,24ԝ /Ji%~@s)"iNa<'jGknt"G'I",v~lglٴl+SEnDya- ^Qܞd"\.;sC[ -,:SxF ]Pn'NuѠJ(ў~GDZI -iyQ߶j@PB|2oGQ:E={$=:*`,ֺHջ3:{?N::uRIkZWE }tC9ͬTh3q'^sX ~o`Sj{1z#R~>XTMbծ/ɊP\J-Ïwx OF]%urVYeuP\%ض?3+Wyaޖ% VS㠥ՏUhKYʒ0Ϟ5:vΪz`sK1od~oI?mOWIXvzi{/m9-}LZ>K Ue^¯ꋦ?>ǰOI\֯jaM$z,Γbkz{JR8n v\գ+}d uժ^]+Vv_sy&AY>IO1=LQޢ9y}m_5`}E['|]j'TmYҷDcH4SH0>t n*6'FjC,\`{r۔za'wd,EF1,l}?bG -pO 0p9b\P;Nۃ4nVl-۴ԧl4oH:?=;~NWKFilgqEm'߼/txA 7Pzyr~ a_;kf)N";{On4-%+9 Ǻu8Ͳ~hoSO@Uw'5<` ]^ynIaxR0@]p:ӃgO߼/}uwgtKCnHtҍm?t# 7ps5xiQ_4]E2, c~'XuMO\žWWJN^z$oahﰀ'Fm|JP):u -GȤVVDЏo UDd!xgg.' n9 -UZxVz[=tq^pq7و&7nj w_xֿZ./m@2}cE{Xڻl:w O]Y[/8\q~NW^Y1xttKb5l~0xovm x/Ӓ?fm\Ѯ5o<'~ֺ6n∄M7= R5I(Te(4k8?.ksb-Su굳QWgxkoq~[\ݰѕΰ`\p^wk G} +`Zimp٬,&ܨ މ];ū`f~*^c٬읪%Tl~r6K3{W[4fmdgOkw`| io~b'AC^^o]z8i+4"h"ZVrAzff=N r SXM L9'^wq?8/z~'Dz7ꟁ#x(6m`u#V,'{xHlL9/܆9<_BN~;wH|/N|aK&3ooS{#k;B ~9ڍnrmC\}ny/rRɿ@?xZUjʼWm7 ں-De胷[oǟz5wi?Q:U'~vמbWpqcxZU~O11@?o:gX' ; h!v'7{e,}&?`Bݾ) -,^L'.KO>\3>p muT5b5%)< bgOԔ.WCba1\vzӓOK>ѿ{u$#G(:+'9g C{zb{3z0xg]yG]e"] ;{lCV1w8~̿ێJXW"_ߟ1]!650\27G/.ǡu5 \ No newline at end of file +(1435, 71, 'Atlantico:Ponedera', '0')}vH>Sf$Pu4IJԣ:s2pi0]%qJ!o2]8>qN/n9fMeneմjSY|w Cÿ.[UjDO·8ԥc yԣ_UV̈>\q4i@a4d3Qԥc&^`hP %K҄7j}S5qj"e>j@`%E1SeI$>S* ƸA1e-Z.en$F.DM50I_vM-Iy5Li׊|fyC;P:0Hw0Yv+)ki96D.kI\Q30:J[sxmyGgNd{SfrEӼ(`h2 +]0#juq/2fBk" 0,᪙Q_rw@O>%$0!Zœ:S6,L,",d=s&h]=PJ"&b4"&s0TІyqfQޡ5kQp#~=iH}mxۏ2gn8fRKfZK=k}Jea^[.vfیtrı=Y eU'6 G!dmrgiH5J0w_: b8 !)RB$|evq/$|LۄcZ0 d E""Sqnh3J;KA&fyK/gPaF aTD|12]a,O5?4]P\_-/b>*!v"gU烺Zt%% ChÓTP gf'`tj +lZ\Yr( dp<[%y.Ԡb^J|-0cyɻUWbu͙KAc Bvso__+s**1@`] + QEQp Z"8xc8`.!n)"/ެnZQ4p|-i%S]}&ᓲf%& }&0FU,цBF (,0讖L +,mKS5AfsYI0q X_d/d"/q`q=Fk5TtU0"Pa58 +\Ѻm"В e@]d V*x3*еaTά4CϛV1 }ѽX$+ Ug|:H 99dZ_-/!庩h89)at];a˽qe`'V8ºG>6Y|!8 +8Tj׫(䰡J^-s%φT(ላf8JڲpbCS߾Q 2 .T4* "x * ~Q:$C7k?Jfl_u"NlZb\vN3h,[>m.B(}iQxLв .eGbPDo3 DHGq>0EDGduX"& \b_F-McfrILqB~` rIj*\s6NpoJ}hN'!W *KH +"NXyaBz $5Iِ)┋t,cJ%zιL}S^75-FiT\-;qJEzլh&Ry*khTXzRy{PKE +(!Bc&% 6h'Z9Tq%WVQ,аWxT2v  & ƃJ|Y0X-|fTvOE"65G_wԸ ?6D@@KP ׏YDLƝ՞U"rmQd7\Me|(@TgӮJcǚ)` lb1PT$&0 !Ej"b=]X%JDTGXw҈0I"9R+"*k%"*ZKND&d=䥨Xn Hl q[U#ݦSL[:Ռb NPX`0V%IY6C@͂mF8 m>86RkTlA2Bgk-.md" bC:RRs*0ԥn%~~6EK:07-Fp%zg_"vN obN`SY&d )iO-7RVnN$aDje磄H;2JVs S+;Ǜm T&{C$L\+?')Z1-iV0J [}wjM2Ȣ#F4q4)LmL\+W30+GP,/DJϛsʓGY:H%d mؒgeءxVk5gp+Y&3}>~2 HI|\R+5]?ķZܷdֶҹY{#ZO|+77\9|+3NМnXN|;7P:N\q6L5'f`H/Na='<,SB+W \kآKک+}Ih%FZZ/S֬Ԝˢ- rsDw#&jR#+vuIaV2QJQY@B$ +heGXGVRN:ĒDVRJ&B;%X]u$rذ`/\v|t) Eyl9I× ǹ*J֠_U Ib+%Hz4u7/*iG|de&;lM+9xLV=5DXeJͩv@F<l띦it9Y6JumHlx$U)i0cnK+A \:#ۢY4N`z媣p0g%'%B_p셄K;텄+r:zP0ps4+ %Y{Ie^DcH̙5h.g%$CZd@0-Bwxc{>Gj YKFj$\fnǩpMzyRuDXB؀;p}bE!/T%YJvZCXС[}[0]VUǙwc`Ygc`đ#cB?utTk<@^u,ƒyV@@q- * + 7 2 [1Q8)*\mG +ܩOjؘgW&%h&} `N}0Їh\%L:nTrFQJ0:K:2>b[|\H.M ̪2-Χ>ZIn61A6ͩͱjYf1Q(+E%S԰wLq fȗ`9!A!RuIUẗ㩚%/ӔPpQ"H 9VR"lSk҄ )OBMiJųZSU껮JC}OM"m E"6*p >W+f!>#tMW PWXڧ%KIt$W& SXt\5Ix_{}Jt> +".юVTdoP̀j!L) n)vj` gk7xڍdqRA/ME{b2>]"0LʸQZ)?1a,0YctwRA2`h&KzL7` SƅMףVAK +–_j6wC.fP|gHW 0L7:7&그јYևtІ"cD1M7A-n)"v*IfҵT ۶J4<>T# ;@nMtRF.Phi((QqZ0kJީwQj5ᒪAĭw{:3^h#/K̑jλm˂mXoMiI"GC,ޚ&oP +&EG, I/a_IY.i-%>޵ GGh{1'ǟQ 4/nST ]B1+D8O(oTcj}E5#|_0%l\-q =AR_NdYHv| BI'{F#P>TQGb|> BˆOad>Fȼ7(9o +d_.w.2ꁽcx@XOpIKXN`:N c;%@su@!aEef/X[;4JAXY`l'&,qpy`K_m*"nNM7Hl0߀,$0 zu70ܸI(o/lQ8/:' +7^- QCJ1;&+ZZGP>E&)v^2"7D`Eh%2ɹT-Pn&Ǧ6=&E6AdVuIbM[?x N1iH:J$,N~,Sl!5LLў~[tdcbҢZ $\YsG+/'NC[7;ŬSl5:&ՔFb9sαI_%^A&9Ɋ]eI "uatК59RK YtˊkT>c?&=`V_j~"})`Vz` `)$5ހ2Vn +AKmV23##*k(b-t׏{737)~;zIEnؐH\1eSiKƈ%>~hWL󰥀SQ +rPiZoP%nlxv\c<Υcdw3+DH+0WV.geEZpX%L:5-ݡ&3Ŷ nKN~¤|ο L}4ZѼ a60 "*`jiObc@zK909`$ZcHLqL4hʥ\a L9xC3Oe ť~}w҈kx# SL&-';4`H/9YH*7p}˜l酋bӰa2d1pn)F1IGM\&샵dz}fe?O3 6"3}OHܳXj0#=@eHD K`0{ծǼK3q/dEGK$".o*eK!TG~"6\Tϩlo6*׃bjp1TfT- v?eЫ4 *ku϶a74RQ޴L7kmAȴs + ČMWu*7dGaP~l 5- Bc@ +CξJmY!AƜ1e06%UoH婳"ǎnB*P5tbyQ{JW%%9uzF[Qh>ʷ[L.QD!`#"Ih߯.[p3Lc^Cl%%bL6qNےQS8{/D2$?"i} q*L_{xb/$ax{^HB8i:M([mV^#/?|8Lr_I_9pRm7j>s?];7gs97׏=çGI?qlǁz+8{?هUsRAx{Oѻ3|n=KnWKO;6/7'nP޺EWeP6 _L?uJ߆ߜdzc*v.N>9k 'w7$藃㛟M?Q7RS@D;>qN/n=TS'ڲU}.7to?T`)f/V/H“i, +LD"*~ZÓ{I΄729+YT*?nB{Yn&EgiJ^^~p`6y垛Ds`2/n(nFoqIqIEiVx*`Vĩnqހr D~w8IS"El U"qG2%" Ds@-y`/gJ +'Y^dq",d%QZb Q`Sl?!1>| 6bɇ< 6b+ii`)(0`)0›7yCy޼)o^+6iCqڦ=k(ڔ4' ZHrB gS{ +-Ms{PR)aʼ^}' )r_xy%y?Taʇwg} <7 |&g`$A$n8'0Xf3n3HV`ә)tjdkuڬ73E`Tb~/1\-26׵7qaR@- PnLcF0dÆODJ/SYd)MN\?wzdq8 / $,Gh b;+WۜϥpSr;=*gFܓW0Y?FmHCL> s?Kan{|R V+Dı#RO$yyam@](50[ #7&yŞXX 3-b,feed'g=Mr8BtS `O7f[;zj` ?9k5p].pb9宭C>U9Ua{̼7<JcWxdz±AoHDFbTtZFeh|=+x>ᇐI]dT0= 岞@#R5Z0LdAzn<"UAV=b~oIwrիCӭL̛ū:?Y#BY}|FAItJ'+g]f}4B::礼WMʹ*Mh\?o|(>'ze>I_79LZ9xM^>Dɒ>mr _uT]u>6tOڇ=ILX0YyJ;/V~'Q[DJg9UePB{ض?#/yĘV bA+O ,ʣ-uƯkjG<{>9^ p-ŬUŃ3^m}M 7xzi9Sys\ȹr~ѵz ㇲPͫ`\>eїG?#D8\/ylvM//\j + +'0n됰s3㢩Wz>\իJ_Fs2AU=IO=LQ9}m_`}e 1pߩ7v=&L X_<Uf%.gFq.Ca1'ԿmNw6*65m]n ۆ__]c>ryN/2k*_q?=Y޼uu:M[YÅ0Z̼O履l.~soSlw+ׯ - r\ kkmP0q bw +uq wv-tYWԶGOGMU鍤+e< YWh9szSuP}S>\4]岊= yH.V\M£>ox/סx${EwX;, vyS7߳wͪ[V;BuGJx|"7HƸD%!g7/g/.sZ5 +i>Zxˬ~WVX{YY󮔷XݿF췅vۀEo[Nb1./ϯk_5 n+p{mߘ[Ζ~aj': _{qNجhՈxrktKr9l~<0DXp^U qE|yɳ.0 1ۤo{&F tP6bhTn>q-ߛ4n˽R:$xBzâae=}/ {ܜ֋E`s0^m~M0qCџ6`$~ ?n_iRowT(/56o{ _RYX?~[v2L%*fjtKRQ,-]mä~6kC=9~5|ڣ=eXPN{;4 + yn0~ZK>/WnڢJP0 [oakDN)0Dحa[_9nNn A\~/㩨mף9E;bw?: +En1b O7 㺯?y]5]mS[M$'̃!6!nƝV{js=5aXNjn&-ۅ-2]2nNq4- ̚u3o嬔=S%[_(TyVu<>?5w>@="'.p"nt[+ Nk:Ѳ{b'ub'&k4;CoL}dNv[g8 7ʼOrgBY,Y[" +?RAUYߛަ+jȺX*"L|u8{zG͵ }c/jSɿgA?xZoj5TEq3hFqp޶8o8WWq]{ǛFh@|sCKϾɱn͇4/?k]>mc&c݂[  ؓ4:;:s,g'٣"tHlV7EcxF߾U%͇Ϭo>|ʷ:~jjNfS}lҟة)0;']n?yVYێi[Oޜ|y0Ux#y0'I>9t4ot,P wg /8'8H =q$Opۑ + + + + + +"; +return $resultado; + }else{ +if($id_form !="") {$w_form ="form_id = '$id_form' AND ";} +$consulta ="SELECT * FROM form_datos WHERE $w_form contenido like '%%$valor%%' group by control LIMIT 200 "; +$link=Conectarse(); +mysql_query("SET NAMES 'utf8'"); +$sql=mysql_query($consulta,$link); +if (mysql_num_rows($sql)!=0){ +mysql_data_seek($sql, 0); +$fila=1; +$divider=3; +$cols = (12/$divider); +$i =0; +while( $row = mysql_fetch_array( $sql ) ) { +if($i % $divider==0) { + $encontrados .= " + +
+ + "; + } + $i++; + /* $contenido = htmlentities($row[contenido]); + $p = stripos($contenido, $valor); + $s1 = substr($contenido, 0, $p); + $s2 = substr($contenido, $p, strlen($valor)); + $s3 = substr($contenido, ($p + strlen($valor))); + $r = $s1."$s2".$s3; + */ + $datos = contenido_mostrar("$row[form_id]","$row[control]",'',"$plantilla"); + $contenido ="
$datos
"; + + $encontrados .="$contenido"; + $fila++; + if( $i % $divider==0) { + $encontrados .= "
"; + } + } + } +$resultado .="

Resultados de: $valor

$encontrados
"; +$respuesta = new xajaxResponse('utf-8'); +$respuesta->addAssign("$div","innerHTML",$resultado); + return $respuesta; + + } +} +$xajax->registerFunction("buscar_datos"); + +function datos_grid($id_form,$filtro,$valor,$plantilla) { + + if($valor !=""){ +$md5_valor = $valor; +if($filtro !='' ){$w_filtro =" AND id_campo = '$filtro' AND md5(binary contenido) = '$md5_valor' ";} +} +$consulta= "SELECT * FROM form_datos WHERE form_id= '$id_form' $w_filtro GROUP BY control LIMIT 250"; +$link=Conectarse(); +mysql_query("SET NAMES 'utf8'"); +//mysql_real_escape_string($consulta); +$sql=mysql_query($consulta,$link); + $descripcion = remplacetas('form_id','id',$id_form,'descripcion',"") ; + $descripcion = $descripcion[0]; + $buscador = buscar_datos("","$id_form","$plantilla","grid_resultado"); + $contenido = "$descripcion"; +if (mysql_num_rows($sql)!=0){ +mysql_data_seek($sql, 0); +$fila=1; +$divider=3; +$cols = (12/$divider); +$i =0; + +while( $row = mysql_fetch_array( $sql ) ) { + if($i % $divider==0) { + + $contenido .= " + +
+ + "; + } + $i++; +$datos = contenido_mostrar("$id_form","$row[control]",'',"$plantilla"); +$contenido .="
$datos
"; +$fila++; + if( $i % $divider==0) { + $contenido .= "
"; + } + +} + } + $resultado ="
$buscador
$contenido

"; +$respuesta = new xajaxResponse('utf-8'); +$respuesta->addAssign("contenedor","innerHTML",$resultado); + return $respuesta; +} +$xajax->registerFunction("datos_grid"); + function insertar_registro($tabla,$formulario,$div,$principal) { //$valores ="$formulario[0]"; @@ -75,9 +192,9 @@ $resultado = "$muestra_form"; return $campos; } -function formulario_areas($perfil){ - $tipo ="embebido"; +function formulario_areas($perfil,$tipo){ + // $tipo ="embebido"; if(func_get_arg(2)=='respuesta'){$control =func_get_arg(3);}else{ $control = md5(rand(1,99999999).microtime()); } @@ -216,20 +333,20 @@ $muestra_form .=" "; -/*if($tipo=='campos') { - return $solo_campos; +if($tipo=='campos') { + return $resultado_campos; } if($tipo=='embebido') { return $muestra_form; } -*/ + /// fin cierre form // $resultado .= "$consulta"; //$respuesta->addAssign($div,"style.display","block"); //$respuesta->addAssign($div,"innerHTML",$resultado); //return $respuesta; //print $muestra_form; - return $muestra_form; +// return $muestra_form; } $xajax->registerFunction("formulario_areas"); @@ -594,6 +711,76 @@ $resultado .= " } $xajax->registerFunction("relacion_render"); +function buscador_campo($id_campo,$form_id,$valor,$name,$control,$tipo){ +$div ="div_buscador_$name"; +$onchange = " xajax_buscador_select('$id_campo','$form_id',(this.value),'$name','$control','$tipo'); document.getElementById('$name').value='';"; +$onclick = " xajax_buscador_select('$id_campo','$form_id','','$name','$control','$tipo'); document.getElementById('$name').value=''; (this).value='';"; +$resultado =" + + +
"; +return $resultado; + +} +$xajax->registerFunction("buscador_campo"); + + +function buscador_select($id_campo,$form_id,$valor,$name,$control,$tipo){ + $div ="div_buscador_$name"; + $respuesta = new xajaxResponse('utf-8'); + if($valor=="") { + $respuesta->addAssign("$div","innerHTML","$resultado"); + return $respuesta; + } +$link=Conectarse(); +mysql_query("SET NAMES 'utf8'"); + +$claves = remplacetas("form_campos_valores","id_form_campo","$id_campo","campo_valor",""); +$claves = $claves[0]; + $claves = explode(' ',$claves); + $formulario = explode(':',$claves[0]) ; + $formulario = $formulario[1]; + $key = explode(':',$claves[1]) ; + $key = $key[1]; + $descripcion = explode(':',$claves[2]) ; + $descripcion = $descripcion[1]; + +if($valor !="") { +$valor_actual = contenido_mostrar("$formulario",$valor,'','5'); +} + +$consulta = "SELECT contenido, control FROM form_datos WHERE form_id ='$formulario' and (id_campo ='$key' OR id_campo ='$descripcion' )AND contenido like '$valor%%%' GROUP BY control limit 50 "; + +$sql=mysql_query($consulta,$link); + +if (mysql_num_rows($sql)!='0'){ + +while( $row = mysql_fetch_array( $sql ) ) { +$campo_descripcion= remplacetas("form_datos","control","$row[control]","contenido"," id_campo = '$descripcion' "); +$campo_key= remplacetas("form_datos","control","$row[control]","contenido"," id_campo = '$key' "); + if($row[control] == "$valor") { + + $selected = "selected"; + }else{ $selected = "";} + $resultado .= "
  • + $campo_key[0] $campo_descripcion[0]
  • "; + + } + +$resultado .= " +
    "; + }else{$resultado = "
    No hay resultados
    ";} + + + + $respuesta->addAssign("$div","innerHTML","$resultado"); + return $respuesta; + +} +$xajax->registerFunction("buscador_select"); + function relacion_select($id_campo,$form_id,$valor,$name,$control,$tipo){ @@ -609,6 +796,7 @@ $claves = $claves[0]; $key = $key[1]; $limit = explode(':',$claves[2]) ; $limit = $limit[1]; + if($limit =="" ) {$limit = 20;} if($valor !="") { $valor_actual = contenido_mostrar("$formulario",$valor,'','5'); } @@ -1205,7 +1393,7 @@ return " $presentacion"; } $xajax->registerFunction("aplicacion_presentacion"); -function aplicaciones_listado($id_form,$tipo){ +function aplicaciones_listado($id_form,$tipo,$div){ // if($id_empresa !=''){ $_empresa = " ";} //if($tipo =='publico'){ $w_publico =" publico ='0'";}else {$w_publico =" publico ='1'";} @@ -1230,7 +1418,8 @@ if (mysql_num_rows($sql)!='0'){ $fila=0; while( $row = mysql_fetch_array( $sql ) ) { if ( isset ( $_SESSION['id'] ) ) { - $botonera =" " ; + $botonera =" + " ; }else {$botonera='';} if($i % $divider==0) {$resultado_inicial = "
    ";} $i++; @@ -1242,9 +1431,9 @@ while( $row = mysql_fetch_array( $sql ) ) { $nombre = $row[nombre]; $contenido_listado = contenido_listado("$row[id]"); if($row[nombre] =="Portada") { -$nombre = ''; +$nombre = ''; $resultado_nav .= "
    "; }else {$resultado ="No hay datos ";} //if($id=="6" OR $id=="10") { - + if($tipo !="" AND (!is_numeric($tipo)) ) { ////Usa una plantilla apra cada id -//$plantilla = remplacetas('parametrizacion','campo',$id,'descripcion'," tabla='form_id' and opcion = 'plantilla:$tipo'") ; - +$plantilla = remplacetas('parametrizacion','campo',$id,'descripcion'," tabla='form_id' and opcion = 'plantilla:$tipo'") ; +if($plantilla[0] =="") { ///Usa una plantilla generica por nombre -$plantilla = remplacetas('parametrizacion','opcion',"plantilla:$tipo",'descripcion',"campo = '$id' ") ; +$plantilla = remplacetas('parametrizacion','opcion',"plantilla:$tipo",'descripcion',"campo = ''") ; +//$plantilla = remplacetas('parametrizacion','opcion',"plantilla:$tipo",'descripcion',"campo = '$id' ") ; +} if($plantilla[0] !='') { $plantilla = $plantilla[0] ;} -else { +/*else { $plantilla = remplacetas('parametrizacion','opcion',"plantilla:$tipo",'descripcion',"") ; $plantilla= $plantilla[0]; } + */ + } if($plantilla != ""){ eval("\$plantilla = \"$plantilla \";"); - $full =" $plantilla "; + $full =" $plantilla "; }else { $full= "
    $resultado
    "; } @@ -2163,7 +2406,7 @@ function subir_imagen($respuesta,$id){ ///vinculado con la funcion de javascript resultadoUpload(estado, file) que esta en librerias/scripts.js //this.form.taget= 'ventana'; this.form.action = 'destinoEspecial.html'; this.form.submit()" -$javascript="$_SESSION[url]/includes/upload.php"; +$javascript="includes/upload.php"; if ($id ==''){$id='imagen';} $size = ($_SESSION[upload_size]*1024*1024)." bytes"; $resultado .=" @@ -2277,7 +2520,7 @@ $respuesta = new xajaxResponse('utf-8'); $resultado .= "Importando formulario $perfil_nombre ($perfil) "; - $nombre = "tmp/$filename"; + $nombre = "/tmp/$filename"; if($accion == "grabar") { } @@ -2393,7 +2636,7 @@ $resultado ="Limpiar"; return $resultado ; } -$dir = "tmp/"; +$dir = "/tmp/"; $ficheroseliminados= 0; $handle = opendir($dir); while ($file = readdir($handle)) { @@ -2444,7 +2687,7 @@ if (mysql_num_rows($sql)!='0'){ $imagen = $imagen[3]; if($imagen[3] != null AND $tipo !='titulos') { $array[image]=$imagen; - $imagen_icon="http://$_SERVER[HTTP_HOST]/milfs/images/secure/?file=150/$imagen"; + $imagen_icon="secure/?file=150/$imagen"; $imagen= "$imagen"; }else {$imagen='';} @@ -2782,7 +3025,7 @@ function remplacetas($tabla,$campo,$valor,$por,$and){ $link=Conectarse(); mysql_query("SET NAMES 'utf8'"); if(@$and !=''){$AND = "AND $and";}else{$AND ="";} -$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by id DESC limit 1"; +$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by $por DESC limit 1"; $sql=mysql_query($consulta,$link); if (@mysql_num_rows($sql)!=0){ $resultado[] = mysql_result($sql,0,$por); @@ -3444,7 +3687,7 @@ if($tipo=='grabar_campos'){ $id_form=func_get_arg(3); $consulta = "SELECT id_campo FROM form_contenido_campos WHERE id_campo= '$id' AND id_form= $id_form"; $sql_consulta =mysql_query($consulta,$link); -$id_empresa= $_SESSION['id']; +$id_empresa= $_SESSION['id_empresa']; if(mysql_num_rows($sql_consulta) =='0') { $microtime = microtime(); $consulta_grabar=" INSERT INTO form_contenido_campos ( @@ -3933,6 +4176,9 @@ $consulta =" elseif($campo_tipo_accion == 'relacion'){ $select = relacion_select($id_campo,$id_form,$value,$id_campo."[".$item."]",$control,""); $render = "$select ";} + elseif($campo_tipo_accion == 'buscador'){ + $select = buscador_campo($id_campo,$id_form,$value,$id_campo."[".$item."]",$control,""); + $render = "$select ";} elseif($campo_tipo_accion == 'number'){$render = "(Este campo solo acepta números) ";} else{$render = " ";} diff --git a/milfs/includes/upload_archivo.php b/milfs/includes/upload_archivo.php index cf002f8..cec928c 100644 --- a/milfs/includes/upload_archivo.php +++ b/milfs/includes/upload_archivo.php @@ -9,7 +9,7 @@ if ( !isset ( $_SESSION['id'] ) ) { // Script Que copia el archivo temporal subido al servidor en un directorio. $tipo = $_FILES['fileUpload']['type']; // Definimos Directorio donde se guarda el archivo -$dir = '../tmp/'; +$dir = '/tmp/'; // Intentamos Subir Archivo // (1) Comprobamos que existe el nombre temporal del archivo if (isset($_FILES['fileUpload']['tmp_name'])) { @@ -19,7 +19,7 @@ if (isset($_FILES['fileUpload']['tmp_name'])) { if ($tipo == 'text/csv' AND $size <= 1000000 ) { // (3) Por ultimo se intenta copiar el archivo al servidor. $name = MD5(time()).".csv"; -$nombre= "../tmp/".MD5(time()).".csv"; +$nombre= "/tmp/".MD5(time()).".csv"; //if (!copy($_FILES['fileUpload']['tmp_name'],"$nombre")) if (!move_uploaded_file($_FILES['fileUpload']['tmp_name'],$nombre)) //move_uploaded_file($tmp_name, "$uploads_dir/$name");