Esempio n. 1
0
echo url_for('@hospici_cercador_activitats');
?>
" method="POST">
    
        <div style="float: left; width: 600px;">
            <div style="margin: 5px;">
                <b>Text clau</b><br /><input type="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>Qui?</b><br /><?php 
echo select_tag('cerca[SITE]', options_for_select(ActivitatsPeer::selectSitesActivitats($CERCA['TEXT']), $CERCA['SITE'][0]), array('multiple' => 'multiple', 'style' => 'height:130px; width:360px;', 'id' => 'E_ON'));
?>
            </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(null, null, $CERCA['TEXT'], $CERCA['SITE'][0]), $CERCA['DATA'][0]), array('multiple' => 'multiple', 'style' => 'height:130px; width:180px;', 'id' => 'DATAE'));
?>
            </div>
        </div>
        <div style="clear:both; float: left;">
            <div id="RANGE" style="float: left; margin-right:5px; margin-top:4px;">
                Des de: <input type="text" id="DIE" name="cerca[DATA_R][DI]" style="height:30px; width:100px;" />
                Fins a: <input type="text" id="DFE" name="cerca[DATA_R][DF]" style="height:30px; width:100px;" />
            </div>