Търсaчка

crazy_pi4

Registered
Имам един скрипт, който търси в гугъл, как да направя да е както тук в туриста да има отдолу да избираш къде да търси искам да го направя да се избира да търси в сайта ми и в гугъл

Код:
<body>
<form method="get" action="http://www.google.com/custom">
<table bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="http://www.google.com/custom/"><img src="http://www.google.com/logos/Logo_40wht.gif" border="0" alt="Google" align="absmiddle"></a></td>
<td>
<input type="text" name="q" size="25" maxlength="255" value="">
<input type="submit" name="btnG" value="Google Search">
<input type="hidden" name="cof" value="GL:0;">
</td>
</tr>
</table>
</form>
</body>
 
Виж как е тук:

Код:
<form method="get" action="http://www.google.bg/custom" target="google_window" style="margin:0;padding:0">
<table border="0"  class="center" align="center">
<tr>
<td nowrap="nowrap" valign="top" align="center" height="32"  width="130" >
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></a>
</td>
</tr>
<tr>
<td nowrap="nowrap"  align="center">
<input type="hidden" name="domains" value="www.web-tourist.net">
<label for="sbi" style="display: none">Въведете вашите условия за търсене</label>
<input type="text" name="q" size="15" maxlength="255" value="" id="sbi">
<label for="sbb" style="display: none">Подаване на формуляра за търсене</label>
</td>

</tr>
<tr>
<td align="center" >
<input type="submit" name="sa" value="Търсене" id="sbb">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<table >
<tr>
<td  >
<input type="radio" name="sitesearch" value=""  id="ss0">
<label for="ss0" title="Търсене в интернет"><font size="-1" color="#000000">Web</font></label></td>
<td>
<input type="radio" name="sitesearch" value="www.web-tourist.net" checked id="ss1">
<label for="ss1" title="Търсене www.web-tourist.net"><font size="-1" color="#000000">WT</font></label></td>

</tr>
</table>
<input type="hidden" name="client" value="pub-3435381821984005">
<input type="hidden" name="forid" value="1">
<input type="hidden" name="channel" value="3476337371">
<input type="hidden" name="ie" value="windows-1251">
<input type="hidden" name="oe" value="windows-1251">
<input type="hidden" name="flav" value="0000">
<input type="hidden" name="sig" value="WPa93-k6tKJSkKw2">
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#494D53;VLC:66B5FF;AH:center;BGC:FBFBFB;LBGC:FBFBFB;ALC:363A67;LC:363A67;T:265182;GFNT:66B5FF;GIMP:66B5FF;LH:31;LW:88;L:http://www.web-tourist.net/webtourist.gif;S:http://www.web-tourist.net;FORID:1">
<input type="hidden" name="hl" value="bg">
</td></tr></table>
</form>

;)
 
Може и от гугъл да се вземеш такава търсачка просто даваш урл до сайта ти и те ти дават код за търсачка.
 

Back
Горе