?> <form action="<?php echo $php_self; ?> " method="GET"> <p>Language: <?php echo TLang::getDropDownList($lang_id, "lang_id", ''); ?> </p> <p>Part of speech: <?php echo TPOS::getDropDownList($pos_id, "pos_id", ''); ?> </p> <p>Relation type: <?php echo TRelationType::getDropDownList($relation_type_id, "relation_type_id", ''); ?> </p> <p>Word: <input type="text" name="page_title" value="<?php echo $page_title; ?> "></p> <p><input type="submit" name="view_list" value="search"></p> </form> <?php if (isset($view_list) && $view_list) { $query_lang_pos = "SELECT lang_pos.id as id, page_title FROM lang_pos, page WHERE lang_pos.page_id=page.id"; if ($lang_id) { $query_lang_pos .= " and lang_id=" . (int) $lang_id; } if ($pos_id) {