'.__('All Locations').'';
$loc_q = $dbs->query('SELECT location_name FROM mst_location LIMIT 50');
while ($loc_d = $loc_q->fetch_row()) {
echo '';
}
$location_list = ob_get_clean();
/* Collection type List */
ob_start();
echo '';
$colltype_q = $dbs->query('SELECT coll_type_name FROM mst_coll_type LIMIT 50');
while ($colltype_d = $colltype_q->fetch_row()) {
echo '';
}
$colltype_list = ob_get_clean();
/* GMD List */
ob_start();
echo '';
$gmd_q = $dbs->query('SELECT gmd_name FROM mst_gmd LIMIT 50');
while ($gmd_d = $gmd_q->fetch_row()) {
echo '';
}
$gmd_list = ob_get_clean();
/* Language selection list */
ob_start();
require_once(LANG.'localisation.php');
foreach ($available_languages AS $lang_index) {
$selected = null;
$lang_code = $lang_index[0];
$lang_name = $lang_index[1];
if ($lang_code == $sysconf['default_lang']) {
$selected = 'selected';
}
echo '';
}
$language_select = ob_get_clean();
/* include simbio form element library */
require SIMBIO.'simbio_GUI/form_maker/simbio_form_element.inc.php';
/* Advanced Search Author AJAX field */
ob_start();
// create AJAX drop down
$ajaxDD = new simbio_fe_AJAX_select();
$ajaxDD->element_name = 'author';
$ajaxDD->element_css_class = 'ajaxInputField';
$ajaxDD->additional_params = 'type=author';
$ajaxDD->handler_URL = 'lib/contents/advsearch_AJAX_response.php';
echo $ajaxDD->out();
$advsearch_author = ob_get_clean();
/* Advanced Search Topic/Subject AJAX field */
ob_start();
// create AJAX drop down
$ajaxDD = new simbio_fe_AJAX_select();
$ajaxDD->element_name = 'subject';
$ajaxDD->element_css_class = 'ajaxInputField';
$ajaxDD->additional_params = 'type=topic';
$ajaxDD->handler_URL = 'lib/contents/advsearch_AJAX_response.php';
echo $ajaxDD->out();
$advsearch_topic = ob_get_clean();