كود كم تبقى على شهر رمضان
2010

كود كم تبقى على شهر رمضان 2010 Image


الكود


الكود:

<title>كم تبقى لشهر رمضان</title>
        <version></version>
    <versioncheckurl />
    <dependencies>
    </dependencies>
    <codes>
    </codes>
    <templates>
<template name="rmdan_by_yemenihor" templatetype="template"
date="1214506267" username="YeMeNiHoR"
version="1.0"><![CDATA[<if
condition="$vboptions[on_off_rmdan]">
<!-- [ YeMeNiHoR ] sidiamer.com ] -->
<table
class="tborder" cellpadding="$stylevar[cellpadding]"
cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<tr>
    <td class="tcat" align="center" colspan="2">
        <p dir="rtl"><b>
<a style="float:$stylevar[right]" href="#top" onclick="return
toggle_collapse('forumhome_welcomepanel')"><img
id="collapseimg_forumhome_welcomepanel"
src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_panel].gif"
alt="" border="0" /></a>
        تبقى لشهر رمضان المبارك</b></td>
</tr>
<tbody id="collapseobj_forumhome_welcomepanel" style="$vbcollapse[collapseobj_forumhome_welcomepanel]">
    <tr>
        <td class="alt1" align="center" width="80%">
<center><script
language=JavaScript1.2>function
setcountdown(theyear,themonth,theday){yr=theyear;mo=themonth;da=theday
    }setcountdown(2010,08,11)
var occasion="<font face='Arial Black' size=4
style='line-height:200%;font-weight:700'>تبقى على دخول شهر رمضان
الكريم "
    var message_on_occasion="هنيئاً للجميع على دخول رمضان جعلنا الله من صوّامه وقوّامه "
    var countdownwidth='480px'
    var countdownheight='25px'
    var countdownbgcolor=''
    var opentags=''
    var closetags=''
    var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
    var crosscount='</span>'
    function start_countdown(){if (document.layers)document.countdownnsmain.visibility="[color=orange]show"
    else if (document.all||document.getElementById)
    crosscount=document.getElementById&&!document.all?document.getElementById("countdownie") : countdownie
countdown()} if (document.all||document.getElementById)
document.write('<span id="countdownie"
style="width:'+countdownwidth+';
background-color:'+countdownbgcolor+'"></span>')
    window.onload=start_countdown
    function countdown(){ var today=new Date()
    var todayy=today.getYear()
    if (todayy < 1000)
    todayy+=1900
    var todaym=today.getMonth()
    var todayd=today.getDate()
    var todayh=today.getHours()
    var todaymin=today.getMinutes()
    var todaysec=today.getSeconds()
    var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
    futurestring=montharray[mo-1]+" "+da+", "+yr
    dd=Date.parse(futurestring)-Date.parse(todaystring)
    dday=Math.floor(dd/(60*60*1000*23)*1)
    dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
    dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
    dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
    if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=1&&todayd==da){
if
(document.layers){document.countdownnsmain.document.countdownnssub.document.write(opentags+message_on_occasion+closetags)

    document.countdownnsmain.document.countdownnssub.document.close()
    }else if (document.all||document.getElementById)
    crosscount.innerHTML=opentags+message_on_occasion+closetags
return}else if (dday<=-1){if
(document.layers){document.countdownnsmain.document.countdownnssub.document.write(opentags+"هنيئاً
للجميع على دخول عيد الفطر."+closetags)
    document.countdownnsmain.document.countdownnssub.document.close()}else if (document.all||document.getElementById)
    crosscount.innerHTML=opentags+"رمضان كريم"+closetags
return}else{if
(document.layers){document.countdownnsmain.document.countdownnssub.document.write(opentags+occasion
+dday+ " يوم و "+dhour+" ساعة و "+dmin+" دقيقة و "+dsec+" ثانية
"+closetags)
    document.countdownnsmain.document.countdownnssub.document.close()}else if (document.all||document.getElementById)
    crosscount.innerHTML=opentags+occasion +dday+ " يوم و "+dhour+" ساعة و "+dmin+" دقيقة و "+dsec+" ثانية "+closetags
    }setTimeout("countdown()",1000)}</SCRIPT>
    <script language="JavaScript1.2">
    var speed=500
    function flashit(){
    var crosstable=document.getElementById? document.getElementById("myexample") : document.all? document.all.myexample : ""
    if (crosstable){
    if (crosstable.style.borderColor.indexOf("blue")!=-1)
    crosstable.style.borderColor="red"
    else
    crosstable.style.borderColor="blue"
    }
    }
    setInterval("flashit()", speed)
    </script></center>
        </td>
    </tr>
</tbody>
</table>
<br />


كود كم تبقى على شهر رمضان 2010 %D8%A7%D9%84%D9%84%D9%87%D9%85+%D8%A8%D9%84%D8%BA%D9%86%D8%A7+%D8%B1%D9%85%D8%B6%D8%A7%D9%86