122 |
)); |
)); |
123 |
} |
} |
124 |
$tp->assign("fields", $flds); |
$tp->assign("fields", $flds); |
125 |
global $PHP_SELF, $section, $section_menu; |
global $section, $section_menu; |
126 |
$tp->assign("section", $section); |
$tp->assign("section", $section); |
127 |
$tp->assign("section_menu", $section_menu); |
$tp->assign("section_menu", $section_menu); |
128 |
$tp->assign("FORM_ACTION", $PHP_SELF.HTMLSpecialChars("?section=$section§ion_menu={$section_menu}&stype=$stype")); |
$tp->assign("FORM_ACTION", HTMLSpecialChars("?section=$section§ion_menu={$section_menu}&stype=$stype")); |
129 |
$form = $tp->fetch("search.tpl"); |
$form = $tp->fetch("search.tpl"); |
130 |
if ($form) { |
if ($form) { |
131 |
global $onload; |
global $onload; |