127 |
)); |
)); |
128 |
} |
} |
129 |
$tp->assign("fields", $flds); |
$tp->assign("fields", $flds); |
130 |
global $PHP_SELF, $section; |
global $PHP_SELF, $section, $section_menu; |
131 |
$tp->assign("section", $section); |
$tp->assign("section", $section); |
132 |
|
$tp->assign("section_menu", $section_menu); |
133 |
$tp->assign("FORM_ACTION", $PHP_SELF.HTMLSpecialChars("?section=$section&stype=$stype")); |
$tp->assign("FORM_ACTION", $PHP_SELF.HTMLSpecialChars("?section=$section&stype=$stype")); |
134 |
$form = $tp->fetch("search.tpl"); |
$form = $tp->fetch("search.tpl"); |
135 |
return array($form, $qry_1, $qry_2); |
return array($form, $qry_1, $qry_2); |