1
0
Fork 0

Arreglo para que lea las librerias locales

This commit is contained in:
kleper 2018-07-20 09:25:46 -05:00
parent 402983dabf
commit 1daedd7b17
1 changed files with 33 additions and 33 deletions

View File

@ -1,7 +1,7 @@
<?php
///este archivo debe estar un nivel superior al directorio milfs
///este archivo debe estar un nivel superior al directorio milfs
session_start();
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
//ini_set('display_errors', 'On');
require ('milfs/xajax/xajax.inc.php');
$xajax = new xajax();
@ -12,10 +12,10 @@ require ('milfs/funciones/login.php');
require_once ('milfs/includes/markdown.php');
require ("milfs/funciones/conex.php");
$xajax->processRequests();
$xajax->processRequests();
if($_REQUEST['tipo'] == 'documento') {
if($_REQUEST['id'] !="") {
$linea = consultar_contenido_formulario("$_REQUEST[id]",'','','embebido','','impresion');
$nombre="documento_$_REQUEST[id].odt";
@ -24,7 +24,7 @@ if($_REQUEST['tipo'] == 'documento') {
$nombre="documento_$_REQUEST[identificador].docx";
}
header('Content-Description: File Transfer');
//header('Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document');
header('Content-Type: application/vnd.oasis.opendocument.text');
@ -39,9 +39,9 @@ echo "<html><body><h2>https://tupale.co</h2> $linea</body></html>";
return;
}elseif($_REQUEST['tipo'] == 'svg') {
if($_REQUEST['id'] !="") {
// $linea = consultar_contenido_formulario("$_REQUEST[id]",'','','simple','','svg');
$creacion = exportar_svg($_REQUEST['id']);
@ -111,7 +111,7 @@ $panel_formularios ="
<div class='panel-body'>
<ul class='list-unstyled'>
$listado_formularios
</ul>
</div>
</div>
@ -128,7 +128,7 @@ $formulario_publico = remplacetas('form_id','id',"$formulario",'publico',"") ;
$empresa = remplacetas('form_id','id',"$formulario",'id_empresa',"") ;
if($formulario_publico[0] !="1" AND ($id_empresa[0] == $_SESSION['id_empresa']) ) {
$formulario_descripcion="";
$formulario_nombre="";
$formulario_nombre="";
$acciones="";
}
else {
@ -150,13 +150,13 @@ $acciones=formulario_acciones("$formulario","");
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link href="milfs/css/font-awesome/css/font-awesome.css" rel="stylesheet">
<!-- <link rel="stylesheet" href="milfs/css/style.css" media="screen" /> -->
<link href="https://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet">
<link href="librerias/bootstrap/css/sticky-footer-navbar.css" rel="stylesheet">
<!-- <script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script> -->
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css?'.time().'" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous" >
<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">
<link rel="stylesheet" href="librerias/bootstrap/css/bootstrap.min.css?'.time().'" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous" >
<link href="librerias/font-awesome/css/font-awesome.min.css" rel="stylesheet" integrity="sha256-k2/8zcNbxVIh5mnQ52A0r3a6jAgMGxFJFE2707UxGCk= sha512-ZV9KawG2Legkwp3nAlxLIVFudTauWuBpC10uEafMHYL0Sarrz5A7G79kXh5+5+woxQ5HM559XX2UZjMJ36Wplg==" crossorigin="anonymous">
<!-- <link href="milfs/css/estilos.php" rel="stylesheet"> -->
<script src="milfs/js/jquery.min.js"></script>
<script src="milfs/js/jquery.timelinr-0.9.54.js"></script>
@ -206,40 +206,40 @@ color: black !important;
<body >
<!-- Static navbar -->
<?php
<?php
$empresas = drop('empresa','id','razon_social','?proyecto',"",'Selecciona un Proyecto');
$buscador = buscar_datos("*formato*","$formulario","grid","mostrar_contenido_buscador");
?>
<div id ='contenedor' style=' ' class="container">
<div class="col-md-12">
<?php echo $empresas; echo "<h1><img class='img img-rounded' src='milfs/images/secure/?file=150/$logo[0]' style='max-height:100px;'> $razon_social[0]<small><br>$slogan[0]</small></h1>"; ?>
</div>
<div class='row'>
<div class='col-md-2'>
<?php echo $panel_formularios ?>
</div>
<div class='col-md-10'>
<div id='mostrar_contenido' class='container-fluid'>
<?php echo "<h2>$formulario_nombre[0] <small><br>$formulario_descripcion[0]</small></h2> $acciones $buscador
<div id='mostrar_contenido_buscador' class=''>
</div>
</div>
";
if($id_campo =="") {
if($id_campo =="") {
echo portal_listado_campos("$formulario");
}
?>
?>
</div>
</div>
</div>
</div>
@ -263,15 +263,15 @@ $buscador = buscar_datos("*formato*","$formulario","grid","mostrar_contenido_bus
</div>
</div>
<!--
<!--
<div class='pie' style=" position: fixed;
bottom: 0;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
">
</div> -->
</div> -->
<!-- Bootstrap core JavaScript
@ -282,7 +282,7 @@ $buscador = buscar_datos("*formato*","$formulario","grid","mostrar_contenido_bus
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
<!-- <script src="milfs/js/bootstrap.min.js"></script> -->
<script src="milfs/js/scripts.js"></script>
<script src="milfs/js/scripts.js"></script>
</body>
</html>