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

مشاهدة النسخة كاملة : كود code الوقت المتبقيْ على رمضآن [ لآ تتعب منتدآأإكـ بكثر الهآكآت ] بشكل رآئع وبسسيط !



salima
10-31-2013, بتوقيت غرينيتش 02:57 AM
http://www.dzbatna.com/images/icons/icon26.gif ظƒظˆط¯ ط§ظ„ظˆظ‚طھ ط§ظ„ظ…طھط¨ظ‚ظٹظ’ ط¹ظ„ظ‰ ط±ظ…ط¶ط¢ظ† [ ظ„ط¢ طھطھط¹ط¨ ظ…ظ†طھط¯ط¢ط£ط¥ظƒظ€ ط¨ظƒط«ط± ط§ظ„ظ‡ط¢ظƒط¢طھ ] ط¨ط´ظƒظ„ ط±ط¢ط¦ط¹ ظˆط¨ط³ط³ظٹط· ! (http://www.dzbatna.com/t1622954/)



بسم الله الرحمن الرحيم


السسلام عليكم ورحمة الله وبركاآته ! ..


آعزآئي :


هذآآ كود code ( كود code الوقت المتبقيْ على رمضآن ) !


بشكل جميل


للمعآينة :-


www.frgak.com (http://www.frgak.com)


آنآ حآطه في آآخر الهيدر header !


الكود code :



رمز PHP:

<code style="white-space:nowrap"> <code>
<table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<tr>
<td class="tcat" align="center" colspan="2">
<p dir="rtl"><b>
<a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('forumhome_welcomepanel')"><img id="collapseimg_forumhome_welcomepanel" src="$stylevar&#91;imgdir_button&#93;/collapse_tcat$vbcollapse&#91;collapseimg_welcome_panel &#93;.gif" alt="" border="0" /></a>
<font face="Tahoma" size="2">تبقى لشهر رمضان المبارك</font></b></td>
</tr>
<tbody id="collapseobj_forumhome_welcomepanel" style="$vbcollapse&#91;collapseobj_forumhome_welcomepanel&#93;">
<tr>
<td class="alt1" align="center" width="80%">
<center><script language=JavaScript1.2>function setcountdown(theyear,themonth,theday){yr=theyear;m o=themonth;da=theday
}setcountdown(2014,08,11)
var occasion="<font face='Arial Black' color=red 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.visibili ty="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&#91;todaym&#93;+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray&#91;mo-1&#93;+" "+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.documen t.countdownnssub.document.write(opentags+message_o n_occasion+closetags)
document.countdownnsmain.document.countdownnssub.d ocument.close()
}else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+message_on_occasion+ closetags
return}else if (dday<=-1){if (document.layers){document.countdownnsmain.documen t.countdownnssub.document.write(opentags+"هنيئاً للجميع على دخول عيد الفطر."+closetags)
document.countdownnsmain.document.countdownnssub.d ocument.close()}else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+"رمضان كريم"+closetags
return}else{if (document.layers){document.countdownnsmain.documen t.countdownnssub.document.write(opentags+occasion +dday+ " يوم و "+dhour+" ساعة و "+dmin+" دقيقة و "+dsec+" ثانية "+closetags)
document.countdownnsmain.document.countdownnssub.d ocument.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 />
</code> </code>







ودي ~ْ





ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)



https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى