echo url_for('@hospici_cercador_cursos'); ?> " method="POST"> <div style="float: left; width: 600px;"> <div style="margin: 5px;"> <b>Nom del curs</b><br /><input type="text" id="R_TEXT" name="cerca[TEXT]" value="<?php echo $CERCA['TEXT']; ?> " style="width: 500px;" /> </div> </div> <div style="clear:both; float: left;"> <div style="margin: 5px;"> <b>On?</b><br /><?php echo select_tag('cerca[POBLE]', options_for_select(CursosPeer::selectPoblesCursos($CERCA['TEXT']), $CERCA['POBLE'][0]), array('multiple' => 'multiple', 'style' => 'height:130px; width:180px;', 'id' => 'R_ON')); ?> </div> </div> <div style="float: left;"> <div style="margin: 5px;"> <b>Què?</b><br /><?php echo select_tag('cerca[CATEGORIA]', options_for_select(CursosPeer::selectCategoriesCursos($CERCA['POBLE'][0], $CERCA['TEXT']), $CERCA['CATEGORIA'][0]), array('multiple' => 'multiple', 'style' => 'height:130px; width:180px;', 'id' => 'R_CAT')); ?> </div> </div> <div style="float: left;"> <div style="margin: 5px;"> <b>Quan?</b><br /><?php echo select_tag('cerca[DATA]', options_for_select(ActivitatsPeer::selectDatesActivitats($CERCA['POBLE'][0], $CERCA['CATEGORIA'][0], $CERCA['TEXT']), $CERCA['DATA'][0]), array('multiple' => 'multiple', 'style' => 'height:130px; width:180px;', 'id' => 'R_DATA')); ?>