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 {
+ + + + +