بسم الله الرحمن الرحيم
عرض الساعة واليوم والتاريخ
كود code على السريع
مثال ::.
www.fnon.ps/forum
في الاسفل
كيفية التركيب install ::.
1) من لوحة التحكم , اللغات والعبارات
2) اكتب في الحقل الاول من البحث و الإستبدال في اللغات
رمز Code:
الساعة الآن <span class="time">{2}</span>.
وفي الحقل الثاني ضع الكود code
رمز Code:
<table border="0" width="100%" cellspacing="0" cellpadding="0" style="text-align: center"> <tr> <td> <html dir="rtl"> <body> <script> /* Live Date Script- © Dynamic Drive (www.fnon.ps) For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use, visit http://www.fnon.ps //للمزيد من الجافا سكريبت script .. نرجو زيارة موقع فنون http://www.fnon.ps/ */ var dayarray=new Array("الاحد","الاثنين"," الثلاثاء","الاربعاء","الخميس&q uot;,"الجمعة","السبت"
var montharray=new Array("يناير","فبراير","م ارس","ابريل","مايو"," ;يونيو","يوليو","اغسطس",& quot;سبتمبر","اكتوبر","نوفمبر& quot;,"ديسمبر"
function getthedate(){ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var hours=mydate.getHours() var minutes=mydate.getMinutes() var seconds=mydate.getSeconds() var dn="صباحاً" if (hours>=12) dn="مساءً" if (hours>12){ hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds //change font size here var cdate="<small><font color='0000FF' face='Tahoma'>"+dayarray[day]+" "+daym+" "+montharray[month]+" "+year+"م "+hours+":"+minutes+":"+s econds+" "+dn +"</font></small>" if (document.all) document.all.clock.innerHTML=cdate else if (document.getElementById) document.getElementById("clock"
.innerHTML=cdate else document.write(cdate) } if (!document.all&&!document.getElementById) getthedate() function goforit(){ if (document.all||document.getElementById) setInterval("getthedate()",1000) } </script> <span id="clock"></span> <body onLoad="goforit()"> </html> <body> <body onLoad="goforit()"></td> </tr> </table> <p align="center"><font color="#FFFFFF" size="1"> <a href="http://www.fnon.ps/"><span style="text-decoration: none"> .................................................. .................................................. .................................</span></a></font></p>
3) اضغط استبدال
هذا الكود code مقدم من موقع ومنتديات فنون
يرجى عدم نزع الحقوق التي في اول الكود code
www.fnon.ps
mho0
hotmail.com