query('SELECT gmd_id, gmd_name FROM mst_gmd');
$gmd_options[] = array('0', __('ALL'));
while ($gmd_d = $gmd_q->fetch_row()) {
$gmd_options[] = array($gmd_d[0], $gmd_d[1]);
}
echo simbio_form_element::selectList('gmd[]', $gmd_options, '','multiple="multiple" size="5"');
?>
query('SELECT coll_type_id, coll_type_name FROM mst_coll_type');
$coll_type_options = array();
$coll_type_options[] = array('0', __('ALL'));
while ($coll_type_d = $coll_type_q->fetch_row()) {
$coll_type_options[] = array($coll_type_d[0], $coll_type_d[1]);
}
echo simbio_form_element::selectList('collType[]', $coll_type_options, '', 'multiple="multiple" size="5"');
?>
query('SELECT item_status_id, item_status_name FROM mst_item_status');
$status_options = array();
$status_options[] = array('0', __('ALL'));
while ($status_d = $status_q->fetch_row()) {
$status_options[] = array($status_d[0], $status_d[1]);
}
echo simbio_form_element::selectList('status', $status_options);
?>
query('SELECT location_id, location_name FROM mst_location');
$loc_options = array();
$loc_options[] = array('0', __('ALL'));
while ($loc_d = $loc_q->fetch_row()) {
$loc_options[] = array($loc_d[0], $loc_d[1]);
}
echo simbio_form_element::selectList('location', $loc_options);
?>