1
0
Fork 0

Incontables mejoras y actualización

This commit is contained in:
humano 2015-10-27 16:35:37 -05:00
parent c00311c236
commit 29944fcd46
77 changed files with 12793 additions and 7075 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

File diff suppressed because it is too large Load Diff

0
milfs/api.php Normal file → Executable file
View File

0
milfs/css/bootstrap-markdown.css vendored Normal file → Executable file
View File

0
milfs/css/bootstrap-markdown.min.css vendored Normal file → Executable file
View File

0
milfs/css/carousel.css Normal file → Executable file
View File

0
milfs/css/embebido.css Normal file → Executable file
View File

0
milfs/css/estilos.php Normal file → Executable file
View File

0
milfs/css/images/buttons.gif Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

0
milfs/css/images/toolbar.gif Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 68 B

0
milfs/css/jquery.cleditor.css Normal file → Executable file
View File

0
milfs/css/sticky-footer-navbar.css Normal file → Executable file
View File

0
milfs/css/style.css Normal file → Executable file
View File

0
milfs/css/styletimeline.css Normal file → Executable file
View File

0
milfs/css/timeline/biggerdot.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1016 B

After

Width:  |  Height:  |  Size: 1016 B

0
milfs/css/timeline/buttons.gif Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

0
milfs/css/timeline/dot.gif Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
milfs/css/timeline/grad_bottom.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 986 B

After

Width:  |  Height:  |  Size: 986 B

0
milfs/css/timeline/grad_left.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 981 B

After

Width:  |  Height:  |  Size: 981 B

0
milfs/css/timeline/grad_right.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 981 B

After

Width:  |  Height:  |  Size: 981 B

0
milfs/css/timeline/grad_top.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 989 B

After

Width:  |  Height:  |  Size: 989 B

0
milfs/css/timeline/next.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

0
milfs/css/timeline/next_v.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

0
milfs/css/timeline/prev.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

0
milfs/css/timeline/prev_v.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

0
milfs/css/timeline/toolbar.gif Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 68 B

0
milfs/favicon-152.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

0
milfs/fonts/glyphicons-halflings-regular.eot Normal file → Executable file
View File

0
milfs/fonts/glyphicons-halflings-regular.svg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

0
milfs/fonts/glyphicons-halflings-regular.ttf Normal file → Executable file
View File

0
milfs/fonts/glyphicons-halflings-regular.woff Normal file → Executable file
View File

0
milfs/funciones/conex.php Normal file → Executable file
View File

0
milfs/funciones/convert.php Normal file → Executable file
View File

File diff suppressed because it is too large Load Diff

6292
milfs/funciones/funciones.php~ Executable file

File diff suppressed because it is too large Load Diff

0
milfs/funciones/login.php Normal file → Executable file
View File

View File

@ -1,92 +0,0 @@
<?php
session_start();
//ini_set('display_errors', 'On');
require ('xajax/xajax.inc.php');
$xajax = new xajax();
require ('funciones/funciones.php');
require ('funciones/convert.php');
require ('funciones/login.php');
require ("funciones/conex.php");
$xajax->processRequests();
?>
<!DOCTYPE html>
<html lang="en">
<head >
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="fredyrivera" >
<?php $xajax->printJavascript("xajax/"); ?>
<link rel="shortcut icon" href="favicon-152.png">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="css/sticky-footer-navbar.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/estilos.php" rel="stylesheet">
<style type="text/css">
body { padding: 0; margin: 0; }
html, body, #cupcake-map { z-index: 10; position:absolute; top:0; bottom:0px; width:100%; }
.leaflet-popup-content {
width:600px !important;
}
</style>
<script src="https://code.jquery.com/jquery-2.1.0.min.js"></script>
<link rel="points" type="application/json" href="json.php?id=<?php echo $_REQUEST["id"] ?>">
</head>
<body>
<div id="cupcake-map"></div>
<script>
var cupcakeTiles = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZooom: 18
});
$.getJSON($('link[rel="points"]').attr("href"), function(data) {
var geojson = L.geoJson(data, {
onEachFeature: function (feature, layer) {
layer.bindPopup(feature.properties.name,"autoPan");
}
});
var map = L.map('cupcake-map').fitBounds(geojson.getBounds());
cupcakeTiles.addTo(map);
geojson.addTo(map);
});
</script>
<div class="center-block" style=" z-index:10000; position:absolute; bottom:10px;">
<div role='row' class='row center-block' style="width:95% ; "><?php echo aplicacion_datos("$_REQUEST[id]");?></div>
</div>
<!-- Modal -->
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div class='modal-dialog' >
<div class='modal-content'>
<div class='modal-header' >
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>
<h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
</div>
<div class='modal-body'>
<div id='muestra_form'></div>
</div>
<div class='modal-footer' id='pie_modal'>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>

0
milfs/images/logo.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

0
milfs/images/logo_grande.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

0
milfs/images/pixel.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 128 B

After

Width:  |  Height:  |  Size: 128 B

0
milfs/images/transparente40.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 280 B

0
milfs/images/transparente50.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 279 B

1
milfs/includes/datos.php Normal file → Executable file
View File

@ -8,4 +8,5 @@ $path_images_secure ="/var/www/images_secure";
$url = "http://localhost/milfs";
/// Depende de la variable http://php.net/upload-max-filesize o en el .htaccess
$upload_size = 6 ; // Tamaño permitido para las imagenes en MB
$mapbox_token = "pk.eyJ1IjoiZmNhc3Ryb3QiLCJhIjoiY2lnOWw1bmd1MG93eXVsbTJpcmluYTBxdCJ9.yG7C1rEH6-MpZBEEb68IVg";
?>

11
milfs/includes/datos.php~ Executable file
View File

@ -0,0 +1,11 @@
<?php
$usuario="root";
$password="toor";//
$servidor="localhost";
$db="milfs";
$path_instalacion ="/var/www/html/milfs";
$path_images_secure ="/var/www/images_secure";
$url = "http://localhost/milfs";
/// Depende de la variable http://php.net/upload-max-filesize o en el .htaccess
$upload_size = 6 ; // Tamaño permitido para las imagenes en MB
?>

0
milfs/includes/includes.php Normal file → Executable file
View File

0
milfs/includes/markdown.php Normal file → Executable file
View File

5
milfs/includes/upload.php Normal file → Executable file
View File

@ -30,8 +30,9 @@ if (($tipo == 'image/jpeg' or $tipo =='image/png') AND $size <= $upload_size )
$name = MD5(time())."$ext";
$nombre= "$_SESSION[path_images_secure]/full/".$name;
$imagenX = $_FILES[fileUpload][tmp_name];
$coordenadas = leer_exif($imagenX);
if($coordenadas !='') { $alerta = "alert('Se han detectado coordenadas en los metadatos de la imagen y se ubicará el mapa en ese lugar.');";}
/*$coordenadas = leer_exif($imagenX);
if($coordenadas !='') { $alerta = "alert('Se han detectado coordenadas en los metadatos de la imagen y se ubicará el mapa en ese lugar.($coordenadas) ');";}
*/
//if (!copy($_FILES['fileUpload']['tmp_name'],"$nombre"))
if (!move_uploaded_file($_FILES['fileUpload']['tmp_name'],$nombre))
//move_uploaded_file($tmp_name, "$uploads_dir/$name");

0
milfs/includes/upload_archivo.php Normal file → Executable file
View File

View File

@ -1,6 +1,6 @@
<?php
session_start();
//ini_set('display_errors', 'On');
if(isset($_REQUEST[debug])) {ini_set('display_errors', 'On');}
require ('xajax/xajax.inc.php');
$xajax = new xajax();
require ('funciones/funciones.php');
@ -8,9 +8,11 @@ require ('funciones/convert.php');
require ('funciones/login.php');
require ("includes/markdown.php");
require ("funciones/conex.php");
$xajax->processRequests();
//$xajax->debugOn('');
if (isset($_REQUEST['form'])) {$form = $_REQUEST['form'];} else {$form = "";}
if (isset($_REQUEST['identificador'])) {$identificador = $_REQUEST['identificador'];} else {$identificador = "";}
if (isset($_REQUEST['id'])) {$id = $_REQUEST['id'];} else {$id = "";}
if (isset($_REQUEST['c'])) {$c = $_REQUEST['c'];} else {$c = "";}
if (isset($_REQUEST['f'])) {$f = $_REQUEST['f'];} else {$f = "";}
@ -79,8 +81,9 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
<script src="js/to-markdown.js"></script>
<script src="js/bootstrap-markdown.js"></script>
<script src="js/scripts.js"></script>
<?php if($form !='') { echo formulario_embebido($form);
}else{
<?php if($form !='') { echo formulario_embebido($form);}
elseif($identificador !='') { echo mostrar_identificador($identificador);}
else{
?>
<?php echo @$onload; ?>

0
milfs/js/bootstrap-markdown.js vendored Normal file → Executable file
View File

0
milfs/js/bootstrap.js vendored Normal file → Executable file
View File

0
milfs/js/jquery.cleditor.js Normal file → Executable file
View File

0
milfs/js/jquery.cleditor.min.js vendored Normal file → Executable file
View File

0
milfs/js/jquery.timelinr-0.9.54.js Normal file → Executable file
View File

0
milfs/js/markdown.js Normal file → Executable file
View File

0
milfs/js/to-markdown.js Normal file → Executable file
View File

4
milfs/json.php Normal file → Executable file
View File

@ -58,12 +58,12 @@ while( $row = mysql_fetch_array( $sql ) ) {
$marcador["coordinates"] = array($lat,$lon);
//$marcador["loc"] = array('lat'=>$lat,'lon'=>$lon);
$formulario = formulario_imprimir($perfil,$row[control],'obligatorio');
$formulario = formulario_imprimir($perfil,$row[control],'');
$propiedades["name"] ="<div class='container-fluid' id='contenedor_datos' >$formulario</div>";
//formulario_imprimir($id,$control)
//$marcador["zoom"] = $zoom;
$geometria .= "{\"type\":\"Feature\",\"geometry\":".json_encode($marcador,JSON_NUMERIC_CHECK).",\"properties\":".json_encode($propiedades,JSON_NUMERIC_CHECK)."},";
$geometria .= "{\"type\":\"Feature\",\"geometry\":".json_encode($marcador,JSON_NUMERIC_CHECK).",\"properties\":".json_encode($propiedades,JSON_NUMERIC_CHECK)."}";
$features[] = $marcador;
//$resultado .= "<li> $row[tipo]<br> <a href=\"#\" onclick=\"javascript:loadMarker($id);return false;\"><b>$row[title]</b></a><br>$row[description]<hr> </li>";

0
milfs/kml.php Normal file → Executable file
View File

23
milfs/map.php Normal file → Executable file
View File

@ -5,26 +5,14 @@ $xajax = new xajax();
//require ('json.lab.php');
require ('funciones/funciones.php');
require ("funciones/conex.php");
//require_once ('milfs/includes/markdown.php');
require_once ('includes/markdown.php');
//require ('funciones/convert.php');
$xajax->processRequests();
if($_REQUEST[id2] =='') {$agregar= $_REQUEST[id];}else {$agregar = $_REQUEST[id2];}
$formulario_nombre = remplacetas('form_id','id',$_REQUEST[id],'nombre') ;
$agregar_nombre = remplacetas('form_id','id',$agregar,'nombre') ;
?>
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<!DOCTYPE html>
<html lang="en">
<head >
@ -46,7 +34,7 @@ $agregar_nombre = remplacetas('form_id','id',$agregar,'nombre') ;
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/estilos.php?hghgS" rel="stylesheet">
<link href="css/estilos.php?hghgSs" rel="stylesheet">
<style type="text/css">
body { padding: 0; margin: 0; }
@ -62,8 +50,9 @@ $agregar_nombre = remplacetas('form_id','id',$agregar,'nombre') ;
<body>
<div id='map'></div>
<script>
L.mapbox.accessToken = 'pk.eyJ1IjoiaHVtYW5vIiwiYSI6IlgyRTFNdFEifQ.OmQBXmcVg_zq-vMpr8P5vQ';
var map = L.mapbox.map('map', 'examples.map-i86nkdio')
L.mapbox.accessToken = 'pk.eyJ1IjoiZmNhc3Ryb3QiLCJhIjoiY2lnOWw1bmd1MG93eXVsbTJpcmluYTBxdCJ9.yG7C1rEH6-MpZBEEb68IVg';
/* var map = L.mapbox.map('map', 'examples.map-i86nkdio')*/
var map = L.mapbox.map('map', 'mapbox.streets')
.setView([40, -74.50], 8);
var geoJson = [ <?php echo imprime_geojson("$_REQUEST[id]","$_REQUEST[id2]");?> ];

0
milfs/rss.php Normal file → Executable file
View File

73
sql/form_areas.sql Normal file
View File

@ -0,0 +1,73 @@
-- phpMyAdmin SQL Dump
-- version 4.2.12deb2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 27, 2015 at 11:02 AM
-- Server version: 5.5.44-0+deb8u1
-- PHP Version: 5.6.13-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: `galenux_cienaga`
--
-- --------------------------------------------------------
--
-- 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=9 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `form_areas`
--
INSERT INTO `form_areas` (`id`, `nombre`, `descripcion`, `estado`, `orden`, `id_empresa`) VALUES
(0, '', '', 1, 1, 1),
(1, 'General', '', 1, 100, 1),
(2, 'Subjetivo', 'Campos subjetivo en el esquema SOAP (Subjetivo, Objetivo, Análisis, Plan)', 1, 2, 1),
(3, 'Objetivo', 'Campos Objetivos en el esquema SOAP (Subjetivo, Objetivo, Análisis, Plan)', 1, 3, 1),
(4, 'Análisis', 'Campos Análisis en el esquema SOAP (Subjetivo, Objetivo, Análisis, Plan)', 1, 4, 1),
(5, 'Plan', 'Campos para el Plan en el esquema SOAP (Subjetivo, Objetivo, Análisis, Plan)', 1, 5, 1),
(6, 'Parametrización', 'Formularios de parametrización', 1, 90, 1),
(8, 'Administrativo', 'Campos que tienen que ver con la gestión administrativa ', 1, 8, 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `form_areas`
--
ALTER TABLE `form_areas`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `form_areas`
--
ALTER TABLE `form_areas`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=9;
/*!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 */;

57
sql/form_grupo.sql Normal file
View File

@ -0,0 +1,57 @@
-- phpMyAdmin SQL Dump
-- version 4.2.12deb2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 27, 2015 at 11:06 AM
-- Server version: 5.5.44-0+deb8u1
-- PHP Version: 5.6.13-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: `galenux_cienaga`
--
-- --------------------------------------------------------
--
-- 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 AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `form_grupo`
--
ALTER TABLE `form_grupo`
ADD PRIMARY KEY (`id_grupo`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `form_grupo`
--
ALTER TABLE `form_grupo`
MODIFY `id_grupo` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=16;
/*!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 */;

86
sql/form_tipo_campo.sql Normal file
View File

@ -0,0 +1,86 @@
-- phpMyAdmin SQL Dump
-- version 4.2.12deb2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 27, 2015 at 09:07 AM
-- Server version: 5.5.44-0+deb8u1
-- PHP Version: 5.6.13-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: `galenux_cienaga`
--
-- --------------------------------------------------------
--
-- 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=24 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),
(6, 'Buscador', 'buscador', 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),
(18, 'Password', 'password', 1),
(19, 'Campo único', 'unico', 1),
(20, 'Campo oculto', 'oculto', 1),
(21, 'Base de datos', 'base', 1),
(22, 'Timestamp', 'timestamp', 1),
(23, 'Funcion', 'oculto', 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `form_tipo_campo`
--
ALTER TABLE `form_tipo_campo`
ADD PRIMARY KEY (`id_tipo_campo`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `form_tipo_campo`
--
ALTER TABLE `form_tipo_campo`
MODIFY `id_tipo_campo` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=24;
/*!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 */;

View File

@ -1,11 +1,11 @@
-- phpMyAdmin SQL Dump
-- version 4.2.12deb2
-- version 4.5.0.2deb2
-- 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
-- Generation Time: Oct 27, 2015 at 04:34 PM
-- Server version: 5.6.25-4
-- PHP Version: 5.6.14-1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
@ -14,7 +14,7 @@ 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 */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `milfs`
@ -26,8 +26,8 @@ SET time_zone = "+00:00";
-- Table structure for table `empresa`
--
CREATE TABLE IF NOT EXISTS `empresa` (
`id` int(11) NOT NULL,
CREATE TABLE `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,
@ -59,7 +59,7 @@ CREATE TABLE IF NOT EXISTS `empresa` (
`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';
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci COMMENT='Datos de la IPS';
--
-- Dumping data for table `empresa`
@ -74,8 +74,8 @@ INSERT INTO `empresa` (`id`, `id_responsable`, `ciiu`, `sector`, `razon_social`,
-- Table structure for table `estilos`
--
CREATE TABLE IF NOT EXISTS `estilos` (
`id` int(11) NOT NULL,
CREATE TABLE `estilos` (
`id` int(11) NOT NULL,
`elemento` varchar(100) DEFAULT NULL,
`label` varchar(19) DEFAULT NULL,
`valor` varchar(10277) DEFAULT NULL,
@ -83,7 +83,7 @@ CREATE TABLE IF NOT EXISTS `estilos` (
`tipo` varchar(32) NOT NULL,
`identificador` varchar(32) NOT NULL,
`id_empresa` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `estilos`
@ -104,13 +104,13 @@ INSERT INTO `estilos` (`id`, `elemento`, `label`, `valor`, `color`, `tipo`, `ide
(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),
(18, '.XXXleaflet-popup-content-wrapper', 'background', '#a7ffee !important', '', '', '', 1),
(19, '.XXXleaflet-popup-content-wrapper', 'color', '#333399 !important', '', '', '', 1),
(20, '.XXXleaflet-popup-content-wrapper', 'line-height', '24px !important', '', '', '', 1),
(21, '.XXXleaflet-popup-content-wrapper', 'border-style', 'dotted !important', '', '', '', 1),
(22, '.XXXleaflet-popup-content-wrapper', 'border-radius', '10px !important', '', '', '', 1),
(23, '.XXXleaflet-popup-content-wrapper', 'border-width', '2px !important', '', '', '', 1),
(24, '.XXXleaflet-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),
@ -125,21 +125,28 @@ INSERT INTO `estilos` (`id`, `elemento`, `label`, `valor`, `color`, `tipo`, `ide
-- Table structure for table `form_areas`
--
CREATE TABLE IF NOT EXISTS `form_areas` (
`id` int(11) NOT NULL,
CREATE TABLE `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;
) ENGINE=InnoDB 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);
(0, '', '', 1, 1, 1),
(1, 'General', '', 1, 100, 1),
(2, 'Subjetivo', 'Campos subjetivo en el esquema SOAP (Subjetivo, Objetivo, Análisis, Plan)\n ', 1, 2, 1),
(3, 'Objetivo', 'Campos Objetivos en el esquema SOAP (Subjetivo, Objetivo, Análisis, Plan)', 1, 3, 1),
(4, 'Análisis', 'Campos Análisis en el esquema SOAP (Subjetivo, Objetivo, Análisis, Plan)', 1, 4, 1),
(5, 'Plan', 'Campos para el Plan en el esquema SOAP (Subjetivo, Objetivo, Análisis, Plan)', 1, 5, 1),
(6, 'Parametrización', 'Formularios de parametrización', 1, 90, 1),
(8, 'Administrativo', 'Campos que tienen que ver con la gestión administrativa ', 1, 8, 1);
-- --------------------------------------------------------
@ -147,8 +154,8 @@ INSERT INTO `form_areas` (`id`, `nombre`, `descripcion`, `estado`, `orden`, `id_
-- Table structure for table `form_campos`
--
CREATE TABLE IF NOT EXISTS `form_campos` (
`id` int(11) NOT NULL,
CREATE TABLE `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,
@ -160,21 +167,21 @@ 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 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, ''),
(0, 0, 1, 'imagen', 'Campo especial para la imagen', 15, 0, 0, 1, 'imagen', 0, ''),
(1, 0, 1, 'Primer nombre', 'Pablo', 1, 0, 0, 1, 'f13bb435acfd7ba3f88a5f74fe3fadc2', 0, ''),
(2, 0, 1, 'Segundo nombre', 'Fernando', 1, 0, 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, ''),
(4, 0, 1, 'Segundo apellido', 'Martinez', 1, 0, 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, ''),
(7, 0, 1, 'Dirección', 'Escriba la dirección completa', 2, 0, 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, ''),
@ -182,7 +189,7 @@ INSERT INTO `form_campos` (`id`, `id_especialista`, `id_empresa`, `campo_nombre`
(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, ''),
(15, 0, 1, 'Correo electronico', 'Correo electronico', 1, 0, 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, ''),
@ -192,7 +199,7 @@ INSERT INTO `form_campos` (`id`, `id_especialista`, `id_empresa`, `campo_nombre`
(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, ''),
(25, 0, 1, 'Link', 'Link del formulario de contacto', 5, 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, ''),
@ -214,7 +221,7 @@ INSERT INTO `form_campos` (`id`, `id_especialista`, `id_empresa`, `campo_nombre`
(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, ''),
(58, 0, 1, 'Dc:coverage.spatial', 'Lugar o coordenadas', 1, 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, ''),
@ -229,7 +236,7 @@ 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, 'Prueba', '', 8, 0, 0, 1, '38c3822a11580a33bf1ca6b2ddb3560b', 0, '');
-- --------------------------------------------------------
@ -237,12 +244,12 @@ INSERT INTO `form_campos` (`id`, `id_especialista`, `id_empresa`, `campo_nombre`
-- Table structure for table `form_campos_valores`
--
CREATE TABLE IF NOT EXISTS `form_campos_valores` (
`id` int(11) NOT NULL,
CREATE TABLE `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;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;
--
-- Dumping data for table `form_campos_valores`
@ -2587,7 +2594,10 @@ INSERT INTO `form_campos_valores` (`id`, `id_form_campo`, `campo_valor`, `predet
(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');
(2365, 72, 'id_form:1 key:1 limit:10', '0'),
(2366, 73, '1', '0'),
(2367, 73, '2', '0'),
(2368, 73, '3', '0');
-- --------------------------------------------------------
@ -2595,8 +2605,8 @@ INSERT INTO `form_campos_valores` (`id`, `id_form_campo`, `campo_valor`, `predet
-- Table structure for table `form_contenido_campos`
--
CREATE TABLE IF NOT EXISTS `form_contenido_campos` (
`id` int(11) NOT NULL,
CREATE TABLE `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,
@ -2604,7 +2614,7 @@ CREATE TABLE IF NOT EXISTS `form_contenido_campos` (
`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;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;
--
-- Dumping data for table `form_contenido_campos`
@ -2665,8 +2675,10 @@ INSERT INTO `form_contenido_campos` (`id`, `id_campo`, `id_empresa`, `id_form`,
(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');
(80, 40, 1, 3, '0', '0', 0, '839ef2a3d76d302a51b38db6b282a236'),
(81, 70, 1, 3, '0', '0', 0, 'ddc21d86e20ce79fc8caf51fba052031'),
(82, 45, 1, 3, '0', '0', 0, '56254520aa30898d9a76cd30646bf33f'),
(83, 18, 1, 3, '0', '0', 0, 'bcc4f7919bf1f6f6da22f3a732a7334a');
-- --------------------------------------------------------
@ -2674,8 +2686,8 @@ INSERT INTO `form_contenido_campos` (`id`, `id_campo`, `id_empresa`, `id_form`,
-- Table structure for table `form_datos`
--
CREATE TABLE IF NOT EXISTS `form_datos` (
`id` int(11) NOT NULL,
CREATE TABLE `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',
@ -2683,9 +2695,9 @@ CREATE TABLE IF NOT EXISTS `form_datos` (
`id_empresa` int(11) NOT NULL,
`contenido` text NOT NULL,
`timestamp` int(20) DEFAULT NULL,
`ip` int(10) unsigned DEFAULT NULL,
`ip` int(10) UNSIGNED DEFAULT NULL,
`control` char(32) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=latin1;
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `form_datos`
@ -2734,16 +2746,18 @@ INSERT INTO `form_datos` (`id`, `id_campo`, `form_id`, `orden`, `id_usuario`, `i
(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');
(43, 40, 3, 0, 1, 1, 'Fredy Rivera', 1445970121, NULL, '29b348c222e7de9801b0d25335c558f5'),
(44, 70, 3, 0, 1, 1, '64b743d429e0509eddc0e1960129b832.jpg', 1445970121, NULL, '29b348c222e7de9801b0d25335c558f5'),
(45, 45, 3, 0, 1, 1, 'Foto de la luna llena ocultandose frente a la Bahía de Santa Marta', 1445970121, NULL, '29b348c222e7de9801b0d25335c558f5'),
(46, 18, 3, 0, 1, 1, '-74.21447575092316 11.240889047089198 18', 1445970121, NULL, '29b348c222e7de9801b0d25335c558f5'),
(47, 40, 3, 0, 1, 1, 'Kleper', 1445972324, NULL, 'fc66982fa904e4cb4736c33e63e5d7aa'),
(48, 70, 3, 0, 1, 1, 'a407403c43c4ff24e9b290de42dfb990.jpg', 1445972324, NULL, 'fc66982fa904e4cb4736c33e63e5d7aa'),
(49, 45, 3, 0, 1, 1, 'Turistas sorprendidas', 1445972324, NULL, 'fc66982fa904e4cb4736c33e63e5d7aa'),
(50, 18, 3, 0, 1, 1, '-75.58173179626465 6.267096243274073 14', 1445972324, NULL, 'fc66982fa904e4cb4736c33e63e5d7aa'),
(51, 40, 3, 0, 1, 1, '@Fredy_Rivera', 1445972605, NULL, '34a799ec5c0f3a708468bd77cf54dcea'),
(52, 70, 3, 0, 1, 1, 'd8da224187ec05d752734ae56438f346.jpg', 1445972605, NULL, '34a799ec5c0f3a708468bd77cf54dcea'),
(53, 45, 3, 0, 1, 1, 'Amanecer en Santa Marta', 1445972605, NULL, '34a799ec5c0f3a708468bd77cf54dcea'),
(54, 18, 3, 0, 1, 1, '-74.21447038650511 11.240873262562987 18', 1445972605, NULL, '34a799ec5c0f3a708468bd77cf54dcea');
-- --------------------------------------------------------
@ -2751,8 +2765,8 @@ INSERT INTO `form_datos` (`id`, `id_campo`, `form_id`, `orden`, `id_usuario`, `i
-- Table structure for table `form_grupo`
--
CREATE TABLE IF NOT EXISTS `form_grupo` (
`id_grupo` int(11) NOT NULL,
CREATE TABLE `form_grupo` (
`id_grupo` int(11) NOT NULL,
`id` int(11) NOT NULL,
`grupo` text NOT NULL,
`id_empresa` int(11) NOT NULL
@ -2764,8 +2778,8 @@ CREATE TABLE IF NOT EXISTS `form_grupo` (
-- Table structure for table `form_id`
--
CREATE TABLE IF NOT EXISTS `form_id` (
`id` int(11) NOT NULL,
CREATE TABLE `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,
@ -2776,7 +2790,7 @@ CREATE TABLE IF NOT EXISTS `form_id` (
`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;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;
--
-- Dumping data for table `form_id`
@ -2784,9 +2798,8 @@ CREATE TABLE IF NOT EXISTS `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 <a target= ventana href= http://biblioestandares.bn.cl/sites/biblioestandares.bn.cl/files/guia_para_la_creacion_de_metadatos_octubre_pub_2009.pdf >Este documento</a>', '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);
(2, 'Biblioteca Digital', 'Repositorio digital de documentos de nuestrared.org.\nLos metadatos fueron establecidos usando <a target= ventana href= http://biblioestandares.bn.cl/sites/biblioestandares.bn.cl/files/guia_para_la_creacion_de_metadatos_octubre_pub_2009.pdf >Este documento</a>', '1', '1', '1', 1, 1, '2015-02-25 15:38:05', 0, 0),
(3, 'Galeria', 'Colección de imágenes', '1', '1', '1', 1, 1, '2015-10-27 18:17:18', 0, 0);
-- --------------------------------------------------------
@ -2794,12 +2807,12 @@ INSERT INTO `form_id` (`id`, `nombre`, `descripcion`, `activo`, `modificable`, `
-- Table structure for table `form_tipo_campo`
--
CREATE TABLE IF NOT EXISTS `form_tipo_campo` (
`id_tipo_campo` int(11) NOT NULL,
CREATE TABLE `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;
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `form_tipo_campo`
@ -2811,6 +2824,7 @@ INSERT INTO `form_tipo_campo` (`id_tipo_campo`, `tipo_campo_nombre`, `tipo_campo
(3, 'Numérico', 'number', 1),
(4, 'URL', 'url', 1),
(5, 'Medio', 'media', 1),
(6, 'Buscador', 'buscador', 1),
(7, 'HTML', 'html', 1),
(8, 'Select', 'select', 1),
(9, 'Combo select', 'combo', 1),
@ -2821,7 +2835,13 @@ INSERT INTO `form_tipo_campo` (`id_tipo_campo`, `tipo_campo_nombre`, `tipo_campo
(14, 'Mapa', 'mapa', 1),
(15, 'Imagen', 'imagen', 1),
(16, 'Rango', 'rango', 1),
(17, 'Texto limitado', 'limit', 1);
(17, 'Texto limitado', 'limit', 1),
(18, 'Password', 'password', 1),
(19, 'Campo único', 'unico', 1),
(20, 'Campo oculto', 'oculto', 1),
(21, 'Base de datos', 'base', 1),
(22, 'Timestamp', 'timestamp', 1),
(23, 'Funcion', 'oculto', 1);
-- --------------------------------------------------------
@ -2829,8 +2849,8 @@ INSERT INTO `form_tipo_campo` (`id_tipo_campo`, `tipo_campo_nombre`, `tipo_campo
-- Table structure for table `parametrizacion`
--
CREATE TABLE IF NOT EXISTS `parametrizacion` (
`id` int(11) NOT NULL,
CREATE TABLE `parametrizacion` (
`id` int(11) NOT NULL,
`tabla` varchar(32) NOT NULL,
`campo` varchar(32) NOT NULL,
`opcion` varchar(200) NOT NULL,
@ -2844,8 +2864,8 @@ CREATE TABLE IF NOT EXISTS `parametrizacion` (
-- Table structure for table `usuarios`
--
CREATE TABLE IF NOT EXISTS `usuarios` (
`id` int(32) NOT NULL,
CREATE TABLE `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',
@ -2872,7 +2892,7 @@ CREATE TABLE IF NOT EXISTS `usuarios` (
`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;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;
--
-- Dumping data for table `usuarios`
@ -2889,73 +2909,82 @@ INSERT INTO `usuarios` (`id`, `username`, `passwd`, `id_grupo`, `id_empresa`, `e
-- Indexes for table `empresa`
--
ALTER TABLE `empresa`
ADD PRIMARY KEY (`id`);
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `estilos`
--
ALTER TABLE `estilos`
ADD PRIMARY KEY (`id`);
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `form_areas`
--
ALTER TABLE `form_areas`
ADD PRIMARY KEY (`id`);
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`);
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `identificador` (`identificador`);
--
-- Indexes for table `form_campos_valores`
--
ALTER TABLE `form_campos_valores`
ADD PRIMARY KEY (`id`);
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `form_contenido_campos`
--
ALTER TABLE `form_contenido_campos`
ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `control` (`control`);
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`);
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`);
ADD PRIMARY KEY (`id_grupo`);
--
-- Indexes for table `form_id`
--
ALTER TABLE `form_id`
ADD PRIMARY KEY (`id`);
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `form_tipo_campo`
--
ALTER TABLE `form_tipo_campo`
ADD PRIMARY KEY (`id_tipo_campo`);
ADD PRIMARY KEY (`id_tipo_campo`);
--
-- Indexes for table `parametrizacion`
--
ALTER TABLE `parametrizacion`
ADD PRIMARY KEY (`id`), ADD KEY `id` (`id`);
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`id`);
--
-- Indexes for table `usuarios`
--
ALTER TABLE `usuarios`
ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `email` (`email`);
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `email` (`email`);
--
-- AUTO_INCREMENT for dumped tables
@ -2965,62 +2994,62 @@ ALTER TABLE `usuarios`
-- AUTO_INCREMENT for table `empresa`
--
ALTER TABLE `empresa`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
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;
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;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `form_campos`
--
ALTER TABLE `form_campos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=74;
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;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2369;
--
-- AUTO_INCREMENT for table `form_contenido_campos`
--
ALTER TABLE `form_contenido_campos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=82;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=84;
--
-- AUTO_INCREMENT for table `form_datos`
--
ALTER TABLE `form_datos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=53;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55;
--
-- AUTO_INCREMENT for table `form_grupo`
--
ALTER TABLE `form_grupo`
MODIFY `id_grupo` int(11) NOT NULL AUTO_INCREMENT;
MODIFY `id_grupo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `form_id`
--
ALTER TABLE `form_id`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- 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;
MODIFY `id_tipo_campo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
--
-- AUTO_INCREMENT for table `parametrizacion`
--
ALTER TABLE `parametrizacion`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
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;
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 */;

View File

@ -1,65 +0,0 @@
-- SQL para garantizar compatibilidad hacia atras con los formularios agrupados y campos unidos en areas o fieldset.
-- SE ASUME QUE EL LA EMPRESA (id_empresa) es UNO (1) SI NO ES ASI SE DEBE CAMBIAR ESTE VALOR
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=3 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);
-- --------------------------------------------------------
-- Cambia el valor (campo_area) a uno(1) en los campos que lo tienen en cero (0)
UPDATE `milfs`.`form_campos` SET `campo_area` = '1' WHERE `campo_area` = '0'
--
-- 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;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `form_areas`
--
ALTER TABLE `form_areas`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `form_grupo`
--
ALTER TABLE `form_grupo`
ADD PRIMARY KEY (`id_grupo`);
--
-- 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_grupo`
--
ALTER TABLE `form_grupo`
MODIFY `id_grupo` int(11) NOT NULL AUTO_INCREMENT;

View File

@ -49,13 +49,15 @@ $web = remplacetas('empresa','id','1','web') ;
<link href="milfs/css/carousel.css" rel="stylesheet">
<style type="text/css">
body {
background: url("") no-repeat center center fixed;
/* background: url("") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
color: gray;
background-color: black;}
background-color: black;
*/
}
.alert-info{
color: #341208;
border-color: #341208;
@ -76,7 +78,7 @@ background-color: black;
.navbar-header {width: 50%;}
.div_aplicacion {
background-color: #f0eee1 !important;
/* background-color: #f0eee1 !important;*/
}
.div_aplicacion:hover {
-webkit-animation: animatedBackground 1s ease-out 1;
@ -202,7 +204,7 @@ background-color: #f0eee1 !important;
//echo contenido_aplicacion_nombre("Portada","banner") ;
//echo aplicaciones_listado("","grid");} ?>
<div class="container" style="width:80%">
<?php echo aplicaciones_listado("","carrusel");}
<?php echo aplicaciones_listado("","carrusel","");}
?>
</div>
<br></br>