| |
| Fai di questo sito la tua home PageCODICE <b> <blink> <a class="chlnk" style="cursor:hand" href onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.allweb.forumfree.net');"><font size="1" color="#00001C">Fai di All Web la tua HOME!</font></a> </blink> </b></form> Messaggio di BenvenutoCODICE <TITLE>Messaggio di benvenuto</TITLE> <Script> <!-- Activate Cloaking //
// JavaScript to calculate visits using cookies.
// By (c) acynson, T3 (info@acynson.it)
//
// Public Domain Cookie Functions
// by: acynson
//
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" : "");
}
// function to diplay info
// by acynson (info@acynson.it)
function DisplayInfo()
{
var expdate = new Date();
var visit;
// Set expiration date to a year from now.
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365));
if(!(visit = GetCookie("visit")))
visit = 0;
visit++;
SetCookie("visit", visit, expdate, "/", null, false);
var message;
if(visit == 1)
message=" Benvenuto su All web!";
if(visit== 2)
message=" Grazie per la tua seconda visita! !";
if(visit == 3)
message=" Questa è la terza visita su ALL WEB..grazie???!";
if(visit == 4)
message=" Stai apprezzando sempre più i miei servizi! grazie";
if(visit == 5)
message=" Sei ormai inserito nella lista dei miei fedelissimi!!";
if(visit == 6)
message=" Grazie ancora per la tua fedeltà e costanza!!";
if(visit == 7)
message=" ALL WEB ti è grato per la tua costanza ai suoi servizi!";
if(visit == 8)
message=" Stai per abbattere la soglia delle 10 visite...complimenti?";
if(visit == 9)
message=" Complimenti hai superato le mie aspettative..grazie!!";
if(visit >= 10)
message=" Sei un mito!! All web ti saprà ricambiare..grazie!!!";
alert("\n"+" Hai visitato questa sezione di All web \n"
+" "+visit+"\n"
+" By lo staff."+"\n"+"\n"
+message);
}
// Function to reset counts
function ResetCounts()
{
var expdate = new Date();
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365));
visit = 0;
SetCookie("visit", visit, expdate , "/", null, false);
leapto();
}
// De-activate Cloaking -->
</Script>
<meta name="Microsoft Theme" content="highway 011, default"> <meta name="Microsoft Border" content="tl, default"> </head> <body onload="DisplayInfo()"> <p> </p> <p>L'anteprima di questo script non è disponibile!</p> <p>Lo script crea un messaggio di benvenuto alla visita dell'utente e genera un messaggio diverso per ogni visita ( sino ad un max impostato )</p> <p>By lo Staff</p>
</body> Edited by "team san severo" - 29/8/2006, 09:48 |
| | |