Home > Panele > Panel szukaj

Panel szukaj

Dodane przez: piciu
opis:
panel wyszukiwarka
Kod:
  1. openside("Panel szukaj");
  2. include LOCALE.LOCALESET."search.php";
  3.  
  4. if (isset($_GET['stext'])) { $_GET['stext'] = urlencode(stripinput($_GET['stext'])); }
  5. if (!isset($_GET['stext'])) { $_GET['stext'] = ""; }
  6.  
  7. echo "<form id='searchform' name='searchform' method='get' action='".BASEDIR."search.php?stype=all'>\n";
  8. echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>\n<tr>\n";
  9. echo "<td class='tbl2' colspan='2'><strong>".$locale['401']."</strong></td>\n";
  10. echo "</tr>\n<tr>\n";
  11. echo "<td class='tbl1' style='width:50%;'>\n";
  12. echo "<input type='hidden' name='stype' value='all'/>\n";
  13. echo "<input type='text' name='stext' value='".urldecode($_GET['stext'])."' class='textbox' style='width:200px' />\n";
  14. echo "<input type='submit' name='search' value='".$locale['402']."' class='button' />\n</td>\n</tr>\n</table></form>\n";
  15. closeside();

©