diff --git a/index.php b/index.php index 4167f25..6209a3f 100644 --- a/index.php +++ b/index.php @@ -101,7 +101,7 @@ $plantilla= $_REQUEST['plantilla']; if($_REQUEST['tema'] !="") { $tema= "$_REQUEST[tema]";} else { - if($v[0] =='a') { $tema='aplicacion'; }else{$tema="moon";} + if($v[0] =='a' OR $v[0] =='k') { $tema='aplicacion'; }else{$tema="moon";} } $presentacion_cabeza = " @@ -374,11 +374,12 @@ if ($variable !=''){ + + + + + + "; + $librerias_pie = "$aplicacion_pie"; + + $librerias_cabeza =" + $presentacion_cabeza "; + $suite_listado = suite_listado("$id","$_REQUEST[suite]"); + $onload = "$suite_listado"; } else{ @@ -920,6 +954,7 @@ $menu_lateral = " + diff --git a/milfs/css/style.css b/milfs/css/style.css index 722ccba..93fa3c0 100644 --- a/milfs/css/style.css +++ b/milfs/css/style.css @@ -1,176 +1,7 @@ - -@media (max-width: 768px) { - .btn-responsive { - padding:2px 4px; - font-size:80%; - line-height: 1; - border-radius:3px; - } + + + +.drop-up { + top: auto; + bottom: 100% !important; } - -@media (min-width: 769px) and (max-width: 992px) { - .btn-responsive { - padding:4px 9px; - font-size:90%; - line-height: 1.2; - } -} - - * { - margin: 0; - padding: 0; -} - - - -body { - background: #222; - font-family: Georgia, serif; - color: #fff; - font-size: 14px; -} - -#dates a { - color: gray; - text-decoration: none; - -webkit-transition: 0.5s; - -moz-transition: 0.5s; - -o-transition: 0.5s; - -ms-transition: 0.5s; - transition: 0.5s; - font-size: 12px; -} -#dates a:hover, -#dates a.selected { - color: red; - font-size: 18px; - } - - - #timeline { - width: 95%; - height: 500px; - overflow: hidden; - margin: 100px auto; - position: relative; - - } - #dates { - width: 800px; - height: 60px; - overflow: hidden; - background: url('timeline/dot.gif') left 45px repeat-x; - } - #dates li { - list-style: none; - float: left; - width: 100px; - height: 50px; - font-size: 24px; - text-align: center; - background: url('timeline/biggerdot.png') center bottom no-repeat; - } - #dates a { - line-height: 18px; - padding-bottom: 10px; - } - #dates .selected { - font-size: 18px; - } - - #issues { - width: 800px; - height: 500px; - overflow: hidden; - } - #issues li { - width: 900px; - height: 500px; - list-style: none; - float: left; - } - #issues li.selected img { - -webkit-transform: scale(1.1,1.1); - -moz-transform: scale(1.1,1.1); - -o-transform: scale(1.1,1.1); - -ms-transform: scale(1.1,1.1); - transform: scale(1.1,1.1); - } - #issues li img { - float: left; - margin: 10px 30px 10px 50px; - background: transparent; - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */ - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */ - zoom: 1; - -webkit-transition: all 2s ease-in-out; - -moz-transition: all 2s ease-in-out; - -o-transition: all 2s ease-in-out; - -ms-transition: all 2s ease-in-out; - transition: all 2s ease-in-out; - -webkit-transform: scale(0.7,0.7); - -moz-transform: scale(0.7,0.7); - -o-transform: scale(0.7,0.7); - -ms-transform: scale(0.7,0.7); - transform: scale(0.7,0.7); - } - #issues li h1 { - - font-size: 48px; - margin: 20px 0; - color: red; - /*text-shadow: #000 1px 1px 2px;*/ - } - #issues li p { - font-size: 14px; - margin-right: 70px; - font-weight: normal; - line-height: 22px; - /* text-shadow: #000 1px 1px 2px;*/ - } - - #grad_left, - #grad_right { - width: 100px; - height: 500px; - position: absolute; - top: 0; - } - #grad_left { - left: 0; - /* background: url('timeline/grad_left.png') repeat-y;*/ - } - #grad_right { - right: 0; - /* background: url('timeline/grad_right.png') repeat-y;*/ - } - - #next, - #prev { - position: absolute; - top: 0; - font-size: 70px; - top: 170px; - width: 22px; - height: 38px; - background-position: 0 0; - background-repeat: no-repeat; - text-indent: -9999px; - overflow: hidden; - } - #next:hover, - #prev:hover { - background-position: 0 -76px; - } - #next { - right: 0; - background-image: url('timeline/next.png'); - } - #prev { - left: 0; - background-image: url('timeline/prev.png'); - } - #next.disabled, - #prev.disabled { - opacity: 0.2; - } \ No newline at end of file diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index 7091c7f..0e0eca9 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -2,13 +2,22 @@ date_default_timezone_set('America/Bogota'); -function suite_listado($id_empresa){ -$consulta= "SELECT *,count(grupo) as cantidad FROM form_grupo WHERE id_empresa= '$id_empresa' GROUP BY grupo "; +function suite_listado($id_empresa,$suite){ + $suite=urldecode($suite) ; + if($suite!="") { $campo='id as campo, grupo'; $w_grupo ="AND grupo ='$suite'";}else {$w_grupo="GROUP BY grupo "; $campo ='grupo , count(grupo) as campo '; } +$consulta= "SELECT *, $campo FROM form_grupo WHERE id_empresa= '$id_empresa' $w_grupo "; $miniatura =""; $link=Conectarse(); mysqli_set_charset($link, "utf8"); $sql=mysqli_query($link,$consulta); $linea=""; + $linea_consultar=""; + $linea_editar=""; + $razon_social = remplacetas('empresa','id',"$id_empresa",'razon_social','') ; + $slogan = remplacetas('empresa','id',"$id_empresa",'slogan','') ; + $web = remplacetas('empresa','id',"$id_empresa",'web',''); + $logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ; + if (mysqli_num_rows($sql)!='0'){ $fila = 1; @@ -38,7 +47,11 @@ if (mysqli_num_rows($sql)!='0'){ elseif($vista=='agenda') { $favorita="?eventos=$row[id]";} else{ $favorita="b$row[id]?registros=10";} +; + $titulo = remplacetas('form_id','id',$row['id'],'nombre',"") ; + $descripcion = remplacetas('form_id','id',$row['id'],'descripcion',"") ; + if($geo[0] !='') { $mapa= " Mapa";}else {$mapa='';} $descripcion_limpia = strip_tags($row['descripcion']); if($imagen !="") { @@ -73,31 +86,130 @@ if($ver_data[0] !="0") {$boton_ver_data =" $titulo[0]"; + }else{ if($llenar[0] !="0"){ - $linea .="