From 4a1ace523166c0c48ffb44d23ed6746567a97ab9 Mon Sep 17 00:00:00 2001 From: fredyrivera Date: Thu, 16 Mar 2017 19:46:38 -0500 Subject: [PATCH] renombre mapero --- Mapero.php | 262 +++++++++++++++++++++++++ iconoclasta/funciones/funciones.php | 5 +- mapero.php | 289 ++++++++++++++++++---------- 3 files changed, 451 insertions(+), 105 deletions(-) create mode 100644 Mapero.php diff --git a/Mapero.php b/Mapero.php new file mode 100644 index 0000000..6965e40 --- /dev/null +++ b/Mapero.php @@ -0,0 +1,262 @@ +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') ; +$id_empresa = remplacetas('form_id','id',$_REQUEST[id],'id_empresa') ; +$plantilla ="mapa"; +?> + + + + + <?php echo $formulario_nombre[0] ?> MILFS + + + + + + printJavascript("milfs/xajax/"); ?> + + + + + + + + + + + + $css_adicional[0] + + "; + } + else { + $css_adicional =""; + } + echo $css_adicional; ?> + + + +
+ + +
+ + $categorias +
+"; +$leyenda ="
Cerrar $categorias
"; + + + }else{ + + } + //echo $pie; + ?> + + + + \ No newline at end of file diff --git a/iconoclasta/funciones/funciones.php b/iconoclasta/funciones/funciones.php index 98ec0aa..f863304 100644 --- a/iconoclasta/funciones/funciones.php +++ b/iconoclasta/funciones/funciones.php @@ -40,8 +40,10 @@ if (cxt1) { texto='$iniciales'; //texto de prueba cxt1.beginPath() //iniciar ruta + + // #g8 cxt1.save(); cxt1.transform(50, 0.000000, 0.000000, 50, 30, 30); @@ -95,7 +97,8 @@ cxt1.beginPath() //iniciar ruta cxt1.fill(); cxt1.stroke(); cxt1.restore(); - cxt1.restore(); + cxt1.restore(); + }} diff --git a/mapero.php b/mapero.php index 6965e40..687857c 100644 --- a/mapero.php +++ b/mapero.php @@ -9,36 +9,56 @@ require ("milfs/funciones/conex.php"); //require ('funciones/convert.php'); $xajax->processRequests(); //if($_REQUEST[id2] =='') {$agregar= $_REQUEST[id];}else {$agregar = $_REQUEST[id2];} +if(isset($_REQUEST[categoria]) AND isset($_REQUEST[buscar])) { +$_REQUEST[buscar] = "$_REQUEST[categoria]:$_REQUEST[buscar]"; + +} $formulario_nombre = remplacetas('form_id','id',$_REQUEST[id],'nombre') ; +$formulario_descripcion = remplacetas('form_id','id',$_REQUEST[id],'descripcion') ; $agregar_nombre = remplacetas('form_id','id',$agregar,'nombre') ; $id_empresa = remplacetas('form_id','id',$_REQUEST[id],'id_empresa') ; +$logo = remplacetas('empresa','id',"$id_empresa[0]",'imagen','') ; +$razon_social = remplacetas('empresa','id',"$id_empresa[0]",'razon_social','') ; +$campos_formulario = input_campos("$_REQUEST[id]","categoria"); $plantilla ="mapa"; ?> - <?php echo $formulario_nombre[0] ?> MILFS - + - + printJavascript("milfs/xajax/"); ?> - + - - + + + + + + + +
+ + @@ -154,17 +222,74 @@ $leyenda ="
-
- + \ No newline at end of file