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

Recogida de enseres y muebles

Está prohibido depositar los muebles y otros enseres en los espacios públicos o en los contenedores de residuos sólidos urbanos, para que sean retirados por los camiones de recogida domiciliaria.

Para su retirada deberá llamar al número 958578015 con una antelación mínima de 24 horas.

Importe gratuito, retirada en los portales.