IMPORTANTE Se corrigen muchos bugs, se organizan los directorios como un website y muchas cosas mas :)
BIN
images_secure/150/055cb6e87667ded62cb43154988f580f.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
images_secure/150/90f4c6d9496b551bc24b9a5a573eb556.jpg
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
images_secure/150/f7145dec716f1510d3986760a43d1cf1.jpg
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
images_secure/300/055cb6e87667ded62cb43154988f580f.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
images_secure/300/90f4c6d9496b551bc24b9a5a573eb556.jpg
Normal file
After Width: | Height: | Size: 232 KiB |
BIN
images_secure/300/f7145dec716f1510d3986760a43d1cf1.jpg
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
images_secure/600/055cb6e87667ded62cb43154988f580f.jpg
Normal file
After Width: | Height: | Size: 192 KiB |
BIN
images_secure/600/90f4c6d9496b551bc24b9a5a573eb556.jpg
Normal file
After Width: | Height: | Size: 786 KiB |
BIN
images_secure/600/f7145dec716f1510d3986760a43d1cf1.jpg
Normal file
After Width: | Height: | Size: 459 KiB |
BIN
images_secure/full/055cb6e87667ded62cb43154988f580f.jpg
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
images_secure/full/90f4c6d9496b551bc24b9a5a573eb556.jpg
Normal file
After Width: | Height: | Size: 2.1 MiB |
BIN
images_secure/full/f7145dec716f1510d3986760a43d1cf1.jpg
Normal file
After Width: | Height: | Size: 2.5 MiB |
@ -1,193 +0,0 @@
|
||||
<?php
|
||||
function simpleText($html){
|
||||
|
||||
$html = str_replace('–','-',$html);
|
||||
$html = str_replace('"','"',$html);
|
||||
$html = preg_replace('/\&(nbsp);/','&${1};',$html);
|
||||
|
||||
//formatting
|
||||
// bold
|
||||
$html = preg_replace('/\'\'\'([^\n\']+)\'\'\'/','<strong>${1}</strong>',$html);
|
||||
// emphasized
|
||||
$html = preg_replace('/\'\'([^\'\n]+)\'\'?/','<em>${1}</em>',$html);
|
||||
//interwiki links
|
||||
$html = preg_replace_callback('/\[\[([^\|\n\]:]+)[\|]([^\]]+)\]\]/','helper_interwikilinks',$html);
|
||||
// without text
|
||||
$html = preg_replace_callback('/\[\[([^\|\n\]:]+)\]\]/','helper_interwikilinks',$html);
|
||||
//
|
||||
//$html = preg_replace('/{{([^}]+)+}}/','Interwiki: ${1}+${2}+${3}',$html);
|
||||
$html = preg_replace('/{{([^\|\n\}]+)([\|]?([^\}]+))+\}\}/','Interwiki: ${1} » ${3}',$html);
|
||||
// Template
|
||||
//$html = preg_replace('/{{([^}]*)}}/',' ',$html);
|
||||
// categories
|
||||
//$html = preg_replace('/\[\[([^\|\n\]]+)([\|]([^\]]+))?\]\]/','',$html);
|
||||
$html = preg_replace('/\[\[([^\|\n\]]{2})([\:]([^\]]+))?\]\]/','Translation: ${1} » ${3}',$html);
|
||||
$html = preg_replace('/\[\[([^\|\n\]]+)([\:]([^\]]+))?\]\]/','Category: ${1} - ${2}',$html);
|
||||
// image
|
||||
$html = preg_replace('/\[\[([^\|\n\]]+)([\|]([^\]]+))+\]\]/','Image: ${0}+${1}+${2}+${3}',$html);
|
||||
|
||||
//links
|
||||
//$html = preg_replace('/\[([^\[\]\|\n\': ]+)\]/','<a href="${1}">${1}</a>',$html);
|
||||
$html = preg_replace_callback('/\[([^\[\]\|\n\': ]+)\]/','helper_externlinks',$html);
|
||||
// with text
|
||||
//$html = preg_replace('/\[([^\[\]\|\n\' ]+)[\| ]([^\]\']+)\]/','<a href="${1}">${2}</a>',$html);
|
||||
$html = preg_replace_callback('/\[([^\[\]\|\n\' ]+)[\| ]([^\]\']+)\]/','helper_externlinks',$html);
|
||||
|
||||
// allowed tags
|
||||
$html = preg_replace('/<(\/?)(small|sup|sub|u)>/','<${1}${2}>',$html);
|
||||
|
||||
$html = preg_replace('/\n*<br *\/?>\n*/',"\n",$html);
|
||||
$html = preg_replace('/<(\/?)(math|pre|code|nowiki)>/','<${1}pre>',$html);
|
||||
$html = preg_replace('/<!--/','<!--',$html);
|
||||
$html = preg_replace('/-->/',' -->',$html);
|
||||
|
||||
// headings
|
||||
for($i=7;$i>0;$i--){
|
||||
$html = preg_replace(
|
||||
'/\n+[=]{'.$i.'}([^=]+)[=]{'.$i.'}\n*/',
|
||||
'<h'.$i.'>${1}</h'.$i.'>',
|
||||
$html
|
||||
);
|
||||
}
|
||||
|
||||
//lists
|
||||
$html = preg_replace(
|
||||
'/(\n[ ]*[^#* ][^\n]*)\n(([ ]*[*]([^\n]*)\n)+)/',
|
||||
'${1}<ul>'."\n".'${2}'.'</ul>'."\n",
|
||||
$html
|
||||
);
|
||||
$html = preg_replace(
|
||||
'/(\n[ ]*[^#* ][^\n]*)\n(([ ]*[#]([^\n]*)\n)+)/',
|
||||
'${1}<ol>'."\n".'${2}'.'</ol>'."\n",
|
||||
$html
|
||||
);
|
||||
$html = preg_replace('/\n[ ]*[\*#]+([^\n]*)/','<li>${1}</li>',$html);
|
||||
|
||||
$html = preg_replace('/----/','<hr />',$html);
|
||||
|
||||
//$html = nl2br($html);
|
||||
// line breaks
|
||||
$html = preg_replace('/[\n\r]{4}/',"<br/><br/>",$html);
|
||||
$html = preg_replace('/[\n\r]{2}/',"<br/>",$html);
|
||||
|
||||
$html = preg_replace('/[>]<br\/>[<]/',"><",$html);
|
||||
|
||||
return $html;
|
||||
}
|
||||
function helper_externlinks($matches){
|
||||
$target = $matches[1];
|
||||
$text = empty($matches[2])?$matches[1]:$matches[2];
|
||||
return '<a href="'.$target.'">'.$text.'</a>';
|
||||
}
|
||||
function helper_interwikilinks($matches){
|
||||
$target = $matches[1];
|
||||
$text = empty($matches[2])?$matches[1]:$matches[2];
|
||||
$class=" class=\"dunno\" ";
|
||||
/*static $links_checked_interwiki = 0;
|
||||
if(!$_GET["nocache"] && ++$links_checked_interwiki<10){
|
||||
$data = cachedFunc("getPos",$target);
|
||||
if($data["pos"]) $class = " class=\"exists\" "; $class = " class=\"notexists\" ";
|
||||
}*/
|
||||
return '<a '.$class.' href="?pages='.$target.'">'.$text.'</a>';
|
||||
}
|
||||
function convertTables($text){
|
||||
$lines = explode("\n",$text);
|
||||
$innertable = 0;
|
||||
$innertabledata = array();
|
||||
foreach($lines as $line){
|
||||
//echo "<pre>".++$i.": ".htmlspecialchars($line)."</pre>";
|
||||
$line = str_replace("position:relative","",$line);
|
||||
$line = str_replace("position:absolute","",$line);
|
||||
if(substr($line,0,2) == '{|'){
|
||||
// inner table
|
||||
//echo "<p>beginning inner table #$innertable</p>";
|
||||
$innertable++;
|
||||
}
|
||||
$innertabledata[$innertable] .= $line . "\n";
|
||||
if($innertable){
|
||||
// we're inside
|
||||
if(substr($line,0,2) == '|}'){
|
||||
$innertableconverted = convertTable($innertabledata[$innertable]);
|
||||
$innertabledata[$innertable] = "";
|
||||
$innertable--;
|
||||
$innertabledata[$innertable] .= $innertableconverted."\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
return $innertabledata[0];
|
||||
}
|
||||
|
||||
function convertTable($intext){
|
||||
$text = $intext;
|
||||
$lines = explode("\n",$text);
|
||||
$intable = false;
|
||||
|
||||
//var_dump($lines);
|
||||
foreach($lines as $line){
|
||||
$line = trim($line);
|
||||
if(substr($line,0,1) == '{'){
|
||||
//begin of the table
|
||||
$stuff = explode('| ',substr($line,1),2);
|
||||
$tableopen = true;
|
||||
$table = "<table ".$stuff[0].">\n";
|
||||
} else if(substr($line,0,1) == '|'){
|
||||
// table related
|
||||
$line = substr($line,1);
|
||||
if(substr($line,0,5) == '-----'){
|
||||
// row break
|
||||
if($thopen)
|
||||
$table .="</th>\n";
|
||||
if($tdopen)
|
||||
$table .="</td>\n";
|
||||
if($rowopen)
|
||||
$table .="\t</tr>\n";
|
||||
$table .= "\t<tr>\n";
|
||||
$rowopen = true;
|
||||
$tdopen = false;
|
||||
$thopen = false;
|
||||
}else if(substr($line,0,1) == '}'){
|
||||
// table end
|
||||
break;
|
||||
}else{
|
||||
// td
|
||||
$stuff = explode('| ',$line,2);
|
||||
if($tdopen)
|
||||
$table .="</td>\n";
|
||||
if(count($stuff)==1)
|
||||
$table .= "\t\t<td>".simpleText($stuff[0]);
|
||||
else
|
||||
$table .= "\t\t<td ".$stuff[0].">".
|
||||
simpleText($stuff[1]);
|
||||
$tdopen = true;
|
||||
}
|
||||
} else if(substr($line,0,1) == '!'){
|
||||
// th
|
||||
$stuff = explode('| ',substr($line,1),2);
|
||||
if($thopen)
|
||||
$table .="</th>\n";
|
||||
if(count($stuff)==1)
|
||||
$table .= "\t\t<th>".simpleText($stuff[0]);
|
||||
else
|
||||
$table .= "\t\t<th ".$stuff[0].">".
|
||||
simpleText($stuff[1]);
|
||||
$thopen = true;
|
||||
}else{
|
||||
// plain text
|
||||
$table .= simpleText($line) ."\n";
|
||||
}
|
||||
//echo "<pre>".++$i.": ".htmlspecialchars($line)."</pre>";
|
||||
//echo "<p>Table so far: <pre>".htmlspecialchars($table)."</pre></p>";
|
||||
}
|
||||
if($thopen)
|
||||
$table .="</th>\n";
|
||||
if($tdopen)
|
||||
$table .="</td>\n";
|
||||
if($rowopen)
|
||||
$table .="\t</tr>\n";
|
||||
if($tableopen)
|
||||
$table .="</table>\n";
|
||||
//echo "<hr />";
|
||||
//echo "<p>Table at the end: <pre>".htmlspecialchars($table)."</pre></p>";
|
||||
//echo $table;
|
||||
return $table;
|
||||
}
|
@ -3,9 +3,9 @@
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Host: localhost
|
||||
-- Generation Time: Nov 17, 2015 at 04:10 PM
|
||||
-- Server version: 5.6.25-4
|
||||
-- PHP Version: 5.6.14-1+b1
|
||||
-- Generation Time: Nov 21, 2015 at 06:12 AM
|
||||
-- Server version: 5.6.27-2
|
||||
-- PHP Version: 5.6.14-1
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
@ -241,7 +241,8 @@ INSERT INTO `form_campos` (`id`, `id_especialista`, `id_empresa`, `campo_nombre`
|
||||
(74, 1, 1, '¿Con que frecuencia consulta su email?', 'Cuantas veces al día o la semana el usuario consulta esta red o tecnología.', 27, 1, 0, 1, 'ff947ac7c413896a9200dbd2a7fe8925', 0, ''),
|
||||
(75, 1, 1, '¿Con que frecuencia consulta facebook?', 'Cuantas veces al día o la semana el usuario consulta esta red o tecnología.', 27, 1, 0, 1, 'c272f129cab45c170285d5bf6106c0dc', 0, ''),
|
||||
(76, 1, 1, '¿Con que frecuencia consulta sus mensajes de texto?', 'Cuantas veces al día o la semana el usuario consulta esta red o tecnología.', 27, 1, 0, 1, 'f8dcb78269dca737f5fc4c8fb4b1d024', 0, ''),
|
||||
(77, 1, 1, 'Uso de redes sociales ', 'Conque frecuencia usa estas tecnologías o redes', 28, 1, 0, 1, '151ed033e96b5593d419e23fc43518e9', 0, '');
|
||||
(77, 1, 1, 'Uso de redes sociales ', 'Conque frecuencia usa estas tecnologías o redes', 28, 1, 0, 1, '151ed033e96b5593d419e23fc43518e9', 0, ''),
|
||||
(78, 1, 1, 'Clave', 'Una palabra secreta que te servirá para consultar tus datos', 18, 0, 0, 1, '5ba3949050065765b0d31bdf9f6cd79a', 0, '');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -2697,7 +2698,12 @@ INSERT INTO `form_contenido_campos` (`id`, `id_campo`, `id_empresa`, `id_form`,
|
||||
(81, 70, 1, 3, '0', '0', 0, 'ddc21d86e20ce79fc8caf51fba052031'),
|
||||
(82, 45, 1, 3, '0', '0', 0, '56254520aa30898d9a76cd30646bf33f'),
|
||||
(83, 18, 1, 3, '0', '0', 0, 'bcc4f7919bf1f6f6da22f3a732a7334a'),
|
||||
(84, 77, 1, 1, '0', '0', 0, 'e1b6d590ce60c79acb794422f1899a16');
|
||||
(84, 77, 1, 1, '0', '0', 0, 'e1b6d590ce60c79acb794422f1899a16'),
|
||||
(85, 5, 1, 4, '0', '0', 19, '6b72eaf63b3bc583581999af5e67988d'),
|
||||
(86, 15, 1, 4, '0', '0', 42, '78634a67f2eee3cb86443bb9602fff33'),
|
||||
(87, 26, 1, 4, '0', '0', 66, '68621298d734cd76bf2b53ca8a70b107'),
|
||||
(88, 12, 1, 4, '0', '0', 0, '96d9df9899bb63bfe23ae1e5b1a88235'),
|
||||
(89, 78, 1, 4, '0', '0', 0, '0d09a17c8859202bfc3e1646ded197e2');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -2785,7 +2791,18 @@ INSERT INTO `form_datos` (`id`, `id_campo`, `form_id`, `proceso`, `orden`, `id_u
|
||||
(59, 11, 1, NULL, 0, 1, 1, 'Libadores', 1447607550, NULL, '89aa6efe62e27e5c3979be8cc1bfe252'),
|
||||
(60, 9, 1, NULL, 0, 1, 1, 'Probando el mapita', 1447607550, NULL, '89aa6efe62e27e5c3979be8cc1bfe252'),
|
||||
(61, 1, 1, NULL, 0, 1, 1, 'Delfín', 1447607629, NULL, '89aa6efe62e27e5c3979be8cc1bfe252'),
|
||||
(62, 18, 1, NULL, 0, 1, 1, '-75.2692534 4.8795198 16', 1447607629, NULL, '89aa6efe62e27e5c3979be8cc1bfe252');
|
||||
(62, 18, 1, NULL, 0, 1, 1, '-75.2692534 4.8795198 16', 1447607629, NULL, '89aa6efe62e27e5c3979be8cc1bfe252'),
|
||||
(63, 5, 4, NULL, 0, 1, 1, 'Humano', 1448074472, NULL, '4fd222ee8dbeef18210e6bcdf312d080'),
|
||||
(64, 15, 4, NULL, 0, 1, 1, 'fredyrivera@gmail.com', 1448074472, NULL, '4fd222ee8dbeef18210e6bcdf312d080'),
|
||||
(65, 5, 4, NULL, 0, 1, 1, 'Fernando Gonzalez', 1448074519, NULL, '4c62e2dad846dd3d5dc5a92d916f983a'),
|
||||
(66, 15, 4, NULL, 0, 1, 1, 'fernando@otraparte.co', 1448074519, NULL, '4c62e2dad846dd3d5dc5a92d916f983a'),
|
||||
(67, 26, 4, NULL, 0, 1, 1, '055cb6e87667ded62cb43154988f580f.jpg', 1448074519, NULL, '4c62e2dad846dd3d5dc5a92d916f983a'),
|
||||
(68, 12, 4, NULL, 0, 1, 1, 'Lunatico', 1448075945, NULL, 'a94d4684a3a2bacafeb2f2f02711a05a'),
|
||||
(69, 78, 4, NULL, 0, 1, 1, '12703dd1411c33587da2004a9434a400', 1448075945, NULL, 'a94d4684a3a2bacafeb2f2f02711a05a'),
|
||||
(70, 5, 4, NULL, 0, 1, 1, 'fredy rivera', 1448075945, NULL, 'a94d4684a3a2bacafeb2f2f02711a05a'),
|
||||
(71, 15, 4, NULL, 0, 1, 1, 'fredyrivera@gmail.com', 1448075945, NULL, 'a94d4684a3a2bacafeb2f2f02711a05a'),
|
||||
(72, 26, 4, NULL, 0, 1, 1, 'f7145dec716f1510d3986760a43d1cf1.jpg', 1448075945, NULL, 'a94d4684a3a2bacafeb2f2f02711a05a'),
|
||||
(73, 26, 4, NULL, 0, 0, 1, '90f4c6d9496b551bc24b9a5a573eb556.jpg', 1448077773, NULL, 'a94d4684a3a2bacafeb2f2f02711a05a');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -2807,7 +2824,9 @@ CREATE TABLE `form_grupo` (
|
||||
INSERT INTO `form_grupo` (`id_grupo`, `id`, `grupo`, `id_empresa`) VALUES
|
||||
(1, 2, 'Documentacion', 1),
|
||||
(2, 3, 'Documentacion', 1),
|
||||
(3, 1, 'Datos', 1);
|
||||
(3, 1, 'Datos', 1),
|
||||
(4, 4, 'Pruebas', 1),
|
||||
(5, 5, 'Laboratorio', 1);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -2836,7 +2855,9 @@ CREATE 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', '0', 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', 0, 0),
|
||||
(3, 'Galeria', 'Colección de imágenes', '1', '1', '1', 1, 1, '2015-10-27 18:17:18', 0, 0);
|
||||
(3, 'Galeria', 'Colección de imágenes', '1', '1', '1', 1, 1, '2015-10-27 18:17:18', 0, 0),
|
||||
(4, 'Prueba', 'No tomar en serio', '1', '1', '1', 1, 1, '2015-11-21 02:31:50', 0, 0),
|
||||
(5, 'Laboratorio', 'Pruebas', '1', '1', '0', 1, 1, '2015-11-21 02:36:08', 0, 0);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -2853,6 +2874,20 @@ CREATE TABLE `form_parametrizacion` (
|
||||
`visible` set('0','1') NOT NULL DEFAULT '1'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
--
|
||||
-- Dumping data for table `form_parametrizacion`
|
||||
--
|
||||
|
||||
INSERT INTO `form_parametrizacion` (`id`, `tabla`, `campo`, `opcion`, `descripcion`, `visible`) VALUES
|
||||
(1, 'form_id', '34a799ec5c0f3a708468bd77cf54dcea', 'identificador', '2', '1'),
|
||||
(2, 'form_id', 'fc66982fa904e4cb4736c33e63e5d7aa', 'identificador', '2', '1'),
|
||||
(3, 'form_id', '29b348c222e7de9801b0d25335c558f5', 'identificador', '2', '1'),
|
||||
(4, 'form_id', '1', 'formulario', '1', '1'),
|
||||
(5, 'form_id', '4', 'formulario', '18', '1'),
|
||||
(6, 'form_id', '4c62e2dad846dd3d5dc5a92d916f983a', 'identificador', '15', '1'),
|
||||
(7, 'form_id', '4fd222ee8dbeef18210e6bcdf312d080', 'identificador', '4', '1'),
|
||||
(8, 'form_id', 'a94d4684a3a2bacafeb2f2f02711a05a', 'identificador', '23', '1');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
@ -2994,8 +3029,9 @@ ALTER TABLE `form_datos`
|
||||
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`);
|
||||
ALTER TABLE `form_datos` ADD FULLTEXT KEY `contenido` (`contenido`);
|
||||
ALTER TABLE `form_datos` ADD FULLTEXT KEY `control_2` (`control`);
|
||||
|
||||
--
|
||||
-- Indexes for table `form_grupo`
|
||||
@ -3052,7 +3088,7 @@ ALTER TABLE `form_areas`
|
||||
-- AUTO_INCREMENT for table `form_campos`
|
||||
--
|
||||
ALTER TABLE `form_campos`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78;
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=79;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `form_campos_valores`
|
||||
--
|
||||
@ -3062,27 +3098,27 @@ ALTER TABLE `form_campos_valores`
|
||||
-- AUTO_INCREMENT for table `form_contenido_campos`
|
||||
--
|
||||
ALTER TABLE `form_contenido_campos`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=85;
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=90;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `form_datos`
|
||||
--
|
||||
ALTER TABLE `form_datos`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=63;
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=74;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `form_grupo`
|
||||
--
|
||||
ALTER TABLE `form_grupo`
|
||||
MODIFY `id_grupo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
|
||||
MODIFY `id_grupo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `form_id`
|
||||
--
|
||||
ALTER TABLE `form_id`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `form_parametrizacion`
|
||||
--
|
||||
ALTER TABLE `form_parametrizacion`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `form_tipo_campo`
|
||||
--
|
||||
|
2
sql/parche_agregr_indice_form_datos.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE `form_datos` ADD FULLTEXT(`contenido`);
|
||||
ALTER TABLE `form_datos` ADD INDEX(`control`);
|
@ -1,12 +1,12 @@
|
||||
<?php session_start();
|
||||
//ini_set('display_errors', 'On');
|
||||
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
|
||||
require ('xajax/xajax.inc.php');
|
||||
require ('milfs/xajax/xajax.inc.php');
|
||||
$xajax = new xajax();
|
||||
require ("funciones/conex.php");
|
||||
require ('funciones/funciones.php');
|
||||
require ("includes/markdown.php");
|
||||
require ("includes/simple_html_dom.php");
|
||||
require ("milfs/funciones/conex.php");
|
||||
require ('milfs/funciones/funciones.php');
|
||||
require ("milfs/includes/markdown.php");
|
||||
require ("milfs/includes/simple_html_dom.php");
|
||||
$xajax->processRequests(); ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
@ -18,19 +18,21 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="fredyrivera" >
|
||||
<link rel="shortcut icon" href="favicon-152.png">
|
||||
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
|
||||
<link rel="shortcut icon" href="milfs/favicon-152.png">
|
||||
<link rel="apple-touch-icon-precomposed" href="milfs/favicon-152.png">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
|
||||
<?php $xajax->printJavascript("xajax/"); ?>
|
||||
<?php $xajax->printJavascript("milfs/xajax/"); ?>
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha256-k2/8zcNbxVIh5mnQ52A0r3a6jAgMGxFJFE2707UxGCk= sha512-ZV9KawG2Legkwp3nAlxLIVFudTauWuBpC10uEafMHYL0Sarrz5A7G79kXh5+5+woxQ5HM559XX2UZjMJ36Wplg==" crossorigin="anonymous">
|
||||
|
||||
<script src="milfs/js/scripts.js"></script>
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
//$xajax->debugOn('');
|
||||
$embebido =0;
|
||||
if( isset($_REQUEST['empresa']) OR empty($_REQUEST) OR isset($_REQUEST['set']) OR isset($_REQUEST['identificador']) ) {
|
||||
$onload="";
|
||||
if (isset($_REQUEST['form'])) {$form = $_REQUEST['form'];} else {$form = "";}
|
||||
if (isset($_REQUEST['identificador'])) {$identificador = $_REQUEST['identificador'];} else {$identificador = NULL ;}
|
||||
$acceso = 0;
|
||||
if( @$_REQUEST['empresa'] =="") { $id_empresa = "1";}
|
||||
else { $id_empresa = $_REQUEST['empresa'];}
|
||||
@ -54,17 +56,33 @@ if($id[0]=="") { $id_empresa = "1";}
|
||||
if($publico[0] =='1') {$acceso = 1;}
|
||||
|
||||
}
|
||||
if( isset($_REQUEST['identificador'])){
|
||||
if( isset($identificador)){
|
||||
$form = remplacetas('form_datos','control',$identificador,'form_id',"") ;
|
||||
if (isset($_REQUEST['t'])) {
|
||||
$t = $_REQUEST['t'];
|
||||
//$opciones= array();
|
||||
//$opciones[]= "$identificador";
|
||||
$onload =" <script type=\"text/javascript\">xajax_formulario_embebido_ajax($form[0],'$identificador','edit')</script>";
|
||||
} else {$t = "";}
|
||||
$empresa = remplacetas('form_datos','control',$_REQUEST['identificador'],'id_empresa',"") ;
|
||||
$id_empresa = $empresa[0];
|
||||
$form = remplacetas('form_datos','control',$_REQUEST['identificador'],'form_id',"") ;
|
||||
|
||||
$titulo = remplacetas('form_id','id',$form['0'],'nombre',"") ;
|
||||
$descripcion = remplacetas('form_id','id',$form['0'],'descripcion',"") ;
|
||||
$background_imagen = buscar_imagen("$form[0]",$_REQUEST['identificador'],"","$id_empresa");
|
||||
$uri_set = "<a class='' href='?set=$form[0]'>$titulo[0]</a>";
|
||||
$publico = remplacetas('form_id','id',$form[0],'publico',"") ;
|
||||
if($publico[0] =='1') {$acceso = 1;}
|
||||
}
|
||||
}
|
||||
elseif( isset($form)){
|
||||
if($form!=''){
|
||||
$onload =" <script type=\"text/javascript\">xajax_formulario_embebido_ajax('$form','$opciones','nuevo')</script>";
|
||||
// echo formulario_embebido($form,$opciones);
|
||||
}
|
||||
|
||||
}
|
||||
elseif( isset($_REQUEST['psi'])){$onload ="<script type=\"text/javascript\"> xajax_mostrar_psi()</script>";}
|
||||
else{}
|
||||
$logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
|
||||
$direccion = remplacetas('empresa','id',"$id_empresa",'direccion','') ;
|
||||
$telefono = remplacetas('empresa','id',"$id_empresa",'telefono','') ;
|
||||
@ -114,6 +132,34 @@ h6 {
|
||||
font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-weight: 700;
|
||||
}
|
||||
fieldset.fieldset-borde {
|
||||
|
||||
border: 2px solid #EDEDED !important;
|
||||
border-radius:3px;
|
||||
padding: 0 1.4em 1.4em 1.4em !important;
|
||||
margin: 0 0 1.5em 0 !important;
|
||||
-webkit-box-shadow: 0px 0px 0px 0px #000;
|
||||
box-shadow: 0px 0px 0px 0px #000;
|
||||
}
|
||||
|
||||
legend.legend-area {
|
||||
font-size: 1.2em !important;
|
||||
font-weight: bold !important;
|
||||
text-align: left !important;
|
||||
width:auto;
|
||||
padding:0 10px;
|
||||
border-bottom:none;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
min-width: 600px;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.topnav {
|
||||
font-size: 14px;
|
||||
@ -129,7 +175,7 @@ h6 {
|
||||
padding-bottom: 50px;
|
||||
text-align: center;
|
||||
color: #f8f8f8;
|
||||
background: url(images/secure/?file=600/<?php echo $background_imagen; ?> ) no-repeat center center;
|
||||
background: url(milfs/images/secure/?file=600/<?php echo $background_imagen; ?> ) no-repeat center center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
@ -145,7 +191,7 @@ h6 {
|
||||
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
|
||||
font-size: 5em;
|
||||
border-radius: 3px;
|
||||
background: url(images/oscuro40.png ) ;
|
||||
background: url(milfs/images/oscuro40.png ) ;
|
||||
}
|
||||
|
||||
.intro-divider {
|
||||
@ -194,6 +240,8 @@ h6 {
|
||||
.content-section-a {
|
||||
padding: 50px 0;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 5px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.content-section-b {
|
||||
@ -271,6 +319,7 @@ p.copyright {
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Navigation -->
|
||||
<nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
|
||||
<div class="container topnav">
|
||||
@ -292,7 +341,7 @@ p.copyright {
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a href="?ingresar">Ingresar</a>
|
||||
<a href="milfs/?ingresar">Ingresar</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -362,7 +411,7 @@ else{ echo landingpage_contenido($id_empresa);}
|
||||
<div class="col-lg-8">
|
||||
<ul class="list-inline banner-social-buttons">
|
||||
<li>
|
||||
<a target='redes' href="https://twitter.com/<?php echo $twitter[0]; ?>" class="btn btn-default btn-lg"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">@<?php echo $twitter[0]; ?></span></a>
|
||||
<a target='redes' href="https://twitter.com/<?php echo $twitter[0]; ?>" class="btn btn-default btn-lg"><i class="fa fa-twitter fa-fw"></i> <span class="network-name"><?php echo $twitter[0]; ?></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a target='redes' href="https://github.com/humano/milfs/" class="btn btn-default btn-lg"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
|
||||
@ -379,7 +428,27 @@ else{ echo landingpage_contenido($id_empresa);}
|
||||
|
||||
</div>
|
||||
<!-- /.banner -->
|
||||
<!-- Modal -->
|
||||
|
||||
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
|
||||
<div class='modal-dialog modal-lg' >
|
||||
<div class='modal-content'>
|
||||
<div class='modal-header' >
|
||||
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'><i class='fa fa-times-circle'></i></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>
|
||||
<!-- Modal -->
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
<div class="container">
|
||||
@ -399,202 +468,14 @@ else{ echo landingpage_contenido($id_empresa);}
|
||||
</li>
|
||||
</ul>
|
||||
<p class="copyright text-muted small"> <a href='http://QWERTY.co/milfs'>© MILFS Un proyecto de http://QWERTY.co</a> Se distribuye bajo licencia GPL V3
|
||||
<a href="?psi" target="_psi"><i class="fa fa-smile-o "></i> Políticas de privacidad y protección de datos.</a></p>
|
||||
<a href="milfs/?psi" ><i class="fa fa-smile-o "></i> Políticas de privacidad y protección de datos.</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="js/jquery.js"></script>
|
||||
|
||||
<!-- Bootstrap Core JavaScript -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<?php
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
//require ('funciones/funciones.php');
|
||||
require ('funciones/convert.php');
|
||||
require ('funciones/login.php');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (isset($_REQUEST['form'])) {
|
||||
$form = $_REQUEST['form'];
|
||||
$opciones= array();
|
||||
if(isset($_REQUEST['formato']) ){ $opciones['formato']= $_REQUEST['formato']; }
|
||||
} else {$form = "";}
|
||||
if($form !='') {$embebido = 1;}
|
||||
if (isset($_REQUEST['identificador'])) {$identificador = $_REQUEST['identificador'];} else {$identificador = "";}
|
||||
if($identificador !='') {$embebido = 1;}
|
||||
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 = "";}
|
||||
if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.css">
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.min.css">
|
||||
<link href='css/estilos.php?dd' rel='stylesheet'>
|
||||
|
||||
|
||||
<style>
|
||||
#map {width: 500px;height:200px;}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<title>I<3MILFS</title>
|
||||
|
||||
<?php
|
||||
|
||||
if($id !='' OR $c ){$onload ="<script type=\"text/javascript\"> xajax_formulario_modal('".$id."','','".$c."','".$t."')</script>";}
|
||||
if( isset($_REQUEST['psi'])){$onload ="<script type=\"text/javascript\"> xajax_mostrar_psi()</script>";}
|
||||
?>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
||||
<script src="js/markdown.js"></script>
|
||||
<script src="js/to-markdown.js"></script>
|
||||
<script src="js/bootstrap-markdown.js"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
function evdragstart(ev,el) { //ev= el evento, el=elemento arrastrado.
|
||||
cont1=el.parentNode; //guardamos el elemento padre del elemento en una variable.
|
||||
ev.dataTransfer.setData("text",ev.target.id); //guardamos datos del elemento.
|
||||
}
|
||||
|
||||
function evdragover (ev) { //ev=el evento.
|
||||
ev.preventDefault(); //quitar comportamiento por defecto.
|
||||
}
|
||||
|
||||
function evdrop(ev,el) { //ev=el evento; el=receptor de soltado
|
||||
ev.stopPropagation(); //impedir otras acciones
|
||||
ev.preventDefault(); //quitar comportamiento por defecto
|
||||
var data=ev.dataTransfer.getData("text"); //recogemos datos del elemento
|
||||
mielem=ev.target.appendChild(document.getElementById(data)); //obtenemos el elemento arrastrado
|
||||
cont1.appendChild(mielem); //ponemos el elemento arrastrado en el mismo sitio donde estaba.
|
||||
mielem2=mielem.cloneNode(true); //creamos una copia del elemento arrastrado.
|
||||
mielem2.setAttribute("draggable","false"); //impedimos que el nuevo elemento pueda volver a arrastrarse
|
||||
el.appendChild(mielem2); //colocamos la copia en el receptor de soltado
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.modal-dialog {
|
||||
width: 98%;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body >
|
||||
|
||||
<?php if($embebido ==1) {
|
||||
if($form!=''){ echo formulario_embebido($form,$opciones);}
|
||||
elseif($identificador !='') { echo mostrar_identificador($identificador,$id);}
|
||||
//elseif($_REQUEST['psi'] !='') { include("psi.php") ; echo $aviso;}
|
||||
else{}
|
||||
|
||||
}else{
|
||||
|
||||
?>
|
||||
<?php echo @$onload; ?>
|
||||
<?php
|
||||
if ( isset ( $_SESSION['id'] ) ) { ?>
|
||||
<div class="navbar navbar-inverse nav-bar-fixed-top " role="navigation">
|
||||
<div class="container-fluid">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">MILFS</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="#"><img src="favicon-152.png" style="width:60px" alt="MILFS" title="Multi Interactive Light Form System"></a>
|
||||
</div>
|
||||
|
||||
<?php echo milfs() ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }else{ } ?>
|
||||
|
||||
|
||||
<div id='debug'></div>
|
||||
<div class='container'>
|
||||
<div id='contenido'>
|
||||
|
||||
<?php
|
||||
if(!isset($_SESSION['id_empresa'])) {$id_empresa_portada='1';} else{$id_empresa_portada = $_SESSION['id_empresa'];}
|
||||
$encabezado = empresa_datos("$id_empresa_portada",'encabezado');
|
||||
$pie = empresa_datos("$id_empresa_portada",'pie');
|
||||
echo "$encabezado";
|
||||
?>xxx
|
||||
<?php echo buscar_imagen("21","","",""); ?>
|
||||
xxx
|
||||
<?php if(isset($_REQUEST['change'])){
|
||||
echo cambiar_password_formato("$_REQUEST[change]");
|
||||
}
|
||||
revisar_ingreso('');
|
||||
?>
|
||||
|
||||
<?php echo $pie; ?>
|
||||
<img class='img-responsive center-block' src="images/logo.png" alt="MILFS">
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<!-- 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'>×</button>
|
||||
<h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
|
||||
</div>
|
||||
<div class='modal-body'>
|
||||
<?php include("psi.php") ;?>
|
||||
<div id='muestra_form'></div>
|
||||
</div>
|
||||
<div class='modal-footer' id='pie_modal'>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="">
|
||||
<div class="container">
|
||||
<a href='http://QWERTY.co/milfs'>© MILFS Un proyecto de http://QWERTY.co</a> Se distribuye bajo licencia GPL V3
|
||||
<a href="?psi" target="_psi"><i class="fa fa-smile-o "></i> Políticas de privacidad y protección de datos.</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php echo $onload; ?>
|
||||
</body>
|
||||
<?php //} ?>
|
||||
</html>
|
@ -3,7 +3,7 @@ header("Content-Type: text/css");
|
||||
echo dibuja_clase();
|
||||
|
||||
function dibuja_clase(){
|
||||
|
||||
$resultado ="";
|
||||
$link=Conectarse();
|
||||
mysql_query("SET NAMES 'utf8'");
|
||||
$consulta = "SELECT elemento FROM estilos GROUP BY elemento";
|
||||
@ -14,7 +14,7 @@ if (mysql_num_rows($sql)!='0'){
|
||||
mysql_data_seek($sql, 0);
|
||||
|
||||
while( $row = mysql_fetch_array( $sql ) ) {
|
||||
$elemento= dibuja_elemento($row[elemento]);
|
||||
$elemento= dibuja_elemento($row['elemento']);
|
||||
$resultado .= "$row[elemento]{
|
||||
$elemento
|
||||
}\n";
|
||||
@ -25,13 +25,14 @@ return;
|
||||
}
|
||||
|
||||
function dibuja_elemento($elemento){
|
||||
$resultado ="";
|
||||
$link=Conectarse();
|
||||
mysql_query("SET NAMES 'utf8'");
|
||||
$consulta = "SELECT * FROM estilos WHERE elemento = '$elemento' ";
|
||||
$sql=mysql_query($consulta,$link);
|
||||
if (mysql_num_rows($sql)!='0'){
|
||||
while( $row = mysql_fetch_array( $sql ) ) {
|
||||
if($row[color] !=='') {$color = "$row[color]";}else{$color="";}
|
||||
if($row['color'] !=='') {$color = "$row[color]";}else{$color="";}
|
||||
$resultado .= "$row[label]:$row[valor] $color ;\n";
|
||||
}
|
||||
|
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 248 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
Before Width: | Height: | Size: 1016 B After Width: | Height: | Size: 1016 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 986 B After Width: | Height: | Size: 986 B |
Before Width: | Height: | Size: 981 B After Width: | Height: | Size: 981 B |
Before Width: | Height: | Size: 981 B After Width: | Height: | Size: 981 B |
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
@ -2,9 +2,9 @@
|
||||
function Conectarse(){
|
||||
if ( !isset ( $link ) ) {
|
||||
|
||||
include("includes/datos.php");
|
||||
@include("includes/datos.php");
|
||||
if(!isset($db)) {
|
||||
include("milfs/includes/datos.php");
|
||||
@include("milfs/includes/datos.php");
|
||||
}
|
||||
|
||||
if (!($link=mysql_connect($servidor,$usuario,$password)))
|
||||
@ -21,6 +21,8 @@ function Conectarse(){
|
||||
$_SESSION['path']= $path_instalacion;
|
||||
$_SESSION['path_images_secure']= $path_images_secure;
|
||||
$_SESSION['url']= $url;
|
||||
$_SESSION['site']= $site;
|
||||
$_SESSION['analizador']= "$codigo_analizador";
|
||||
$_SESSION['upload_size']= $upload_size;
|
||||
return $link;
|
||||
}
|
0
milfs/funciones/experimentales.php → website/milfs/funciones/experimentales.php
Normal file → Executable file
0
milfs/funciones/login.php → website/milfs/funciones/login.php
Normal file → Executable file
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |