كود الساعة الذي وضعناه في المنتدى
لوحة الاداره>>مظهر المنتدى>>تشكيلات عامه>>ستجد مربع كبير كود الساعة =================================================
<br /> <div class="smallfont" align="center">
<div align="center"> <table
cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" border="0" class="tborder"
width="58%" id="table2"> <tr> <td
class="alt1"> <div class="alt2Active"
style="padding:6px; border:1px inset; overflow:auto">
<div id="postmenu_344900"> <!-- clock hack --> <div
id="clock">Loading...</div> <script
type="text/javascript"> function refrClock() { var d=new Date();
var s=d.getSeconds(); var m=d.getMinutes(); var h=d.getHours(); var
day=d.getDay(); var date=d.getDate(); var month=d.getMonth(); var
year=d.getFullYear(); var days=new
Array("الاحد","الاثنين","الثلاثاء","الاربعاء","الخميس","الجمعة","السبت");
var months=new
Array("يناير","فبراير","مارس","ابريل","ماي","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر");
var am_pm; if (s<10) {s="0" + s} if (m<10) {m="0" + m} if
(h>12) {h-=12;am_pm = "مساءً."} else {am_pm="صباحاً."} if (h<10)
{h="0" + h} document.getElementById("clock").innerHTML=days[day] + " "
+ date + " من " + months[month] + " " + year + " , الساعة الان " + h +
":" + m + ":" + s + " " + am_pm; setTimeout("refrClock()",1000); }
refrClock(); </script> <!-- / clock hack -->
</td> </tr> </table> =========================================================================================================================================================================================================================================================================================================================================================================