Followers

အီးေမးလ္မွာဖတ္ခ်င္ရင္အေပၚမွာ Sign In (Menber)ဝင္ၾကပါလို႕ေတာင္းဆိုပါရေစ။ခင္မင္ေလးစားလွ်က္ေကပီသရီးမိသားစု

kp3နည္းပညာ၊၃၃၄၊ဘေလာ့မွာ Remember Visitors ေလးထည့္ခ်င္ရင္

             ဒီေန႕တင္တဲ့Postေလးကေတာ့က်ေနာ္တို႕ရဲ႕ဆိုက္ဒ္ဘယ္နွစ္ၾကိမ္လာလည္သြားတယ္ဆိုတာ မွတ္သားေပးတဲ့Codeေလးပါ၊ေအာက္မွာပံုနဲ႕တကြျပထားေပးပါတယ္။မိမိရဲ႕ဘေလာ့မွာထည့္ထားခ်င္တဲ့ ဘေလာ့မိတ္ေဆြေတြအတြက္ပါ၊ၾကိဳက္လည္းၾကိဳက္ၾကမယ္ေတာ့ထင္တာပါဘဲ။ေအာက္မွာထည့္ေပးရ မယ့္ေနရာနဲ႕Codeထားေပးပါတယ္။ဘေလာ့ဂါမိတ္ေဆြအားလံုးကိုခင္မင္ေလးစားလွ်က္kp3မိသားစု


<!--Remember Visitors -kp-3နည္းပညာ-->
<script>
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name);
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function amt(){
var count = GetCookie('count')
if(count == null) {
SetCookie('count','1')
return 1
}
else {
var newcount = parseInt(count) + 1;
DeleteCookie('count')
SetCookie('count',newcount,exp)
return count
}
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
</script>
<script>
document.write("အလည္လာတာ <b>" + amt() + "</b> ၾကိမ္ရွိျပီေနာ္")
</script>
<!-Remember Visitors -http://kp3family.blogspot.com--> 
မသိေသးတဲ့သူေတြကိုအသိေပးေ၀မွ်ေစခ်င္ပါတယ္။
ဘေလာ့ဂါမိတ္ေဆြအားလံုးကိုခင္မင္ေလးစားလွ်က္KP-3 မိသားစု

Related Post

Reactions:

0 comments:

Post a Comment

မွတ္ခ်က္မ်ားကို စိစစ္ၿပီးမွ ေဖာ္ျပေပးမည္ ျဖစ္ပါသျဖင့္ ဤစာမ်က္ႏွာေပၚမွာ ခ်က္ခ်င္း ျမင္ရမည္မဟုတ္ပါ။ မၾကာခင္ ေနာက္တခါ ျပန္လာၿပီး မိမိ၏ မွတ္ခ်က္ကို ျပန္ၾကည့္ပါရန္ ေမတၲာရပ္ခံပါသည္။