Viewing File: /people/testlab/www/testlab.com.pl/search.php

<?
if ($_GET['searchfield']=='') $fraza=$languages['szukaj']; else $fraza = $_GET['searchfield'];


echo "<div id='search_div'> ";
echo "<div id=search_header>".$languages['szukaj_header']."</div>";
echo "<form id='search_form' name='search_form' method=post action='' onsubmit=\"if (($('searchfield').value=='')||($('searchfield').value=='".$languages['szukaj']."')) { $('searchfield').focus(); return false; } else {search_form.action='szukaj-'+searchfield.value;search_form.submit();};\">
<div onclick=\"if (($('searchfield').value!='')&&($('searchfield').value!='".$languages['szukaj']."')) {search_form.action='szukaj-'+searchfield.value;search_form.submit();}\" id=search_button>".$languages['szukaj_bt']."</div>";
echo "<input type=text name='searchfield' id='searchfield' value='".$fraza."' onfocus=\" if (($('searchfield').value=='".$languages['szukaj']."')) { $('searchfield').value=''; }\" onblur=\" if (($('searchfield').value=='')) { $('searchfield').value='".$languages['szukaj']."'; }\" style='margin-top:0px;'>
<input type=submit style='display:none' class=button value=OK> ";
echo "</form></div>";

?>
Back to Directory File Manager