From e019bfa447a8afa594d82ad930041aedb95e3f24 Mon Sep 17 00:00:00 2001 From: humano Date: Fri, 27 Nov 2015 10:10:59 -0500 Subject: [PATCH] =?UTF-8?q?ADDONS=20implentaci=C3=B3n=20de=20addons=20y=20?= =?UTF-8?q?algunas=20correcciones=20menores?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/index.php | 92 +++++++++++++++++++++------ website/milfs/addon/dummy/config.php | 0 website/milfs/addon/dummy/dummy.php | 0 website/milfs/addon/dummy/index.php | 0 website/milfs/addon/funciones.php | 3 + website/milfs/funciones/funciones.php | 48 ++++++++++++-- 6 files changed, 118 insertions(+), 25 deletions(-) create mode 100644 website/milfs/addon/dummy/config.php create mode 100644 website/milfs/addon/dummy/dummy.php create mode 100644 website/milfs/addon/dummy/index.php create mode 100644 website/milfs/addon/funciones.php diff --git a/website/index.php b/website/index.php index 68afe93..6b2dece 100644 --- a/website/index.php +++ b/website/index.php @@ -5,6 +5,7 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');} $xajax = new xajax(); require ("milfs/funciones/conex.php"); require ('milfs/funciones/funciones.php'); + include ('milfs/addon/funciones.php'); require ("milfs/includes/markdown.php"); require ("milfs/includes/simple_html_dom.php"); $xajax->processRequests(); ?> @@ -16,14 +17,10 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');} - - + - - printJavascript("milfs/xajax/"); ?> - - + $titulo[0]"; $publico = remplacetas('form_id','id',$form[0],'publico',"") ; @@ -76,11 +76,16 @@ if($id[0]=="") { $id_empresa = "1";} } elseif( isset($form)){ if($form!=''){ + if(isset($_REQUEST['embebido']) ){ + $onload = formulario_embebido($form,$opciones); + }else { $onload =" "; + } // echo formulario_embebido($form,$opciones); } } + elseif( isset($_REQUEST['psi'])){$onload ="";} else{} $logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ; @@ -93,12 +98,32 @@ $twitter = remplacetas('empresa','id',"$id_empresa",'twitter','') ; $razon_social = remplacetas('empresa','id',"$id_empresa",'razon_social','') ; $sigla = remplacetas('empresa','id',"$id_empresa",'sigla','') ; - +$uri = trim($_SESSION[site], '/').$_SERVER[REQUEST_URI]; ?> - - - + + + + + + + + + + +"> + + + +" /> +" /> + + + + + printJavascript("milfs/xajax/"); ?> + + @@ -319,7 +344,31 @@ p.copyright { + + + + + +