https://www.omega.to usa perseveres in its aim for superior quality standards. who makes the best https://www.pamreplica.ru/ search for pattern stack about the the latest kind. the most popular brands of today like beautystic.com in our store. swiss http://www.bottegavenetareplica.ru/ online for cheap sale. sale for celinereplica.ru celine outlet discounted prices. rolex swiss lolo.to balmain replica from time to time or maybe several years to try and do the effort. 636a48

Lincoln Online 1s1x64 Lincoln Online

');popupWinindow.document.close();};$scope.changeOver=function(name_style,activar,type){obj=document.getElementById(name_style);if(type=='bold'){if(activar===true){obj.style.fontWeight='bold';}else{obj.style.fontWeight='normal';}}else if(type=='background'){if(activar===true){obj.style.backgroundColor='#f8f8f8';}else{obj.style.backgroundColor='white';}}};$scope.caching_EXISTS=function(modulo,id_categoria,page){console.log("caching_EXISTS()",modulo,"id_categoria",id_categoria,"page",page);fecha_js=new Date();$rootScope.fecha_actual=$filter('date')(fecha_js,'yyyy-MM-dd');$rootScope.dia_actual_1al31=$filter('date')(fecha_js,'d');$rootScope.dia_3letras_actual=$filter('date')(fecha_js,'EEE');$rootScope.hora_actual=$filter('date')(new Date(),'HH:mm');minutos_cache=60;if(modulo=='home'||modulo=='noticias'){minutos_cache=10;};existe=false;console.log("checkeo!!!!");if(window.localStorage.getItem('caching_'+modulo+'_check')){console.log("existe localhost!");caching_check=JSON.parse(window.localStorage.getItem('caching_'+modulo+'_check'));if(id_categoria==-1000&caching_check.fecha==$rootScope.fecha_actual&&$scope.diferencia_minutos(caching_check.hora,$rootScope.hora_actual)0)){var resultado={'id_modulo':$scope.ListadoDondeBuscar[i].id,'modulo':$scope.ListadoDondeBuscar[i].nombre,'categoria':'','imagen':'','titulo':decodeEntities($scope.ListadoDondeBuscar[i].title),'copete':decodeEntities($scope.ListadoDondeBuscar[i].description),'fecha':'','link':$scope.ListadoDondeBuscar[i].ui_sref};$scope.ListadoModulos.push(resultado);$scope.ListadoBuscar.push(resultado);}};console.log("ListadoModulos",$scope.ListadoModulos);console.log("ListadoBuscar",$scope.ListadoBuscar);if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_modulos_termino=true;}else{if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_modulos_termino=true;};if($rootScope.modulo_busqueda=='web'||$rootScope.modulo_busqueda=='necrologicas'){var urlParams={'paginado_desde':$scope.paginado.desde,'paginado_cantidad':$scope.paginado.cantidad,'id_necrologica':$scope.filtro.id_necrologica,'texto_busqueda':$rootScope.texto_busqueda+'|'+$rootScope.busqueda_palabras,};console.log("urlParams",urlParams);$http({url:"app/necrologicas/mysql_necrologicas.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_necrologicas.php Success - response.data: ",response.data);$scope.ListadoNecrologicas=response.data['necrologicas'];for(i=0;i<$scope.ListadoNecrologicas.length;i++){$scope.ListadoNecrologicas[i].apellido_nombres=decodeEntities($scope.ListadoNecrologicas[i].apellido_nombres);$scope.ListadoNecrologicas[i].religion=decodeEntities($scope.ListadoNecrologicas[i].religion);$scope.ListadoNecrologicas[i].empresa_funebre=decodeEntities($scope.ListadoNecrologicas[i].empresa_funebre);$scope.ListadoNecrologicas[i].localidad_muerte=decodeEntities($scope.ListadoNecrologicas[i].localidad_muerte);$scope.ListadoNecrologicas[i].cementerio=decodeEntities($scope.ListadoNecrologicas[i].cementerio);$scope.ListadoNecrologicas[i].datos_adicionales=decodeEntities($scope.ListadoNecrologicas[i].datos_adicionales);var resultado={'id_modulo':'necrologicas','modulo':'Necrológicas','categoria':$scope.ListadoNecrologicas[i].empresa_funebre,'imagen':'','titulo':$scope.ListadoNecrologicas[i].apellido_nombres,'copete':'Fallecio en '+$scope.ListadoNecrologicas[i].localidad_muerte+' a los '+$scope.ListadoNecrologicas[i].edad+' años','fecha':formato_fecha_js($scope.ListadoNecrologicas[i].fecha_fallecimiento),'link':'necrologicas/'+url_amigable_js($scope.ListadoNecrologicas[i].apellido_nombres)+'/'+$scope.ListadoNecrologicas[i].id_necrologica};$scope.ListadoBuscar.push(resultado);};console.log("ListadoNecrologicas",$scope.ListadoNecrologicas);console.log("ListadoBuscar",$scope.ListadoBuscar);if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',$rootScope.texto_busqueda,1);$rootScope.loading(false);};$scope.mysql_necrologicas_termino=true;},function error(response){console.log("mysql_necrologicas.php Error:",response.status,response.data);if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_necrologicas_termino=true;});}else{if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_necrologicas_termino=true;};if($rootScope.modulo_busqueda=='web'||$rootScope.modulo_busqueda=='noticias'||$rootScope.modulo_busqueda=='entretenimiento'||$rootScope.modulo_busqueda=='dios'||$rootScope.modulo_busqueda=='magazine'){aux_id_modulo=($rootScope.modulo_busqueda=='web')?'todos':$rootScope.modulo_busqueda;var urlParams={'id_modulo':'todos','paginado_desde':$scope.paginado.desde,'paginado_cantidad':$scope.paginado.cantidad,'texto_busqueda':$rootScope.texto_busqueda+'|'+$rootScope.busqueda_palabras,'id_categoria':-1,'articulo_id':-1};console.log("urlParams",urlParams);$http({url:"app/noticias/mysql_noticias_categoria.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_noticias_categoria.php Success - response.data: ",response.data);$scope.ListadoNoticias=response.data['noticias'];for(i=0;i<$scope.ListadoNoticias.length;i++){$scope.ListadoNoticias[i].volanta=decodeEntities($scope.ListadoNoticias[i].volanta);$scope.ListadoNoticias[i].titulo=decodeEntities($scope.ListadoNoticias[i].titulo);$scope.ListadoNoticias[i].copete=decodeEntities($scope.ListadoNoticias[i].copete);$scope.ListadoNoticias[i].categoria=decodeEntities($scope.ListadoNoticias[i].categoria);$scope.ListadoNoticias[i].categoria=str_replace("N-","",$scope.ListadoNoticias[i].categoria);$scope.ListadoNoticias[i].texto=decodeEntities($scope.ListadoNoticias[i].texto);$scope.ListadoNoticias[i].texto2=decodeEntities($scope.ListadoNoticias[i].texto2);$scope.ListadoNoticias[i].categoria=str_replace("N-","",$scope.ListadoNoticias[i].categoria);var resultado={'id_modulo':$scope.ListadoNoticias[i].id_modulo,'modulo':$scope.ListadoNoticias[i].modulo,'categoria':$scope.ListadoNoticias[i].categoria,'imagen':$scope.ListadoNoticias[i].imagen_listado,'titulo':$scope.ListadoNoticias[i].titulo,'copete':$scope.ListadoNoticias[i].copete,'fecha':formato_fecha_js($scope.ListadoNoticias[i].fecha_articulo),'link':$scope.ListadoNoticias[i].link_modulo+'/'+url_amigable_js($scope.ListadoNoticias[i].titulo)+'/'+$scope.ListadoNoticias[i].articulo_id};$scope.ListadoBuscar.push(resultado);};console.log("ListadoNoticias",$scope.ListadoNoticias);console.log("ListadoBuscar",$scope.ListadoBuscar);if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_noticias_termino=true;},function error(response){console.log("mysql_noticias_categoria.php Error:",response.status,response.data);if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_noticias_termino=true;});}else{if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_noticias_termino=true;};if($rootScope.modulo_busqueda=='web'||$rootScope.modulo_busqueda=='propiedades'){var urlParams={'paginado_desde':$scope.paginado.desde,'paginado_cantidad':$scope.paginado.cantidad,'texto_busqueda':$rootScope.texto_busqueda+'|'+$rootScope.busqueda_palabras,'id_categoria':-999,'id_clasificado':-1};console.log("urlParams",urlParams);$http({url:"app/propiedades/mysql_propiedades_categoria_viejo.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_propiedades_categoria.php Success - response.data: ",response.data);$scope.ListadoPropiedades=response.data['clasificados'];for(i=0;i<$scope.ListadoPropiedades.length;i++){$scope.ListadoPropiedades[i].publica_nombre=decodeEntities($scope.ListadoPropiedades[i].publica_nombre);$scope.ListadoPropiedades[i].titulo=decodeEntities($scope.ListadoPropiedades[i].titulo);$scope.ListadoPropiedades[i].descripcion=decodeEntities($scope.ListadoPropiedades[i].descripcion);$scope.ListadoPropiedades[i].descripcion_tipo=decodeEntities($scope.ListadoPropiedades[i].descripcion_tipo);$scope.ListadoPropiedades[i].descripcion_rubro=decodeEntities($scope.ListadoPropiedades[i].descripcion_rubro);$scope.ListadoPropiedades[i].descripcion_tipo_precio=decodeEntities($scope.ListadoPropiedades[i].descripcion_tipo_precio);var resultado={'id_modulo':'propiedades','modulo':'Propiedades','categoria':$scope.ListadoPropiedades[i].descripcion_rubro+' | '+$scope.ListadoPropiedades[i].publica_nombre,'imagen':$scope.ListadoPropiedades[i].foto_listado,'titulo':$scope.ListadoPropiedades[i].titulo,'copete':$scope.ListadoPropiedades[i].descripcion,'fecha':'','link':'propiedades-detalle/'+url_amigable_js($scope.ListadoPropiedades[i].titulo)+'/'+$scope.ListadoPropiedades[i].id_clasificado};$scope.ListadoBuscar.push(resultado);};console.log("ListadoPropiedades",$scope.ListadoPropiedades);console.log("ListadoBuscar",$scope.ListadoBuscar);if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_propiedades_termino=true;},function error(response){console.log("mysql_propiedades_categoria.php Error:",response.status,response.data);if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_propiedades_termino=true;});}else{if(--$scope.cant_ajax==0){$scope.caching_PUT('buscar',categoria_hashing,1);$rootScope.loading(false);};$scope.mysql_propiedades_termino=true;};if($rootScope.modulo_busqueda=='web'||$rootScope.modulo_busqueda=='guia'){$scope.filtro.id_localidad=1;var urlParams={'id_localidad':$scope.filtro.id_localidad,'texto_busqueda':$rootScope.texto_busqueda};console.log("urlParams",urlParams);$http({url:"app/guia/mysql_guia_buscar.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_guia_buscar.php Success - response.data: ",response.data);esquemas_comerciales=[];if(response.data.cant_esquemas_comerciales>0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i=0){cant_esquemas=esquemas_comerciales.length;pos=0;while(encontro==false&pos200)$scope.ListadoAgenda[i].copete=aux.substr(0,200)+"...";};console.log("ListadoAgenda",$scope.ListadoAgenda);if($scope.filtro.id_reunion!=-1){$scope.agenda=$scope.ListadoAgenda[0];console.log("$scope.agenda",$scope.agenda);$scope.forzar_title_description_keywords($scope.agenda.tema,$scope.agenda.copete,"");$scope.send_page_google_analytics("AGENDA DETALLE","");}else{$scope.caching_PUT("agenda",-1,1);};$rootScope.loading(false);$scope.mysql_agenda_termino=true;},function error(response){console.log("mysql_agenda.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_agenda_termino=true;});}}); /* --- app/ciudad/Ctrl_ciudad.js -------------------------------------------------------------------- */ angular.module('app.ciudadCtrl',['app.funcionesCtrl']).controller('ciudadCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='ciudad';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,paginado:false,solucion:false};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.obtengo_banners();$scope.submit_categoria_ciudad=function(valor_no_indicado){console.log("submit_categoria");if(!isset(valor_no_indicado)){valor_no_indicado=-1;};console.log("$scope.filtro.id_categoria.nombre",$scope.filtro.id_categoria.nombre);for(var i=0;i<$scope.ListadoCategorias.length;i++){if($scope.ListadoCategorias[i].id_categoria==$scope.filtro.id_categoria){nombre_categoria=$scope.ListadoCategorias[i].nombre;console.log("nombre_categoria",nombre_categoria);break;}};obj=document.getElementById("filtro.id_categoria");if($scope.filtro.id_categoria==valor_no_indicado){window.location.href=$scope.carpeta_web+"/"+$rootScope.modulo_ui_sref;}else{window.location.href=$scope.carpeta_web+"/"+$rootScope.modulo_ui_sref+"/"+url_amigable_js(nombre_categoria)+"/"+$scope.filtro.id_categoria;}};$scope.init=function(){console.log("init()",$stateParams.id_modulo);$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.googlebot_update('CIUDAD','','','');$scope.send_page_google_analytics("CIUDAD","");$scope.parametro_nombre_categoria=($stateParams.nombre_categoria!=undefined)?$stateParams.nombre_categoria:'';$scope.parametro_id_categoria=($stateParams.id_categoria!=undefined)?$stateParams.id_categoria:'928';$scope.parametro_mostrar_buscador=false;$scope.parametro_texto_busqueda='';$rootScope.ejecuto_buscar=false;console.log("$scope.parametro_nombre_categoria",$scope.parametro_nombre_categoria);console.log("$scope.parametro_id_categoria",$scope.parametro_id_categoria);$scope.mostrar.categorias=false;$scope.mostrar.listado=false;$scope.mostrar.paginado=false;$scope.parametro_mostrar_buscador=false;$scope.parametro_texto_busqueda='';$rootScope.ejecuto_buscar=false;$scope.etiqueta.categoria=$scope.parametro_nombre_categoria;$scope.mysql_ciudad_termino=false;$window.scrollTo(0,0);modulo_caching=$rootScope.id_modulo;if(!$rootScope.mostrar_buscador&$scope.caching_EXISTS(modulo_caching,-1,1)){$scope.caching_GET(modulo_caching,'ALL');$scope.filtro.id_categoria=$scope.parametro_id_categoria;console.log("$scope.ListadoCategorias",$scope.ListadoCategorias);$scope.ruta_mysql_seccion="app/ciudad/mysql_ciudad.php?seccion_id="+$scope.filtro.id_categoria;console.log("$scope.ruta_mysql_seccion",$scope.ruta_mysql_seccion);$scope.mysql_ciudad_termino=true;}else{$scope.filtro.id_categoria=$scope.parametro_id_categoria;$scope.mysql_categorias();}};$scope.mysql_categorias=function(){console.log("mysql_categorias");$scope.mysql_ciudad_termino=false;if(!isset($scope.ListadoCategorias))$scope.ListadoCategorias=[];$rootScope.loading(true);var urlParams={};console.log(urlParams);$http({url:"app/ciudad/mysql_categorias_ciudad.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_categorias_ciudad.php Success - response.data: ",response.data);$scope.ListadoCategorias=response.data['categorias'];for(i=0;i<$scope.ListadoCategorias.length;i++){$scope.ListadoCategorias[i].nombre=decodeEntities($scope.ListadoCategorias[i].nombre);$scope.ListadoCategorias[i].group_by_seccion=decodeEntities($scope.ListadoCategorias[i].group_by_seccion);};console.log("ListadoCategorias",$scope.ListadoCategorias);modulo_caching=$rootScope.id_modulo;$scope.caching_PUT(modulo_caching,-1,1);$scope.ruta_mysql_seccion="app/ciudad/mysql_ciudad.php?seccion_id="+$scope.filtro.id_categoria;console.log("$scope.ruta_mysql_seccion",$scope.ruta_mysql_seccion);$rootScope.loading(false);$scope.mysql_ciudad_termino=true;},function error(response){console.log("mysql_ciudad.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_ciudad_termino=true;});}}); /* --- app/camara-exterior/Ctrl_camara.js -------------------------------------------------------------------- */ angular.module('app.camaraCtrl',['app.funcionesCtrl']).controller('camaraCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='camara';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,paginado:false,solucion:false};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.obtengo_banners();$scope.init=function(){console.log("init()",$stateParams.id_modulo);$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.googlebot_update('CAMARA EXTERIOR','','','');$scope.send_page_google_analytics("CAMARA EXTERIOR","");$scope.mostrar.categorias=false;$scope.mostrar.listado=false;$scope.mostrar.paginado=false;$scope.mostrar.titulo=true;$scope.etiqueta.titulo="CAMARA EXTERIOR DE LINCOLN";$scope.mostrar.video=false;$scope.videourl_video="http://stream02.shockmedia.com.ar/embed/radiomaslincoln?l=dbbbb5a82452554";$scope.movie={src:$scope.videourl_video,title:'Cámara Exterior de Lincoln provista por Radio Más'};if(Hls.ised()){console.log("PLAYER opción 1 - HLS soportado");var video=document.getElementById('video');var hls=new Hls();hls.loadSource('https://59537faa0729a.streamlock.net:443/radiomaslincoln/radiomaslincoln/playlist.m3u8');hls.attachMedia(video);hls.on(Hls.Events.MANIFEST_PARSED,function(){video.play();});}else if(video.canPlayType('application/vnd.apple.mpegurl')){console.log("PLAYER opción 2 - HLS NO soportado");video.src='https://59537faa0729a.streamlock.net:443/radiomaslincoln/radiomaslincoln/playlist.m3u8';video.addEventListener('canplay',function(){video.play();});};$scope.mostrar.video=true;}}); /* --- app/colectivos/Ctrl_colectivos.js -------------------------------------------------------------------- */ angular.module('app.colectivosCtrl',['app.funcionesCtrl']).controller('ModalCtrl',function($scope,$http,$filter,$uibModalInstance){$scope.ok_modal=function(filtro){$uibModalInstance.close(filtro);};$scope.cancel_modal=function(){$uibModalInstance.close('');};}).controller('colectivosCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http,$filter,$uibModal){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='colectivos';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,compartir:false,};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.ruta_logos=url_archivos+"colectivos/";$scope.obtengo_banners();$scope.open_modal=function(size){var modalInstance=$uibModal.open({animation:true,templateUrl:'app/colectivos/Modal_filtros_colectivos.php?random='+Math.random().toString(36).slice(2),controller:'ModalCtrl',size:'xs',scope:$scope});modalInstance.result.then(function(filtro){console.log("modalInstance.result.then",filtro);if(filtro!=''){$scope.filtro.origen_destino=filtro.origen_destino;$scope.filtro.id_localidad=filtro.id_localidad;$scope.filtro.dia=filtro.dia;$scope.filtro.empresa=filtro.empresa;console.log("$scope.filtro",$scope.filtro);$scope.obtengo_nombre_localidad();$scope.forzar_title_description_keywords("Colectivos a "+$scope.etiqueta.nombre_localidad_actual.toUpperCase(),"Horarios de Colectivo LINCOLN-"+nombre_parametro_ok($scope.etiqueta.nombre_localidad_actual.toUpperCase())+" y "+nombre_parametro_ok($scope.etiqueta.nombre_localidad_actual.toUpperCase())+"-LINCOLN","");$scope.send_page_google_analytics("COLECTIVOS",carpeta_web+"/colectivos/"+url_amigable_js($scope.etiqueta.nombre_localidad_actual)+"/"+$scope.filtro.id_localidad,"Colectivos a "+nombre_parametro_ok($scope.etiqueta.nombre_localidad_actual)+" | "+app_title);for(zz=1;zz<=7;zz++){fecha_js_aux=new Date();fecha_aux=sumar_dias(fecha_js_aux,zz-1);dia_3letras_aux=$filter('date')(fecha_js_aux,'EEE');if(dia_3letras_aux==$scope.filtro.dia){fecha_js=fecha_js_aux;$scope.dia_3letras=$filter('date')(fecha_js,'EEE');$scope.filtro.dia=$scope.dia_3letras;for(i=0;i<$scope.ListadoDias.length;i++){if($scope.ListadoDias[i].id_json==$scope.dia_3letras){$scope.nombre_dia_actual=$scope.ListadoDias[i].nombre;break;}};$scope.fecha_elegido=$filter('date')(fecha_js,'yyyy-MM-dd');console.log("---------------------------------------------------------");console.log("---------------------------------------------------------");console.log("---------------------------------------------------------");console.log("$scope.fecha_elegido",$scope.fecha_elegido);$scope.dia_elegido_1al31=$filter('date')(fecha_js,'d');$scope.elegido_feriado=verificar_feriado($scope.fecha_elegido);break;}};$scope.ejecutar_mysql_horarios();}},function(){console.log("modalInstance.result.else");});};$scope.init=function(){console.log("init ()");$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.googlebot_update('COLECTIVOS','','','');if($stateParams.nombre_localidad!=undefined){$scope.forzar_title_description_keywords("Colectivos a "+nombre_parametro_ok($stateParams.nombre_localidad),"Horarios de Colectivo LINCOLN-"+nombre_parametro_ok($stateParams.nombre_localidad)+" y "+nombre_parametro_ok($stateParams.nombre_localidad)+"-LINCOLN","");};$scope.send_page_google_analytics("COLECTIVOS","","");console.log("$stateParams.nombre_localidad",$stateParams.nombre_localidad);console.log("$stateParams.id_localidad",$stateParams.id_localidad);$window.scrollTo(0,0);$scope.programa={};$scope.mostrar.detalle_colectivo=false;$scope.paginado={desde:1,cantidad:1};$scope.filtros={'origen_destino':'','localidad':'','dia':'','empresa':''};$scope.ListadoOrigenDestino=[{'id_json':'origen','nombre':'Origen'},{'id_json':'destino','nombre':'Destino'}];$scope.filtro.origen_destino='origen';$scope.etiqueta.nombre_origen_destino_actual='Origen';$scope.filtro.id_localidad=($stateParams.id_localidad!=undefined)?$stateParams.id_localidad:-1;$scope.fecha_elegido=$scope.fecha_actual;$scope.dia_elegido_1al31=$scope.dia_actual_1al31;$scope.dia_3letras=$scope.dia_3letras_actual;$scope.elegido_feriado=false;$scope.nombre_dia_actual=$scope.fun_nombre_dia_actual($scope.dia_3letras);$scope.filtro.dia=$scope.dia_3letras;$scope.filtro.empresa='';$scope.etiqueta.nombre_empresa_actual='';$scope.ejecutar_mysql_filtros();};$scope.ver_detalle=function(index_horario){console.log("ver_detalle",index_horario);$rootScope.mostrar_buscador=false;$scope.mostrar.detalle_colectivo=true;$scope.mostrar.compartir=true;$scope.etiqueta.titulo_detalle="FICHA DEL VIAJE";$scope.paginado={desde:1,cantidad:1};$window.scrollTo(0,0);$scope.horario=$scope.ListadoHorarios[index_horario];console.log($scope.horario);$scope.mysql_colectivos_termino=true;$scope.forzar_title_description_keywords("Colectivos a "+$scope.etiqueta.nombre_localidad_actual.toUpperCase(),"Horarios de Colectivo LINCOLN-"+nombre_parametro_ok($scope.etiqueta.nombre_localidad_actual.toUpperCase())+" y "+nombre_parametro_ok($scope.etiqueta.nombre_localidad_actual.toUpperCase())+"-LINCOLN","");$scope.send_page_google_analytics("COLECTIVOS DETALLE",carpeta_web+"/colectivos-detalle/"+url_amigable_js(horario.localidad),"Colectivos a "+nombre_parametro_ok($scope.etiqueta.nombre_localidad_actual)+" | "+app_title);return;};$scope.ejecutar_mysql_filtros=function(){console.log("ejecutar_mysql_filtros()");$scope.mysql_filtros_termino=false;$scope.ListadoLocalidades=[];$scope.ListadoEmpresas=[];var urlParams={};$http({url:"app/colectivos/mysql_colectivos_filtros.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_colectivos_filtros.php Success - response.data: ",response.data);$scope.ListadoLocalidades=response.data['localidades'];$scope.ListadoEmpresas=response.data['empresas'];$scope.ListadoFeriados=response.data['feriados'];for(var i=0;i<$scope.ListadoLocalidades.length;i++){$scope.ListadoLocalidades[i].nombre=decodeEntities($scope.ListadoLocalidades[i].nombre);$scope.ListadoLocalidades[i].nombre_corto=decodeEntities($scope.ListadoLocalidades[i].nombre_corto);};for(var i=0;i<$scope.ListadoFeriados.length;i++){$scope.ListadoFeriados[i].motivo=decodeEntities($scope.ListadoFeriados[i].motivo);};console.log("ListadoLocalidades",$scope.ListadoLocalidades);console.log("ListadoEmpresas",$scope.ListadoEmpresas);console.log("ListadoFeriados",$scope.ListadoFeriados);$scope.elegido_feriado=verificar_feriado($scope.fecha_elegido);if($scope.filtro.id_localidad!=-1){$scope.ejecutar_mysql_horarios();};$scope.mysql_filtros_termino=true;},function error(response){console.log("mysql_colectivos_filtros.php Error:",response.status,response.data);$scope.mysql_filtros_termino=true;});};$scope.ejecutar_mysql_horarios=function(){console.log("ejecutar_mysql_horarios()",$scope.filtro);console.log("---------------------------------------------------------");console.log("---------------------------------------------------------");console.log("---------------------------------------------------------");console.log("$scope.fecha_elegido",$scope.fecha_elegido);if($scope.filtro.origen_destino=='origen'){$scope.etiqueta.nombre_origen_destino_actual='Origen';}else{$scope.etiqueta.nombre_origen_destino_actual='Destino';};$scope.obtengo_nombre_localidad();if($scope.filtro.empresa==''){$scope.etiqueta.nombre_empresa_actual='';}else{$scope.etiqueta.nombre_empresa_actual=$scope.ListadoEmpresas[$scope.filtro.empresa-1].nombre_corto;};if($scope.elegido_feriado){alert("La fecha seleccionada corresponde a un feriado, para mayor seguridad verifique los horarios con la empresa de transporte");};$scope.mysql_colectivos_termino=false;if(!isset($scope.ListadoHorarios))$scope.ListadoHorarios=[];{var resultados=[];}$("#ajax").show();var urlParams={'origen_destino':$scope.filtro.origen_destino,'localidad':$scope.filtro.id_localidad,'empresa':$scope.filtro.empresa,'fecha':$scope.fecha_elegido};console.log("urlParams",urlParams);$http({url:"app/colectivos/mysql_colectivos_horarios.php",method:"GET",params:urlParams}).then(function success(response){if(response.data.cant>0){for(var i=0;i"+"Para mayor seguridad, verifique los horarios encontrados con la empresa de transporte."});};$scope.ejecutar_mysql_horarios();};function verificar_feriado(fecha){encontro=false;for(i=0;i<$scope.ListadoFeriados.length&encontro==false;i++){if(fecha==$scope.ListadoFeriados[i].fecha){encontro=true;}};return encontro;};$scope.obtengo_nombre_localidad=function(){pos=0;for(var i2=0;i2<$scope.ListadoLocalidades.length;i2++){if($scope.ListadoLocalidades[i2].id_localidad==$scope.filtro.id_localidad){pos=i2;break;}};$scope.etiqueta.nombre_localidad_actual=$scope.ListadoLocalidades[pos].nombre;$scope.etiqueta.nombre_corto_localidad_actual=$scope.ListadoLocalidades[pos].nombre_corto;}}); /* --- app/guia/Ctrl_guia.js -------------------------------------------------------------------- */ angular.module('app.guiaCtrl',['app.funcionesCtrl']).controller('ModalCtrl',function($scope,$http,$uibModalInstance){$scope.ok_modal=function(index){$uibModalInstance.close(index);};$scope.cancel_modal=function(){$uibModalInstance.close('');};}).controller('guiaCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http,$uibModal,$location,argumento_id_localidad){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa_comercios:false,mapa:false,detalle:false};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};height_mapa=document.getElementById("divMapGigante").clientHeight;console.log("height_mapa",height_mapa);$scope.alto_fila_listados="45";$scope.alto_mapa="418";$scope.determinar_ancho=function(i,timewait){setTimeout(function(){console.log("determinar_ancho",i);divHeader=document.getElementById('divHeader');if(divHeader===null){}else{width_divHeader=document.getElementById('divHeader').clientWidth;console.log("width_divHeader",width_divHeader);if(width_divHeader<=size_tablet_max){$scope.$apply(function(){console.log("CELULAR !!!");$scope.alto_fila_listados="45";document.getElementById("divGuiaCategorias").style.overflowY="visible";document.getElementById("divGuiaCategorias").style.height="inherit";document.getElementById("divGuiaRubros").style.overflowY="visible";document.getElementById("divGuiaRubros").style.height="inherit";document.getElementById("divGuiaComercios").style.overflowY="visible";document.getElementById("divGuiaComercios").style.height="inherit";});return;}else{$scope.$apply(function(){console.log("DESKTOP !!!");$scope.alto_fila_listados="30";document.getElementById("divGuiaCategorias").style.overflowY="hidden";document.getElementById("divGuiaCategorias").style.height="418px";document.getElementById("divGuiaRubros").style.overflowY="scroll";document.getElementById("divGuiaRubros").style.height="418px";document.getElementById("divGuiaComercios").style.overflowY="scroll";document.getElementById("divGuiaComercios").style.height="418px";});return;}};if(i<20){i++;$scope.determinar_ancho(i,500);}},timewait);};$scope.determinar_ancho(0,10);$scope.obtener_style_listado=function(listado){console.log("obtener_style_listado",listado);if(listado=='categorias'){if($rootScope.es_un_celular){return "width:100%; border:1px solid gray;";}else{return "width:100%; height:418px; overflow-y:hidden; border:1px solid gray;";}}else if(listado=='rubros'){if($rootScope.es_un_celular){console.log("width:100%; border:1px solid gray;");return "width:100%; border:1px solid gray;";}else{console.log("width:100%; height:418px; overflow-y:scroll; border:1px solid gray;");return "width:100%; height:418px; overflow-y:scroll; border:1px solid gray;";}}else if(listado=='comercios'){if($rootScope.es_un_celular){return "width:100%; border:1px solid gray;";}else{return "width:100%; height:418px; overflow-y:scroll; border:1px solid gray;";}}};$rootScope.diferenciador=Math.random().toString(36).slice(2);$scope.crear_mapa_guia=function(){if($rootScope.creo_mapa_gigante==false){$scope.mapGigante_markers=[];console.log("isGeo, $scope.movil_latitud, $scope.movil_longitud",isGeo,$scope.movil_latitud,$scope.movil_longitud);if((1==1)||isGeo&$scope.movil_latitud!=""&&$scope.movil_longitud!=""){$scope.celu_distancia=getKilometros($scope.movil_latitud,$scope.movil_longitud,movil_latitud_centro,movil_longitud_centro);}else{$scope.celu_distancia=0;};console.log("$scope.celu_distancia",$scope.celu_distancia);var ComLatlng=new google.maps.LatLng(parseFloat(movil_latitud_centro),parseFloat(movil_longitud_centro));var Options={center:ComLatlng,zoom:14.4,mapTypeId:google.maps.MapTypeId.ROAP,streetViewControl:false,mapTypeControl:false,zoomControl:true};console.log("$rootScope.diferenciador",$rootScope.diferenciador);console.log('mapGigante'+$rootScope.diferenciador,document.getElementById('mapGigante'+$rootScope.diferenciador));$scope.mapGigante=new google.maps.Map(document.getElementById('mapGigante'+$rootScope.diferenciador),Options);console.log("$scope.celu_distancia<3 & $scope.filtro.id_localidad==id_ciudad");console.log($scope.celu_distancia,$scope.filtro.id_localidad,id_ciudad);if($scope.celu_distancia<3&argumento_id_localidad==id_ciudad){var myLatlng=new google.maps.LatLng($scope.movil_latitud,$scope.movil_longitud);var marker_yo=new google.maps.Marker({position:myLatlng,map:$scope.mapGigante,icon:"img/club/market_yo.png",title:'Mi Ubicaci�n'});};setTimeout(function(){lastCenter=$scope.mapGigante.getCenter();google.maps.event.trigger($scope.mapGigante,'resize');$scope.mapGigante.setCenter(lastCenter);},1000);$rootScope.creo_mapa_gigante=true;$scope.$apply(function(){$scope.mostrar.mapa=true;});console.log("CREO MAPA GIGANTE NUEVO");console.log("CREO MAPA GIGANTE NUEVO");console.log("CREO MAPA GIGANTE NUEVO");console.log("CREO MAPA GIGANTE NUEVO");console.log("mostrar.mapa",$scope.mostrar.mapa);}};loop_mapa=function(i){setTimeout(function(){console.log("loop_mapa",i);mapa_existe=document.getElementById('mapGigante'+$rootScope.diferenciador);if(null===mapa_existe){}else{$scope.crear_mapa_guia();return;};if(i<10){i++;loop_mapa(i);}},1000);};console.log("COMENZ� CREACION DE MAPA !!!!!!!!!!!");loop_mapa(0);$scope.change_state=function(ruta){console.log("change_state",ruta);$location.path(ruta);};$scope.obtengo_localidades=function(){console.log("obtengo_localidades()");if($scope.caching_EXISTS("aux_localidades",-1,1)){$scope.caching_GET("aux_localidades",'LISTADOS');$scope.mysql_localidades_termino=true;}else{$scope.mysql_localidades_termino=false;$scope.ListadoLocalidades=[];var urlParams={};$http({url:"app/guia/mysql_guia_localidades.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_guia_localidades.php Success - response.data: ",response.data);if(response.data.cant>0){resultados=[];for(var i=0;iPodr� modificarla haciendo click sobre el Nombre de la misma.");};window.localStorage.setItem("guia_id_localidad",$scope.filtro.id_localidad);window.localStorage.setItem("guia_nombre_localidad",$scope.etiqueta.localidad);$rootScope.init($scope.filtro.id_localidad);};$scope.obtener_nombre_localidad=function(id_localidad){for(i=0;i<$scope.ListadoLocalidades.length;i++){if($scope.ListadoLocalidades[i].id_localidad==id_localidad){return $scope.ListadoLocalidades[i].nombre;}};return '';};$scope.obtengo_localidades();$scope.obtengo_banners();$scope.open_modal_marcas=function(){var modalInstanceMarcas=$uibModal.open({animation:true,templateUrl:'app/guia/Modal_marcas.php?random='+Math.random().toString(36).slice(2),controller:'ModalCtrl',size:'xs',scope:$scope});modalInstanceMarcas.result.then(function(index){console.log("modalInstanceMarcas.result.then",index);if(index=='')return;if($scope.filtro.id_marca==$scope.ListadoMarcas[index].id_marca){return;};if(index==0){$scope.etiqueta.marca="Marcas";}else{$scope.etiqueta.marca=$scope.ListadoMarcas[index].nombre;};$scope.filtro.id_marca=$scope.ListadoMarcas[index].id_marca;console.log("scope.id_marca_filtro",$scope.filtro.id_marca);},function(){console.log("modalInstanceMarcas.result.else");});};$scope.open_modal_publico=function(){var modalInstancePublico=$uibModal.open({animation:true,templateUrl:'app/guia/Modal_publico.php?random='+Math.random().toString(36).slice(2),controller:'ModalCtrl',size:'xs',scope:$scope});modalInstancePublico.result.then(function(index){console.log("modalInstancePublico.result.then",index);if(index=='')return;if($scope.filtro.index_publico==index){return;};$scope.filtro.index_publico=index;icono_fa=$scope.ListadoPublico[index].icono+".png";aplicar_css(".fa-familia { background-image:url('img/fa/"+icono_fa+"') }");},function(){console.log("modalInstancePublico.result.else");});};$scope.open_modal_subrubros=function(){var modalInstanceSubrubros=$uibModal.open({animation:true,templateUrl:'app/guia/Modal_subrubros.php?random='+Math.random().toString(36).slice(2),controller:'ModalCtrl',size:'xs',scope:$scope});modalInstanceSubrubros.result.then(function(index){console.log("modalInstanceSubrubros.result.then",index);if(index=='')return;if($scope.filtro.id_subrubro==$scope.ListadoSubrubros[index].id_subrubro){return;};for(i=0;i<$scope.ListadoSubrubros.length;i++){$scope.ListadoSubrubros[i].activo='N';};$scope.ListadoSubrubros[index].activo='S';if(index==0){$scope.filtro_subrubro_etiqueta="Filtrar";}else{$scope.filtro_subrubro_etiqueta=$scope.ListadoSubrubros[index].nombre_corto;};$scope.filtro.id_subrubro=$scope.ListadoSubrubros[index].id_subrubro;console.log("scope.filtro.id_subrubro",$scope.filtro.id_subrubro);},function(){console.log("modalInstanceSubrubros.result.else");});};$scope.seleccionar_categoria=function(id_categoria,nombre){console.log("seleccionar_categoria",id_categoria);$scope.filtro.id_categoria=id_categoria;$scope.etiqueta.categoria=nombre;if(id_categoria==-1){$location.url("/guia/");return;$scope.filtro.id_rubro=-1;$scope.etiqueta.rubro='';$scope.ultimo_id_categoria=-1;$scope.ultimo_id_rubro=-1;$scope.filtro.id_subrubro=-1;$scope.filtro.id_marca=-1;$scope.mostrar.subrubros=false;$scope.mostrar.marcas=false;$scope.ListadoSubrubros=[];$scope.filtro.index_publico=0;}else{$scope.ejecutar_categorias();}};$scope.seleccionar_rubro=function(id_rubro,nombre){console.log("seleccionar_rubro",id_rubro);$scope.filtro.id_rubro=id_rubro;$scope.etiqueta.rubro=nombre;if(id_rubro==-1){if(stateParams_id_categoria!=-1){$location.url('/guia/'+stateParams_nombre_categoria+'/'+stateParams_id_categoria);}else{$location.url("/guia");};return;$scope.filtro.id_subrubro=-1;$scope.filtro.id_marca=-1;$scope.mostrar.subrubros=false;$scope.mostrar.marcas=false;$scope.ListadoSubrubros=[];$scope.filtro.index_publico=0;}else{$scope.ejecutar_categorias();}};$scope.obtener_etiqueta_categoria=function(id_categoria){for(i=0;i<$scope.ListadoCategorias.length;i++){if($scope.ListadoCategorias[i].id_categoria==id_categoria){return $scope.ListadoCategorias[i].nombre;}};return '';};$scope.obtener_descripcion_rubros_categoria=function(id_categoria){for(i=0;i<$scope.ListadoCategorias.length;i++){if($scope.ListadoCategorias[i].id_categoria==id_categoria){return $scope.ListadoCategorias[i].descripcion_rubros;}};return '';};$scope.obtener_etiqueta_rubro=function(id_rubro){for(i=0;i<$scope.ListadoRubros.length;i++){if($scope.ListadoRubros[i].id_rubro==id_rubro){return $scope.ListadoRubros[i].nombre;}};return '';};$scope.obtener_etiqueta_subrubro=function(id_rubro){for(i=0;i<$scope.ListadoRubros.length;i++){if($scope.ListadoRubros[i].id_rubro==id_rubro){return $scope.ListadoRubros[i].subrubro_etiqueta;}};return '';};$scope.refresh_icono_publico=function(icono){icono=icono+".png";aplicar_css(".fa-familia { background-image:url('img/fa/"+icono+"') }");};$rootScope.init=function(parametro_nombre_categoria,parametro_id_categoria,parametro_nombre_rubro,parametro_id_rubro){console.log("----------------------------------------------");console.log("init() guia");console.log("----------------------------------------------");$rootScope.loading(false);console.log("parametro_nombre_categoria",parametro_nombre_categoria);console.log("parametro_id_categoria",parametro_id_categoria);console.log("parametro_nombre_rubro",parametro_nombre_rubro);console.log("parametro_id_rubro",parametro_id_rubro);stateParams_nombre_categoria=(parametro_nombre_categoria!=undefined)?parametro_nombre_categoria:$stateParams.nombre_categoria;stateParams_id_categoria=(parametro_id_categoria!=undefined)?parametro_id_categoria:$stateParams.id_categoria;stateParams_nombre_rubro=(parametro_nombre_rubro!=undefined)?parametro_nombre_rubro:$stateParams.nombre_rubro;stateParams_id_rubro=(parametro_id_rubro!=undefined)?parametro_id_rubro:$stateParams.id_rubro;$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo=(argumento_id_localidad==id_ciudad)?'guia':'localidades';console.log("$rootScope.id_modulo",$rootScope.id_modulo);eval("$rootScope.modulo_nombre = $scope.guia."+$rootScope.id_modulo+".nombre;");eval("$rootScope.modulo_ui_sref = $scope.guia."+$rootScope.id_modulo+".ui_sref;");if(stateParams_nombre_categoria==undefined||stateParams_nombre_categoria==""||stateParams_nombre_categoria=='arte-y-cultura'||stateParams_nombre_categoria=='automovil-y-motos'||stateParams_nombre_categoria=='campo'||stateParams_nombre_categoria=='casa-y-construccion'||stateParams_nombre_categoria=='comercios-e-industrias'||stateParams_nombre_categoria=='educacion'||stateParams_nombre_categoria=='gastronomia-alojamiento-salidas'||stateParams_nombre_categoria=='instituciones'||stateParams_nombre_categoria=='moda-y-belleza'||stateParams_nombre_categoria=='profesionales'||stateParams_nombre_categoria=='salud-y-deporte'||stateParams_nombre_categoria=='servicios'||stateParams_nombre_categoria=='supermercado'||stateParams_nombre_categoria=='supermercado'||stateParams_nombre_categoria=='vistas-por-producto'){}else{$rootScope.init_detalle(stateParams_nombre_categoria,stateParams_id_categoria);return;};if(stateParams_id_rubro!=undefined&stateParams_id_categoria!=undefined){$scope.forzar_title_description_keywords("Guiacute;a Comercial y Profesional - Rubro: "+nombre_parametro_ok(stateParams_nombre_rubro,"UPPERCASE"),"Comercios y Profesionales del Rubro "+nombre_parametro_ok(stateParams_nombre_rubro,"UPPERCASE"),"");}else if(stateParams_id_categoria!=undefined){$scope.forzar_title_description_keywords("Guía Comercial y Profesional - Categoriacute;a: "+nombre_parametro_ok(stateParams_nombre_categoria,"UPPERCASE"),"Comercios y Profesionales de la Categoriacute;a "+nombre_parametro_ok(stateParams_nombre_categoria,"UPPERCASE"),"");}else{$scope.forzar_title_description_keywords('','','');};$scope.googlebot_update('GUIA','','','');$scope.send_page_google_analytics("GUIA","");$scope.filtro={id_localidad:-1,id_categoria:-1,id_rubro:-1,id_subrubro:-1,id_marca:-1,id_comercio:-1,id_financiador:-1,index_publico:0};$scope.etiqueta={localidad:'',categoria:'',rubro:'',subrubro:'',marca:''};$scope.mostrar.listado=true;$scope.mostrar.mapa_comercios=false;$window.scrollTo(0,0);console.log("argumento_id_localidad",argumento_id_localidad);console.log("stateParams_id_categoria",stateParams_id_categoria);console.log("stateParams_nombre_categoria",stateParams_nombre_categoria);console.log("stateParams_id_rubro",stateParams_id_rubro);console.log("stateParams_nombre_rubro",stateParams_nombre_rubro);if(argumento_id_localidad!=undefined){$scope.parametro_id_localidad=argumento_id_localidad;$scope.etiqueta.localidad=$scope.obtener_nombre_localidad($scope.parametro_id_localidad);}else{if(argumento_id_localidad==-1&window.localStorage.getItem('guia_id_localidad')){$scope.parametro_id_localidad=window.localStorage.getItem('guia_id_localidad');$scope.etiqueta.localidad=window.localStorage.getItem('guia_nombre_localidad');}else{$scope.parametro_id_localidad=(argumento_id_localidad!=undefined)?parseInt(argumento_id_localidad):-1;$scope.etiqueta.localidad=$scope.obtener_nombre_localidad($scope.parametro_id_localidad);}};$scope.parametro_id_categoria=(stateParams_id_categoria!=undefined)?parseInt(stateParams_id_categoria):-1;$scope.parametro_id_rubro=(stateParams_id_rubro!=undefined)?parseInt(stateParams_id_rubro):-1;console.log("$scope.parametro_id_localidad",$scope.parametro_id_localidad);console.log("$scope.parametro_id_categoria",$scope.parametro_id_categoria);console.log("$scope.parametro_id_rubro",$scope.parametro_id_rubro);$scope.ListadoAgrupamientos=[];$scope.ListadoMandados=[];$scope.ListadoCategorias=[];$scope.ListadoRubros=[];$scope.ListadoSubrubros=[];$scope.ListadoMarcas=[];$scope.ListadoComercios=[];$scope.mysql_localidades_termino=true;$scope.mysql_categorias_termino=false;$scope.mysql_rubros_termino=false;$scope.mysql_comercios_termino=false;modulo_caching='guia';categoria_caching=($scope.parametro_id_categoria==-1)?-1000:$scope.parametro_id_categoria;if($scope.caching_EXISTS(modulo_caching,categoria_caching,1)){$scope.caching_GET(modulo_caching,'ALL');if($scope.parametro_id_categoria==-1){$scope.ListadoRubros=[];$scope.ListadoSubrubros=[];$scope.ListadoMarcas=[];$scope.ListadoComercios=[];};if($scope.parametro_id_rubro==-1){$scope.ListadoSubrubros=[];$scope.ListadoMarcas=[];$scope.ListadoComercios=[];};console.log("$scope.ListadoCategorias",$scope.ListadoCategorias);console.log("$scope.ListadoRubros",$scope.ListadoRubros);console.log("$scope.filtro.id_localidad",$scope.filtro.id_localidad);console.log("$scope.filtro.id_categoria",$scope.filtro.id_categoria);console.log("$scope.filtro.id_rubro",$scope.filtro.id_rubro);$scope.mysql_localidades_termino=true;$scope.mysql_categorias_termino=true;if($scope.parametro_id_categoria==-1||($scope.parametro_id_categoria==$scope.filtro.id_categoria)){$scope.mysql_rubros_termino=true;}else{console.log("obtener mysql rubros");};if($scope.parametro_id_categoria==-1||$scope.parametro_id_rubro==-1||$scope.parametro_id_rubro==$scope.filtro.id_rubro){$scope.mysql_comercios_termino=true;}else{console.log("obtener mysql comercios");};$scope.filtro.id_localidad=$scope.parametro_id_localidad;$scope.filtro.id_categoria=$scope.parametro_id_categoria;$scope.filtro.id_rubro=$scope.parametro_id_rubro;}else{$scope.filtro.id_localidad=$scope.parametro_id_localidad;$scope.filtro.id_categoria=$scope.parametro_id_categoria;$scope.filtro.id_rubro=$scope.parametro_id_rubro;if($scope.filtro.id_categoria==-1){$scope.mysql_rubros_termino=true;};if($scope.filtro.id_rubro==-1){$scope.mysql_comercios_termino=true;};$scope.filtro.id_financiador=-1;$scope.filtro.id_marca=-1;$scope.filtro.id_subrubro=-1;$scope.filtro.index_publico=0;$scope.mostrar.subrubros=false;$scope.etiqueta.marca="Marcas"};$scope.etiqueta.categoria=$scope.obtener_etiqueta_categoria($scope.filtro.id_categoria);$scope.etiqueta.descripcion_rubros_categoria=$scope.obtener_descripcion_rubros_categoria($scope.filtro.id_categoria);$scope.etiqueta.rubro=$scope.obtener_etiqueta_rubro($scope.filtro.id_rubro);$scope.etiqueta.subrubro=$scope.obtener_etiqueta_subrubro($scope.filtro.id_rubro);console.log("$scope.etiqueta.rubro",$scope.etiqueta.rubro);console.log("$scope.etiqueta.categoria",$scope.etiqueta.categoria);$rootScope.mostrar_buscador=($rootScope.texto_busqueda!='')?true:false;$rootScope.ejecuto_buscar=($rootScope.texto_busqueda!='')?true:false;console.log("$scope.filtro.id_localidad",$scope.filtro.id_localidad);console.log("$scope.filtro.id_categoria",$scope.filtro.id_categoria);console.log("$scope.filtro.id_rubro",$scope.filtro.id_rubro);$scope.publico_letra=["A","H","M","N","B"];$scope.publico_nombre=["No Filtrar","Hombre","Mujer","Ni�o","Bebe"];$scope.publico_icono=["publico_no_filtrar","publico_hombre","publico_mujer","publico_nino","publico_bebe"];$scope.ListadoPublico=[];for(i=0;i<$scope.publico_letra.length;i++){$scope.ListadoPublico[i]={'letra':$scope.publico_letra[i],'nombre':$scope.publico_nombre[i],'icono':$scope.publico_icono[i]}};$scope.refresh_icono_publico($scope.ListadoPublico[$scope.filtro.index_publico].icono);if($scope.filtro.id_rubro==1311||$scope.filtro.id_rubro==1262){$scope.mostrar.publico=true;}else{$scope.mostrar.publico=false;};if(!$scope.mysql_localidades_termino||!$scope.mysql_categorias_termino||!$scope.mysql_rubros_termino||!$scope.mysql_comercios_termino){$scope.ejecutar_categorias();}else{$scope.google_borrar_markers(-1);if($scope.filtro.id_rubro!=-1){console.log("llam� a google_maps_multiple");$scope.google_maps_multiple("mapa");};$scope.mysql_guia_termino=false;}};$rootScope.init_detalle=function(parametro_title_comercio,parametro_id_comercio){console.log("----------------------------------------------");console.log("init_detalle()");console.log("----------------------------------------------");$rootScope.loading(false);stateParams_title_comercio=(parametro_title_comercio!=undefined)?parametro_title_comercio:$stateParams.nombre_categoria;stateParams_id_comercio=(parametro_id_comercio!=undefined)?parametro_id_comercio:$stateParams.id_categoria;console.log("stateParams_id_comercio",stateParams_id_comercio);console.log("stateParams_title_comercio",stateParams_title_comercio);console.log("argumento_id_localidad",argumento_id_localidad);$scope.comercio={};$scope.mostrar.detalle=true;$scope.mostrar.compartir=false;$scope.etiqueta.titulo_detalle="FICHA DEL COMERCIO";$scope.filtro={id_localidad:(argumento_id_localidad!=undefined)?argumento_id_localidad:-1,id_categoria:-1,id_rubro:-1,id_subrubro:-1,id_marca:-1,id_comercio:(stateParams_id_comercio!=undefined)?stateParams_id_comercio:-1,id_financiador:-1,index_publico:0};$rootScope.mostrar_buscador=false;$scope.mysql_comercios_termino=false;$window.scrollTo(0,0);if($rootScope.id_modulo=='localidades'){modulo_caching='guia';}else{modulo_caching=$rootScope.id_modulo;};console.log("!!!! modulo_caching",$rootScope.id_modulo);if($rootScope.ultimo_modulo=='buscar'||$scope.caching_EXISTS(modulo_caching,-1000,1)){if($rootScope.ultimo_modulo=='buscar'){$scope.caching_GET('buscar','LISTADOS');}else{$scope.caching_GET(modulo_caching,'LISTADOS');};console.log("mostrar.mapa",$scope.mostrar.mapa);for(i=0;i<$scope.ListadoComercios.length;i++){index_comercio=-1;if($scope.ListadoComercios[i].id_comercio==$scope.filtro.id_comercio){$scope.comercio=$scope.ListadoComercios[i];console.log("$scope.comercio",$scope.comercio);index_comercio=i;$scope.forzar_title_description_keywords($scope.comercio.nombre.toUpperCase(),"Obten� su Direcci�n, Tel�fono y otros datos acciendo a Lincoln Online","");$scope.send_page_google_analytics("GU�A - FICHA COMERCIO","");$scope.googlebot_update('FICHA COMERCIO','','','');$scope.google_borrar_markers(index_comercio);console.log("llam� a google_maps_multiple",index_comercio);$scope.google_maps_multiple("mapa");$scope.mysql_comercios_termino=true;return;}}};$scope.ListadoComercios=[];$scope.texto_busqueda='';$scope.ejecutar_categorias();};$scope.ejecutar_categorias=function(){console.log("ejecutar_categorias");obtener='';obtener+=(!$scope.mysql_categorias_termino)?'@categorias':'';obtener+=(!$scope.mysql_rubros_termino)?'@rubros':'';obtener+=(!$scope.mysql_comercios_termino)?'@comercios':'';var resultados=[];$rootScope.loading(true);var urlParams={'obtener':obtener,'id_localidad':$scope.filtro.id_localidad,'id_categoria':$scope.filtro.id_categoria,'id_rubro':$scope.filtro.id_rubro,'id_comercio':$scope.filtro.id_comercio};console.log("urlParams",urlParams);$http({url:"app/guia/mysql_guia_categoria.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_guia_categoria.php Success - response.data: ",response.data);if(!$scope.mysql_categorias_termino){resultados=[];if(response.data.cant_categorias>0){for(var i=0;i0){for(var i=0;i0)?true:false;resultados=[];resultados.push({'id_subrubro':-1,'nombre':'No Filtrar','nombre_corto':'No Filtrar','id_agrupamiento':100,'orden':1,'cant_comercios':0,'cant_comercios_abiertos':0,'icono':ruta_appid_native+"img/club/"+'delivery_no_filtrar.png','activo':'S',});if(response.data.cant_subrubros>0){for(var i=0;i0)?true:false;resultados=[];resultados.push({'id_marca':-1,'nombre':'No Filtrar','logo':'','orden':0,'agrupamientos_subrubros':'','publico_atiende':'MHNB','cant_comercios':0});if(response.data.cant_marcas>0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i=0){cant_esquemas=esquemas_comerciales.length;pos=0;while(encontro==false&pos"+comercio.nombre+"";var marker=new google.maps.Marker({position:ComLatlng,map:$scope.mapGigante,title:aux_title,});}else{aux_title=""+comercio.nombre+""+""+comercio.direccion+""+comercio.telefonos;var marker=new google.maps.Marker({position:ComLatlng,map:$scope.mapGigante,title:aux_title,icon:"img/club/market_.png"});};$scope.mapGigante_markers[cant_markers]=marker;cant_markers++;console.log("NUEVO MARCADOR !");}}};for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i=0){cant_esquemas=esquemas_comerciales.length;pos=0;while(encontro==false&pos0){resultados=[];for(var i=0;iPodrá modificarla haciendo click sobre el Nombre de la misma.");};window.localStorage.setItem("cartilla_id_financiador",$scope.filtro.id_financiador);window.localStorage.setItem("cartilla_nombre_financiador",$scope.etiqueta.title_delivery);};$scope.obtengo_localidades=function(){console.log("obtengo_localidades()");if($scope.caching_EXISTS("aux_localidades",-1,1)){$scope.caching_GET("aux_localidades",'LISTADOS');$scope.mysql_localidades_termino=true;}else{$scope.mysql_localidades_termino=false;$scope.ListadoLocalidades=[];var urlParams={};$http({url:"app/guia/mysql_guia_localidades.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_guia_localidades.php Success - response.data: ",response.data);if(response.data.cant>0){resultados=[];for(var i=0;i0)?true:false;console.log("$scope.filtro.id_agrupamiento",$scope.filtro.id_agrupamiento);$scope.ListadoSubrubros=[{'id_subrubro':-1,'nombre':'No Filtrar','nombre_corto':'No Filtrar','id_agrupamiento':100,'orden':1,'cant_comercios':0,'cant_comercios_abiertos':0,'icono':"img/club/"+'delivery_no_filtrar.png','activo':'S',}];listado_ids_subrubros_del_agrupamiento="";if($scope.filtro.id_agrupamiento!=0){if(backup_ListadoSubrubros.length>0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i=0){cant_esquemas=esquemas_comerciales.length;pos=0;while(encontro==false&pos0){for(var i=0;i=0){cant_esquemas=esquemas_comerciales.length;pos=0;while(encontro==false&pos"+comercio.nombre+'';var marker=new google.maps.Marker({position:ComLatlng,map:mapGuia,title:aux_title});}else{aux_title=""+comercio.nombre+''+""+comercio.direccion+""+comercio.telefonos;var marker=new google.maps.Marker({position:ComLatlng,map:mapGuia,title:aux_title,icon:"img/club/market_.png"});};markers[cant_markers]=marker;cant_markers++;}}};for(var i=0;i0){resultados=[];for(var i=0;i"+comercio.nombre+"";var marker=new google.maps.Marker({position:ComLatlng,map:mapGuia,title:aux_title});}else{aux_title=""+comercio.nombre+""+""+comercio.direccion+""+comercio.telefonos;var marker=new google.maps.Marker({position:ComLatlng,map:mapGuia,title:aux_title,icon:"img/club/market_.png"});};markers[cant_markers]=marker;cant_markers++;}};for(var i=0;i fecha:",localStorage_fecha,"hora:",localStorage_hora);};encontro_json_cache=false;if(json_home_cache_fecha!="null"){encontro_json_cache=true;console.log("json_cache - fecha:",json_home_cache_fecha,"hora:",json_home_cache_hora);};if(encontro_localStorage&encontro_json_cache){console.log("aaaa");if(localStorage_fecha>json_home_cache_fecha||(localStorage_fecha==json_home_cache_fecha&localStorage_hora>json_home_cache_hora)){$scope.caching_GET('home','ALL',false);}else{$scope.caching_GET('home','ALL',true);$scope.caching_PUT('home',-1,1);}}else if(encontro_json_cache){console.log("bbbbb");$scope.caching_GET('home','ALL',true);$scope.caching_PUT('home',-1,1);}else if(encontro_localStorage){console.log("cccc");$scope.caching_GET('home','ALL',false);};if(encontro_localStorage||encontro_json_cache){$scope.cant_ajax=0;$scope.mysql_agenda_termino=true;$scope.mysql_animaleros_termino=true;$scope.mysql_clasificados_termino=true;$scope.mysql_colectivos_termino=true;$scope.mysql_dolar_termino=true;$scope.mysql_farmacias_termino=true;$scope.mysql_guia_termino=true;$scope.mysql_juegos_termino=true;$scope.mysql_entretenimiento_termino=true;$scope.mysql_magazine_termino=true;$scope.mysql_mundo_interior_termino=true;$scope.mysql_necrologicas_termino=true;$scope.mysql_noticias_termino=true;$scope.mysql_pronostico_termino=true;$scope.mysql_propiedades_termino=true;$scope.mysql_radios_termino=true;$scope.mysql_rss_termino=true;$scope.mysql_sad_termino=true;$scope.mysql_sad_facebook_termino=true;$scope.mysql_salidas_termino=true;$scope.mysql_tv_termino=true;}else{console.log("No encontro ni localStorage ni json_cache");$scope.ejecutar_mysql();}}else{$scope.ejecutar_mysql();};console.log("llamo a igualar_alturas");};igualar_alturas=function(i,time_wait){console.log("igual_alturas");setTimeout(function(){console.log("igualar_alturas",i,time_wait);divGuia=document.getElementById('divGuia');if($scope.cant_ajax>0||divGuia===null){}else{width_divGuia=document.getElementById('divGuia').clientWidth;console.log("width_divGuia",width_divGuia);if(width_divGuia<768){return;};return;height1=document.getElementById("divPropiedades").clientHeight;height2=document.getElementById("divAlquilerTemporario").clientHeight;console.log("divPropiedades",height1);console.log("divAlquilerTemporario",height2);maxHeight=height1;if(height2>maxHeight)maxHeight=height2;document.getElementById("divPropiedades").style.height=maxHeight+"px";document.getElementById("divAlquilerTemporario").style.height=maxHeight+"px";height1=document.getElementById("divWhatsapp").clientHeight;height2=document.getElementById("divJuegos").clientHeight;height3=document.getElementById("divRadios").clientHeight;console.log("divWhatsapp",height1);console.log("divJuegos",height2);console.log("divRadios",height3);maxHeight=height1;if(height1>(height2+height3)){dif=height1-height2;document.getElementById("divRadios").style.height=dif+"px";}else{dif=height2+height3;document.getElementById("divWhatsapp").style.height=dif+"px";};height1=document.getElementById("divMundoInterior").clientHeight;height2=document.getElementById("divNecrologicas").clientHeight;height3=document.getElementById("divColectivos").clientHeight;maxHeight=height1;if(height2>maxHeight)maxHeight=height2;{if(height3>maxHeight)maxHeight=height3;}document.getElementById("divMundoInterior").style.height=maxHeight+"px";document.getElementById("divNecrologicas").style.height=maxHeight+"px";document.getElementById("divColectivos").style.height=maxHeight+"px";return;};if(i<20){i++;igualar_alturas(i,1000);}},time_wait);};$scope.ejecutar_mysql=function(){console.log("xxxx:",agenda_habilitado);$scope.mysql_agenda_termino=false;$scope.mysql_animaleros_termino=false;$scope.mysql_clasificados_termino=false;$scope.mysql_colectivos_termino=false;$scope.mysql_dolar_termino=false;$scope.mysql_farmacias_termino=false;$scope.mysql_guia_termino=false;$scope.mysql_juegos_termino=false;$scope.mysql_entretenimiento_termino=true;$scope.mysql_magazine_termino=false;$scope.mysql_mundo_interior_termino=true;$scope.mysql_necrologicas_termino=true;$scope.mysql_noticias_termino=true;$scope.mysql_pronostico_termino=true;$scope.mysql_propiedades_termino=false;$scope.mysql_radios_termino=false;$scope.mysql_rss_termino=false;$scope.mysql_sad_termino=false;$scope.mysql_sad_facebook_termino=false;$scope.mysql_salidas_termino=false;$scope.mysql_tv_termino=false;var entrenimiento_habilitado=true;var mercados_habilitado=true;$scope.cant_ajax=0;if(agenda_habilitado)$scope.cant_ajax++;{if(colectivos_habilitado)$scope.cant_ajax++;}if(dios_habilitado)$scope.cant_ajax++;{if(entrenimiento_habilitado)$scope.cant_ajax++;}if(farmacias_habilitado)$scope.cant_ajax++;{if(guia_habilitado)$scope.cant_ajax++;}if(juegos_habilitado)$scope.cant_ajax++;{if(mercados_habilitado)$scope.cant_ajax++;}if(necrologicas_habilitado)$scope.cant_ajax++;{if(noticias_habilitado)$scope.cant_ajax++;}if(pronostico_habilitado)$scope.cant_ajax++;{if(propiedades_habilitado)$scope.cant_ajax++;}if(rss_habilitado)$scope.cant_ajax++;{if(sad_habilitado)$scope.cant_ajax++;}if(salidas_habilitado)$scope.cant_ajax++;{if(tv_habilitado)$scope.cant_ajax++;};console.log("cant_ajax INICIAL",$scope.cant_ajax);$rootScope.loading(true);$scope.mysql_magazine_termino=true;$scope.ListadoMagazine=[];$scope.filtro.total_magazine=0;console.log("ListadoMagazine",$scope.ListadoMagazine);if(pronostico_habilitado){$scope.mysql_pronostico_termino=false;$scope.ListadoPronostico=[];var urlParams={};$http({url:"app/home/mysql_pronostico.php",method:"GET",params:urlParams}).then(function success(response){weather=response.data;$scope.pronosticos=[];for(var i=0;i0){var hora_anterior="99";var cant_col_horas=-1;$scope.ListadoColumnasHoras=[];encontro_2200=false;for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){$scope.noticia=$scope.ListadoNoticias[0];console.log("$scope.noticia",$scope.noticia);$scope.forzar_title_description_keywords($scope.noticia.titulo,$scope.noticia.copete,$scope.noticia.keys_search,$scope.noticia.categoria,$scope.noticia.imagen_listado,"nota");$scope.send_page_google_analytics("NOTICIAS DETALLE","");$scope.formatear_video();}else{$scope.mostrar.no_disponible=true;aux_titulo=nombre_parametro_ok($stateParams.title_noticia,"UPPERCASE");aux_copete="Esta Nota ya no est´ disponible en "+app_title;$scope.forzar_title_description_keywords(aux_titulo,aux_copete,"");$scope.send_page_google_analytics("NOTICIAS DETALLE","");};$scope.mysql_noticias_vinculadas();}else{modulo_caching=$rootScope.id_modulo;$scope.caching_PUT(modulo_caching,$scope.filtro.id_categoria,$scope.parametro_nro_page);if($scope.parametro_nombre_categoria==''){aux_canonical=$rootScope.modulo_ui_sref;}else if($scope.parametro_nombre_categoria=='page'){aux_canonical=$rootScope.modulo_ui_sref;}else if($scope.parametro_nombre_categoria!=''){aux_canonical=$rootScope.modulo_ui_sref+'/'+$scope.parametro_nombre_categoria+"/"+$scope.parametro_id_categoria;}else if($scope.parametro_page_categoria){aux_canonical=$rootScope.modulo_ui_sref+'/'+$scope.parametro_nombre_categoria+"/"+$scope.parametro_id_categoria;};aux_prev='';aux_next='';if($scope.paginado.prev!='')aux_prev=aux_canonical+'/page/'+$scope.paginado.prev;if($scope.paginado.next!='')aux_next=aux_canonical+'/page/'+$scope.paginado.next;console.log($scope.paginado.prev,aux_prev);console.log($scope.paginado.next,aux_next);$scope.googlebot_update('NOTICIAS',aux_canonical,aux_prev,aux_next);};$rootScope.loading(false);$scope.mysql_noticias_termino=true;},function error(response){console.log("mysql_noticias_categoria.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_noticias_termino=true;});};$scope.mysql_noticias_vinculadas=function(){console.log("mysql_noticias_vinculadas");if(!isset($scope.ListadoNoticiasVinculadas))$scope.ListadoNoticiasVinculadas=[];$scope.mysql_noticias_vinculadas_termino=false;$rootScope.loading(true);if($scope.noticia.id_tema_art!=-1){var urlParams={'id_modulo':$rootScope.id_modulo,'paginado_desde':1,'paginado_cantidad':24,'texto_busqueda':'','id_tema_art':$scope.noticia.id_tema_art,'id_categoria':-1,'articulo_id':$scope.noticia.articulo_id};}else{var urlParams={'id_modulo':$rootScope.id_modulo,'paginado_desde':1,'paginado_cantidad':16,'texto_busqueda':'NOTICIAS_VINCULADAS','id_tema_art':-1,'id_categoria':$scope.filtro.id_categoria,'articulo_id':$scope.noticia.articulo_id};};console.log("$scope.filtro.id_categoria",$scope.filtro.id_categoria);console.log("urlParams vinculadas",urlParams);$http({url:url_html5+"/app/noticias/mysql_noticias_categoria.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_noticias_categoria.php (NOTICIAS VINCULADAS) Success - response.data: ",response.data);$scope.ListadoNoticiasVinculadas=response.data['noticias'];cant_noticias_vinculadas=response.data['cant'];for(i=0;i<$scope.ListadoNoticiasVinculadas.length;i++){$scope.ListadoNoticiasVinculadas[i].volanta=decodeEntities($scope.ListadoNoticiasVinculadas[i].volanta);$scope.ListadoNoticiasVinculadas[i].titulo=decodeEntities($scope.ListadoNoticiasVinculadas[i].titulo);$scope.ListadoNoticiasVinculadas[i].copete=decodeEntities($scope.ListadoNoticiasVinculadas[i].copete);$scope.ListadoNoticiasVinculadas[i].categoria=decodeEntities($scope.ListadoNoticiasVinculadas[i].categoria);$scope.ListadoNoticiasVinculadas[i].categoria=str_replace("N-","",$scope.ListadoNoticiasVinculadas[i].categoria);$scope.ListadoNoticiasVinculadas[i].texto=decodeEntities($scope.ListadoNoticiasVinculadas[i].texto);$scope.ListadoNoticiasVinculadas[i].texto2=decodeEntities($scope.ListadoNoticiasVinculadas[i].texto2);$scope.ListadoNoticiasVinculadas[i].categoria=str_replace("N-","",$scope.ListadoNoticiasVinculadas[i].categoria);};console.log("ListadoNoticiasVinculadas",$scope.ListadoNoticiasVinculadas);$rootScope.loading(false);$scope.mysql_noticias_vinculadas_termino=true;},function error(response){console.log("mysql_noticias_categoria.php (NOTICIAS VINCULADAS) Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_noticias_vinculadas_termino=true;});};$scope.formatear_video=function(){$scope.mostrar.video=false;if($scope.noticia.video_youtube!=""){$scope.noticia.video_youtube=$scope.noticia.video_youtube.replace('watch?v=','embed/');$scope.noticia.video_youtube=$scope.noticia.video_youtube.replace('&feature=youtu.be','');$scope.mostrar.video=true;$scope.videourl_video=$scope.noticia.video_youtube+'?rel=0&showinfo=0"';$scope.movie={src:$scope.videourl_video,title:$scope.noticia.titulo};}}}); /* --- app/pronostico/Ctrl_pronostico.js -------------------------------------------------------------------- */ angular.module('app.pronosticoCtrl',['app.funcionesCtrl']).controller('pronosticoCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='pronostico';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.obtengo_banners();$scope.init=function(){console.log("init pronostico");$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.googlebot_update('PRONOSTICO','','','');$scope.send_page_google_analytics("PRONOSTICO","");$scope.parametro_nombre_canal=($stateParams.nombre_canal!=undefined)?$stateParams.nombre_canal:'';$scope.parametro_id_canal=($stateParams.id_canal!=undefined)?$stateParams.id_canal:-1;$scope.parametro_nro_page=1;$rootScope.ejecuto_buscar=false;console.log("$scope.parametro_nombre_canal",$scope.parametro_nombre_canal);console.log("$scope.parametro_id_canal",$scope.parametro_id_canal);$scope.mostrar.listado=true;$scope.mostrar.extendido=false;$rootScope.mostrar_buscador=false;$rootScope.texto_busqueda='';$scope.etiqueta.canal_pronostico=$scope.parametro_nombre_canal;mysql_pronostico_termino=false;$scope.ListadoWeatherCanales=[];$scope.pronostico={};$scope.ListadoProximos=[];$window.scrollTo(0,0);if($scope.caching_EXISTS('pronostico',-1,1)){$scope.caching_GET('pronostico','ALL');weather=$scope.ListadoWeather;$scope.filtro.id_canal=$scope.parametro_id_canal;if($scope.filtro.id_canal!=-1){$scope.obtener_datos_pronostico();};console.log("$scope.ListadoWeatherCanales",$scope.ListadoWeatherCanales);console.log("$scope.pronostico",$scope.pronostico);console.log("$scope.ListadoProximos",$scope.ListadoProximos);$scope.mysql_pronostico_termino=true;}else{$scope.paginado={desde:1,cantidad:16};$scope.filtro.id_canal=$scope.parametro_id_canal;$scope.ejecutar_mysql();}};$scope.ejecutar_mysql=function(){console.log("ejecutar_mysql");console.log("$scope.filtro.id_canal",$scope.filtro.id_canal);$scope.mysql_pronostico_termino=false;if(!isset($scope.ListadoWeatherCanales))$scope.ListadoWeatherCanales=[];{$scope.pronosticos=[];};$rootScope.loading(true);var urlParams={};$http({url:"app/pronostico/mysql_pronostico.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_pronostico.php Success - response.data: ",response.data);weather=response.data;for(var i=0;i0)$scope.mostrar.extendido=true;{}}}); /* --- app/propiedades/Ctrl_propiedades.js -------------------------------------------------------------------- */ angular.module('app.propiedadesCtrl',['app.funcionesCtrl']).controller('ModalCtrl',function($scope,$http,$filter,$uibModalInstance){$scope.ok_modal=function(filtro){$uibModalInstance.close(filtro);};$scope.cancel_modal=function(){$uibModalInstance.close('');};}).controller('propiedadesCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http,$uibModal){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='propiedades';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,compartir:false};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.obtengo_banners();$scope.open_modal=function(foto){console.log(foto);$scope.foto_galeria_grande=foto;var modalInstance=$uibModal.open({animation:true,templateUrl:'app/propiedades/Modal_galeria_fotos.php?random='+Math.random().toString(36).slice(2),controller:'ModalCtrl',size:'xs',scope:$scope});modalInstance.result.then(function(parametro){console.log("modalInstance.result.then",parametro);},function(){console.log("modalInstance.result.else");});};$scope.init=function(){console.log("init propiedades",$rootScope.id_modulo);$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.send_page_google_analytics("PROPIEDADES","");$scope.parametro_nombre_categoria=($stateParams.nombre_categoria!=undefined)?$stateParams.nombre_categoria:'';$scope.parametro_id_categoria=($stateParams.id_categoria!=undefined)?$stateParams.id_categoria:-999;$scope.parametro_page_categoria=($stateParams.page!=undefined)?true:false;$scope.parametro_nro_page=($stateParams.nro_page!=undefined)?parseInt($stateParams.nro_page):1;$scope.parametro_mostrar_buscador=false;$scope.parametro_texto_busqueda='';$rootScope.ejecuto_buscar=false;$window.scrollTo(0,0);if($scope.parametro_page_categoria){}else if($scope.parametro_nombre_categoria==''){$scope.parametro_nombre_categoria='page';$scope.parametro_nro_page=1;}else if($scope.parametro_nombre_categoria=='page'){$scope.parametro_nro_page=$scope.parametro_id_categoria;$scope.parametro_id_categoria=-999;}else if($scope.parametro_nombre_categoria=='buscar'){$scope.parametro_mostrar_buscador=true;$scope.parametro_texto_busqueda=$scope.parametro_id_categoria;$rootScope.ejecuto_buscar=true;$scope.parametro_id_categoria=-2;}else{$scope.parametro_nro_page=1;};$scope.parametro_id_categoria=parseInt($scope.parametro_id_categoria);console.log("$scope.parametro_nombre_categoria",$scope.parametro_nombre_categoria);console.log("$scope.parametro_id_categoria",$scope.parametro_id_categoria);console.log("$scope.parametro_page_categoria",$scope.parametro_page_categoria);console.log("$scope.parametro_nro_page",$scope.parametro_nro_page);console.log("$scope.parametro_texto_busqueda",$scope.parametro_texto_busqueda);$scope.mostrar.categorias=false;$scope.mostrar.listado=true;$scope.mostrar.paginado=true;$scope.mostrar.detalle=false;$rootScope.mostrar_buscador=$scope.parametro_mostrar_buscador;$rootScope.texto_busqueda=$scope.parametro_texto_busqueda;$scope.etiqueta.categoria=$scope.parametro_nombre_categoria;$scope.mysql_propiedades_termino=false;modulo_caching='propiedades';if($scope.caching_EXISTS(modulo_caching,$scope.parametro_id_categoria,$scope.parametro_nro_page)){$scope.caching_GET(modulo_caching,'ALL');console.log("aaaa $scope.parametro_nro_page",$scope.parametro_nro_page);$scope.paginado.desde=$scope.parametro_nro_page;$scope.filtro.id_categoria=$scope.parametro_id_categoria;$scope.filtro.id_clasificado=-1;$scope.mysql_propiedades_termino=true;console.log("$scope.ListadoPropiedades",$scope.ListadoPropiedades);console.log("$scope.ListadoCategorias",$scope.ListadoCategorias);if($scope.parametro_nombre_categoria==''){aux_canonical=$rootScope.modulo_ui_sref;}else if($scope.parametro_nombre_categoria=='page'){aux_canonical=$rootScope.modulo_ui_sref;}else if($scope.parametro_nombre_categoria!=''){aux_canonical=$rootScope.modulo_ui_sref+'/'+$scope.parametro_nombre_categoria+"/"+$scope.parametro_id_categoria;}else if($scope.parametro_page_categoria){aux_canonical=$rootScope.modulo_ui_sref+'/'+$scope.parametro_nombre_categoria+"/"+$scope.parametro_id_categoria;};aux_prev='';aux_next='';if($scope.paginado.prev!='')aux_prev=aux_canonical+'/page/'+$scope.paginado.prev;if($scope.paginado.next!='')aux_next=aux_canonical+'/page/'+$scope.paginado.next;console.log("PRINT");console.log($scope.paginado.prev,aux_prev);console.log($scope.paginado.next,aux_next);$scope.googlebot_update('PROPIEDADES',aux_canonical,aux_prev,aux_next);}else{console.log("bbbbb $scope.parametro_nro_page",$scope.parametro_nro_page);$scope.paginado={desde:$scope.parametro_nro_page,cantidad:16};console.log("$scope.paginado",$scope.paginado);$scope.filtro.id_categoria=$scope.parametro_id_categoria;$scope.filtro.id_clasificado=-1;$scope.ejecutar_paginado($scope.parametro_nro_page);}};$scope.init_detalle=function(){console.log("init_detalle ",$rootScope.id_modulo);$rootScope.loading(false);$scope.googlebot_update('PROPIEDADES - FICHA','','','');console.log("$stateParams.id_clasificado",$stateParams.id_clasificado);console.log("$stateParams.title_clasificado",$stateParams.title_clasificado);$scope.clasificado={};$scope.mostrar.detalle=true;$scope.mostrar.compartir=true;$scope.mostrar.no_disponible=false;$scope.etiqueta.titulo_detalle="FICHA DE LA PROPIEDAD";$scope.paginado={desde:1,cantidad:1};$scope.filtro.id_clasificado=($stateParams.id_clasificado!=undefined)?$stateParams.id_clasificado:-1;$scope.filtro.id_categoria=-1;$rootScope.mostrar_buscador=false;$scope.mysql_propiedades_termino=false;$window.scrollTo(0,0);modulo_caching='propiedades';if($rootScope.ultimo_modulo=='home'||$rootScope.ultimo_modulo=='buscar'||$scope.caching_EXISTS(modulo_caching,-1000,1)){if($rootScope.ultimo_modulo=='home'){$scope.caching_GET('home','LISTADOS');console.log("$scope.ListadoInmobiliarias",$scope.ListadoInmobiliarias);console.log("$scope.ListadoInmobiliarias.length",$scope.ListadoInmobiliarias.length);for(j=0;j<$scope.ListadoInmobiliarias.length;j++){$scope.ListadoPropiedades=$scope.ListadoInmobiliarias[j].clasificados;console.log("$scope.ListadoPropiedades",$scope.ListadoPropiedades);for(i=0;i<$scope.ListadoPropiedades.length;i++){if($scope.ListadoPropiedades[i].id_clasificado==$scope.filtro.id_clasificado){$scope.clasificado=$scope.ListadoPropiedades[i];$scope.configurar_galeria_fotos();console.log("$scope.clasificado",$scope.clasificado);$scope.forzar_title_description_keywords('PROPIEDADES - '+$scope.clasificado.titulo,$scope.clasificado.descripcion,"");$scope.send_page_google_analytics("PROPIEDADES DETALLE","");$scope.mysql_propiedades_termino=true;return;}}}}else if($rootScope.ultimo_modulo=='buscar'){$scope.caching_GET('buscar','LISTADOS');}else{$scope.caching_GET(modulo_caching,'LISTADOS');console.log("$scope.ListadoPropiedades",$scope.ListadoPropiedades);for(i=0;i<$scope.ListadoPropiedades.length;i++){if($scope.ListadoPropiedades[i].id_clasificado==$scope.filtro.id_clasificado){$scope.clasificado=$scope.ListadoPropiedades[i];$scope.configurar_galeria_fotos();console.log("$scope.clasificado",$scope.clasificado);$scope.mysql_propiedades_termino=true;return;}}}};$scope.ListadoPropiedades=[];$scope.texto_busqueda='';$scope.ejecutar_paginado('ficha');};$scope.configurar_galeria_fotos=function(){$scope.photos=[];if($scope.clasificado.fotos_adicionales==''){return;};vec_items=$scope.clasificado.fotos_adicionales.split("@@");for(i=0;i0){$scope.clasificado=$scope.ListadoPropiedades[0];console.log("$scope.clasificado",$scope.clasificado);$scope.forzar_title_description_keywords('PROPIEDADES - '+$scope.clasificado.titulo,$scope.clasificado.descripcion,"");$scope.send_page_google_analytics("PROPIEDADES DETALLE","");}else{$scope.mostrar.no_disponible=true;aux_titulo=nombre_parametro_ok($stateParams.title_clasificado,"UPPERCASE");aux_copete="Esta Propiedad ya no está disponible en "+app_title;$scope.forzar_title_description_keywords(aux_titulo,aux_copete,"");$scope.send_page_google_analytics("PROPIEDADES DETALLE","");}}else{modulo_caching='propiedades';$scope.caching_PUT(modulo_caching,$scope.filtro.id_categoria,$scope.parametro_nro_page);if($scope.parametro_nombre_categoria==''){aux_canonical=$rootScope.modulo_ui_sref;}else if($scope.parametro_nombre_categoria=='page'){aux_canonical=$rootScope.modulo_ui_sref;}else if($scope.parametro_nombre_categoria!=''){aux_canonical=$rootScope.modulo_ui_sref+'/'+$scope.parametro_nombre_categoria+"/"+$scope.parametro_id_categoria;}else if($scope.parametro_page_categoria){aux_canonical=$rootScope.modulo_ui_sref+'/'+$scope.parametro_nombre_categoria+"/"+$scope.parametro_id_categoria;};aux_prev='';aux_next='';if($scope.paginado.prev!='')aux_prev=aux_canonical+'/page/'+$scope.paginado.prev;if($scope.paginado.next!='')aux_next=aux_canonical+'/page/'+$scope.paginado.next;console.log($scope.paginado.prev,aux_prev);console.log($scope.paginado.next,aux_next);$scope.googlebot_update('PROPIEDADES',aux_canonical,aux_prev,aux_next);};$rootScope.loading(false);$scope.mysql_propiedades_termino=true;},function error(response){console.log("mysql_propiedades_categoria_viejo.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_propiedades_termino=true;});}}); /* --- app/publicidad/Ctrl_publicidad.js -------------------------------------------------------------------- */ angular.module('app.publicidadCtrl',['app.funcionesCtrl']).controller('publicidadCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='publicidad';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,paginado:false,solucion:false};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.obtengo_banners();$scope.init=function(){console.log("init()",$stateParams.id_modulo);$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.googlebot_update('PUBLICIDAD','','','');$scope.send_page_google_analytics("PUBLICIDAD","");$scope.parametro_nombre_seccion=($stateParams.nombre_seccion!=undefined)?$stateParams.nombre_seccion:'';$scope.parametro_id_seccion=($stateParams.id_seccion!=undefined)?$stateParams.id_seccion:'928';$scope.parametro_mostrar_buscador=false;$scope.parametro_texto_busqueda='';$rootScope.ejecuto_buscar=false;console.log("$scope.parametro_nombre_seccion",$scope.parametro_nombre_seccion);console.log("$scope.parametro_id_seccion",$scope.parametro_id_seccion);$scope.mostrar.categorias=false;$scope.mostrar.listado=false;$scope.mostrar.paginado=false;$scope.mostrar.titulo_detalle=true;$scope.mostrar.back=true;$scope.etiqueta.titulo="PUBLICIDAD";$scope.parametro_mostrar_buscador=false;$scope.parametro_texto_busqueda='';$rootScope.ejecuto_buscar=false;$scope.ruta_mysql_seccion=url_web+"app/publicidad/mysql_publicidad.php?seccion_id="+$scope.parametro_id_seccion;$scope.mysql_seccion_termino=true;$window.scrollTo(0,0);}}); /* --- app/radios/Ctrl_radios.js -------------------------------------------------------------------- */ angular.module('app.radiosCtrl',['app.funcionesCtrl']).controller('radiosCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='radios';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,paginado:false,solucion:false};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.obtengo_banners();$(document).ready(function(){var owl=$("#owl-Radios");$(".next").click(function(){owl.trigger('owl.next');});$(".prev").click(function(){owl.trigger('owl.prev');});$(".play").click(function(){owl.trigger('owl.play',1000);});$(".stop").click(function(){owl.trigger('owl.stop');});var owl2=$("#owl-Radios2");$(".next").click(function(){owl2.trigger('owl.next');});$(".prev").click(function(){owl2.trigger('owl.prev');});$(".play").click(function(){owl2.trigger('owl.play',1000);});$(".stop").click(function(){owl2.trigger('owl.stop');})});$scope.execute_play=function(){console.log("execute_play",$scope.PlayerJS.src);var playPromise=$scope.PlayerJS.play();if(playPromise!==undefined){console.log("playPromise",playPromise);playPromise.then(_=>{}).catch(error=>{});}};$scope.execute_play_fetch=function(){console.log("execute_play_fetch",$scope.PlayerJS.src);fetch($scope.PlayerJS.src).then(response=>response.blob()).then(blob=>{console.log("fetch_ok",blob);$scope.PlayerJS.srcObject=blob;return $scope.PlayerJS.play();}).then(_=>{console.log("msg: audio playback started");}).catch(e=>{console.log("msg: audio playback failed",e);});};$scope.PlayerJS=document.getElementById("playerJS");$scope.PlayerJS.volume=0;$scope.PlayerJS.muted=true;cant_reintentos=30;$scope.i_dial=-1;$scope.loops=1;$scope.verificar_online=function(action){if(action=='++'){$scope.i_dial++;$scope.loops=1;}else if(action=='LOOP'){$scope.loops++;if($scope.loops>cant_reintentos){document.getElementById("dial_linea"+$scope.i_dial).src='img/radios/dial_linea_off10.png';$scope.ListadoDial[$scope.i_dial].online=false;$scope.i_dial++;$scope.loops=1;}};if($scope.i_dial<$scope.ListadoDial.length){if($scope.ListadoDial[$scope.i_dial].url_codec.indexOf('99999')!=-1){$scope.verificar_online('++');return};if($scope.loops==1){$scope.PlayerJS.src=$scope.ListadoDial[$scope.i_dial].url_codec;timeout_play=500;$scope.PlayerJS.load();$scope.PlayerJS.play();}else{timeout_play=500;};setTimeout(function(){$scope.check_dial($scope.i_dial);},timeout_play);}};$scope.check_dial=function(i){if($scope.PlayerJS.currentTime>0&!$scope.PlayerJS.paused&&!$scope.PlayerJS.ended&&$scope.PlayerJS.readyState>2){console.info($scope.ListadoDial[i].titulo,"ONLINE !!!");document.getElementById("dial_linea"+i).src='img/radios/dial_linea_transparente.png';$scope.ListadoDial[i].online=true;$scope.verificar_online('++');}else{console.warn($scope.ListadoDial[i].titulo,"OFF",$scope.loops);$scope.verificar_online('LOOP');}};$scope.loading_dial=function(vez){$scope.vez=vez;$scope.player=document.getElementById("audioplayer");if($scope.player.paused==false){document.getElementById("audioplayer_loading").innerHTML="Sonando   ";}else{};if($scope.vez<10){setTimeout(function(){$scope.vez++;$scope.loading_dial($scope.vez);},1000);}};$scope.index_radio_anterior=-1;$scope.play_radio=function(index){console.log("function","play_radio",index);console.log("$scope.ListadoRadios",$scope.ListadoRadios);$scope.radio=$scope.ListadoDial[index];console.log("codec",$scope.radio.url_codec);if($scope.index_radio_anterior!=-1){document.getElementById("dial_mhz"+$scope.index_radio_anterior).style.backgroundImage="url(img/radios/dial_mhz_transparente.png)";console.log("xxxx",document.getElementById("dial_linea"+$scope.index_radio_anterior).src);if(basename(document.getElementById("dial_linea"+$scope.index_radio_anterior).src)=='dial_linea_seleccionado10.png'){document.getElementById("dial_linea"+$scope.index_radio_anterior).src="img/radios/dial_linea_transparente.png";console.log("paso");}else{document.getElementById("dial_linea"+$scope.index_radio_anterior).src="img/radios/dial_linea_off10.png";}};$scope.index_radio_anterior=index;document.getElementById("dial_mhz"+index).style.backgroundImage="url(img/radios/dial_mhz_seleccionado10.png)";if($scope.radio.url_codec=='http://server11.veemesoft.com.ar:99999/;'){document.getElementById("dial_linea"+index).src="img/radios/dial_linea_seleccionado_off10.png";document.getElementById("audioplayer_loading").innerHTML="";document.getElementById("audioplayer_radioname").innerHTML=""+$scope.radio.titulo+"   no transmite ON LINE";}else if($scope.radio.online){document.getElementById("dial_linea"+index).src="img/radios/dial_linea_seleccionado10.png";document.getElementById("audioplayer_loading").innerHTML="Loading   ";document.getElementById("audioplayer_radioname").innerHTML=""+$scope.radio.titulo+" en "+$scope.radio.dial+" Mhz";}else{document.getElementById("dial_linea"+index).src="img/radios/dial_linea_seleccionado_off10.png";document.getElementById("audioplayer_loading").innerHTML="OFF LINE   ";document.getElementById("audioplayer_radioname").innerHTML=""+$scope.radio.titulo+". Reintente más tarde";};$scope.player=document.getElementById("audioplayer");$scope.player.src=$scope.radio.url_codec;$scope.player.load();$scope.PlayerJS.play();$scope.loading_dial(0);};$scope.init=function(){console.log("init radios");$rootScope.loading(false);$scope.player_null=document.getElementById("audioplayer");console.log("player_null.src=",$scope.player_null.src);if($scope.player_null.src=='')console.log("vacio");if($scope.player_null.src==null)console.log("null");if($scope.player_null.src==undefined)console.log("null");$scope.forzar_title_description_keywords('','','');$scope.googlebot_update('RADIOS','','','');$scope.send_page_google_analytics("RADIOS","");$scope.mostrar.categorias=false;$scope.mostrar.listado=true;$scope.mostrar.paginado=false;$scope.mostrar.titulo=true;$scope.etiqueta.titulo='RADIOS ON LINE';mysql_radios_termino=false;$window.scrollTo(0,0);modulo_caching=$rootScope.id_modulo;if(!$rootScope.mostrar_buscador&$scope.caching_EXISTS(modulo_caching,-1,-1)){$scope.caching_GET(modulo_caching,'ALL');$scope.mysql_radios_termino=true;$scope.verificar_online('++');}else{$scope.filtro.id_radio=-1;$scope.ejecutar_mysql();}};$scope.init_detalle=function(){console.log("init_detalle",$rootScope.id_modulo);$rootScope.loading(false);$scope.googlebot_update('RADIOS DETALLE','','','');console.log("$stateParams.id_radio",$stateParams.id_radio);console.log("$stateParams.title_radio",$stateParams.title_radio);$scope.radio={};$scope.mostrar.detalle=true;$scope.etiqueta.titulo_detalle="RADIO";$scope.filtro.id_radio=($stateParams.id_radio!=undefined)?$stateParams.id_radio:-1;$rootScope.mostrar_buscador=false;$window.scrollTo(0,0);modulo_caching=$rootScope.id_modulo;if($rootScope.ultimo_modulo=='home'||$scope.caching_EXISTS(modulo_caching,-1000,1)){if($rootScope.ultimo_modulo=='home'){$scope.caching_GET('home','LISTADOS');}else{$scope.caching_GET(modulo_caching,'LISTADOS');};for(i=0;i<$scope.ListadoRadios.length;i++){console.log($scope.ListadoRadios[i].id_radio,"==",$scope.filtro.id_radio);if($scope.ListadoRadios[i].id_radio==$scope.filtro.id_radio){$scope.radio=$scope.ListadoRadios[i];console.log("$scope.radio",$scope.radio);$scope.forzar_title_description_keywords($scope.radio.titulo,"Escucha la Radio en vivo "+$scope.radio.titulo+" - "+$scope.radio.frecuencia+" Mhz","");$scope.send_page_google_analytics("RADIOS DETALLE","");$scope.etiqueta.titulo_detalle=$scope.radio.titulo;$scope.mysql_radios_termino=true;return;}}};$scope.ListadoRadio=[];$scope.texto_busqueda='';$scope.ejecutar_mysql();};$scope.ejecutar_mysql=function(direccion){console.log("ejecutar_mysql",direccion);if($rootScope.texto_busqueda==''){console.log("texto_busqueda VACIO!!!");};$scope.mysql_radios_termino=false;if(!isset($scope.ListadoRadios))$scope.ListadoRadios=[];$rootScope.loading(true);var urlParams={'id_radio':$scope.filtro.id_radio};console.log(urlParams);$http({url:"app/radios/mysql_radios.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_radios.php Success - response.data: ",response.data);$scope.ListadoRadios=response.data['radios'];$scope.etiqueta.cant_radios1=response.data['cant'];for(i=0;i<$scope.ListadoRadios.length;i++){$scope.ListadoRadios[i].titulo=decodeEntities($scope.ListadoRadios[i].titulo);$scope.ListadoRadios[i].titulo_corto=decodeEntities($scope.ListadoRadios[i].titulo_corto);$scope.ListadoRadios[i].dial=str_replace(" Mhz","",$scope.ListadoRadios[i].frecuencia);};$scope.ListadoRadios2=response.data['radios2'];$scope.etiqueta.cant_radios2=response.data['cant2'];for(i=0;i<$scope.ListadoRadios2.length;i++){$scope.ListadoRadios2[i].titulo=decodeEntities($scope.ListadoRadios2[i].titulo);$scope.ListadoRadios2[i].titulo_corto=decodeEntities($scope.ListadoRadios2[i].titulo_corto);$scope.ListadoRadios2[i].dial=str_replace(" Mhz","",$scope.ListadoRadios2[i].frecuencia);$scope.ListadoRadios.push($scope.ListadoRadios2[i]);};console.log("ListadoRadios",$scope.ListadoRadios);$scope.ListadoDial=$scope.ListadoRadios;for(i=0;i<$scope.ListadoDial.length;i++){if($scope.ListadoDial[i].url_codec.indexOf('99999')>0){$scope.ListadoDial[i].online=false;$scope.ListadoDial[i].imagen_dial_linea='img/radios/dial_linea_off10.png';}else{$scope.ListadoDial[i].online=true;$scope.ListadoDial[i].imagen_dial_linea='img/radios/dial_linea_no_checked.png';};$scope.ListadoDial[i].imagen_dial_mhz='img/radios/dial_mhz_transparente.png';$scope.ListadoDial[i].index=i;};console.log("ListadoDial",$scope.ListadoDial);if($scope.filtro.id_radio!=-1){if($scope.filtro.id_radio<100){$scope.radio=$scope.ListadoRadios[0];}else{$scope.radio=$scope.ListadoRadios2[0];};console.log("$scope.radio",$scope.radio);$scope.forzar_title_description_keywords($scope.radio.titulo,"Escucha la Radio en vivo "+$scope.radio.titulo+" - "+$scope.radio.frecuencia+" Mhz","");$scope.send_page_google_analytics("RADIOS DETALLE","");}else{$scope.verificar_online('++');modulo_caching=$rootScope.id_modulo;$scope.caching_PUT(modulo_caching,-1,-1);};$rootScope.loading(false);$scope.mysql_radios_termino=true;},function error(response){console.log("mysql_radios.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_radios_termino=true;});}}); /* --- app/rss/Ctrl_rss.js -------------------------------------------------------------------- */ angular.module('app.rssCtrl',['app.funcionesCtrl']).controller('rssCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='rss';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,compartir:false};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.obtengo_banners();$scope.init=function(){console.log("init rss");$rootScope.loading(false);$scope.googlebot_update('RSS','','','');if($stateParams.id_canal!=undefined){$scope.forzar_title_description_keywords("Noticias de "+nombre_parametro_ok($stateParams.nombre_canal),"Últimas Noticias del Medio "+nombre_parametro_ok($stateParams.nombre_canal),"");}else{$scope.forzar_title_description_keywords('','','');};$scope.send_page_google_analytics("RSS","");$scope.parametro_nombre_canal=($stateParams.nombre_canal!=undefined)?$stateParams.nombre_canal:'';$scope.parametro_id_canal=($stateParams.id_canal!=undefined)?$stateParams.id_canal:-1;$scope.parametro_nro_page=1;$rootScope.ejecuto_buscar=false;console.log("$scope.parametro_nombre_canal",$scope.parametro_nombre_canal);console.log("$scope.parametro_id_canal",$scope.parametro_id_canal);$scope.mostrar.listado=true;$scope.mostrar.detalle=false;$rootScope.mostrar_buscador=false;$rootScope.texto_busqueda='';$scope.etiqueta.canal_rss=$scope.parametro_nombre_canal;mysql_noticias_termino=false;$scope.ListadoNoticias=[];$window.scrollTo(0,0);if($scope.caching_EXISTS('rss',-1,1)){$scope.caching_GET('rss','ALL');$scope.filtro.id_canal=$scope.parametro_id_canal;$scope.filtro.articulo_id=-1;if($scope.filtro.id_canal!=-1){$scope.etiqueta.canal_rss=$scope.obtener_etiqueta_canal($scope.filtro.id_canal);console.log("$scope.etiqueta.canal_rss",$scope.etiqueta.canal_rss);$scope.ListadoNoticias=$scope.ListadoRss[$scope.filtro.id_canal];for(i=0;i<$scope.ListadoNoticias.length;i++){$scope.ListadoNoticias[i].articulo_id=str0($scope.filtro.id_canal,3)+$scope.ListadoNoticias[i].id_json.toString();};console.log("$scope.ListadoNoticias",$scope.ListadoNoticias);};$scope.mysql_noticias_termino=true;}else{$scope.paginado={desde:1,cantidad:16};console.log("$scope.paginado",$scope.paginado);$scope.filtro.id_canal=$scope.parametro_id_canal;$scope.filtro.articulo_id=-1;$scope.ejecutar_mysql();}};$scope.init_detalle=function(){console.log("init_detalle noticias");$rootScope.loading(false);$scope.googlebot_update('RSS DETALLE','','','');console.log("$stateParams.articulo_id",$stateParams.articulo_id);console.log("$stateParams.title_noticia",$stateParams.title_noticia);$scope.noticia={};$scope.mostrar.listado=false;$scope.mostrar.detalle=true;$scope.mostrar.compartir=true;$scope.etiqueta.titulo_detalle="NOTICIA";$scope.paginado={desde:1,cantidad:1};$scope.filtro.articulo_id=($stateParams.articulo_id!=undefined)?$stateParams.articulo_id:-1;$scope.filtro.id_canal=-1;console.log("$scope.filtro.articulo_id",$scope.filtro.articulo_id);$scope.parametro_canal_id=parseInt($scope.filtro.articulo_id.substr(0,3));$scope.parametro_articulo_id=parseInt($scope.filtro.articulo_id.substr(3,20));console.log("$scope.parametro_canal_id",$scope.parametro_canal_id);console.log("$scope.parametro_articulo_id",$scope.parametro_articulo_id);$window.scrollTo(0,0);if($rootScope.ultimo_modulo=='home'||$scope.caching_EXISTS('rss',-1000,1)){if($rootScope.ultimo_modulo=='home'){$scope.caching_GET('home','LISTADOS');}else{$scope.caching_GET('rss','LISTADOS');};j=$scope.parametro_canal_id;i=$scope.parametro_articulo_id;if(url_amigable_js($scope.ListadoRss[j][i].title)==$stateParams.title_noticia){$scope.noticia=$scope.ListadoRss[j][i];console.log("$scope.noticia",$scope.noticia);$scope.forzar_title_description_keywords($scope.noticia.title,$scope.noticia.descripcion,"");$scope.send_page_google_analytics("RSS DETALLE","");$scope.mysql_noticias_termino=true;}else{windows.location.href=$scope.carpeta_web+"/rss";};return;};$scope.ListadoNoticias=[];$scope.texto_busqueda='';$scope.ejecutar_mysql('ficha');};$scope.ejecutar_mysql=function(){console.log("ejecutar_paginado");console.log("$scope.filtro.id_canal",$scope.filtro.id_canal);console.log("$scope.filtro.articulo_id",$scope.filtro.articulo_id);$scope.mysql_noticias_termino=false;if(!isset($scope.ListadoRss))$scope.ListadoRss=[];$rootScope.loading(true);var urlParams={};$http({url:"app/rss/mysql_rss.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_rss.php Success - response.data: ",response.data);$scope.ListadoRss=response.data['rss'];$scope.ListadoCanalesRss=response.data['canales_rss'];console.log("ListadoRss",$scope.ListadoRss);console.log("ListadoCanalesRss",$scope.ListadoCanalesRss);$scope.paginado_post_get();if($scope.filtro.id_canal!=-1){$scope.etiqueta.canal_rss=$scope.obtener_etiqueta_canal($scope.filtro.id_canal);$scope.ListadoNoticias=$scope.ListadoRss[$scope.filtro.id_canal];console.log("ListadoNoticias",$scope.ListadoNoticias);};if($scope.filtro.articulo_id!=-1){j=$scope.parametro_canal_id;i=$scope.parametro_articulo_id;if(url_amigable_js($scope.ListadoRss[j][i].title)==$stateParams.title_noticia){$scope.noticia=$scope.ListadoRss[j][i];console.log("$scope.noticia",$scope.noticia);$scope.forzar_title_description_keywords($scope.noticia.title,$scope.noticia.descripcion,"");$scope.send_page_google_analytics("RSS DETALLE","");}else{windows.location.href=$scope.carpeta_web+"/rss";};return;}else{$scope.caching_PUT('rss',-1,1);};$rootScope.loading(false);$scope.mysql_noticias_termino=true;},function error(response){console.log("mysql_rss.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_noticias_termino=true;});};$scope.obtener_etiqueta_canal=function(id_canal){for(i=0;i<$scope.ListadoCanalesRss.length;i++){if($scope.ListadoCanalesRss[i].id_json==id_canal){return $scope.ListadoCanalesRss[i].nombre;}};return '';};$scope.des_seleccionar_canal=function(){console.log("des_seleccionar_canal");$scope.filtro.id_canal=-1;$scope.etiqueta.canal_rss='';$scope.ListadoNoticias=[];$window.scrollTo(0,0);}}); /* --- app/sad/Ctrl_sad.js -------------------------------------------------------------------- */ angular.module('app.sadCtrl',['app.funcionesCtrl']).controller('sadCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http,id_submodulo){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='sad';if($stateParams.tipo_cargo=='cargo'){$scope.id_submodulo="actos-publicos";}else if($stateParams.tipo_cargo=='modulo'){$scope.id_submodulo="actos-publicos";}else if($stateParams.tipo_cargo=='concurso'){$scope.id_submodulo="concursos";}else{$scope.id_submodulo=argumento_id_submodulo;};if($scope.id_submodulo=='actos-publicos'){$rootScope.modulo_nombre="SAD Actos Públicos";$rootScope.modulo_ui_sref="sad-actos-publicos";}else if($scope.id_submodulo=='concursos'){$rootScope.modulo_nombre="SAD Concursos";$rootScope.modulo_ui_sref="sad-concursos";};$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false};$rootScope.mostrar_buscador=false;$scope.etiqueta={};$scope.obtengo_banners();$scope.init=function(){console.log("init sad");$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.send_page_google_analytics("SAD","");mysql_sad_termino=false;$scope.mostrar.detalle=true;$scope.etiqueta.titulo_detalle="SAD";$scope.ListadoSadActosPublicos=[];$scope.ListadoSadCargos=[];$scope.ListadoSodulos=[];$scope.ListadoSadProyectos=[];console.log("$stateParams.id_cargo",$stateParams.id_cargo);if($stateParams.id_cargo!=undefined){$scope.filtro.index_acto=parseInt($stateParams.id_cargo.substr(0,3));$scope.filtro.index_cargo=parseInt($stateParams.id_cargo.substr(3,3));}else{$scope.filtro.index_acto=-1;$scope.filtro.index_cargo=-1;};console.log("$scope.filtro.index_acto",$scope.filtro.index_acto);console.log("$scope.filtro.index_cargo",$scope.filtro.index_cargo);$window.scrollTo(0,0);if($rootScope.ultimo_modulo=='home'||$scope.caching_EXISTS('sad',-1000,1)){if($rootScope.ultimo_modulo=='home'){$scope.caching_GET('home','LISTADOS');}else{$scope.caching_GET('sad','LISTADOS');};$scope.mysql_sad_termino=true;if($scope.filtro.index_cargo!=-1){$scope.configurar_detalle();}}else{$scope.ejecutar_mysql();}};$scope.is_seleccionado=function(cual,index_acto,index_cargo){rta=false;if(cual==$scope.cual){if(cual!='concurso'){if(index_acto==$scope.filtro.index_acto&index_cargo==$scope.filtro.index_cargo){rta=true;}}else{if(index_cargo==$scope.filtro.index_cargo){rta=true;}}};return rta;};$scope.configurar_detalle=function(){console.log("configurar_detalle");$scope.cual=$stateParams.tipo_cargo;$scope.cargo={};$window.scrollTo(0,0);if($stateParams.tipo_cargo=='cargo'){$scope.etiqueta.title_cargo="Detalle del Cargo";$scope.acto=$scope.ListadoSadCargos[$scope.filtro.index_acto][$scope.filtro.index_cargo];}else if($stateParams.tipo_cargo=='modulo'){$scope.etiqueta.title_cargo="Detalle de la Materia";$scope.acto=$scope.ListadoSodulos[$scope.filtro.index_acto][$scope.filtro.index_cargo];}else if($stateParams.tipo_cargo=='concurso'){$scope.etiqueta.title_cargo="Detalle de la Materia a Concursar";$scope.acto=$scope.ListadoSadProyectos[$scope.filtro.index_cargo];};console.log("zoom",$scope.acto.establecimiento_google_maps_zoom);console.log("isGeo",isGeo);if((1==1||isGeo)&$scope.acto.establecimiento_latitud!=''&&$scope.acto.establecimiento_longitud!=''){var mapSAD;var latitud=parseFloat($scope.acto.establecimiento_latitud);var longitud=parseFloat($scope.acto.establecimiento_longitud);console.log(latitud);console.log(longitud);var myLatlng=new google.maps.LatLng(latitud,longitud);var zoom=parseInt($scope.acto.establecimiento_google_maps_zoom);console.log(zoom);mapSAD=new google.maps.Map(document.getElementById('mapSAD'),{center:myLatlng,zoom:zoom});var marker=new google.maps.Marker({position:myLatlng,map:mapSAD,title:'Ubicación del Establecimiento'});setTimeout(function(){google.maps.event.trigger(mapSAD,'resize')},1000);$scope.mapSAD=mapSAD;}};$scope.ejecutar_mysql=function(){console.log("ejecutar_mysql");$scope.mysql_sad_termino=false;if(!isset($scope.ListadoSadActosPublicos))$scope.ListadoSadActosPublicos=[];{if(!isset($scope.ListadoSadCargos))$scope.ListadoSadCargos=[];}if(!isset($scope.ListadoSodulos))$scope.ListadoSodulos=[];{if(!isset($scope.ListadoSadProyectos))$scope.ListadoSadProyectos=[];};$rootScope.loading(true);var urlParams={};$http({url:"app/sad/mysql_sad.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_sad.php Success - response.data: ",response.data);$scope.ListadoSadActosPublicos=response.data['actos_publicos'];$scope.ListadoSadCargos=response.data['actos_cargos'];$scope.ListadoSodulos=response.data['actos_modulos'];$scope.ListadoSadProyectos=response.data['proyectos'];console.log("ListadoSadActosPublicos",$scope.ListadoSadActosPublicos);console.log("ListadoSadCargos",$scope.ListadoSadCargos);console.log("ListadoSodulos",$scope.ListadoSodulos);console.log("ListadoSadProyectos",$scope.ListadoSadProyectos);if($scope.filtro.index_cargo!=-1){$scope.configurar_detalle();};$scope.caching_PUT('sad',-1,1);$rootScope.loading(false);$scope.mysql_sad_termino=true;},function error(response){console.log("mysql_sad.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_sad_termino=true;});}}); /* --- app/sad-facebook/Ctrl_sad_facebook.js -------------------------------------------------------------------- */ angular.module('app.sadfacebookCtrl',['app.funcionesCtrl']).controller('ModalCtrl',function($scope,$uibModalInstance){$scope.ok_modal=function(index){$uibModalInstance.close(index);};$scope.cancel_modal=function(){$uibModalInstance.close('');};}).controller('sadfacebookCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http,$uibModal){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='sad-facebook';$rootScope.modulo_nombre='SAD - Facebook';$rootScope.modulo_ui_sref='sad-facebook';$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false};$rootScope.mostrar_buscador=false;$scope.etiqueta={};$scope.open_modal=function(){var modalInstance=$uibModal.open({animation:true,templateUrl:'app/sad-facebook/Modal_cargos_sad.php',controller:'ModalCtrl',size:'lg',scope:$scope});modalInstance.result.then(function(index){if(index!=''){window.location.href=index;};console.log("modalInstance.result.then");},function(){console.log("ok_modal2 false",index);console.log("modalInstance.result.else");});};$scope.obtengo_banners();$scope.init=function(){console.log("init facebook",$rootScope.id_modulo);$scope.forzar_title_description_keywords('','','');$scope.send_page_google_analytics("SAD - FACEBOOK","");$scope.parametro_nombre_categoria=($stateParams.nombre_categoria!=undefined)?$stateParams.nombre_categoria:'';$scope.parametro_id_categoria=($stateParams.id_categoria!=undefined)?$stateParams.id_categoria:-1;$scope.parametro_page_categoria=($stateParams.page!=undefined)?true:false;$scope.parametro_nro_page=($stateParams.nro_page!=undefined)?parseInt($stateParams.nro_page):1;$scope.parametro_mostrar_buscador=false;$scope.parametro_texto_busqueda='';$rootScope.ejecuto_buscar=false;if($scope.parametro_page_categoria){}else if($scope.parametro_nombre_categoria==''){$scope.parametro_nombre_categoria='page';$scope.parametro_nro_page=1;}else if($scope.parametro_nombre_categoria=='page'){$scope.parametro_nro_page=$scope.parametro_id_categoria;$scope.parametro_id_categoria=-1;}else if($scope.parametro_nombre_categoria=='buscar'){$scope.parametro_mostrar_buscador=true;$scope.parametro_texto_busqueda=$scope.parametro_id_categoria;$rootScope.ejecuto_buscar=true;$scope.parametro_id_categoria=-2;}else{$scope.parametro_nro_page=1;};$scope.parametro_id_categoria=parseInt($scope.parametro_id_categoria);console.log("$scope.parametro_nombre_categoria",$scope.parametro_nombre_categoria);console.log("$scope.parametro_id_categoria",$scope.parametro_id_categoria);console.log("$scope.parametro_page_categoria",$scope.parametro_page_categoria);console.log("$scope.parametro_nro_page",$scope.parametro_nro_page);console.log("$scope.parametro_nro_page",$scope.parametro_nro_page);console.log("$scope.parametro_texto_busqueda",$scope.parametro_texto_busqueda);$scope.mostrar.categorias=false;$scope.mostrar.detalle=false;$scope.mostrar.listado=true;$rootScope.mostrar_buscador=$scope.parametro_mostrar_buscador;$rootScope.texto_busqueda=$scope.parametro_texto_busqueda;$scope.etiqueta.categoria=$scope.parametro_nombre_categoria;$scope.mysql_facebook_termino=false;$window.scrollTo(0,0);modulo_caching='sad-facebook';if(!$rootScope.mostrar_buscador&$scope.caching_EXISTS(modulo_caching,$scope.parametro_id_categoria,$scope.parametro_nro_page)){$scope.caching_GET(modulo_caching,'ALL');$scope.filtro.id_categoria=$scope.parametro_id_categoria;$scope.filtro.id_post=-1;$scope.mysql_facebook_termino=true;console.log("$scope.ListadoSadFacebook",$scope.ListadoSadFacebook);console.log("$scope.ListadoCategorias",$scope.ListadoCategorias);}else{$scope.paginado={desde:$scope.parametro_nro_page,cantidad:4};console.log("$scope.paginado",$scope.paginado);$scope.filtro.id_categoria=$scope.parametro_id_categoria;$scope.filtro.id_post=-1;$scope.ejecutar_paginado($scope.parametro_nro_page);}};$scope.init_detalle=function(){console.log("init_detalle ",$rootScope.id_modulo);$rootScope.loading(false);$scope.send_page_google_analytics("SAD FACEBOOK DETALLE","");console.log("$stateParams.id_post",$stateParams.id_post);console.log("$stateParams.title_post",$stateParams.title_post);$scope.noticia={};$scope.mostrar.detalle=true;$scope.etiqueta.titulo_detalle="POST DE FACEBOOK";$scope.paginado={desde:1,cantidad:1};$scope.filtro.id_post=($stateParams.id_post!=undefined)?$stateParams.id_post:-1;$scope.filtro.id_categoria=-1;$rootScope.mostrar_buscador=false;$scope.mysql_facebook_termino=false;$window.scrollTo(0,0);modulo_caching='sad-facebook';if($rootScope.ultimo_modulo=='home'||$scope.caching_EXISTS(modulo_caching,-1000,1)){if($rootScope.ultimo_modulo=='home'){$scope.caching_GET('home','LISTADOS');$scope.ListadoSadFacebook=$scope.ListadoSadFacebook;}else{$scope.caching_GET(modulo_caching,'LISTADOS');};console.log("$scope.ListadoSadFacebook",$scope.ListadoSadFacebook);for(i=0;i<$scope.ListadoSadFacebook.length;i++){if($scope.ListadoSadFacebook[i].id_post==$scope.filtro.id_post){$scope.post=$scope.ListadoSadFacebook[i];console.log("$scope.post",$scope.post);$scope.mysql_facebook_termino=true;return;}}};$scope.ListadoSadFacebook=[];$scope.texto_busqueda='';$scope.ejecutar_paginado('ficha');};$scope.ejecutar_paginado=function(direccion){console.log("ejecutar_paginado",direccion);$scope.paginado_actualizar_paginado_desde(direccion);$scope.mysql_facebook_termino=false;if(!isset($scope.ListadoSadFacebook))$scope.ListadoSadFacebook=[];$rootScope.loading(true);var urlParams={'id_modulo':'sad-facebook','paginado_desde':$scope.paginado.desde,'paginado_cantidad':$scope.paginado.cantidad,'texto_busqueda':$scope.texto_busqueda,'id_categoria':$scope.filtro.id_categoria};console.log("urlParams",urlParams);$http({url:"app/facebook/mysql_facebook_posts.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_facebook_posts.php Success - response.data: ",response.data);$scope.ListadoSadFacebook=response.data['posts_facebook'];for(i=0;i<$scope.ListadoSadFacebook.length;i++){$scope.ListadoSadFacebook[i].mensaje=decodeEntities($scope.ListadoSadFacebook[i].mensaje);$scope.ListadoSadFacebook[i].nombre_tipo=decodeEntities($scope.ListadoSadFacebook[i].nombre_tipo);$scope.ListadoSadFacebook[i].nombre_estado=decodeEntities($scope.ListadoSadFacebook[i].nombre_estado);$scope.ListadoSadFacebook[i].from_name=decodeEntities($scope.ListadoSadFacebook[i].from_name);};console.log("ListadoSadFacebook",$scope.ListadoSadFacebook);$scope.ListadoCategorias=response.data['categorias'];for(i=0;i<$scope.ListadoCategorias.length;i++){$scope.ListadoCategorias[i].nombre=decodeEntities($scope.ListadoCategorias[i].nombre);};$scope.ListadoCategorias.unshift({id_categoria:-1,nombre:'Todas las Categorias'});console.log("ListadoCategorias",$scope.ListadoCategorias);$scope.paginado.rta_cant=parseInt(response.data['cant']);$scope.paginado.rta_total=parseInt(response.data['total']);$scope.paginado_post_get();if($scope.filtro.id_post!=-1){$scope.post=$scope.ListadoSadFacebook[0];console.log("$scope.post",$scope.post);}else{modulo_caching='sad-facebook';$scope.caching_PUT(modulo_caching,$scope.filtro.id_categoria,$scope.parametro_nro_page);};$rootScope.loading(false);$scope.mysql_facebook_termino=true;},function error(response){console.log("mysql_facebook_posts.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_facebook_termino=true;});}}); /* --- app/salidas/Ctrl_salidas.js -------------------------------------------------------------------- */ angular.module('app.salidasCtrl',['app.funcionesCtrl']).controller('salidasCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo="salidas";eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,compartir:false,};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.obtengo_banners();$scope.init=function(){console.log("init() salidas");$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.googlebot_update('SALIDAS','','','');$scope.send_page_google_analytics("SALIDAS","");$scope.mostrar.categorias=false;$scope.mostrar.listado=true;$scope.mostrar.titulo=true;$scope.mostrar.video=false;$scope.parametro_mostrar_buscador=false;$scope.parametro_texto_busqueda='';$rootScope.ejecuto_buscar=false;$scope.etiqueta.titulo="CARTELERA DE SALIDAS";$scope.mysql_salidas_termino=false;if($scope.caching_EXISTS("salidas",-1,1)){$scope.caching_GET("salidas",'ALL');$scope.filtro.id_salida=-1;$scope.mysql_salidas_termino=true;}else{$scope.filtro.id_salida=-1;$scope.ejecutar_mysql();}};$scope.init_detalle=function(){console.log("init_detalle() salidas");$rootScope.loading(false);$scope.googlebot_update('SALIDAS DETALLE','','','');console.log("$stateParams.id_salida",$stateParams.id_salida);console.log("$stateParams.title_salida",$stateParams.title_salida);$scope.salida={};$scope.mostrar.detalle=true;$scope.mostrar.compartir=true;$scope.etiqueta.titulo_detalle="FICHA DE LA SALIDA";$scope.filtro.id_salida=($stateParams.id_salida!=undefined)?$stateParams.id_salida:-1;$rootScope.mostrar_buscador=false;$window.scrollTo(0,0);if($rootScope.ultimo_modulo=='home'||$scope.caching_EXISTS("salidas",-1000,1)){if($rootScope.ultimo_modulo=='home'){$scope.caching_GET('home','LISTADOS');}else{$scope.caching_GET("salidas",'LISTADOS');};for(i=0;i<$scope.ListadoSalidas.length;i++){if($scope.ListadoSalidas[i].id_salida==$scope.filtro.id_salida){$scope.salida=$scope.ListadoSalidas[i];console.log("$scope.salida",$scope.salida);$scope.forzar_title_description_keywords($scope.salida.titulo+" - "+$scope.salida.descripcion_tipo_cartelera,$scope.salida.copete,"");$scope.send_page_google_analytics("SALIDAS DETALLE","");$scope.formatear_video();$scope.mysql_salidas_termino=true;return;}}};$scope.ListadoSalidas=[];$scope.texto_busqueda='';$scope.ejecutar_mysql();};$scope.ejecutar_mysql=function(){console.log("ejecutar_mysql");$scope.mysql_salidas_termino=false;if(!isset($scope.ListadoSalidas))$scope.ListadoSalidas=[];$rootScope.loading(true);var urlParams={'id_salida':$scope.filtro.id_salida};console.log(urlParams);$http({url:"app/salidas/mysql_salidas.php",method:"GET",params:urlParams}).then(function success(response){console.log("mysql_salidas.php Success - response.data: ",response.data);$scope.ListadoSalidas=response.data['salidas'];for(i=0;i<$scope.ListadoSalidas.length;i++){$scope.ListadoSalidas[i].titulo=decodeEntities($scope.ListadoSalidas[i].titulo);$scope.ListadoSalidas[i].copete=decodeEntities($scope.ListadoSalidas[i].copete);$scope.ListadoSalidas[i].texto=decodeEntities($scope.ListadoSalidas[i].texto);$scope.ListadoSalidas[i].horarios=decodeEntities($scope.ListadoSalidas[i].horarios);$scope.ListadoSalidas[i].precio=decodeEntities($scope.ListadoSalidas[i].precio);$scope.ListadoSalidas[i].entrada_anticipada=decodeEntities($scope.ListadoSalidas[i].entrada_anticipada);$scope.ListadoSalidas[i].titulo_home=decodeEntities($scope.ListadoSalidas[i].titulo_home);$scope.ListadoSalidas[i].nombre=decodeEntities($scope.ListadoSalidas[i].nombre);$scope.ListadoSalidas[i].nombre_corto=decodeEntities($scope.ListadoSalidas[i].nombre_corto);$scope.ListadoSalidas[i].rubro_del_nombre=decodeEntities($scope.ListadoSalidas[i].rubro_del_nombre);$scope.ListadoSalidas[i].direccion=decodeEntities($scope.ListadoSalidas[i].direccion);};console.log("ListadoSalidas",$scope.ListadoSalidas);if($scope.filtro.id_salida!=-1){$scope.salida=$scope.ListadoSalidas[0];console.log("$scope.salida",$scope.salida);$scope.forzar_title_description_keywords($scope.salida.titulo+" - "+$scope.salida.descripcion_tipo_cartelera,$scope.salida.copete,"");$scope.send_page_google_analytics("SALIDAS DETALLE","");$scope.formatear_video();}else{$scope.caching_PUT("salidas",-1,1);};$rootScope.loading(false);$scope.mysql_salidas_termino=true;},function error(response){console.log("mysql_salidas.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_salidas_termino=true;});};$scope.formatear_video=function(){console.log("formatear_video");$scope.mostrar.video=false;if($scope.salida.video!=""){$scope.salida.video=$scope.salida.video.replace('watch?v=','embed/');$scope.salida.video=$scope.salida.video.replace('&feature=youtu.be','');$scope.mostrar.video=true;$scope.videourl_video=$scope.salida.video+'?rel=0&showinfo=0"';$scope.movie={src:$scope.videourl_video,title:$scope.salida.titulo};}}}); /* --- app/tv/Ctrl_tv.js -------------------------------------------------------------------- */ angular.module('app.tvCtrl',['app.funcionesCtrl']).controller('ModalCtrl',function($scope,$uibModalInstance){$scope.ok_modal=function(filtro){$uibModalInstance.close(filtro);};$scope.cancel_modal=function(){$uibModalInstance.close('');};}).controller('tvCtrl',function($controller,$rootScope,$scope,$stateParams,$window,$http,$uibModal,$filter){$controller('funcionesCtrl',{$scope:$scope});$scope.determinar_celular(0,10);$rootScope.ultimo_modulo=$rootScope.id_modulo;$rootScope.id_modulo='tv';eval("$rootScope.modulo_nombre = quita_acute($scope.modulo."+$rootScope.id_modulo+".nombre);");eval("$rootScope.modulo_ui_sref = $scope.modulo."+$rootScope.id_modulo+".ui_sref;");console.log("$rootScope.id_modulo",$rootScope.id_modulo);$scope.mostrar={fecha_hora:false,categorias:false,listado:false,mapa:false,detalle:false,compartir:false,peliculas:true};$rootScope.mostrar_buscador=false;$rootScope.click_home_celular=false;$scope.etiqueta={};$scope.ruta_logo_senial=url_archivos+'tv';$scope.open_modal_tv=function(size){var modalInstance=$uibModal.open({animation:true,templateUrl:'app/tv/Modal_filtros_tv.php?random='+Math.random().toString(36).slice(2),controller:'ModalCtrl',size:'lg',scope:$scope});modalInstance.result.then(function(filtro){console.log("modalInstance.result.then",filtro);if(filtro!=''){$scope.send_page_google_analytics("TV",carpeta_web+"/tv");$scope.filtro_modal_senial=filtro.senial;$scope.filtro_modal_genero=filtro.genero;$scope.filtro_modal_ranking=filtro.ranking;$scope.filtro_modal_destacadas=filtro.destacadas;if(filtro.tv_empresa!=$scope.filtro_modal_tv_empresa){$scope.filtro_modal_tv_empresa=filtro.tv_empresa;$scope.ejecutar_grilla();}}},function(){console.log("modalInstance.result.else");});};$scope.mostrar.peliculas=true;$scope.mostrar.detalle_peliculas=false;$scope.ListadoColumnasHoras=[];$scope.programa={};$scope.ListadoEmpresas=[];$scope.ListadoCategorias=[];$scope.ListadoGeneros=[];$scope.ListadoSeniales=[];$scope.ListadoProximosDias=[];$scope.ListadoRanking=[];$scope.ListadoProgramas=[];$scope.dia_semana_filtro="";$scope.mostrar.grilla_series=true;$scope.mostrar.grilla_novelas=true;$scope.mostrar.grilla_posters=true;$scope.grilla_actual="";$scope.filtro={'fecha':'hoy','hora':'','categoria':'','genero':'','senial':'','rankig':'','destacadas':'','tv_empresa':''};$scope.filtro_modal_tv_empresa='';$scope.filtro_modal_senial='';$scope.filtro_modal_genero='';$scope.filtro_modal_ranking='';$scope.filtro_modal_destacadas='';$scope.ListadoEmpresas=[{'id_json':'0','id':'cablevision','nombre':'Cablevisión','logo':'logo_cablevision.png'},{'id_json':'1','id':'cablevision_hd','nombre':'Cablevisión HD','logo':'logo_cablevision_hd.png'},{'id_json':'2','id':'telered','nombre':'Cabletel','logo':'logo_cabletel.png'},{'id_json':'3','id':'directv','nombre':'DirecTV','logo':'logo_directv.png'}];$scope.ListadoDestacadas=[{'id':'','nombre':'No Filtrar',},{'id':'D','nombre':'Destacadas',},{'id':'E','nombre':'Estrenos',},{'id':'DE','nombre':'Destacadas/Estrenos',}];$scope.ListadoRanking=[{'id':'','nombre':'No filtrar',},{'id':'0','nombre':'Menos de 5',},{'id':'5','nombre':'5 o más',},{'id':'6','nombre':'6 o más',},{'id':'7','nombre':'7 o más',},{'id':'8','nombre':'8 o más',},{'id':'9','nombre':'9 o más',},{'id':'X','nombre':'No Rankeadas',}];$scope.obtengo_banners();$scope.init=function(){console.log("init ()");$rootScope.loading(false);$scope.forzar_title_description_keywords('','','');$scope.googlebot_update('TV','','','');$scope.send_page_google_analytics("TV","");$scope.paginado={desde:1,cantidad:1};$scope.filtro.fecha=$rootScope.fecha_actual;$scope.filtro.hora=$rootScope.hora_actual_larga;$scope.filtro.categoria='';$scope.filtro.genero='';$scope.filtro.senial='';$scope.filtro.ranking='';$scope.filtro.destacadas='';$scope.filtro.id_programa=-1;$scope.ListadoPasadas_sm=[{'desde':0,'hasta':2},{'desde':2,'hasta':4}];$scope.ListadoPasadas_md=[{'desde':0,'hasta':4}];if(window.localStorage.getItem('caching_tv_check')){console.log("existe localhost!");caching_check=JSON.parse(window.localStorage.getItem('caching_tv_check'));$scope.filtro.hora=caching_check.id_categoria.substr(11,5);}else{$scope.filtro.hora='20:00';};console.log("$scope.filtro.hora",$scope.filtro.hora);$window.scrollTo(0,0);valor_check_caching=$scope.filtro.fecha+' '+$scope.filtro.hora;console.log("===================== valor_check_caching",valor_check_caching);if($scope.caching_EXISTS('tv',valor_check_caching,1)){$scope.caching_GET('tv','ALL');$scope.filtro_modal_senial=$scope.filtro.senial;$scope.filtro_modal_genero=$scope.filtro.genero;$scope.filtro_modal_ranking=$scope.filtro.ranking;$scope.filtro_modal_destacadas=$scope.filtro.destacadas;$scope.mysql_tv_termino=true;if(!window.localStorage.getItem('tv_empresa')){$scope.filtro.tv_empresa=window.localStorage.getItem('tv_empresa');};console.log("$scope.ListadoProgramas",$scope.ListadoProgramas);}else{$scope.ejecutar_grilla();}};$scope.init_detalle=function(){console.log("init_detalle tv");$rootScope.loading(false);$scope.googlebot_update('TV - FICHA PROGRAMA','','','');console.log("$stateParams.title_programa",$stateParams.title_programa);console.log("$stateParams.id_programa",$stateParams.id_programa);$scope.programa={};$scope.mostrar.detalle=true;$scope.etiqueta.titulo_detalle="FICHA DE LA PELÍCULA";$scope.paginado={desde:1,cantidad:1};$scope.filtro.id_programa=($stateParams.id_programa!=undefined)?$stateParams.id_programa:-1;$rootScope.mostrar_buscador=false;$scope.mostrar.compartir=true;$window.scrollTo(0,0);console.log("$rootScope.ultimo_modulo",$rootScope.ultimo_modulo);if($rootScope.ultimo_modulo=='home'||$scope.caching_EXISTS('tv',-1000,1)){if($rootScope.ultimo_modulo=='home'){$scope.caching_GET('home','LISTADOS');}else{$scope.caching_GET('tv','LISTADOS');};if(!window.localStorage.getItem('tv_empresa')){$scope.filtro.tv_empresa=window.localStorage.getItem('tv_empresa');};if($scope.filtro.id_programa!=-1){for(i=0;i<$scope.ListadoProgramas.length;i++){if($scope.ListadoProgramas[i].id_programa==$scope.filtro.id_programa){$scope.programa=$scope.ListadoProgramas[i];$scope.formatear_programa();console.log($scope.programa);desc_serie_pelicula=($scope.programa.id_categoria==6)?"Serie":"Película";$scope.forzar_title_description_keywords($scope.programa.titulo,$scope.programa.sinopsis,keywords_texto($scope.programa.titulo+desc_serie_pelicula+",tv,grilla tv,lincoln,cabletel,cablevision,directv"),desc_serie_pelicula,$scope.programa.poster,'video');$scope.send_page_google_analytics("TV FICHA PROGRAMA","");$scope.mysql_tv_termino=true;return;}}}};$scope.ListadoProgramas=[];$scope.texto_busqueda='';$scope.ejecutar_grilla();};$scope.ejecutar_grilla=function(){console.log("ejecutar_grilla");console.log("$scope.filtro.hora",$scope.filtro.hora);console.log("$scope.filtro.tv_empresa",$scope.filtro.tv_empresa);$scope.mysql_tv_termino=false;if(!isset($scope.ListadoProgramas))$scope.ListadoProgramas=[];{var resultados=[];}$rootScope.loading(true);if($scope.filtro.hora!=""){hora_desde=$scope.filtro.hora;if($scope.filtro.hora=='00:00')hora_hasta="03:59";if($scope.filtro.hora=='04:00')hora_hasta="07:59";if($scope.filtro.hora=='08:00')hora_hasta="11:59";if($scope.filtro.hora=='12:00')hora_hasta="15:59";if($scope.filtro.hora=='16:00')hora_hasta="19:59";if($scope.filtro.hora=='20:00')hora_hasta="23:59";}else{hora_desde="00:00";hora_hasta="23:59";};var urlParams={'empresa':$scope.filtro.tv_empresa,'fecha_desde':$scope.filtro.fecha,'hora_desde':hora_desde,'fecha_hasta':$scope.filtro.fecha,'hora_hasta':hora_hasta,'categoria':'','genero':'','senial':'','destacada':'','ranking':'','id_programa':$scope.filtro.id_programa};console.log("urlParams",urlParams);$http({url:url_web+"app/tv/mysql_tv.php",method:"GET",params:urlParams}).then(function success(response){response.data.fecha_dia=decodeEntities(response.data.fecha_dia);$scope.dia_semana_filtro=response.data.fecha_dia.substr(0,3);if(response.data.cant>0){var hora_anterior="99";var cant_col_horas=-1;$scope.ListadoColumnasHoras=[];for(var i=0;i=0)$scope.ListadoColumnasHoras[cant_col_horas].hasta=response.data.grilla.length;{}}$scope.ListadoProgramas=resultados;console.log("ListadoProgramas",$scope.ListadoProgramas);console.log("ListadoColumnasHoras",$scope.ListadoColumnasHoras);$scope.ListadoGeneros=response.data['generos'];$scope.ListadoGeneros.unshift({'id_json':-1,'id_genero':'','nombre':'Todos'});console.log("ListadoGeneros",$scope.ListadoGeneros);$scope.ListadoSeniales=response.data['seniales'];$scope.ListadoSeniales.unshift({'id_json':-1,'id_senial':'','nombre':'Todos'});console.log("ListadoSeniales",$scope.ListadoSeniales);if($scope.filtro.id_programa!=-1){$scope.programa=$scope.ListadoProgramas[0];$scope.formatear_programa();console.log($scope.programa);desc_serie_pelicula=($scope.programa.id_categoria==6)?"Serie":"Película";$scope.forzar_title_description_keywords($scope.programa.titulo,$scope.programa.sinopsis,keywords_texto($scope.programa.titulo+desc_serie_pelicula+",tv,grilla tv,lincoln,cabletel,cablevision,directv"),desc_serie_pelicula,$scope.programa.poster,'video');$scope.send_page_google_analytics("TV FICHA PROGRAMA","");}else{valor_check_caching=$scope.filtro.fecha+' '+$scope.filtro.hora;console.log("++++++++++++++++++++++++++++++++++++ valor_check_caching",valor_check_caching);$scope.caching_PUT('tv',valor_check_caching,1);};$rootScope.loading(false);$scope.mysql_tv_termino=true;},function error(response){console.log("mysql_tv.php Error:",response.status,response.data);$rootScope.loading(false);$scope.mysql_tv_termino=true;});};$scope.formatear_programa=function(){fecha_timezone=new Date($scope.programa.fecha+"T12:00:00Z");dia_semana=$filter('date')(fecha_timezone,'EEE');console.log("dia_semana",dia_semana);$scope.dia_programa=dia_castellano(dia_semana)+' '+$scope.programa.fecha.substr(8,2);$scope.programa.episodio_titulo=trim($scope.programa.episodio_titulo);$scope.programa.episodio_sinopsis=trim($scope.programa.episodio_sinopsis);$scope.publico_descripcion=$scope.descripcion_calificacion($scope.programa.publico);$scope.mostrar_imdb=false;if($scope.programa.imdb_puntaje!=""&$scope.programa.imdb_puntaje!="-1"){$scope.mostrar_imdb=true;$scope.setRating($scope.programa.imdb_puntaje);};$scope.programa.trailer_title=decodeEntities_utf8($scope.programa.trailer_title);$scope.mostrar_trailer=false;if($scope.programa.trailer_link!=""){$scope.mostrar_trailer=true;$scope.videourl_video=$scope.programa.trailer_link+'?rel=0&showinfo=0"';$scope.movie={src:$scope.videourl_video,title:$scope.programa.trailer_title};console.log($scope.movie);};$scope.programa_en_agenda=false;var localStorage=window.localStorage.getItem('tv_agendados');if(localStorage){var aux_json=JSON.parse(localStorage);var i_pos_json=-1;for(var i=0;i $scope.filtro.hora",$scope.filtro.hora);$scope.ejecutar_grilla();});},10);};$scope.submit_series=function(){console.log("submit_series");$scope.mostrar.grilla_series=($scope.mostrar.grilla_series)?false:true;};$scope.submit_novelas=function(){$scope.mostrar.grilla_novelas=($scope.mostrar.grilla_novelas)?false:true;};$scope.submit_posters=function(){$scope.mostrar.grilla_posters=($scope.mostrar.grilla_posters)?false:true;};$scope.filtrar_hora_actual=function(){var horaStr=$filter('date')(new Date(),'HH');var minutos=$filter('date')(new Date(),'mm:ss');;hora=parseInt(horaStr);hora--;if(hora<0){hora=0;};horaStr="00"+hora.toString();horaStr=horaStr.substr(-2);return horaStr+":"+minutos;};$scope.ver_favoritos=function(){console.log("ver_favoritos");$scope.popover.hide();$scope.grilla_actual="favoritos";window.localStorage.setItem("tv_grilla_actual",$scope.grilla_actual);console.log("scope.grilla_actual:",$scope.grilla_actual);$ionicLoading.show({content:'Loading',duration:1000});var fecha=$filter('date')(new Date(),'yyyy-MM-dd');var hora=hora_anterior($filter('date')(new Date(),'HH:mm'));$scope.ListadoProgramas=[];$scope.ListadoFechasAnchors=[];fecha_anterior="X";var new_json=[];var localStorage=window.localStorage.getItem('tv_agendados');if(localStorage){var aux_json=JSON.parse(localStorage);for(var i=0;i$scope.programa.fecha||(aux_json[i].fecha==$scope.programa.fecha&aux_json[i].hora>$scope.programa.hora)){$scope.programa.id_json=$j;new_json.push($scope.programa);$j++;aux_json[i].id_json=$j;new_json.push(aux_json[i]);$j++;agrego=true;}else{aux_json[i].id_json=$j;new_json.push(aux_json[i]);$j++;}}else{aux_json[i].id_json=$j;new_json.push(aux_json[i]);$j++;}}};if(agrego==false){$scope.programa.id_json=$j;new_json.push($scope.programa);};window.localStorage.setItem("tv_agendados",JSON.stringify(new_json));$scope.programa_en_agenda=true;};$scope.quitar_favoritos=function(){console.log("paso por quitar_favoritos");var new_json=[];var localStorage=window.localStorage.getItem('tv_agendados');if(localStorage){var aux_json=JSON.parse(localStorage);var agrego=false;$j=0;for(var i=0;i0){nueva_hora=hora;}else{nueva_hora="99";};if(nueva_hora!=$scope.hora_anterior){$scope.hora_anterior=nueva_hora;return nueva_hora;}else{return "NO REPETIR";}};$scope.fecha_anterior="99";$scope.separador_fecha=function(fecha){if(fecha.length>0){nueva_fecha=fecha;}else{nueva_fecha="99";};if(nueva_fecha!=$scope.fecha_anterior){$scope.fecha_anterior=nueva_fecha;return nueva_fecha;}else{return "NO REPETIR";}};$scope.mostrar_separador_fecha=function(fecha,opcion){fecha_timezone=new Date(fecha+"T12:00:00Z");var dia_semana=$filter('date')(fecha_timezone,'EEEE');if(opcion==1){return dia_castellano(dia_semana)+' '+fecha.substr(8,2);}else{return dia_castellano(dia_semana);}};$scope.descripcion_calificacion=function(cual){rta="";if(cual=="ATP")rta="Apta para Todo Público";if(cual=="+13")rta="Prohibida para menores de 13 Años";if(cual=="+16")rta="Prohibida para menores de 16 Años";if(cual=="+18")rta="Prohibida para menores de 18 Años";if(cual=="+21")rta="Prohibida para menores de 18 Años";if(cual=="N/I")rta="Calificación no indicada";if(cual=="")rta="Calificación no indicada";return rta;};$scope.refrescar_horas=function(fecha){console.log(fecha);if(fecha=='hoy'){$scope.filtros.hora="";$scope.ListadoHoras=[{'id_hora':'','value':'No filtrar'}];}else{$scope.ListadoHoras=[{'id_hora':'','value':'No filtrar'},{'id_hora':'00:00','value':'00:00 a 03:59'},{'id_hora':'04:00','value':'04:00 a 07:59'},{'id_hora':'08:00','value':'08:00 a 11:59'},{'id_hora':'12:00','value':'12:00 a 15:59'},{'id_hora':'16:00','value':'16:00 a 19:59'},{'id_hora':'20:00','value':'20:00 a 23:59'}];}};$scope.ratingArr=[{value:1,icon:'ion-ios-star-outline',question:1},{value:2,icon:'ion-ios-star-outline',question:2},{value:3,icon:'ion-ios-star-outline',question:3},{value:4,icon:'ion-ios-star-outline',question:1},{value:5,icon:'ion-ios-star-outline',question:'question 5'},{value:6,icon:'ion-ios-star-outline',question:'question 5'},{value:7,icon:'ion-ios-star-outline',question:'question 5'},{value:8,icon:'ion-ios-star-outline',question:'question 5'},{value:9,icon:'ion-ios-star-outline',question:'question 5'},{value:10,icon:'ion-ios-star-outline',question:'question 5'}];$scope.setRating=function(val){var rtgs=$scope.ratingArr;for(var i=0;ival-1){rtgs[i].icon='fa fa-star-half positive';}else{rtgs[i].icon='fa fa-star positive';}}else{rtgs[i].icon='fa fa-star dark';}};}}); /* --- libs/css/style.css -------------------------------------------------------------------- */ /* ==== Google font ==== * @import url(http://fonts.googleapis.com/css?family=Roboto:400,300,700,900); * @import url(http://fonts.googleapis.com/css?family=Ek+Mukta:400,600,700); */ /* ---------------------------------------------------------------------------- */ /* ------------------------------------Html-Body------------------------------- */ /* ---------------------------------------------------------------------------- */ /* body {font-family: 'Ek Mukta', sans-serif;color: #666; background: url(images/bg2.jpg) fixed ;font-size: 15px;line-height: 1.6em;font-weight: 400;} */ /* body {font-family: 'Ek Mukta', sans-serif;color: #666; background-color:#00487B;font-size: 15px;line-height: 1.6em;font-weight: 400;} */ body {font-family: 'Ek Mukta', sans-serif;color: #666; background-color:#3c424e;font-size: 15px;line-height: 1.6em;font-weight: 400;} /* #252628 */ html, body {width:100%; padding:0; margin:0;} ::-moz-selection{background:#000;color:#fff;text-shadow:none} ::selection{background:#000;color:#fff;text-shadow:none} /* ---------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------- */ /* html { -webkit-text-size-adjust: none;} .video embed,.video object,.video iframe { width: 100%;  height: auto;} */ html {-webkit-text-size-adjust: none;} .video embed,.video object,.video iframe {width: 100%;height: auto;} img{max-width:100%; height: auto;width: auto\9; /* ie8 */} h1 {font-size: 38px;} h2 {font-size: 36px;} h3 {font-size: 32px;} h4 {font-size: 28px;} h5 {font-size: 24px;} h6 {font-size: 20px;} h1,h2,h3,h4,h5,h6 {font-family: 'Roboto', sans-serif;font-weight: 600;color: #111;} p {margin: 0 0 20px;} a { color: #00487B; -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; transition: all .2s ease-in-out; } a:hover, a:focus {text-decoration: none;color: #000;} h1 a { color:#000; } h1 a:hover, a:focus {text-decoration: none;color: #00487B;} h2 a { color:#000; } h2 a:hover, a:focus {text-decoration: none;color: #00487B;} h3 a { color:#000; } h3 a:hover, a:focus {text-decoration: none;color: #00487B;} h4 a { color:#000; } h4 a:hover, a:focus {text-decoration: none;color: #00487B;} h5 a { color:#000; } h5 a:hover, a:focus {text-decoration: none;color: #00487B;} h6 a { color:#000; } h6 a:hover, a:focus {text-decoration: none;color: #00487B;} .center{text-align: center; margin: 0 auto;} .f-right{float: right;} .f-left{float: left;} .t-right{text-align: right;} .t-left{text-align: left;} .post{} .post:after, .post:before, article:after, article:before, section:after, section:before{clear: both; content: '\0020'; display: block; visibility: hidden; width: 0; height: 0;} .clear{content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; } .clearfix:after, .clearfix:before{clear: both; content: '\0020'; display: block; visibility: hidden; width: 0; height: 0;} /* --Line-- */ hr.line{border-color: #ddd;width: 100%;padding: 0;margin:0;} /* --Page-- */ body.index-page {} body.sub-page {padding-top: 30px;background-color: #F9F9F9;} body.sub-page .logo {margin: 110px 0 80px;background: url(images/bg.jpg) fixed; padding: 30px 0 50px;} /* NEGRO fondo negro: oscuro: #000, gris oscuro: #252628 AZUL POSIVIE fondo azul fuerte: #053556, azul positive: #00487b */ /* ---------------------------------------------------------------------------- */ /* -------------------------------------Top------------------------------------ */ /* ---------------------------------------------------------------------------- */ #top {background: #fff;padding: 10px 0 0; color: #000;border-bottom: 1px solid #ddd;} #top a{color: #053556;} #top a:hover{color: #69BF03} #top ul.top-link {} .link{text-align:right} .link a{display:inline-block;text-decoration:none;font-size:12px;font-weight:bold;letter-spacing:1px} .link li:after{content:'/';margin: 0 0 0 12px;display:inline-block;font-weight: bold;} .link li:last-child:after{content:'';margin-right:0px;margin-left:0;display:none} .link li ul{display:none} /* ---------------------------------------------------------------------------- */ /* ------------------------------------Menu------------------------------------ */ /* ---------------------------------------------------------------------------- */ #menu {background-color: #00487b; border-radius: 0;} /* #252628 (gris bien osucro) */) #menu a.navbar-brand:hover{color: #fff;} #menu .navbar-brand{margin: 0;padding: 14px 18px;background-color: #053556;height: auto;text-transform: uppercase;} #menu .logo {} #menu .navbar-collapse{padding:0;} #menu .dropdown-menu {background-color: #fff;border:none;} #menu ul.nav .dropdown-menu li a{color: #053556;font-weight: bold;border-radius: 5px !important;} #menu ul.nav .dropdown-menu li a:hover{color: #fff;background-color: #053556;} #menu .dropdown-inner {display: table;} #menu .dropdown-inner ul {display: table-cell;} #menu .dropdown-inner a {min-width: 160px;display: block;padding: 3px 20px;clear: both;line-height: 20px;color: #053556;font-size: 14px;margin: 0 5px;} #menu li.dropdown:hover>a, #menu li.dropdown:focus>a, #menu li.dropdown:active>a{background: #fff;color: #053556;} #menu ul.nav li a{font-weight: bold;color: #fff;border-radius: 5px;padding: 14px 19px;} #menu ul.nav li.dropdown a{border-top-left-radius: 5px;border-top-right-radius: 5px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;} #menu .nav > li > a:hover, #menu .nav > li > a:focus{background-color: #fff;color:#053556;} #menu .top-social{background-color:#505052;padding: 5px;font-size: 20px; text-align: center;} #menu ul.top-social{margin: 0;} #menu ul.top-social li{height: 38px; width: 38px; } #menu ul.top-social a i{color: #fff;line-height: 1.9;height: 38px; width: 38px;border-radius: 50%;background-color: #252628;} #menu ul.top-social a i:hover{background-color:#fff;color: #053556;} #menu .btn-navbar {font-size: 16px;color: #FFF;padding: 3px 10px;float: right;border: 3px solid #fff;} @media (max-width: 768px){ #menu {background-color: #053556;border-radius: 0;} } @media (min-width: 768px) { #menu.navbar{padding: 0;height: auto;margin-top: 20px;} #menu .dropdown:hover .dropdown-menu {display: block;} } @media(max-width:767px) { #menu .navbar-brand {display: block;color: #fff;} #menu div.dropdown-inner > ul.list-unstyled {display: block;} #menu .dropdown-inner a {width: 100%;color: #fff;} #menu div.dropdown-menu {margin-left: 0 !important; padding-bottom: 10px;background-color: rgba(0, 0, 0, 0.1);} } /* agregados x santiago (parches de internet) */ .divide-nav{ height: 50px; background-color: #053556; } .nav-lower{ background-color: #053556; top: 50px; } .affix { top: 50px; width:100%; z-index:1200; } .filler{ min-height: 2000px; } .navbar-form { padding-left: 0; } .navbar-collapse{ padding-left:0; } /* ---------------------------------------------------------------------------- */ /* -----------------------------------Header----------------------------------- */ /* ---------------------------------------------------------------------------- */ header{} /* Carousel Styles */ .carousel-inner img {width: 100%;max-height: 640px;} .carousel-control {width: 0;} .carousel-control.left, .carousel-control.right {opacity: 1;filter: alpha(opacity=100);background-image: none;background-repeat: no-repeat;text-shadow: none;} .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next {position: absolute;top: 45%;z-index: 5;display: inline-block;} .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {left: 30px;} .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {right: 30px;} .carousel-control.left span:hover, .carousel-control.right span:hover {opacity: .7;filter: alpha(opacity=70);} .carousel-indicators .active {background-color: #DA251D;} .carousel-indicators {bottom: 10px;} .carousel-inner > .item {margin-left:0;margin-top:0;margin-bottom:0;padding-left: 0;width: 100%;height: auto;} .carousel-inner > .item > img, .carousel-inner > .item > a > img {display: block;max-width: 100%;height: auto;margin-left:0;padding-left: 0;} /* Carousel Header Styles */ .header-text {position: absolute;top: 33%;left: 1.8%;right: auto;width: 96.66666666666666%;color: #fff;} .header-text h2 {font-size: 40px;padding: 10px;color: #fff;text-transform: uppercase;background-color: #DA251D;display:inline-block;color:#fff;} .header-text h3 {color: #fff;} /* ---------------------------------------------------------------------------- */ /* -------------------------------------Content-------------------------------- */ /* ---------------------------------------------------------------------------- */ #page-content{padding: 0;} #page-content.index-page, #page-content.single-page, #page-content.archive-page{margin-top: 20px;} .archive-page {} .archive-page .box .zoom-container{max-width: 250px;display: inline-block;float: left;margin-right: 5px;} .featured{background-color: #fff;padding: 15px ;border: 1px solid #ddd;} /* ---MainContent--- */ .box {background-color: #fff;padding: 20px 20px 10px;} .box:last-child{padding: 20px 20px 5px;} .box:after, .box:before{clear: both; content: '\0020'; display: block; visibility: hidden; width: 0; height: 0;} .box .info {margin: 5px 0 10px 0;} .box .info a{color: #000;border-bottom: 1px solid #000;box-shadow: inset 0 -1px 0 #000;transition:all ease 150ms;} .box .info a:hover {color:#FFFFFF;text-shadow: none;border-bottom: 1px solid #000;box-shadow: inset 0 -1.3em 0 #000;text-decoration: none;} .box h2 {font-size: 30px;margin:0;} .box .box-header.header-photo{background: url(images/title-picture.png) repeat-x center center;margin-bottom: 20px;} .box .box-header.header-natural{background: url(images/title-natural.png) repeat-x center center;margin-bottom: 20px;} .box .box-header.header-vimeo{background: url(images/title-vimeo.png) repeat-x center center;margin-bottom: 20px;} .box .box-header h2{font-size: 25px;padding: 0px 8px;background-color: #fff;display: inline-block;margin-left: 15px;color: #333;} .box .box-content {margin-top: 30px;} .box .box-content a{font-weight: bold;color: #333;} .box .box-content a:hover{color: #555;} .box .box-content h3{font-size: 18px;margin: 10px 0 5px ;} .box .box-content span{font-size: 15px;} .box .box-content span i{font-size: 14px;margin-right: 2px;} .box .box-content p{margin-top: 10px;} /* ---Vid-Effect--- */ .wrap-vid{} .vid-item {position: relative;} .vid-name{margin: 0;} .vid-name a{font-size: 19px;color: #333;} .vid-name a:hover{color: #FD0005;} .vid-tags {margin: 15px 0;border: 1px solid #ddd;padding: 30px ;} .vid-tags a{background: #FD0005;padding: 5px 10px;color: #fff;} .vid-tags a:hover{background: #000;} .info {margin: 0;font-size: 14px;} .info i{margin-right: 8px;} .info span{margin-right: 10px;} .info h5, .info a{font-size: 13px;line-height: 1;margin: 0 0 5px;} .info a{color: #006EA0;} .info a:hover{text-decoration: underline;} .rating{font-size: 14px;line-height: 1.2;} ul.pagination{margin: 42px auto 25px;} ul.pagination li a{color: #444;} /* ---Sidebar--- */ #sidebar{} .widget{background: #fff;padding:10px 20px;} .widget:after, .widget:before{clear: both; content: '\0020'; display: block; visibility: hidden; width: 0; height: 0;} .widget ul li{list-style:none;} .widget .heading{background: url(images/title.png) repeat-x center center;} .widget .heading h4{font-size: 22px;padding: 0px 8px;background-color: #fff;display: inline-block;margin-left: 15px;color: #333;text-transform: uppercase;} .widget .content {} .widget.wid-vid ul a{display:inline;margin: 3px 2px;float:left;color:#333;padding:5px;border-bottom: 1px solid transparent;border-top: none;border-right: none;border-left: none;font-weight: bold;} .widget.wid-vid .tab-content{margin-top: 13px;} .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover{background: none;} .widget.wid-vid ul a:hover,.widget.wid-vid ul a:focus{background: none;border-top: none;border-right: none;border-left: none;} .widget.wid-vid ul li {border-bottom: 1px solid transparent;} .widget.wid-vid ul li:hover{border-bottom: 1px solid #FD0005;} .widget.wid-vid ul li+:hover{border-bottom: 1px solid #7DC314;} .widget.wid-vid ul li+li+:hover{border-bottom: 1px solid #966B20;} .widget.wid-vid .post{margin-top: 12px;} .widget.wid-vid .post img{float: left; max-width: 105px;display: inline-block;} .widget.wid-vid h5{margin-top:0;font-size: 12px;} /*.widget.wid-vid .wrapper {vertical-align: middle;text-align: left;line-height: 1.4em;padding-bottom: 7px;margin-top: 20px;}*/ .widget.wid-gallery{} .widget.wid-gallery img{padding: 2px;} .widget.wid-new-post{} .widget.wid-new-post h6{font-size: 16px;} .widget.wid-new-post ul{margin: 5px 0;} .widget.wid-new-post p:last-child{margin: 0;} .widget.wid-recent-post{} .widget.wid-recent-post span{display: block;margin-bottom: 7px;} .widget.wid-comment{} .widget.wid-comment img{max-width: 50px;border: 1px solid #ddd;} .widget.wid-comment .post{margin-bottom: 0; border-bottom: 1px solid #ddd;padding-top: 10px; } .widget.wid-comment .wrapper{margin-left: 5px;} @media (min-width: 1100px){ .widget.wid-comment .wrapper{max-width: 175px;} } .widget.wid-nacionales{} .widget.wid-nacionales img{max-width: 60px;border: 1px solid #ddd;} .widget.wid-nacionales .post{margin-bottom: 0; border-bottom: 1px solid #ddd;padding-top: 10px; } .widget.wid-nacionales .wrapper{margin-left: 5px;} .widget.wid-nacionales h5{margin-top:0;font-size: 11px;} @media (min-width: 1100px){ .widget.wid-nacionales .wrapper{max-width: 165px;} } .widget.wid-categoty{} .widget.wid-categoty select{padding: 6px 10px;} .widget.wid-tweet{} .widget.wid-tweet p{margin: 0;} .widget.wid-tweet span{display: block;color: #999;} .widget.wid-tweet .tweet-item{border-bottom: 1px solid #ddd;padding: 5px;} .widget.wid-tweet .tweet-item:last-child{border-bottom: none; padding: 5px 0 0;} .widget.wid-tags{} .widget.wid-tags a{color: #333; border: 1px solid #333; padding: 1px 10px;line-height: 2.2;font-size: 14px;text-transform: capitalize;} .widget.wid-tags a:hover{color: #7DC314; border: 1px solid #999;} .widget.wid-follow{} .box-facebook, .box-twitter, .box-google{width: 95px; height: 95px;;color: #fff;text-align: center;padding: 15px;} .box-facebook:hover, .box-twitter:hover, .box-google:hover{background-color: #000;} .box-facebook{background-color:#3B5998} .box-twitter{background-color:#1DCAFF} .box-google{background-color:#DD4B39} .box-facebook span, .box-twitter span, .box-google span{display: block;line-height: 1;} .icon{margin-bottom: 10px;} .post {margin-bottom: 15px;} .post:after, .post:before{clear: both; content: '\0020'; display: block; visibility: hidden; width: 0; height: 0;} .post:last-child {margin-bottom: 0;} .post:after, .post:before{clear: both; content: '\0020'; display: block; visibility: hidden; width: 0; height: 0;} .post h5{margin:0;font-size: 15px;} .post img{float: left; max-width: 125px;display: inline-block;} .post .zoom-container .zoom-caption p{font-size: 15px;padding: 4px;} .post .wrapper {display: inline-block;text-align: left;} .post .info h6, .post .info a{font-size: 13px;margin: 1px 0 3px;} .post .info {font-size: 12px;margin-top: 0;} .post .info span{display: block;margin:0;line-height: 1.6;font-size: 11px;} .post .info i{font-size: 11px;margin-right: 2px;} /* ---------------------------------------------------------------------------- */ /* -------------------------------------Footer--------------------------------- */ /* ---------------------------------------------------------------------------- */ footer{background-color: #202020;margin-top: 20px;color: #ddd;padding: 20px 0 10px;} footer .wrap-footer{border-bottom: 1px solid #444;padding-bottom: 20px;} footer .copy-right{text-align: center;padding-top: 20px;} footer .footer-heading h4{color: #fff;font-size: 20px;} footer .content{} footer .col-footer{} footer .footer-1{} /*footer .footer-1 img{max-width: 140px; margin-bottom: 10px;}*/ footer .footer-1 p{border-bottom: 1px solid #444;margin-bottom: 10px;padding-bottom: 7px;} footer .footer-1 input[type="text"]{ border: 2px solid #E7E7E7; outline: medium none; color: #999999; display: block; font-size: 14px; height: 40px; line-height: 1.2; margin: 10px 0; padding: 5px 10px 0; width: 100%; background-color: transparent; border: 2px solid #444444; } footer .footer-2{} footer .footer-2 a{color: #999; border: 1px solid #999; padding: 1px 10px;line-height: 2.2;font-size: 14px;text-transform: capitalize;} footer .footer-2 a:hover{color: #7DC314;} footer .footer-3{} footer .footer-3 ul {padding: 0;} footer .footer-3 ul li {list-style: none;margin-bottom: 15px; border-bottom: 1px solid #444;padding-bottom: 10px;} footer .footer-3 ul li:last-child{border-bottom: none;} footer .footer-3 ul li a{color: #999;} footer .footer-3 ul li a:hover{color: #666;} /* ---------------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------- */ . h2{font-size: 34px; font-weight: 500;letter-spacing: 3px;padding-top: 20px ;text-align: center;} #_form {padding:25px;} #ff label {cursor:pointer;margin:px 0;display:block;font-weight:bold;} #ff input {display:block;width:100%;color:#000;padding:10px;margin: 5px 0 25px 0;} #ff textarea {display:block;width:100%;height:200px;background-color:#fff; color:#000;padding:10px;margin: 5px 0 25px 0;} #ff .sendButton {border: none;cursor:pointer;background-color: #FD0005;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;;width:100px;color:#ffffff;} #ff .sendButton:hover {background-color: #000;} .message{text-align: center;} .message .wrap{ padding: 50px; background: #ffffff; border: 1px solid #333333;display: inline-block;border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;-khtml-border-radius: 5px;} .message .text{font-size: 35px; margin-bottom: 30px;} /* ---------------------------------------------------------------------------- */ /* -----------------------------------Owl-Theme-------------------------------- */ /* ---------------------------------------------------------------------------- */ .owl-theme .owl-controls .owl-page span{background-color: #999;border: 1px solid #666;} .owl-theme .owl-controls .owl-page span:hover{background-color: #666;} #owl-demo-2 .item{margin: 1px;} #owl-demo-2 .item img{margin: 1px;} /* ---------------------------------------------------------------------------- */ /* ----------------------------------Button------------------------------------ */ /* ---------------------------------------------------------------------------- */ .btn-facebook, .btn-twitter, .btn-pinterest, .btn-google, .btn-mail{color: #fff;} .btn-facebook:hover, .btn-twitter:hover, .btn-pinterest:hover, .btn-google:hover, .btn-mail:hover{background-color: #000; color: #fff;} .btn-facebook{background-color: #3B5998;} .btn-twitter{background-color: #00ACED;} .btn-pinterest{background-color: #CA212A;} .btn-google{background-color: #EB4026;} .btn-mail{background-color: #666666;} .btn-2{padding: 3px 8px;} .btn-3{background-color: #444444;color: #FADA1A;font-weight: bold;} .btn-3:hover{background-color: #fff;color: #000;} .btn-success, .btn-success:hover, .btn-success:active, .btn-success:visited { background-color: #00487B; !important; } /* ---------------------------------------------------------------------------- */ /* --------------------------------Zoom-Effect--------------------------------- */ /* ---------------------------------------------------------------------------- */ .zoom-container { position: relative; overflow: hidden; display: inline-block; font-size: 16px; font-size: 1rem; vertical-align: top; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } .zoom-container a { display: block; position: absolute; top: -100%; opacity: 0; left: 0; bottom: 0; right: 0; text-align: center; color: inherit; } .zoom-container:hover a { opacity: 1; top: 0; z-index: 500; } .zoom-container:hover a i { top: 50%; position: absolute; left: 0; right: 0; transform: translateY(-50%); } .zoom-container img { display: block; width: 100%; height: auto; -webkit-transition: all .5s ease; /* Safari and Chrome */ -moz-transition: all .5s ease; /* Firefox */ -ms-transition: all .5s ease; /* IE 9 */ -o-transition: all .5s ease; /* Opera */ transition: all .5s ease; } .zoom-container .zoom-caption i.icon-play { font-size: 22px; background-color: rgba(17, 17, 17, 0.8); max-width: 60px; margin: 0 auto; padding: 8px 5px; border-radius: 8px; } .zoom-container .zoom-caption i.icon-play:hover { background-color: rgba(210, 0, 0, 0.9); } .zoom-container .zoom-caption { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 10; -webkit-transition: all .5s ease; /* Safari and Chrome */ -moz-transition: all .5s ease; /* Firefox */ -ms-transition: all .5s ease; /* IE 9 */ -o-transition: all .5s ease; /* Opera */ transition: all .5s ease; color: #fff; } .zoom-container .zoom-caption span{position:absolute;top: 0;padding: 0px 7px;font-weight: bold;font-size: 13px;} .zoom-container .zoom-caption span.youtube{background-color: #FD0005;} .zoom-container .zoom-caption span.vimeo{background-color: #17B3E8;} .zoom-container .zoom-caption span.cine{background-color: #FD0005;} .zoom-container .zoom-caption span.tv{background-color: #17B3E8;} .zoom-container .zoom-caption span.otro{background-color: #FFFF00;} .zoom-container .zoom-caption p{position: absolute;bottom: 0;left:0; right: 0;text-align: center;font-size: 20px; font-weight: bold;background: rgba(0, 0, 0, .5);margin:0;padding: 10px;} .zoom-container:hover img { -webkit-transform:scale(1.25) rotate(5deg); /* Safari and Chrome */ -moz-transform:scale(1.25) rotate(5deg); /* Firefox */ -ms-transform:scale(1.25) rotate(5deg); /* IE 9 */ -o-transform:scale(1.25) rotate(5deg); /* Opera */ transform:scale(1.25) rotate(5deg); } .zoom-container:hover .zoom-caption { background: rgba(0, 0, 0, .5); } .zoom-container .zoom-caption-agenda span{position:absolute;top: 0;padding: 0px 7px;font-weight: bold;font-size: 13px;} .zoom-container .zoom-caption-agenda span.youtube{background-color: #FD0005;} .zoom-container .zoom-caption-agenda span.vimeo{background-color: #17B3E8;} .zoom-container .zoom-caption-agenda p{position: absolute;bottom: 0;left:0; right: 0;text-align: center;font-size: 20px; font-weight: bold; ;margin:0;padding: 10px;} .fa-left { width: 16px; height: 16px; display: block; float:left; margin-right:5px; } .fa-cruz { background-image:url('img/fa/icon_cruz.png'); width: 11px; height: 11px; display: block; float:left; margin-right:5px; margin-top:3px; } .fa-reloj { background-image:url('img/fa/icon_reloj.png'); width: 16px; height: 16px; display: block; float:left; margin-right:5px; } .fa-familia { background-image:url('img/fa/publico_no_filtrar.png'); width: 24px; height: 16px; display: block; background-repeat: no-repeat; background-position: center; } .fa-agrupamiento { content:url('img/icons/icon-signo-pregunta.svg'); width: 24px; height: 24px; display: block; background-repeat: no-repeat; background-position: center; } .fa-open { content:url('img/icons/icon-open.svg'); width: 24px; height: 24px; display: block; background-repeat: no-repeat; background-position: center; } .fa-delivery { content:url('img/icons/icon-delivery.svg'); width: 24px; height: 24px; display: block; background-repeat: no-repeat; background-position: center; } .fa-financiador { content:url('img/icons/icon-financiador.svg'); width: 24px; height: 24px; display: block; background-repeat: no-repeat; background-position: center; } #custom-search-input{ padding: 3px; border: solid 1px #E4E4E4; border-radius: 6px; background-color: #fff; margin-top:3px; } #custom-search-input input{ border: 0; box-shadow: none; height:18px; margin-top:6px; } #custom-search-input button{ margin: 2px 0 0 0; background: none; box-shadow: none; border: 0; color: #666666; padding: 0 8px 0 10px; border-left: solid 1px #ccc; } #custom-search-input button:hover{ border: 0; box-shadow: none; border-left: solid 1px #ccc; } #custom-search-input .glyphicon-search{ font-size: 23px; } /* The Magic Float Center Code */ .float_center { float: right; position: relative; left: -50%; /* or right 50% */ text-align: left; } .float_center > .child { position: relative; left: 50%; } /* ---------------------------------------------------------------------------- */ /* --------Colores Ionic ------------------------------------------------------ */ /* ---------------------------------------------------------------------------- */ .positive { color: #00487B; } /* azul app */ .positive-bg { background: #00487B; } .assertive { color: #ef473a; } /* naranja oscurito */ .assertive-bg { background: #ef473a; } .light { color: #fff; } /* blanco */ .light-bg { background: #fff; } .stable { color: #f8f8f8; } /* gris claro */ .stable-bg { background: #f8f8f8; } .calm { color: #11c1f3; } /* celete */ .calm-bg { background: #11c1f3; } .balanced { color: #33cd5f; } /* verde */ .balanced-bg { background: #33cd5f; } .royal { color: #886aea; } /* tirando a violeta */ .royal-bg { background: #886aea; } .dark { color: #444; } .dark-bg { background: #444; } .naranja { color: #FF7010; } .naranja-bg { background: #FF7010; } .amarillo { color: #ffc900; } .amarillo-bg { background: #ffc900; } .rosa { color: #fb4696; } .amarillo-bg { background: #fb4696; } .gris { color: gray; } .gris-bg { background: gray; } .btn-tv-hs { background-color: gray; color:white; padding-left:4px; padding-right:4px; } .btn-tv-hs.active { background-color: #444; color:white; } .btn-tv-hs:hover, btn-tv-hs:focus, btn-tv-hs:active { background-color: red; color:white; } .btn-tv-series { background-color: gray; color:white; border-right:2px solid #e1e0e0; padding-left:6px; padding-right:6px; } .btn-tv-series.active { background-color: #ffc900; color:white; } .btn-tv-series.active:hover, btn-tv-series.active:focus, btn-tv-series.active:active { color:white; } .btn-tv-novelas { background-color: gray; color:white; border-right:2px solid #e1e0e0; padding-left:6px; padding-right:6px; } .btn-tv-novelas.active { background-color: #fb4696; color:white; } .btn-tv-posters { background-color: gray; color:white; padding-left:6px; padding-right:6px; } .btn-tv-posters.active { background-color: #33cd5f; color:white; } .btn-tv-buscar { background-color: #00487B; color:white; padding-left:10px; padding-right:10px; } .btn-tv-buscar:hover, .btn-tv-buscar:active, .btn-tv-buscar:focus, .open>.dropdown-toggle.btn-tv-buscar { color:white; } .btn-whatsapp { background:#20a413; color:white; } .btn-instagram { background:#3F729B; color:white; } .btn-instagram:hover { background:black; color:white; } .btn-email { background:#444444; color:white; } .btn-email:hover { background:black; color:white; } .btn-print { background:#707370; color:white; } .btn-print:hover { background:black; color:white; } .vcenter { display: inline-block; vertical-align: middle; float: none; } .video-responsive{ overflow:hidden; padding-bottom:56.25%; position:relative; height:0; } .video-responsive iframe{ left:0; top:0; height:100%; width:100%; position:absolute; } /* columns of same height styles */ .row-full-height { height: 100%; } .col-full-height { height: 100%; vertical-align: middle; } .row-same-height { display: table; width: 100%; /* fix overflow */ table-layout: fixed; } .col-xs-height { display: table-cell; float: none !important; } @media (min-width: 768px) { .col-sm-height { display: table-cell; float: none !important; } } @media (min-width: 992px) { .col-md-height { display: table-cell; float: none !important; } } @media (min-width: 1200px) { .col-lg-height { display: table-cell; float: none !important; } } /* vertical alignment styles */ .col-top { vertical-align: top; } .col-middle { vertical-align: middle; } .col-bottom { vertical-align: bottom; } .col-center { text-align: center; } .col-left { text-align: left; } .col-right { text-align: right; } .punteado { border:0px; border-top:1px dotted gray; width:100%; margin-top:0px; padding-bottom:0px; } .linea { height:1px; background: rgb(238,238,238); width:100%; margin-top:0px; margin-bottom:5px; } /* botonera social footer */ .social-icon { list-style: none; padding: 0; margin: 0; } .social-icon li{ display: inline-block; text-align: center; } .social-icon a { display: block; width: 24px; height: 24px; line-height: 24px; border-radius: 50%; margin-right: 5px; } .social-icon a { background: rgba(255, 255, 255, 0.85); /* social icon background color */ color: #000; /* social icon color */ } .social-icon a:hover { background: rgba(255, 255, 255, 0.25); /* social icon hover background color */ color: #fff; /* social icon hover color */ } .buscar-categoria { width:100%; height:22px; display:block; background:red; color:white; padding-left:5px; font-weight:bold; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } /* botonera de guia full width */ .btn-flex { display: flex; align-items: stretch; align-content: stretch; } .btn-flex .btn:first-child { flex-grow: 1; text-align: left; } /* Formularios */ :required { background: url(img/required.png) no-repeat; background-position:right center; } /* --- libs/css/style_web.css -------------------------------------------------------------------- */ /* positive: #387ef5 */ .tituloLincolnOnline { margin-left: 10px; } /* Skins Imágenes */ .skin-div-portrait { border:1px solid #333333; /* #000e30 */ margin:0px; padding-top:0px; padding-bottom:0px; width:19.9%; height:96px; display:block; text-align:center; float:left; vertical-align:top; } .skin-div-landscape { border:1px solid #333333; margin:0px; padding-top:0px; padding-bottom:0px; width:16.66%; height:96px; display:block; text-align:center; float:left; vertical-align:top; } .skin-imagen { width:100%; height:100%; display:block; } /* $ionicLoading Alert */ .ionicLoading-alert { width:220px; border:3px solid black; padding:10px; padding-top:20px; padding-bottom:20px; background: white; color:#191919; } /* Noticias Caja */ .noticia-content-portrait { background:#ececec; padding:10px; } .noticia-content-landscape { background:#ececec; padding:0px; } .noticia-portrait { height:130px; margin-top:10px; background:white; } .noticia-landscape { float:left; width:47%; height:130px; margin-left:10px; margin-top:10px; background:white; } /* Customizar $ionicLoading para que ocupe toda la pantañña */ .loading{ position: absolute !important; top:0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; padding: 0 !important; border-radius: 0 !important; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -moz-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-align-content: stretch; -ms-flex-line-pack: stretch; align-content: stretch; -webkit-box-align: center; -moz-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } /* $ioniopup personalizado Here is the list of classes which you can override or customize in your parent class .popup .popup-head .popup-title .popup-sub-title .popup-body .popup-buttons.row .popup-buttons .button */ .my-custom-popup{ .popup{ width: 200px; } .popup-title{ font-size:15px; } .popup-sub-title{ font-size:15px; } .popup-body{ font-size:15px; } .popup-buttons.row{ font-size:15px; } } /* Sincronizar background image En desuso se define en linea el estilo en sincronizarCtrl.js .background-vertical.scroll-content { background: url('img/sincronizar_vertical.jpg') no-repeat; background-size: 100% 90%; background-position: top center; } .background-apaisado.scroll-content { background: url('img/sincronizar_apaisado.jpg') no-repeat; background-size: 100% 80%; background-position: top center; } */ /* Footer*/ .footer-more-hight { height: 100px !important; } .bar-footer{ height:55px; } /* $ioniopup */ .popup{ width: 80%; } .popup-title{ background-color: #cfcfcf; font-size:17px; color:#00487b; } .popup-sub-title{ background-color: #cfcfcf; font-size:17px; color:#00487b; } .popup-head { background-color: #cfcfcf; font-size:20px; } .popup-body { background-color: #ededed; font-size:17px; min-height: 150px; } .popup-buttons { background-color: #ededed; font-size:17px; } /* Intercalado Gris/Blanco en listados */ .cssEven { background:white; } .cssOdd { background:#d6d5d9; } /* Descuentos - Button Bar opción Categoría */ .button-bar.custom-width-bar .button:first-child { width: 40%; min-width: 40%; } /* Descuentos/Puntos Cajas */ .descuento-rubro { font-size:14px; font-weight:bold; width:100%; height:25px; display:block; padding-left:5px; margin-top:0px; margin-bottom:0px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } .descuento-comercio { font-size:15px; color:white; width:100%; height:25px; display:block; padding-left:5px; margin-top:0px; padding-top:0px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } .descuento-promo { font-family:Impact; height:50px; font-size:30px; text-align:center; color:white; padding-top:9px; display:block; margin-top:0px; margin-bottom:0px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } .descuento-puntos { font-family:Impact; height:50px; font-size:28px; text-align:center; color:white; padding-top:9px; display:block; margin-top:0px; margin-bottom:0px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } .premio-puntos { float:left; font-family:Impact; width:100%; height:28px; font-size:20px; text-align:center; color:white; padding-top:4px; display:block; margin-top:0px; margin-bottom:0px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } .premio-palabra { height:8px; width:37px; margin-top:0px; } /* Delivery Filtrar Comidas - Iconos */ .delivery-div-portrait { border:1px solid #cdcdcd; margin:0px; padding-top:0px; padding-bottom:0px; width:33.2%; height:110px; display:block; text-align:center; float:left; vertical-align:top; } .delivery-div-landscape { border:1px solid #cdcdcd; margin:0px; padding-top:0px; padding-bottom:0px; width:16.66%; height:110px; display:block; text-align:center; float:left; vertical-align:top; } .delivery-icono { width:50px; height:50px; display:block; text-align:center; margin:0px; margin-top:10px; padding:0px; } .delivery-nombre { width:90%; height:22px; display:block; margin-top:0px; margin-bottom:0px; font-size:12px; font-weight:bold; color:#00487b; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } .delivery-cantidad { width:90%; height:18px; display:block; margin-top:0px; margin-bottom:0px; font-size:11px; font-weight:bold; color:#808080; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } /* RSS Iconos */ .rss-div-portrait { border:1px solid #cdcdcd; margin:0px; padding-top:0px; padding-bottom:0px; width:33.2%; height:70px; display:block; text-align:center; float:left; vertical-align:top; } .rss-div-landscape { border:1px solid #cdcdcd; margin:0px; padding-top:0px; padding-bottom:0px; width:16.66%; height:70px; display:block; text-align:center; float:left; vertical-align:top; } .rss-icono { width:75px; height:25px; display:block; margin:0px; margin-top:20px; padding:0px; text-align:center; } /* height:28%; width:85% of height; .menu-div { margin-top:20px; margin-left:10px; width:90px; height:110px; text-align:center; float:left; } .menu-icono { width:90px; height:90px; border-radius: 13px 13px 13px 13px; -moz-border-radius: 13px 13px 13px 13px; -webkit-border-radius: 13px 13px 13px 13px; border: 1px solid gray; } */ /* Bug en el Title con ... */ .platform-ios { .title.title-center.header-item { left: 49px!important; right: 49px!important; } } .platform-android { .title.title-left.header-item { right: 68px!important; } } /* Altura del Header ... */ .platform-android .bar-header { height: 55px; } .platform-android .bar-subheader { height: 50px; padding-top:7px; } .platform-android .has-subheader { top: 90px; } .platform-android .has-header { padding-top: 6px; } /* .platform-android .secondary-buttons button, .platform-android .primary-buttons button { float: left; } */ /* Menú Popover que se adapte a la altura del desplegable */ .popover { height: auto !important; } .popover ion-header-bar { position: relative; } .popover ion-content { top: 0; position: relative; } /* subheader en popup de búsqueda */ .bar[custom-subheader], .bar[custom-subheader] .title { white-space: normal; text-overflow: initial; overflow: visible; height: auto; line-height: 44px; min-height: 44px; } /* Definiciones para Google Maps */ .map-container .scroll { height: 100%; } .angular-google-map, .angular-google-map-container { height: 100%; width: 100%; position: absolute; top: 0; left: 0; } #map { width: auto; height: 300px; } #mapPerfil { width: auto; height: 100%; } #mapSAD { width: auto; height: 350px; } #mapComerciosRubro { width: auto; height: 350px; } #mapClub { width: auto; height: 350px; } #mapDescuentos { width: auto; height: 100%; } #mapGuia { width: auto; height: 100%; } #mapPremios { width: auto; height: 100%; } #mapComercio { width: auto; height: 200px; } .centerMarker { position: absolute; /*url of the marker*/ background: url(img/maps/marker.png) no-repeat; /*center the marker*/ top: 50%; left: 50%; z-index: 1; /*fix offset when needed*/ margin-left: -10px; margin-top: -34px; /*size of the image*/ height: 34px; width: 20px; cursor: pointer; } /* Se usa en Pronóstico del tiempo */ .line1-title { color : white; display: block; line-height: .8em; font-size: 18px; margin: 5px 0; } .line2-title { color : #cfd0d1; display: block; line-height: .9em; font-size: 12px; margin: 5px 0; } .bar.bar-transparente { border-color: transparent; background-color: none; background-image:url('img/background_menu05.jpg'); -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; color: #fff; } .bar.bar-transparente .button { border-color: none; background-color: none; color: #fff; } .bar-positive .button:hover { color: #fff; text-decoration: none; } .bar-positive .button.active, .bar-positive .button.activated { border-color: none; background-color: none; } .bar-positive .button.button-clear { border-color: transparent; background: none; box-shadow: none; color: #fff; font-size: 17px; } .bar-positive .button.button-icon { border-color: transparent; background: none; } /* progress { background-color: gray; border: 0; height: 25px; border-radius: 9px; } progress::-webkit-progress-bar { background-color: gray; border: 0; height: 25px; border-radius: 9px; } progress::-webkit-progress-value { background-color: red; border: 0; height: 25px; border-radius: 9px; } progress::-moz-progress-bar { background-color: gray; border: 0; height: 25px; border-radius: 9px; } */ /* --- libs/css/menu.css -------------------------------------------------------------------- */ /* side-menu */ .side-menu-item { background: none; color: white; font-weight: 300; border: 0px solid white; border-bottom: 1px solid white; } .side-menu-item .item-content { background: none; } .side-menu-item .item-content.activated { background: rgba(255, 255, 255, 0.4); } .side-menu-item.active-page-highlight .item-content { background: rgba(255, 255, 255, 0.4); } .side-menu-image { background-image: none; background-repeat: repeat; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; height: 100%; position: absolute; padding-top:0px; } /* Tool Iconos */ .tool-div-portrait { margin:0px; padding:0px; width:50%; height:41px; float:left; display: block; vertical-align:middle; text-align:center; } .tool-div-landscape { margin:0px; padding:0px; width:50%; height:41px; float:left; display: block; vertical-align:middle; text-align:center; } .tool-icono { width:100%; height:48px; display: block; } .tool-icono-active { width:50px; height:auto; display:block; text-align:center; } /* Menú 3 Iconos con Etiqueta ----------------------------- */ .menu3-div-portrait { border:1px solid #FFFFFF; /* #000e30 */ margin:0px; padding-top:0px; padding-bottom:0px; width:33.2%; height:96px; display:block; text-align:center; float:left; vertical-align:top; } .menu3-div-landscape { border:1px solid #FFFFFF; margin:0px; padding-top:0px; padding-bottom:0px; width:16.66%; height:96px; display:block; text-align:center; float:left; vertical-align:top; } .menu3-icono { width:50px; height:50px; display:block; text-align:center; margin:0px; margin-top:10px; padding:0px; } .menu3-icono-active { width:50px; height:auto; display:block; text-align:center; } .menu3-publicidad { width:90%; height:50px; display:block; text-align:center; font-size:11px; line-height:12px; font-weight:bold; color:#ecfbfc; overflow:hidden; margin-top:10px; padding:0px; margin-bottom:0px; } .menu3-nombre { width:90%; height:24px; display:block; margin-top:0px; margin-bottom:0px; font-size:12px; font-weight:bold; color:#FFFFFF; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } /* Menú 4 Iconos con Etiqueta ----------------------------- */ .menu4-div-portrait { border:1px solid #FFFFFF; /* #000e30 */ margin:0px; padding-top:0px; padding-bottom:0px; width:24.9%; height:72px; display:block; text-align:center; float:left; vertical-align:top; } .menu4-div-landscape { border:1px solid #FFFFFF; margin:0px; padding-top:0px; padding-bottom:0px; width:12.45%; height:72px; display:block; text-align:center; float:left; vertical-align:top; } .menu4-icono { width:40px; height:40px; display:block; text-align:center; margin:0px; margin-top:10px; padding:0px; } .menu4-icono-active { width:40px; height:auto; display:block; text-align:center; } .menu4-publicidad { width:90%; height:40px; display:block; text-align:center; font-size:11px; line-height:12px; font-weight:bold; color:#ecfbfc; overflow:hidden; margin-top:10px; padding:0px; margin-bottom:0px; } .menu4-nombre { width:90%; height:24px; display:block; margin-top:0px; margin-bottom:0px; font-size:12px; font-weight:bold; color:#FFFFFF; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } /* Menú 5 Iconos SIN Etiqueta ----------------------------- */ .menu5-div-portrait { border:1px solid #FFFFFF; /* #000e30 */ margin:0px; padding-top:0px; padding-bottom:0px; width:19.92%; height:72px; display:block; text-align:center; float:left; vertical-align:top; } .menu5-div-landscape { border:1px solid #FFFFFF; margin:0px; padding-top:0px; padding-bottom:0px; width:8.33%; height:72px; display:block; text-align:center; float:left; vertical-align:top; } .menu5-icono { width:30px; height:30px; display:block; text-align:center; margin:0px; margin-top:10px; padding:0px; } .menu5-icono-active { width:25px; height:auto; display:block; text-align:center; } .menu5-publicidad { width:90%; height:40px; display:block; text-align:center; font-size:11px; line-height:12px; font-weight:bold; color:#ecfbfc; overflow:hidden; margin-top:10px; padding:0px; margin-bottom:0px; } .menu5-nombre { width:90%; height:24px; display:block; margin-top:0px; margin-bottom:0px; font-size:12px; font-weight:bold; color:#FFFFFF; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } // Producci (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https:','ga'); // Debug /* (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https:///analytics_debug.js','ga'); */ ga('create', 'UA-27511207-1', 'auto'); console.log("Inicializ?Google Analytics - hostname:",location.hostname); if (location.hostname == '127.0.0.1' || location.hostname == 'lincoln6') { ga('set', 'sendHitTask', null); console.log("Modo Test, no se enviar?info a Google Analytics"); } // ga('send', 'pageview'); // Lo distribu?en los init() de cada pina (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};m[i].l=1*new Date();for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");ym(92306955, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true});(function (d, w, c) {(w[c] = w[c] || []).push(function() {try {w.yaCounter92137870 = new Ya.Metrika2({id:92137870,clickmap:true,trackLinks:true,accurateTrackBounce:true});} catch(e) { }});var n = d.getElementsByTagName("script")[0],s = d.createElement("script"),f = function () { n.parentNode.insertBefore(s, n); };s.type = "text/javascript";s.async = true;s.src = "https://mc.yandex.ru/metrika/tag.js";if (w.opera == "[object Opera]") {d.addEventListener("DOMContentLoaded", f, false);} else { f(); }})(document, window, "yandex_metrika_callbacks2"); !function e(t){for(var n=t+"=",r=document.cookie.split(";"),o=0;o<r.length;o++){for(var i=r[o];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n))return i.substring(n.length,i.length)}return null}("prefix_views_counter")&function e(t){var n,r;if(!t||(window.XMLHttpRequest&(n=new window.XMLHttpRequest),!n))return!1;r="action="+encodeURIComponent(t);try{n.open("POST","/user.php",!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.onload=function(){200===n.status&function e(t,n,r){if(r){var o=new Date;o.setTime(o.getTime()+864e5*r);var i="; expires="+o.toGMTString()}else var i="";document.cookie=t+"=1"+i+"; path=/"}("prefix_views_counter",1,1)},n.send(r)}catch(o){}return!0}('5a24d3ffd2d859baef965507dac8f8fe'); (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(92138119, "init", {clickmap:true,trackLinks:true,accurateTrackBounce:true }); <header> <nav id="menu" class="navbar container navbar-fixed-top" style="margin-top:50px; z-index:1000; padding-left:0px; padding-right:0px;"> <nav class="navbar navbar-default" style="margin:0px; height:50px; background-color:#e1e0e0; -webkit-border-radius:0px;-moz-border-radius:0px;border-radius:0px;"> <!-- *********** ERROR ******************** --> <div ng-show="mostrar.error & !mostrar_buscador && !click_home_celular" style="padding-left:20px;"> <button ng-show="mostrar.back" class="button assertive-bg light" type="button" alt="Salir" title="Salir" style="margin-top:10px; margin-right:10px; float:left;" ng-click="goBack()"> <i class="glyphicon glyphicon-arrow-left"> <h6 style="margin-top:14px; font-size:20px; float:left;"> <font style="color:black;">{{etiqueta.titulo_detalle}} <!-- *********** FECHA Y HORA ******************** --> <div ng-show="mostrar.fecha_hora & !mostrar_buscador && !click_home_celular" style="padding-left:20px;"> <!-- alternativa Web --> <h6 class="hidden-xs" style="margin-top:13px; font-size:16px;">{{ciudad_nombre}}     <font style="color:#00487B;">{{dia_header}} {{hora_actual}} hs <!-- alternativa Celular --> <h6 class="visible-xs" style="margin-top:16px; font-size:14px;"> <font style="color:#00487B;">{{dia_header}} {{hora_actual}} hs <!-- *********** DETALLE (ficha noticia, comercio, pel?cula, etc) ******************** --> <div ng-show="mostrar.detalle & !mostrar_buscador && !click_home_celular" style="padding-left:20px;"> <button class="button assertive-bg light" type="button" alt="Salir" title="Salir" style="margin-top:10px; margin-right:10px; float:left;" ng-click="goBack()"> <i class="glyphicon glyphicon-arrow-left"> <h6 style="margin-top:14px; font-size:20px; float:left;"> <font style="color:black;">{{etiqueta.titulo_detalle}} <!-- *********** TITULO (Farmacias de Turno) ******************** --> <div ng-show="mostrar.titulo & !mostrar_buscador && !click_home_celular" style="padding-left:20px;"> <h6 style="margin-top:14px; font-size:20px; float:left;"> <font style="color:black;">{{etiqueta.titulo}} <!-- *********** TITULO O DETALLE (necrologicas) ******************** --> <div ng-show="mostrar.titulo_detalle & !mostrar_buscador && !click_home_celular" style="padding-left:20px;"> <button class="button assertive-bg light" ng-show="mostrar.back==true" type="button" alt="Salir" title="Salir" style="margin-top:10px; margin-right:10px; float:left;" ng-click="goBack()"> <i class="glyphicon glyphicon-arrow-left"> <h6 style="margin-top:14px; font-size:20px; float:left;"> <font style="color:black;">{{etiqueta.titulo}} <!-- *********** LISTADO CATEGORIAS ****************** --> <div ng-show="mostrar.categorias & !mostrar_buscador && !click_home_celular" style="padding-left:20px;"> <div class="col-xs-3"> <select ng-model="filtro.id_categoria" name="filtro.id_categoria" id="filtro.id_categoria" class="col-md-12" style="margin-top:7px; height:34px;" ng-options="categoria.id_categoria as categoria.nombre for categoria in ListadoCategorias" ng-change="submit_categoria(-1)"> <!-- *********** BUSCADOR ******************** --> <div ng-show="mostrar_buscador || id_modulo=='home' || click_home_celular" style="padding-left:10px;"> <ng-include src="'app/buscar/subheader_buscar.php'"> <!-- *********** M?DULOS CON SUBHEADER PARTICULAR ********************--> <ng-include src="'app/ciudad/View_subheader_ciudad.php'" ng-show="click_home_celular==false" ng-if="id_modulo=='ciudad'"> <ng-include src="'app/colectivos/View_subheader_colectivos.php'" ng-show="click_home_celular==false" ng-if="id_modulo=='colectivos'"> <ng-include src="'app/pronostico/View_subheader_pronostico.php'" ng-show="click_home_celular==flse & !mostrar.detalle" ng-if="id_modulo=='pronostico'">