arama motoru
<form action="http://www.google.com/search" method="get" onSubmit="Gsitesearch(this)">
<div align="right"><span class="">Aramak İstediğiniz Kelime(ler) </span>
<input name="q" type="hidden" />
<input name="qfront" type="text" style="width: 120px" />
<input name="" type="submit" value=" Ara " />
</div>
</form>
arama motoru
<HTML>
<HEAD>
<TITLE>z-arama-motoru(site-ici)-1</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Dion (admin_tr_06@hotmail.com) -->
<!-- Web Site: www.clup.6te.net -->
<!-- Begin
var item = new Array();
/* Here is where all the magic happens.
Just enter as many additional pages that
that you want to search, then fill in the
additional listings for each page.
*/
// "Page Name","path","Page Title","Many,Key,Words","Descriptive Comments"
c=0; item[c]=new Array("index.html","","DemoSite","index,main,start,home,front","Demonstration search engine data about an imagined but probable internet site.");
c++; item[c]=new Array("about.htm","","About Me","about,author,contact,email,who","Contact details and general information about the creator of the site and what the site is about.");
c++; item[c]=new Array("links.htm","","Links page","links,more,where,similar,friends","Links to my favourite sites which I find interesting. Other friends sites which have similar interests to my own.");
c++; item[c]=new Array("main.htm","main/","Main Page","content,main,focus","The main part of my site which contains what you have come to see. Lots of stuff like that and more great things. All in a sub directory.");
c++; item[c]=new Array("logo.jpg","main/images/","Link Logo","link,image,logo,graphic","The logo.jpg is just a small image which you can place on your site as a link to me. It''''s in a second level subdirectory.");
page="<html><head><title>Search Results</title></head><body bgcolor=''''white''''><center><table border=0 cellspacing=10 width=80%>";
function search(frm) {
win = window.open("","","scrollbars");
win.document.write(page);
txt = frm.srchval.value.split(" ");
fnd = new Array(); total=0;
for (i = 0; i < item.length; i++) {
fnd[i] = 0; order = new Array(0, 4, 2, 3);
for (j = 0; j < order.length; j++)
for (k = 0; k < txt.length; k++)
if (item[i][order[j]].toLowerCase().indexOf(txt[k]) > -1 && txt[k] != "")
fnd[i] += (j+1);
}
for (i = 0; i < fnd.length; i++) {
n = 0; w = -1;
for (j = 0;j < fnd.length; j++)
if (fnd[j] > n) { n = fnd[j]; w = j; };
if (w > -1) total += show(w, win, n);
fnd[w] = 0;
}
win.document.write("</table><br>Toplam Sonuç: "+total+"<br></body></html>");
win.document.close();
}
function show(which,wind,num) {
link = item[which][1] + item[which][0];
line = "<tr><td><a href=''''"+link+"''''>"+item[which][2]+"</a> Score: "+num+"<br>";
line += item[which][4] + "<br>"+link+"</td></tr>";
wind.document.write(line);
return 1;
}
// End -->
</script>
</HEAD>
<BODY>
<center>
<form method=get action="javascript:void(0)" onsubmit="search(this); return false;">
<tr><td><input type=text name=srchval value="" size="20"><input type=submit value="Ara"></td></tr>
</form>
</center>
<p><font face="Tahoma" size="2">Örnek olarak index, about, links, focus, image
kelimelerini deneyebilirsiniz.</font></p>
</BODY>
</HTML>
arama motoru
html>
<head>
</head>
<table width='69' border='0' cellpadding='0' cellspacing='0' height="62"><tr>
<td width='17' width='95' height="5" align="center" bordercolor="#008000"><center><b><font color='#333399'>
<p align="center">Arama </font></b></center></td></tr>
<td width='95' align="center" height="5" bordercolor="#008000"><font color='#333399'><script>
var MAX_ENGINES = 35;
var tp='';
var tpp='';
var find = 'hunt';
var hold=0;
var hold2=0;
var gog=0;
var ap='';
function MakeArray(n) {
for (var i = 1; i <= n; i++) {
this[i] = 0;
}
this.maxlen = n;
this.len = 0;
return this;
}
var engs = new MakeArray(MAX_ENGINES);
function find_substring(needle, haystack) {
var i, needlen = needle.length, haylen = haystack.length;
for (i=0; i<=haylen-needlen; i++) {
if (needle == haystack.substring(i,i+needlen))
return i;
}
return false;
}
function Engine(name, opts, home, search) {
var gotcha = find_substring(find, search);
this.name = name;
this.opts = opts;
this.home = home;
this.pre_gotcha = search.substring(0,gotcha);
this.post_gotcha= search.substring(gotcha+find.length, search.length);
}
function Add(name, opts, home, search) {
engs.len++;
if (engs.len <= engs.maxlen) {
engs[engs.len] = new Engine(name, opts, home, search)
}
else {
alert ('Better increase MAX_ENGINES: ' + engs.Len + '>' + engs.maxlen)
}
}
function DisplayForm() {
document.writeln('<FORM Name=Gotchaform OnSubmit="HandleForm(this); return false">');
document.writeln('<font face="Verdana" color="#000066" size: 1><INPUT size=22 name="query" >');
document.writeln('<br><font face="Verdana" color="#000066" size: 1><SELECT name="service" >');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}
document.writeln('</SELECT> <input type=submit value=" Ara " >');
document.writeln('</FORM> ');
document.Gotchaform.query.focus()
}
function HandleForm(form){
var i, newq="", oldq=form.query.value;
for (i=0; i<oldq.length; i++) { // compress [ ]+ into +
var thischar = oldq.charAt(i);
if (thischar =="+")newq += "+";
else
if (thischar != ' ')
newq += thischar;
else if (lastchar != ' ')
newq += '+';
lastchar = thischar;
}
var eng = engs[1+form.service.selectedIndex];
// Pencere
search=window.open(newq ? eng.pre_gotcha + newq + eng.post_gotcha : eng.home,"SmartSearch","scrollbars=yes,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,resizable=yes,width='100%',hight='100%'");
}Add("Google","","http://www.google.com/","http://www.google.com/search?hl=tr&safe=off&q=hunt&btnG=Google'da+Ara&lr=");
Add("Netbul","","http://www.netbul.com/","http://kapi.netbul.com/internet/internet.asp?b=2&tr=&sayfa=1&keyword=hunt" );
Add("Arabul","","http://www.arabul.com/","http://www.arabul.com/sonuc.asp?SayfaNo=1&SayfaUzunlugu=10&DetayliArama=FALSE&SearchString=hunt");
Add("Arama","","http://www.arama.com/","http://www.arama.com/search.php3?q=hunt&weborcat=cat");
Add("Yahoo!","","http://www.yahoo.com/","http://search.yahoo.com/bin/search?p=hunt" );
Add("Kur'an'da","","http://www.kuranadaara.com/","http://www.kurandaara.com/index.php3?konu=ara&ne=1&keyword=hunt&kisi=01&sure_no=");
Add("Ftp'de","","http://www.oth.net","http://www.oth.net/s/s?q=hunt");
Add("Çoklu","","http://www.maximumedge.com/cgi/search/nph-cobrand.cgi?user=gezgin","http://www.maximumedge.com/cgi/search/nph-cobrand.cgi?user=gezgin&qry=hunt&module1=altavista&module5=fast&module4=findwhat&module6=google&module7=inktomi&module2=kanoodle&module8=searchhippo&module9=opendir&module3=7search&module10=yahoo");
Add("Domain","","http://www.gezginler.net/","http://www.gezginler.net/whois/domain.php?domain=hunt&action=checkdom&type=all");
Add("Program","","http://www.inndir.com/","http://www.inndir.com/ara.php?ara=hunt");
Add("Sürücü","","www.driversearch.com","http://www.driversearch.com/cgi/search.cgi?q=hunt&m=any");
Add("Resim","","http://www.picsearch.com/","http://www.picsearch.com/search.cgi?q=hunt&search=Search!&rp=same&pl=en");
Add("Script","","http://www.hotscripts.com/","http://www.hotscripts.com/cgi-bin/search.cgi?bool=AND&query=hunt&category=all");
DisplayForm();
</script>
</table></div>
</body></html>
arama motoru
<SCRIPT>
<!-- hide this script from non-JavaScript browsers
// All code in this script is Copyright(C) 1996, Justin Boyan, jab+j@cs.cmu.edu
// For documentation and more info, see: http://www.cs.cmu.edu/~jab/snark/
// This is SNARK Version 1.0, 18 May 1996
var MAX_ENGINES = 30;
var SNARK_STRING = "hunting+the+snark";
function MakeArray(n) {
for (var i = 1; i <= n; i++) {
this[i] = 0;
}
this.maxlen = n;
this.len = 0;
return this;
}
var engs = new MakeArray(MAX_ENGINES);
function find_substring(needle, haystack) {
var i, needlen = needle.length, haylen = haystack.length;
for (i=0; i<=haylen-needlen; i++) {
if (needle == haystack.substring(i,i+needlen))
return i;
}
return false;
}
function Engine(name, opts, home, search) {
var snark = find_substring(SNARK_STRING, search);
this.name = name;
this.opts = opts;
this.home = home;
this.pre_snark = search.substring(0,snark);
this.post_snark= search.substring(snark+SNARK_STRING.length, search.length);
}
function Add(name, opts, home, search) {
engs.len++;
if (engs.len <= engs.maxlen) {
engs[engs.len] = new Engine(name, opts, home, search)
}
else {
alert("Better increase MAX_ENGINES: " + engs.len + ">" + engs.maxlen)
}
}
// ADD YOUR OWN SEARCH ENGINES BELOW. (See http://www.cs.cmu.edu/~jab/snark/ )
Add("Netnews: AltaVista", "",
"http://altavista.digital.com/",
"http://altavista.digital.com/cgi-bin/query?pg=q&what=news&fmt=d&q=hunting+the+snark" );
Add("Shareware/Windows", "",
"http://vsl.cnet.com/",
"http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=MS-Windows(all)&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" );
Add("Shareware/Unix", "",
"http://vsl.cnet.com/",
"http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=UNIX&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" );
Add("the Web: AltaVista", "SELECTED",
"http://altavista.digital.com/",
"http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunting+the+snark" );
Add("the Web: Lycos", "",
"http://www.lycos.com/",
"http://twelve.srv.lycos.com/cgi-bin/pursuit?query=hunting+the+snark" );
Add("the Web: Yahoo!", "",
"http://www.yahoo.com/",
"http://search.yahoo.com/bin/search?p=hunting+the+snark" );
Add("Weather (City, ST)", "",
"http://www.nnic.noaa.gov/cgi-bin/page?pg=netcast",
"http://www.nnic.noaa.gov/cgi-bin/netcast.do-it?state=hunting+the+snark&area=Local+Forecast&html=yes&match=strong");
// ADD YOUR OWN SEARCH ENGINES ABOVE. (See http://www.cs.cmu.edu/~jab/snark/ )
function HandleForm(form) {
form.submit(); // This fixes a mysterious Netscape bug. Without this line,
// you can't use <enter> to start the search the first time.
var i, oldq=form.query.value, newq="";
for (i=0; i<oldq.length; i++) { // compress [ ]+ into +
var thischar = oldq.charAt(i);
if (thischar != ' ')
newq += thischar;
else if (lastchar != ' ')
newq += '+';
lastchar = thischar;
}
var eng = engs[1+form.service.selectedIndex];
location.href = newq ? eng.pre_snark + newq + eng.post_snark : eng.home;
}
function DisplayForm() {
document.writeln('<CENTER><FORM OnSubmit="HandleForm(this); return false">');
document.writeln('Search <SELECT name="service">');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}
document.writeln('</SELECT> for <INPUT size=26 name="query">');
document.writeln('<input type=submit value=" GO!">');
document.writeln('</FORM> </CENTER>');
}
DisplayForm();
// done hiding from old browsers -->
</SCRIPT>