Bayram Cigerli Blog

Bigger İnfo Center and Archive

Sayfa Görüntüleme Sayacı



Sayfa Görüntüleme Sayacı





Sayfanın kaç kez görüntülendiğini yazar. Sitenizin/Syfanızın istediğiniz kısmına ekleyin

Kod: 
<script language="Javascript">
<!--
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset); if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));}
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(); FixCookieDate (exp); // Correct for Mac bug
exp.setTime (exp.getTime() - 1); // This cookie is history
var cval = GetCookie (name); if (cval != null)
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();}
var expdate = new Date();var num_visits;
expdate.setTime(expdate.getTime() + (5*24*60*60*1000));
if (!(num_visits = GetCookie("num_visits"))) num_visits = 0;num_visits++;
SetCookie("num_visits",num_visits,expdate);
//-->
</script>

<script language="Javascript">
<!--
document.write("Bu sayfa "+num_visits+" kez görüntülendi.");
//-->
</script>
Share

Related Posts:

  • DRONES - rules and regulations and general guidelines re their useDRONES - Article by Alan Totten, first published in the KVHA September 2016 Kamares Village Matters, Issue 8.The first thing to say is that a drone is classed as an aircraft. So the rules are determined by the Cyprus Departme… Read More
  • THEFTS FROM PARKED VEHICLES KVHA and myself have been made aware of several incidents where car windows have been broken to gain access to minor items left in the vehicle - an empty shopping bag in one and €3 in another.   All the thefts have … Read More
  • CYPRUS TRAFFIC COPS GET SMARTFrom inCyprus - article 18 August 2017Traffic police in Cyprus have turned up the heat on offending motorists thanks largely to its new Automatic Number Plate Recognition (ANPR) and ‘smart policing’ systems.  The smart p… Read More
  • POISON ALERT - LofosWe have been made aware of an incident in Lofos where poison was thrown into a garden.   Luckily the owner noticed the poison so her pets are unscathed.This may be a one-off incident where someone has a vendetta against … Read More
  • CYPRUS TO INTRODUCE ROADSIDE DRUG TESTS NEXT YEARFrom inCyprus 21 August 2017Cyprus is set to introduce roadside mouth swab drug tests by the end of 2018, with police on the island having already purchased the drugwipe equipment.Saliva oral fluid-based drug tests can genera… Read More

0 Comments:

Yorum Gönder