تبلیغات
مرکز کدهای جاوا و اچ تی ام ال - کد نمایش زمان آخرین بازدید به بازدید کننده

کد نمایش زمان آخرین بازدید به بازدید کننده

جمعه 16 مهر 1389 02:01 ق.ظ   نویسنده : محمد      




حتما مشابه این کد را در سایت ها دیده اید ، این بار ما کد نمایشگر آخرین بازدید بازدید کننده را برای شما قرار میدهیم

« نمونه کد »
خوش آمدید ، آخرین بازدید شما : دوشنبه,17 سپتامبر , 01:23:30 PM

www.ja


کد زیر را در هرکجای قالب که مایلید نمایش پیدا کند قرار دهید .

<center><font color="#FF0000" face="Tahoma" size="1"><script type = "text/javascript">/************************************************ Visit JavaScriptKit at http://javascriptkit.net/***********************************************/var days = 730;var lastvisit=new Object();var firstvisitmsg="این اولین بازدید شماست ، خوش آمدید."; lastvisit.subsequentvisitmsg="خوش آمدید ، آخرین بازدید شما : <b>[displaydate]</b>";lastvisit.getCookie=function(Name){ var re=new RegExp(Name+"=[^;]+", "i"); if (document.cookie.match(re)) return document.cookie.match(re)[0].split("=")[1];return''; }lastvisit.setCookie=function(name, value, days){ var expireDate = new Date();var expstring=expireDate.setDate(expireDate.getDate()+parseInt(days));document.cookie = name+"="+value+"; expires="+expireDate.toGMTString()+"; path=/";}lastvisit.showmessage = function() {var wh = new Date();if (lastvisit.getCookie("visitc") == "") { lastvisit.setCookie("visitc", wh, days); document.write(firstvisitmsg);}else {var lv = lastvisit.getCookie("visitc");var lvp = Date.parse(lv);var now = new Date();now.setTime(lvp);var day = new Array("یکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه");var month = new Array ("ژانویه", "فوریه", "مارس", "آوریل", "می", "ژوئن", "ژوئیه", "آگوست", "سپتامبر", "اکتبر", "نوامبر", "دسامبر");var dd = now.getDate();var dy = now.getDay();dy = day[dy];var mn = now.getMonth();mn = month[mn];var hh = now.getHours();var ampm = "Am";if (hh >= 12) {ampm = "PM"}if (hh >12){hh = hh - 12};if (hh == 0) {hh = 12}if (hh < 10) {hh = "0" + hh};var mins = now.getMinutes();if (mins < 10) {mins = "0"+ mins}var secs = now.getSeconds();if (secs < 10) {secs = "0" + secs}var dispDate = dy + ", " + dd + " " + mn + " , " + hh + ":" + mins + ":" + secs+ " " + ampm  document.write(lastvisit.subsequentvisitmsg.replace("\[displaydate\]", dispDate))}lastvisit.setCookie("visitc", wh, days);}lastvisit.showmessage();</script></center></font><p align="center"><span lang="en-us"><font style="font-size: 1pt"><a target="_blank" href="http://javascriptkit.net" style="text-decoration: none; font-weight:700">www.javascriptkit.net</a></font></span></p>

آخرین ویرایش: - -
دیدگاه ها ()
سه شنبه 23 مرداد 1397 01:46 ق.ظ

You have made your point.
sialis we recommend cialis best buy what is cialis weblink price cialis cialis tadalafil cialis tablets australia cialis 50 mg soft tab best generic drugs cialis bulk cialis cialis kamagra levitra
سه شنبه 4 اردیبهشت 1397 04:26 ب.ظ

Truly lots of wonderful knowledge.
how to purchase viagra online buy online pharmacy cheap viagra getting viagra uk buy viagra jelly sildenafil generic buy viagra usa buy pfizer viagra get online prescription for viagra online pharmacy generic viagra
شنبه 4 فروردین 1397 06:38 ق.ظ

Very good tips. Thanks a lot.
enter site natural cialis buy cialis uk no prescription tadalafilo american pharmacy cialis cialis savings card cialis generisches kanada cheap cialis estudios de cialis genricos tarif cialis france cialis generika in deutschland kaufen
دوشنبه 28 اسفند 1396 12:11 ب.ظ

Seriously lots of valuable info.
low cost cialis 20mg the best choice cialis woman cialis kamagra levitra cialis herbs cialis patent expiration cialis daily dose generic cialis price in bangalore generic cialis tadalafil tadalafil 10 mg cialis 20 mg
جمعه 17 آذر 1396 08:44 ق.ظ
I feel this is one of the so much significant info for me.

And i'm satisfied reading your article. But should observation on few
common issues, The site style is wonderful, the articles is
actually great : D. Just right process, cheers
شنبه 25 شهریور 1396 04:50 ق.ظ
I don't even understand how I ended up here, however I thought this put up was once good.
I don't know who you're but certainly you are going to a famous
blogger when you aren't already. Cheers!
شنبه 4 شهریور 1396 06:19 ب.ظ
Hello to every body, it's my first go to see of this weblog; this blog includes amazing
and actually excellent information designed for visitors.
جمعه 3 شهریور 1396 03:44 ب.ظ
What's up mates, how is the whole thing, and what you want
to say concerning this post, in my view its in fact amazing in favor of me.
دوشنبه 16 مرداد 1396 05:44 ق.ظ
Hi there, just wanted to say, I enjoyed this blog post. It was
inspiring. Keep on posting!
یکشنبه 15 مرداد 1396 11:29 ب.ظ
excellent points altogether, you just received a logo new reader.
What might you recommend about your publish that you
just made some days in the past? Any certain?
شنبه 7 مرداد 1396 11:54 ق.ظ
Useful info. Fortunate me I discovered your web site accidentally, and I'm shocked why this coincidence did not took place earlier!
I bookmarked it.
دوشنبه 14 فروردین 1396 02:36 ب.ظ
Greetings! Quick question that's entirely off topic. Do you know how to make your site mobile friendly?
My blog looks weird when viewing from my iphone4.

I'm trying to find a theme or plugin that might be able to
fix this problem. If you have any recommendations, please share.

Thanks!
چهارشنبه 3 مهر 1392 11:06 ب.ظ
سلام من از وب شما استفاده کردم و خوشم اومد و شمارو لینک کردم
محمد
لطف کردی...
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر

درباره وبلاگ


نویسندگان

  • محمد (64)