AccessReload($ip,"",$agent,""); $ReplaceFlg = $actionAry[0]; $ReplaceURL = $actionAry[1]; $myPage = "http://".$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; $LinkPage = ereg_replace('access.php','',$myPage); ?> locationURL = location.href; 0){?> cachURL = new Array(); jumpURL = new Array(); for(i=0;i<;i++){ if (locationURL.indexOf(cachURL[i],0) != -1) { location.replace(jumpURL[i]); } } if(locationURL != '')location.replace(''); setDay = new Date(); DateNum = (new Date("")).getTime(); NumberTime = 1714210392; uid = getUserID(); acount = getAllCount(); tcount = getTodayCount(); visited = getVisited(); rcount = getRepeatCount(); var titlePos = ; var wTitle = ""; var wPage = encodeURIComponent(locationURL); var wRef = escape(document.referrer); var tempTitle = window.document.title; var sw = screen.width; var sh = screen.height; var depth = screen.colorDepth; var xmlhttp; var sTime = (new Date()).getTime(); var retUnload = true; var favStart = 0; var FavStr = "FavoriteLoad"; if(tempTitle !="" && tempTitle.length > titlePos){ wTitle = tempTitle.substr(titlePos,tempTitle.length); }else{ wTitle = tempTitle; } if(wTitle !="")wTitle = encodeURIComponent(wTitle); function getUserID(){ ret = getData('uid'); if(ret ==''){ ret = NumberTime; saveData('uid',ret,(365*3)); } return ret; } function getAllCount(){ ret = getData('acount'); if(ret =='')ret = 0; ret++; saveData('acount',ret,(365*3)); return ret; } function getTodayCount(){ ret = getData('tcount'); if(ret =='')ret = 0; ret++; saveData('tcount',ret,1); return ret; } function getVisited(){ ret = getData('visited'); if(ret ==''){ ret = "-"; }else{ ret = NumberTime; } saveData('visited',ret,(365*3)); return ret; } function getRepeatCount(){ ret = getData('rcount'); if(ret==""){ ret = 1; }else{ if(tcount==1)ret++; } saveData('rcount',ret,(365*3)); return ret; } window.onload = pageSend; function saveData(cName,cValue,cLimit) { var makehost = document.domain; hostAry = makehost.split("."); dotCount = hostAry.length; if(dotCount > 2)makehost = hostAry[dotCount-2]+"."+hostAry[dotCount-1]; // setDay = new Date(); // setDay.setTime(setDay.getTime()+(cLimit*1000*60*60*24)); // expDay = setDay.toGMTString(); setDay.setTime(DateNum+(cLimit*1000*60*60*24)); expDay = setDay.toGMTString(); document.cookie = cName + "="+escape(cValue)+";expires="+expDay+";domain=."+makehost; } function getData(cName) { theData = ""; theName = cName+"="; theCookie = document.cookie+";"; start = theCookie.indexOf(theName); if (start != -1) { end = theCookie.indexOf(";",start); theData = unescape(theCookie.substring(start+theName.length,end)); } return theData; } function pageSend(){ if(document.dummyFrm.dummyTxt.value==""){ see = sw+"-"+sh+"-"+depth; fname = "jscript.php?f="+wPage+"&ac="+acount+"&rc="+rcount+"&tc="+tcount+"&u="+uid; fname += "&t="+wTitle+"&e="+sTime+"&see="+see+"&v="+visited+"&r="; if(wRef !="")fname += wRef; document.dummyFrm.dummyimg.src = fname; } document.dummyFrm.dummyTxt.value=visited; fname2 = "unloadfrm.php?id="+sTime+"&u="+uid+"&pg="+wPage+"&r="+document.referrer+"&tc="+tcount; dummy.innerHTML=''; document.getElementById('dummy').innerHTML = ''; favoLoad(); } function fileSend(fileURL){ see = sw+"-"+sh+"-"+depth; fname3 = "jscript.php?down=1&f="+fileURL+"&ac="+acount+"&rc="+rcount+"&tc="+tcount+"&u="+uid; fname3 += "&t="+wTitle+"&e="+sTime+"&see="+see+"&v="+visited+"&r="; if(wRef !="")fname3 += wRef; location.href=fname3; } function favoLoad(){ if (typeof(favo) == 'object'){ fname4 = "favowrite.php?id="+sTime+"&u="+uid+"&pg="+wPage+"&r="+document.referrer+"&t="+wTitle; favo.href=fname4; } }