المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : أكواد جافا رووووعة


فارس22
26-03-2003, 11:09 AM
السلام عليكم
هذه بعض أكواد الجافا أرجو أن تنال أعجابكم
محرك بحث
<script language="**********"><!--
// START HIDE
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('<strong></strong>&nbsp;<INPUT size=15 name="query">');
document.writeln('<strong></strong>&nbsp;<SELECT name="service">');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}
document.writeln('</SELECT> &nbsp;<input type=submit value="ابحث"><br>');
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];
// Window
search=window.open(newq ? eng.pre_gotcha + newq + eng.post_gotcha : eng.home,"SmartSearch","scrollbars=yes,toolbar=yes,location=yes,directorie s=yes,status=yes,menubar=yes,resizable=yes,width=' 100%',hight='100%'");
}
Add("Alta Vista","SELECTED","http://altavista.digital.com/","http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunt");
Add("Yahoo!","","http://www.yahoo.com/","http://search.yahoo.com/bin/search?p=hunt" );
Add("DejaNews","","http://www.dejanews.com/","http://search.dejanews.com/nph-dnquery.xp?query=hunt&defaultOp=AND&svcclass=dncurrent&maxhits=25");
Add("HotBot","","http://www.search.hotbot.com","http://www.search.hotbot.com/search.html?MT=hunt&DC=25");
Add("Infoseek","","http://www.infoseek.com/Home?pg=Home.html&sv=A2","http://www.infoseek.com/Titles?qt=hunt&col=WW&sv=A2");
Add("Excite","","http://www.excite.com/","http://www.excite.com/search.gw?searchType=Concept&search=hunt&category=default");
Add("Lycos","","http://www.lycos.com/","http://www.lycos.com/cgi-bin/pursuit?query=hunt&backlink=639");
Add("Magellan","","http://www.mckinley.com/","http://www.mckinley.com/extsearch.cgi?query=hunt");
Add("OpenText","","http://search.opentext.com","http://search.opentext.com/omw/simplesearch?SearchFor=hunt&mode=and");
Add("WebCrawler","","http://webcrawler.com/","http://webcrawler.com/cgi-bin/WebQuery?searchText=hunt&maxHits=25");
// Software
Add("ZDNet Files","","http://www.zdnet.com/","http://www6.zdnet.com/cgi-bin/texis/swlib/hotfiles/search.html?Usrt=rel&Usrchtype=simple&Utext=hunt");
Add("Filez","","http://www.filez.com/","http://filez.com/cgi/filez.cgi?query=hunt&type=All+Files&hits=50&domain=World&doit=Search/");
Add("Shareware.com","","http://www.shareware.com/","http://search.shareware.com/code/engine/Find?logop=and&cfrom=quick&orfile=True&hits=25&search=hunt&category=All-Categories");
Add("PC Gamer","","http://www.pcgame.com/","http://www.pcgame.com/finder/search.cgi?key=hunt");
// Denmark
DisplayForm();
// STOP HIDE
// --></script>


http://smilies.sofrayt.com/%5E/_950/ole.gif


محرك بحث عن الدومين
<!-- This script has been in the http://www.**********s.com ********** Public Library! -->
<!-- Note that though this material may have been in a public depository, certain author copyright restrictions may apply. -->
<HTML>
<HEAD>
****** NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Win">
<TITLE>Domain Name Search</TITLE>
</HEAD>
<BODY LINK="#990000" VLINK="#990000">

<FORM METHOD="POST" ACTION="http://click.linksynergy.com/fs-bin/statform"
ENCTYPE="x-www-form-urlencoded">
<P><CENTER><INPUT TYPE="hidden" NAME="id" VALUE="SBfxAUmUKPo"><INPUT
TYPE="hidden" NAME="offerid" VALUE="6822"><INPUT TYPE="hidden"
NAME="bnid" VALUE="2"><INPUT TYPE="hidden" NAME="subid" VALUE="">
<INPUT TYPE="hidden" NAME="lang" VALUE="es"><TABLE WIDTH="120"
BORDER="0" CELLSPACING="0" CELLPADDING="4" BGCOLOR="#EEEEEE">
<TR>
<TD COLSPAN="2" BGCOLOR="#0080a0">
<B><FONT COLOR="#ffffff" SIZE="-1" FACE="Arial">الباحث عن الدومين</FONT></B></TD>

</TR>
<TR VALIGN="TOP" WIDTH="150">
<TD>
<B><FONT COLOR="#000000" SIZE="-2" FACE="Arial">Search here</FONT></B>
<INPUT TYPE="text" NAME="domain" SIZE="15" MAXLENGTH="22"></TD>
<TD WIDTH="50" VALIGN="BOTTOM">
<INPUT TYPE="submit" NAME="" VALUE="ابحث">
</TD>
</TR>
<TR>
<TD COLSPAN="2">
<FONT COLOR="#000080" SIZE="-2" FACE="Arial">
</FONT></TD>

</TR>
</TABLE><IMG SRC="http://ad.linksynergy.com/fs-bin/show?id=SBfxAUmUKPo&bids=6822&type=5"
WIDTH="1" HEIGHT="1" BORDER="0" NATURALSIZEFLAG="0" ALIGN="BOTTOM"></CENTER></FORM>

</BODY>
</HTML>

<!-- Simba says Roar. -->


http://smilies.sofrayt.com/%5E/_950/ole.gif


محرك بحث العرب

<html><head><title>Suggestion form on an Arab Search Engine</title>
****** NAME="description" CONTENT="Suggest an arab search engine or an Arab directory">
****** NAME="keywords" CONTENT="Arabic Search Engines, Arab Search Engine"></head>
<body background="backg.gif" link="#800040" vlink="#001428">
<center><font size="2" face="Arial"><b><a href="http://www.arab.de/asearch.htm">
</a></b></font></center><br><br><br>
<p><center><font size ="2" face="Arial"><b> Please enter the URL of the arab search engine or directory<p>
</b></font></center><center><form action="/cgi-bin/email/ArabAlman/sgsearch.eml" method="POST">
<input type="hidden" name="ResponsePage" value="http://members.aol.com/ArabAlman/sgsdanke.htm">
<font size="2" face="Arial"><b>URL:</b></font><input type="text" size="60" name="URL" value="http://"><br><br>
<input type="submit" value="Submit URL"> <input type="reset" value="Clear URL"></form></center>
<br><br><br><center><font size="2" face="Arial"><b><a href="http://www.arab.de/asearch.htm">
</a></b></font></center></body></html>


http://smilies.sofrayt.com/%5E/_950/ole.gif

تقويم ميلادي

<BODY>
<CENTER>

<SCRIPT LANGUAGE="**********">

<!-- This script and many more are available free online at -->
<!-- The ********** Source!! http://**********.internet.com -->

<!-- Begin
monthnames = new Array(
"يناير",
"فبراير",
"مارس",
"ابريل",
"مايو",
"يونيو",
"يوليو",
"اغسطس",
"سبتمبر",
"اكتوبر",
"نوفبر",
"ديسمبر");
var linkcount=0;
function addlink(month, day, href) {
var entry = new Array(3);
entry[0] = month;
entry[1] = day;
entry[2] = href;
this[linkcount++] = entry;
}
Array.prototype.addlink = addlink;
linkdays = new Array();
monthdays = new Array(12);
monthdays[0]=31;
monthdays[1]=28;
monthdays[2]=31;
monthdays[3]=30;
monthdays[4]=31;
monthdays[5]=30;
monthdays[6]=31;
monthdays[7]=31;
monthdays[8]=30;
monthdays[9]=31;
monthdays[10]=30;
monthdays[11]=31;
todayDate=new Date();
thisday=todayDate.getDay();
thismonth=todayDate.getMonth();
thisdate=todayDate.getDate();
thisyear=todayDate.getYear();
thisyear = thisyear % 100;
thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));
if (((thisyear % 4 == 0)
&& !(thisyear % 100 == 0))
||(thisyear % 400 == 0)) monthdays[1]++;
startspaces=thisdate;
while (startspaces > 7) startspaces-=7;
startspaces = thisday - startspaces + 1;
if (startspaces < 0) startspaces+=7;
document.write("<table border=2 bgcolor=white ");
document.write("bordercolor=black><font color=black>");
document.write("<tr><td colspan=7><center><strong>"
+ monthnames[thismonth] + " " + thisyear
+ "</strong></center></font></td></tr>");
document.write("<tr>");
document.write("<td align=center>الاحد</td>");
document.write("<td align=center>الاثنين</td>");
document.write("<td align=center>الثلاثاء</td>");
document.write("<td align=center>الاربعاء</td>");
document.write("<td align=center>الخميس</td>");
document.write("<td align=center>الجمعة</td>");
document.write("<td align=center>السبت</td>");
document.write("</tr>");
document.write("<tr>");
for (s=0;s<startspaces;s++) {
document.write("<td> </td>");
}
count=1;
while (count <= monthdays[thismonth]) {
for (b = startspaces;b<7;b++) {
linktrue=false;
document.write("<td>");
for (c=0;c<linkdays.length;c++) {
if (linkdays[c] != null) {
if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count)) {
document.write("<a href=\"" + linkdays[c][2] + "\">");
linktrue=true;
}
}
}
if (count==thisdate) {
document.write("<font color='FF0000'><strong>");
}
if (count <= monthdays[thismonth]) {
document.write(count);
}
else {
document.write(" ");
}
if (count==thisdate) {
document.write("</strong></font>");
}
if (linktrue)
document.write("</a>");
document.write("</td>");
count++;
}
document.write("</tr>");
document.write("<tr>");
startspaces=0;
}
document.write("</table></p>");
// End -->
</SCRIPT>
</CENTER>

http://smilies.sofrayt.com/%5E/_950/ole.gif


آلة حاسه

<script>
function compute(obj)
{obj.expr.value = eval(obj.expr.value)}
var one = '1'
var two = '2'
var three = '3'
var four = '4'
var five = '5'
var six = '6'
var seven = '7'
var eight = '8'
var nine = '9'
var zero = '0'
var plus = '+'
var minus = '-'
var multiply = '*'
var divide = '/'
var decimal = '.'
function enter(obj, string)
{obj.expr.value += string}
function clear(obj)
{obj.expr.value = ''}
</script>

<p align="center"><font color="#000000" size="3"
face="Verdana, Arial, Helvetica, sans-serif"><strong></strong></font><strong> </strong></p>

<form name="calc">
<div align="center"><center><table border="1"
bgcolor="#FFEAFF">
<tr>
<td colspan="4"><input type="text" size="30"
name="expr" action="compute(this.form)"> </td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 7 " onclick="enter(this.form, seven)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 8 " onclick="enter(this.form, eight)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 9 " onclick="enter(this.form, nine)"> </p>
</td>
<td><p align="center"><input type="button"
value=" / " onclick="enter(this.form, divide)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 4 " onclick="enter(this.form, four)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 5 " onclick="enter(this.form, five)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 6 " onclick="enter(this.form, six)"> </p>
</td>
<td><p align="center"><input type="button"
value=" * " onclick="enter(this.form, multiply)"> </p>
</td>
</tr>
<tr>
<td><p align="center"><input type="button"
value=" 1 " onclick="enter(this.form, one)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 2 " onclick="enter(this.form, two)"> </p>
</td>
<td><p align="center"><input type="button"
value=" 3 " onclick="enter(this.form, three)"> </p>
</td>
<td><p align="center"><input type="button"
value=" - " onclick="enter(this.form, minus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" 0 "
onclick="enter(this.form, zero)"> </p>
</td>
<td><p align="center"><input type="button"
value=" . " onclick="enter(this.form, decimal)"> </p>
</td>
<td><p align="center"><input type="button"
value=" + " onclick="enter(this.form, plus)"> </p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><input
type="button" value=" = "
onclick="compute(this.form)"> </p>
</td>
<td colspan="2"><p align="center"><input type="reset"
value="AC" onclick="clear(this.form)"> </p>
</td>
</tr>
</table>
</center></div>
</form>

<p align="center"> </p>

<p align="center"><a
<p align="center"> </p>

<p> </p>
</body>
</html>


http://smilies.sofrayt.com/%5E/_950/ole.gif


إخفاء خط الرابط
<style type="text/css">
<!--
a { color: #000000; text-decoration: none; cursor: default}
a:hover { text-decoration: none}
-->
</style>
</head>

<a href="#"></a>


<style type="text/css">
<!--
a.blank { color: #000000; text-decoration: none; cursor: default}
a.blank:hover { text-decoration: none}
-->
</style>
</head>

<a href="#" class="blank"></a>


http://smilies.sofrayt.com/%5E/_950/ole.gif


رابط مشع

<p align="left"><script language="**********">
<!-- Begin
function initArray() {
for (var i =0; i < initArray.arguments.length; i++) {
this[i] = initArray.arguments[i];
}
this.length = initArray.arguments.length;
}
var colors = new initArray(
"green",
"purple",
"blue",
"red",
"black",
"white",
"blue",
"yellow",
"green",
"fuschia",
"blue",
"purple",
"green",
"purple");
delay = .5; // seconds
link = 0;
vlink = 2;
function linkDance() {
link = ( link+3)%colors.length;
vlink = (vlink+1)%colors.length;
document.linkColor = colors[link];
document. vlinkColor = colors[vlink];
setTimeout("linkDance()",delay*1000);
}
linkDance();
// End -->
</script></p>
<p align="center"><a href="http://majednet.4t.com/"><font size="6"
face="Monotype Koufi">فارس22</font></a></p>
<p align="center"><font size="6" face="Monotype Koufi"></font> </p>

http://smilies.sofrayt.com/%5E/_950/ole.gif


انتظروا المزيد
http://smilies.sofrayt.com/%5E/i/santa2.gif

برزان
26-03-2003, 04:32 PM
مشكور فارس الف شكر على هالمجهوووووود الجبار هذا شكرا


تحياتي

برزان

a7asesvb
26-03-2003, 06:31 PM
مشكووووووور فارس22 ويعطيك الف عافيه وماقصرت
تحياتي

فارس22
27-03-2003, 08:11 AM
العفوا أخي برزان وتسلم على الرد
والعفو أخي a7asesvb والله يخليك


وشكرا لردودكم وترقبوا المزيد إن شاء الله

أحمد الزعيم
27-03-2003, 08:13 PM
أشكرك وايد



:rolleyes: :rolleyes: :rolleyes:

فارس22
29-03-2003, 04:33 AM
العفو أخي أحمد الزعيم

فارس22
29-03-2003, 04:35 AM
العفو أخي أحمد الزعيم;)