![]() |
![]() |
#1 |
Administrator
![]() Üyelik Tarihi: Aug 2005
Mesajlar: 8,106
Teşekkür Etme: 20 Thanked 155 Times in 28 Posts
Üye No: 1
İtibar Gücü: 70000
Rep Puanı : 434913
Rep Derecesi :
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Cinsiyet :
Ünvan : Admin
|
![]() <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'>********** 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 ******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 += "%2B"; 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 ,********=yes,directories=yes,status=yes,menubar=y es,resizable=yes,width='100%',hight='100%'"); }Add("Google","","http://www.google.com/","http:// http://www.google.com/search?hl=tr&s...&q=hunt&btnG=G oogle%27da+Ara& lr="); Add("Abonem","","http://arama.abonem.com/","http:// arama.abonem.com/ara.php?www=true&islem=hunt" ); Add("Yahoo!","","http://www.yahoo.com/","http://se arch.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="); DisplayForm(); </script> </table></div> </body></html> |
![]() |
![]() |
![]() |
#n/a |
Bot
![]()
Giriş Tarihi: Ocak 2005
Yaş: 0
Mesaj : 0
Üye No: 0
Rep Power: Çok
|
kerem_uyanik (09-07-2007) bu konu için teşekkür ettiler...
|
![]() ![]() ![]() |
![]() |
#2 |
Yeni Üye
![]() Üyelik Tarihi: Dec 2005
Mesajlar: 21
Teşekkür Etme: 5 Thanked 0 Times in 0 Posts
Üye No: 6067
İtibar Gücü: 1431
Rep Puanı : 10
Rep Derecesi :
![]() Cinsiyet :
|
![]() teşekkürler emeğine sağlık birader
|
![]() |
![]() |
![]() |
#3 |
Aşmış Üye
![]() Üyelik Tarihi: Jun 2007
Konum: İstanbul
Mesajlar: 50,906
Teşekkür Etme: 70 Thanked 143 Times in 89 Posts
Üye No: 43266
İtibar Gücü: 12091
Rep Puanı : 59275
Rep Derecesi :
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Cinsiyet : Erkek
|
![]() çok karışık ..kodlarmı karışmış yoksa böylemi..
|
![]() |
![]() |
![]() |
#4 |
ÇaKaL Üye
![]() Üyelik Tarihi: Sep 2007
Konum: istanbul
Yaş: 43
Mesajlar: 1,020
Teşekkür Etme: 14 Thanked 35 Times in 30 Posts
Üye No: 44374
İtibar Gücü: 1522
Rep Puanı : 1562
Rep Derecesi :
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Cinsiyet : Erkek
|
![]() eline sağlık
|
![]() |
![]() |
![]() ![]() |
Konuyu Görüntüleyen Aktif Kullanıcılar: 1 (0 üye ve 1 misafir) | |
|
|