bu kodu kendi sitenize göre ayarlamalısınız
<HTML> <HEAD> <TITLE>z-arama-motoru(site-ici)-1</TITLE> <SCRIPT LANGUAGE="JavaScript">
<!-- Original: Dion (
[email protected]) -->
<!-- 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
= 0; order = new Array(0, 4, 2, 3);
for (j = 0; j < order.length; j++)
for (k = 0; k < txt.length; k++)
if (item[order[j]].toLowerCase().indexOf(txt[k]) > -1 && txt[k] != "")
fnd += (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>
</div>
</td>
<td class="edit_content_right_spacer" width="3%"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="31" background="http://theme.webme.com/designs/iceblue/images/cont_bottom.gif" class="edit_content_bottom"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="http://theme.webme.com/designs/iceblue/images/footer.gif" height="31" class="edit_content_bottom2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="edit_content_bottom2_left_spacer" width="2%"> </td>
<td class="edit_content_bottom2_counter" width="96%" style="color:white; text-align: center;">
<font color="black" style="padding-left:5px;" class="edit_copyright">
www.gerekleehtmlkodlari.tr.gg
<br />
<img src="http://www.msxlabs.org/forum/ambience/misc/happy2005.gif"> <br />
<script language="Javascript">
<!--
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset); if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));}
function GetCookie (name) { var arg = name + "="; var alen = arg.length;
var clen = document.cookie.length; var i = 0; while (i < clen) {
var j = i + alen; if (document.cookie.substring(i, j) == arg)
return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break; } return lisanssız;}function SetCookie (name, value) {
var argv = SetCookie.arguments; var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : lisanssız;
var path = (argc > 3) ? argv[3] : lisanssız;
var domain = (argc > 4) ? argv[4] : lisanssız;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == lisanssız) ? "" : ("; expires=" + expires.toGMTString())) +
((path == lisanssız) ? "" : ("; path=" + path)) +
((domain == lisanssız) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");}function DeleteCookie(name) {
var exp = new Date(); FixCookieDate (exp); // Correct for Mac bug
exp.setTime (exp.getTime() - 1); // This cookie is history
var cval = GetCookie (name); if (cval != lisanssız)
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();}
var expdate = new Date();var num_visits;
expdate.setTime(expdate.getTime() + (5*24*60*60*1000));
if (!(num_visits = GetCookie("num_visits"))) num_visits = 0;num_visits++;
SetCookie("num_visits",num_visits,expdate);
//-->
</script>
<script language="Javascript">
<!--
document.write(""+num_visits+" ");
//-->
</script>
</font>
</td>
<td class="edit_content_botom2_right_spacer" width="2%"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="168" align="left" valign="top" background="http://theme.webme.com/designs/iceblue/images/rechts_bg2.gif" class="edit_rechts_bottom">
<table id="sidebar_heading_1" width="168" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="sidebar_heading">gereklee kısayollar</td>
</tr>
<tr>
<td class="shouty">
<a href="http://teknovatan.tr.gg/" target="_blank">Kodların buradan önizlemesini görebilirsiniz</a>
<a href="http://teknovatan.tr.gg/"><img src="http://img.webme.com/pic/p/picefull/buyu.gif">
</td>
</tr>
<tr>
<td background="http://theme.webme.com/designs/iceblue/images/poll_bottom_bg.gif" height="27" class="edit_rb_footer" id="edit_rb_footer_1"> </td>
</tr>
</table>
<table width="168" border="0" cellspacing="0" cellpadding="0" id="sidebar_heading_2">
<tr>
<td class="sidebar_heading"></td>
</tr>
<tr>
<td class="shouty2">
<body leftmargin="1" topmargin="1">
<A HREF="http://hadihas.tr.gg/arama.htm">
<img src="http://search.conduit.com/img/Magnifier.gif" <br/><br/><br/>Site içi kod arama motoru
</a>
</body>
</html>
<br/><br/>
</td>
</tr>
<tr>
<td background="http://theme.webme.com/designs/iceblue/images/poll_bottom_bg.gif" height="27" class="edit_rb_footer" id="edit_rb_footer_2"> </td>
</tr>
</table>
<table width="168" border="0" cellspacing="0" cellpadding="0" id="sidebar_heading_3">
<tr>
<td class="sidebar_heading"></td>
</tr>
<tr>
<td class="shouty3">
<script type="text/javascript"><!--
google_ad_client = "pub-6463053435597059";
/* 160x600, oluşturulma 28.09.2008 */
google_ad_slot = "8924678194";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </td>
</tr>
<tr>
<td background="http://theme.webme.com/designs/iceblue/images/poll_bottom_bg.gif" height="27" class="edit_rb_footer" id="edit_rb_footer_3"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="79" background="http://theme.webme.com/designs/iceblue/images/s_bg.gif" class="edit_rechts_sbg"> </td>
</tr>
</table>
<div style="float: left">
</div>
<FONT color="white"> <!--- gerekleehtmlkodlari.tr.gg- Kod Baslangici --->
<a style="display: scroll;position:fixed;bottom:5px;right:5px;" href="#" title="Yukarı Çık .."><img src="http://i286.photobucket.com/albums/ll120/huzzifoto/yk.png"/></a>
<!--- gerekleehtmlkodlari- Kod Sonu --->
<center><embed src="http://www.mycodesplace.com/Generators/Mad-Text/swf/bubbles.swf" FlashVars="t=Gerekleehtmlkodlari.tr.gg&u=http://www.mycodesplace.com/&tc=0x000000" quality="high" bgcolor="#CCCCCC" width="475" height="100" name="theshockzone" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</embed>
<div align="center"><table border="0" width="70%"><tr><td>
</FONT>
<iframe src="http://www.homepage-baukasten.de/cookie.php?visit=gerekleehtmlkodlari&auth1=a5fd4cb8a378813b8d583fc676cd9014&auth2=0cd20c3e2340c27e14b45c6089399114&auth3=598ec95f54a4867e65998c467d288c9b&auth4=8fbb087975004096337f69bbef730c8f&auth5=973550837d176382e8445a1ce5eb6768&mode=track" style="display:none;width:1px;height:1px;"></iframe>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript" ></script>
<script type="text/javascript">
_uacct = "UA-2594508-11";
urchinTracker();
</script> <script type="text/javascript" src="http://ads.webme.com/layer.php"></script></body>
</html>
hocam bu var bide su *var
http://forum.ceviz.net/php/9734-site-ici-arama.html
incele hocam bi.