query = $GLOBALS['TYPO3_DB']->exec_SELECTquery( "uid, doktype, title, subtitle", "pages", "doktype =114 AND deleted=0 AND hidden=0"); $councils = $this->exec(); $this->query = $GLOBALS['TYPO3_DB']->exec_SELECTquery( "uid, doktype, title, subtitle, mount_pid", "pages", "doktype =116 AND deleted=0 AND hidden=0"); $services = $this->exec(); $this->query = $GLOBALS['TYPO3_DB']->exec_SELECTquery( "uid,pid,doktype, title, subtitle, mount_pid", "pages", "doktype =115 AND deleted=0 AND hidden=0"); $programs = $this->exec(); $councils = $this->setFamily($councils, $services, $programs,"mount_pid"); return $councils; } function setFamily($parentArr, $childArr, $programs, $field){ foreach($childArr as $child){ if(isset($child['mount_pid']) && isset($parentArr[$child['mount_pid']])){ $parentArr[$child['mount_pid']]["_SUB_MENU"][$child['uid']] = $child; } } /*oculto los que tienen servicio asociado*/ foreach($programs as $k=>$child){ if(isset($childArr[$child['pid']]) ){ $programs[$k]["nav_hide"] = 1; } } /*los asocio a su propia concejalia con el nombre de la página padre*/ if( count($programs)>0){ foreach($programs as $k=>$child){ if (empty($parentArr[$child['mount_pid']]["_SUB_MENU"][$child['pid']])){ $parentArr[$child['mount_pid']]["_SUB_MENU"][$child['pid']] = $this->getPage($child['pid']); } $parentArr[$child['mount_pid']]["_SUB_MENU"][$child['pid']]["_SUB_MENU"][$child['uid']] = $child; } } foreach($parentArr as $k => $parent){ if( !is_array( $parent["_SUB_MENU"] ) ){ unset($parentArr[$k]); } } return $parentArr; } function getPage($uid){ $this->query = $GLOBALS['TYPO3_DB']->exec_SELECTquery( "uid, doktype, title, subtitle, mount_pid", "pages", " deleted=0 AND hidden=0 AND uid=$uid"); $arr = $this->exec(); return array_pop($arr); } function getCouncil ($content,$conf){ $_GP = t3lib_div::GPVar($conf['userFunc.']["gpVar"]); $this->query = $GLOBALS['TYPO3_DB']->exec_SELECTquery( "uid,mount_pid", "pages", "doktype IN(116,115) AND uid = ".addslashes($_GP) ); $service = $this->exec(); $conf["userFunc."]["typolink."]["parameter"] = $service[$_GP]["mount_pid"]; return $this->cObj->stdWrap($content, $conf['userFunc.']); ; } function getTitle ($content,$conf){ $_GP = t3lib_div::GPVar($conf['userFunc.']["gpVar"]); $this->query = $GLOBALS['TYPO3_DB']->exec_SELECTquery( "uid,title", "pages", "doktype IN(116,115) AND uid = ".addslashes($_GP) ); $service = $this->exec(); $content= $service[$_GP]["title"]; return $this->cObj->stdWrap($content, $conf['userFunc.']); ; } function exec ($assoc=true, $query=false) { $result = ($query) ? $query : $this->query; $arr=Array(); while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) $arr[$row["uid"]] = $row; return $arr; } } ?> Servicios  - Ayuntamiento de Armilla

Comprometidos con mejorar la calidad de los servicios

Con el compromiso de mejorar la calidad de los servicios municipales, el Ayuntamiento recuerda que bien a través de la web municipal o por teléfono se puede notificar cualquier avería.

El teléfono de contacto del Ayuntamiento es el 958-578015 o a través de la web www.armilladigital.com a través del BUZON QUEJAS Y SUGERENCIAS, que de forma clara le va indicando los pasos que tiene que ir realizando.