
Contador De Acessos
#1
Posted 14/11/2004, 14:21
- Miguceamma likes this
#2
Posted 14/11/2004, 14:32
#3
Posted 14/11/2004, 14:37
Attached Files
Edição feita por: gbp.site.vu, 14/11/2004, 14:38.
#4
Posted 14/11/2004, 14:54
<!-- begin JavaScript// // JavaScript to calculate visits using cookies. // Copyright © Kenneth Norton, T3 (ken@t3.com) // // Permission is granted to freely use this script // provided credit is given to the authors above and below. // // Public Domain Cookie Functions // Written by: Bill Dortch, hIdaho Design (bdortch@netw.com) // 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 = (2 < argc) ? argv[2] : null; var path = (3 < argc) ? argv[3] : null; var domain = (4 < argc) ? argv[4] : null; var secure = (5 < argc) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } var expdate = new Date(); var visits; // Set expiration date to a year from now. expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); if(!(visits = GetCookie("HHF_VIS_1"))) visits = 0; visits++; SetCookie("HHF_VIS_1", visits, expdate, "", null, false); document.write("Esta é a sua visita de número "+ visits + ""); if(visits == 1) window.alert (" Seja Bem Vindo ao Giga Byte Portal."); if((1 < visits) && (visits <= 2)) document.write(", Obrigado por visitar meu Site outra vez ! "); if((2 < visits) && (visits <= 9)) document.write(", Que bom você ter voltado aqui ! Aproveite ! "); if(visits == 10) window.alert ("Você já entrou no meu site 10 vezes - Muito Obrigado!"); if((10 < visits) && (visits <= 24)) document.write(", Eu estou realmente orgulhoso de vc por causa de suas visitas! "); if(visits == 25) window.alert ("Você ja visitou o meu site 25 vezes, eu realmente agradeço a sua visita!"); if(25 < visits) document.write(", Obrigado por todas as visitas! Continue voltando frequentemente ! "); // end JavaScript -->
Coloca no código fonte e testa online.
(PS.: Tirei do condigo fonte da página citada)
Edição feita por: jampa_boy, 14/11/2004, 14:54.
#5
Posted 14/11/2004, 16:01
#6
Posted 14/11/2004, 23:04
<!-- begin JavaScript// // JavaScript to calculate visits using cookies. // Copyright © Kenneth Norton, T3 (ken@t3.com) // // Permission is granted to freely use this script // provided credit is given to the authors above and below. // // Public Domain Cookie Functions // Written by: Bill Dortch, hIdaho Design (bdortch@netw.com) // 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 = (2 < argc) ? argv[2] : null; var path = (3 < argc) ? argv[3] : null; var domain = (4 < argc) ? argv[4] : null; var secure = (5 < argc) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } var expdate = new Date(); var visits; // Set expiration date to a year from now. expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); if(!(visits = GetCookie("HHF_VIS_1"))) visits = 0; visits++; SetCookie("HHF_VIS_1", visits, expdate, "", null, false); document.write("Esta é a sua visita de número "+ visits + ""); // end JavaScript -->

#7
Posted 16/09/2017, 22:20
Rx Pills Direct
Cheapest Viagra Prices cialis price Amoxil Side Effects
#8
Posted 04/10/2017, 21:43
Commander Cialis Viagra Pcm Pharmacy viagra For Sale Hydrochlorothiazide Potenzmittel Cialis Tadalafil
Avalide viagra cialis Generique Kamagra 25 Mg Healthmen
#9
Posted 04/10/2017, 22:37
Amoxicillin Rash Picture generic viagra Consumo De Viagra En Jovenes Propecia Topical Female Hair Loss
Analyse Du Clomid Cialis Italia Paypal Zithromax Pills viagra Pdr Cephalexin Liquid Viagra Drug Information
#10
Posted 20/10/2017, 20:43
Kamagra Jelly Buy Online Cialis Per Nachnahme Shop Cost Of Propecia At Walmart viagra Mejor Que La Viagra Isotretinoin izotek Baltimore What Else Is There Besides Amoxicillin
Como Comprar Cialis Online levitra pills for sale Retail Price Of Levitra Kamagra With Dapoxetine Keflex Parrots
#12
Posted 01/11/2017, 23:01
Viagra Marken Viagra Temoignages viagra online prescription Buy Doxycycline For Acne Propecia Vorher Nachher Bilder Cialis 20 Mg Wikipedia
Viagra 100mg Effets Secondaires Order Viagra Online Female viagra Cialis E O Viagra Cialis France
#13
Posted 23/11/2017, 00:36
Zithromax Duration viagra Cialis 20 Mg Espana Zithromax Side Affects Cialis Paris
Cheap Tadifil cialis Producto Propecia Finasteride Kenalog Buy Generic Plavix In Us
Lasix Poland viagra Keflex Dose For Adult Strep Throat
#14
Posted 23/11/2017, 18:32
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)