找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3131|回复: 6
收起左侧

这段代码是什么意思啊?

[复制链接]

该用户从未签到

发表于 2007-8-12 10:39 | 显示全部楼层 |阅读模式
<HTML>
<HEAD>
<SCRIPT LANGUAGE="Javascript">
<!--
var Words ="%3C%21DOCTYPE%20HTML%20PUBLIC%20%22-//W3C//DTD%20HTML%204.0%20Transitional//EN%22%3E%0D%0A%3CHTML%3E%3CHEAD%3E%3CTITLE%3ECelidia%u7684%u95FA%u82D1%3C/TITLE%3E%0D%0A%3CMETA%20http-equiv%3DContent-Type%20content%3D%22text/html%3B%20charset%3Dgb2312%22%3E%0D%0A%3CSCRIPT%20language%3DJavaScript%3E%0D%0Avar%20message%3D%22%22%3B%0D%0Afunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%0D%0A%7Bif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0A%0D%0A%09document.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A%20%20%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT%20language%3DJavaScript%20title%3DG1SCRIPT%3E%0D%0Afunction%20disableselect%28e%29%7B%0D%0Areturn%20false%3B%0D%0A%7D%0D%0Afunction%20reEnable%28%29%7B%0D%0A%09return%20true%3B%0D%0A%7D%0D%0Adocument.onselectstart%3Dnew%20Function%20%28%22return%20false%22%29%3B%0D%0Aif%20%28window.sidebar%29%0D%0A%09%7B%0D%0A%09%09document.onmousedown%3Ddisableselect%3B%0D%0A%09%09document.onclick%3DreEnable%3B%0D%0A%09%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA%20content%3D%22MSHTML%206.00.2900.3132%22%20name%3DGENERATOR%3E%3C/HEAD%3E%0D%0A%3CBODY%20oncontextmenu%3D%22return%20false%22%20onselectstart%3D%22return%20false%22%20%0D%0Aondragstart%3D%22return%20false%22%20leftMargin%3D0%20topMargin%3D0%20marginheight%3D%220%22%3E%0D%0A%3CTABLE%20height%3D230%20cellSpacing%3D0%20cellPadding%3D2%20width%3D200%20%0D%0Abackground%3Dpic/2.gif%20border%3D0%3E%0D%0A%20%20%3CTBODY%3E%0D%0A%20%20%3CTR%3E%0D%0A%20%20%20%20%3CTD%20vAlign%3Dcenter%20align%3Dmiddle%20width%3D%22100%25%22%3E%0D%0A%20%20%20%20%20%20%3CSCRIPT%20language%3DJavaScript%3E%0D%0A%09%09tabloMois%20%3D%20new%20Array%28%0D%0A%09%09%22%u4E00%u6708%22%2C%0D%0A%09%09%22%u4E8C%u6708%22%2C%0D%0A%09%09%22%u4E09%u6708%22%2C%0D%0A%09%09%22%u56DB%u6708%22%2C%0D%0A%09%09%22%u4E94%u6708%22%2C%0D%0A%09%09%22%u516D%u6708%22%2C%0D%0A%09%09%22%u4E03%u6708%22%2C%0D%0A%09%09%22%u516B%u6708%22%2C%0D%0A%09%09%22%u4E5D%u6708%22%2C%0D%0A%09%09%22%u5341%u6708%22%2C%0D%0A%09%09%22%u5341%u4E00%u6708%22%2C%0D%0A%09%09%22%u5341%u4E8C%u6708%22%29%3B%0D%0Avar%20linkcount%3D0%3B%0D%0Afunction%20addlink%28month%2C%20day%2C%20href%29%20%7B%0D%0Avar%20tabloLien%20%3D%20new%20Array%283%29%3B%0D%0AtabloLien%5B0%5D%20%3D%20month%3B%0D%0AtabloLien%5B1%5D%20%3D%20day%3B%0D%0AtabloLien%5B2%5D%20%3D%20href%3B%0D%0Athis%5Blinkcount++%5D%20%3D%20tabloLien%3B%0D%0A%7D%0D%0AArray.prototype.addlink%20%3D%20addlink%3B%0D%0AtabloJour%20%3D%20new%20Array%28%29%3B%0D%0AtabloMoisNb%20%3D%20new%20Array%2812%29%3B%0D%0AtabloMoisNb%5B0%5D%3D31%3B%0D%0AtabloMoisNb%5B1%5D%3D28%3B%0D%0AtabloMoisNb%5B2%5D%3D31%3B%0D%0AtabloMoisNb%5B3%5D%3D30%3B%0D%0AtabloMoisNb%5B4%5D%3D31%3B%0D%0AtabloMoisNb%5B5%5D%3D30%3B%0D%0AtabloMoisNb%5B6%5D%3D31%3B%0D%0AtabloMoisNb%5B7%5D%3D31%3B%0D%0AtabloMoisNb%5B8%5D%3D30%3B%0D%0AtabloMoisNb%5B9%5D%3D31%3B%0D%0AtabloMoisNb%5B10%5D%3D30%3B%0D%0AtabloMoisNb%5B11%5D%3D31%3B%0D%0AtodayDate%3Dnew%20Date%28%29%3B%0D%0ACeJour%3DtodayDate.getDay%28%29%3B%0D%0AMoisEnCours%3DtodayDate.getMonth%28%29%3B%0D%0Athisdate%3DtodayDate.getDate%28%29%3B%0D%0Athisyear%3DtodayDate.getYear%28%29%3B%0D%0Athisyear%20%3D%20thisyear%20%25%20100%3B%0D%0Athisyear%20%3D%20%28%28thisyear%20%3C%2050%29%20%3F%20%282000%20+%20thisyear%29%20%3A%20%281900%20+%20thisyear%29%29%3B%0D%0Aif%20%28%28%28thisyear%20%25%204%20%3D%3D%200%29%20%0D%0A%26%26%20%21%28thisyear%20%25%20100%20%3D%3D%200%29%29%0D%0A%7C%7C%28thisyear%20%25%20400%20%3D%3D%200%29%29%20tabloMois%5B1%5D++%3B%0D%0Astartspaces%3Dthisdate+1%3B%0D%0Awhile%20%28startspaces%20%3E%207%29%20startspaces-%3D7%3B%0D%0Astartspaces%20%3D%20CeJour%20-%20startspaces%20+1%3B%0D%0Aif%20%28startspaces%20%3C%200%29%20startspaces+%3D7%3B%0D%0Adocument.write%28%22%3CFONT%20face%3D%27verdana%27%3E%22%29%3B%3C%21--Font%20Face--%3E%0D%0Adocument.write%28%22%3Ctable%20border%3D0%20%22%20%29%3B%3C%21--Border%20size--%3E%0D%0Adocument.write%28%22style%3D%27font-size%20%3A%2014px%3B%20color%20%3A%20%23ffffff%3B%20font-weight%3A%20bold%3B%3F%3F%3F%3F%3F%04%3F%3F%3A%3F%3F%3F%3A%3F%3F%3F%03A%0C%3F%3F%01%27%20cellpadding%3D1%20cellspacing%3D2%3E%22%29%3B%3C%21--Border%20color%2C%20font%20size%2C%20cell%20padding%2C%20cellspacing%20and%20font%20color--%3E%0D%0A%0D%0Adocument.write%28%22%3Ctr%3E%3Ctd%20align%3Dcenter%20colspan%3D7%3E%3Ccenter%3E%22%20%0D%0A+%20tabloMois%5BMoisEnCours%5D%20+%20%22%20%22%20+%20thisyear%20%0D%0A+%20%22%3C/center%3E%3C/td%3E%3C/tr%3E%22%29%3B%0D%0Adocument.write%28%22%3Ctr%3E%22%29%3B%0D%0A%0D%0Adocument.write%28%22%3Ctd%20align%3Dcenter%3E%3Cfont%20color%3D%2376CBFF%3E%u4E00%3C/td%3E%22%29%3B%3C%21--une%20couleur%20par%20jour--%3E%0D%0Adocument.write%28%22%3Ctd%20align%3Dcenter%3E%3Cfont%20color%3D%2376CBFF%3E%u4E8C%3C/td%3E%22%29%0D%0Adocument.write%28%22%3Ctd%20align%3Dcenter%3E%3Cfont%20color%3D%2376CBFF%3E%u4E09%3C/td%3E%22%29%3B%0D%0Adocument.write%28%22%3Ctd%20align%3Dcenter%3E%3Cfont%20color%3D%2376CBFF%3E%u56DB%3C/td%3E%22%29%3B%0D%0Adocument.write%28%22%3Ctd%20align%3Dcenter%3E%3Cfont%20color%3D%2376CBFF%3E%u4E94%3C/td%3E%22%29%3B%0D%0Adocument.write%28%22%3Ctd%20align%3Dcenter%3E%3Cfont%20color%3D%2376CBFF%3E%u516D%3C/td%3E%22%29%3B%3C%21--Last%20color%20chage%20here--%3E%0D%0Adocument.write%28%22%3Ctd%20align%3Dcenter%3E%3Cfont%20color%3D%2376CBFF%3E%u65E5%3C/td%3E%22%29%3B%0D%0Adocument.write%28%22%3C/tr%3E%22%29%3B%0D%0Adocument.write%28%22%3Ctr%3E%22%29%3B%0D%0A%0D%0Afor%20%28s%3D0%3Bs%3Cstartspaces%3Bs++%29%20%7B%0D%0Adocument.write%28%22%3Ctd%20align%3Dcenter%3E-%3C/td%3E%22%29%3B%0D%0A%7D%0D%0Acount%3D1%3B%0D%0Awhile%20%28count%20%3C%3D%20tabloMoisNb%5BMoisEnCours%5D%29%20%7B%0D%0A%09for%20%28b%20%3D%20startspaces%3Bb%3C7%3Bb++%29%20%7B%0D%0A%09linktrue%3Dfalse%3B%0D%0A%09document.write%28%22%3Ctd%20align%3Dcenter%3E%22%29%3B%0D%0A%09for%20%28c%3D0%3Bc%3CtabloJour.length%3Bc++%29%20%7B%0D%0A%09if%20%28tabloJour%5Bc%5D%20%21%3D%20null%29%20%7B%0D%0A%09if%20%28%28tabloJour%5Bc%5D%5B0%5D%3D%3DMoisEnCours%20+%201%29%20%26%26%20%28tabloJour%5Bc%5D%5B1%5D%3D%3Dcount%29%29%20%7B%0D%0A%09document.write%28%22%3Ca%20href%3D%5C%22%22%20+%20tabloJour%5Bc%5D%5B2%5D%20+%20%22%5C%22%3E%22%29%3B%0D%0A%09linktrue%3Dtrue%3B%0D%0A%7D%0D%0A%7D%0D%0A%7D%0D%0Aif%20%28count%3D%3Dthisdate%29%20%7B%0D%0Adocument.write%28%22%3Cspan%20style%3D%27background-color%3A%20rgb%280%2C0%2C0%29%3Bborder%3A%202px%20solid%20%23709070%3E%3Cfont%20color%3D%27%23ffffff%27%3E%22%29%3B%0D%0A%3C%21--couleur%20d%20ela%20date%20du%20jour--%3E%0D%0A%7D%0D%0Aif%20%28count%20%3C%3D%20tabloMoisNb%5BMoisEnCours%5D%29%20%7B%0D%0Adocument.write%28count%29%3B%0D%0A%7D%0D%0Aelse%20%7B%0D%0Adocument.write%28%22%20%22%29%3B%0D%0A%7D%0D%0Aif%20%28count%3D%3Dthisdate%29%20%7B%0D%0Adocument.write%28%22%3C/font%3E%22%29%3B%0D%0A%7D%0D%0Aif%20%28linktrue%29%0D%0Adocument.write%28%22%3C/a%3E%22%29%3B%0D%0Adocument.write%28%22%3C/td%3E%22%29%3B%0D%0Acount++%3B%0D%0A%7D%0D%0Adocument.write%28%22%3C/tr%3E%22%29%3B%0D%0Adocument.write%28%22%3Ctr%3E%22%29%3B%0D%0Astartspaces%3D0%3B%0D%0A%7D%0D%0Adocument.write%28%22%3C/table%3E%22%29%3B%0D%0Adocument.write%28%22%3C/FONT%3E%22%29%3B%0D%0A%3C/SCRIPT%3E%0D%0A%20%20%20%20%3C/TD%3E%3C/TR%3E%0D%0A%20%20%3CTR%3E%3C/TR%3E%0D%0A%20%20%3CTR%3E%0D%0A%20%20%20%20%3CTD%20vAlign%3Dcenter%20align%3Dmiddle%20width%3D%22100%25%22%3E%3CFONT%20face%3DVerdana%20%0D%0A%20%20%20%20%20%20size%3D+1%3E%3CSTRONG%3E%0D%0A%20%20%20%20%20%20%3CSCRIPT%3E%0D%0Adocument.write%28%22%3CFONT%20style%3D%27background-color%3A%20rgb%280%2C0%2C0%29%3Bborder%3A%201px%20solid%20%2376CBFF%27%3E%3Cfont%20color%3D%27%2376CBFF%27%20size%3D%272%27%3E%22%29%3B%0D%0Avar%20clockid%3Dnew%20Array%28%29%0D%0Avar%20clockidoutside%3Dnew%20Array%28%29%0D%0Avar%20i_clock%3D-1%0D%0Avar%20thistime%3D%20new%20Date%28%29%0D%0Avar%20hours%3Dthistime.getHours%28%29%0D%0Avar%20minutes%3Dthistime.getMinutes%28%29%0D%0Avar%20seconds%3Dthistime.getSeconds%28%29%0D%0Aif%20%28ev&#97;l%28hours%29%20%3C10%29%20%7Bhours%3D%220%22+hours%7D%0D%0Aif%20%28ev&#97;l%28minutes%29%20%3C%2010%29%20%7Bminutes%3D%220%22+minutes%7D%0D%0Aif%20%28seconds%20%3C%2010%29%20%7Bseconds%3D%220%22+seconds%7D%0D%0Avar%20thistime%20%3D%20hours+%22%3A%22+minutes+%22%3A%22+seconds%0D%0A%09%0D%0Afunction%20writeclock%28%29%20%7B%0D%0A%09i_clock++%0D%0A%09if%20%28document.all%20%7C%7C%20document.getElementById%20%7C%7C%20document.layers%29%20%7B%0D%0A%09%09clockid%5Bi_clock%5D%3D%22clock%22+i_clock%0D%0A%09%09document.write%28%22%3Cspan%20id%3D%27%22+clockid%5Bi_clock%5D+%22%27%20style%3D%27position%3Arelative%27%3E%22+thistime+%22%3C/span%3E%22%29%0D%0A%09%7D%0D%0A%7D%0D%0A%0D%0Afunction%20clockon%28%29%20%7B%0D%0A%09thistime%3D%20new%20Date%28%29%0D%0A%09hours%3Dthistime.getHours%28%29%0D%0A%09minutes%3Dthistime.getMinutes%28%29%0D%0A%09seconds%3Dthistime.getSeconds%28%29%0D%0A%09if%20%28ev&#97;l%28hours%29%20%3C10%29%20%7Bhours%3D%220%22+hours%7D%0D%0A%09if%20%28ev&#97;l%28minutes%29%20%3C%2010%29%20%7Bminutes%3D%220%22+minutes%7D%0D%0A%09if%20%28seconds%20%3C%2010%29%20%7Bseconds%3D%220%22+seconds%7D%0D%0A%09thistime%20%3D%20hours+%22%3A%22+minutes+%22%3A%22+seconds%0D%0A%09%09%0D%0A%09if%20%28document.all%29%20%7B%0D%0A%09%09for%20%28i%3D0%3Bi%3C%3Dclockid.length-1%3Bi++%29%20%7B%0D%0A%09%09%09var%20thisclock%3Dev&#97;l%28clockid%5Bi%5D%29%0D%0A%09%09%09thisclock.innerHTML%3Dthistime%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%09%0D%0A%09if%20%28document.getElementById%29%20%7B%0D%0A%09%09for%20%28i%3D0%3Bi%3C%3Dclockid.length-1%3Bi++%29%20%7B%0D%0A%09%09%09document.getElementById%28clockid%5Bi%5D%29.innerHTML%3Dthistime%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%09var%20timer%3DsetTimeout%28%22clockon%28%29%22%2C1000%29%0D%0A%7D%0D%0Awindow.onload%3Dclockon%0D%0A%20%20%20%20%3C/SCRIPT%3E%0D%0A%0D%0A%20%20%20%20%20%20%3CSCRIPT%3Ewriteclock%28%29%3C/SCRIPT%3E%0D%0A%20%20%20%20%20%20%3CBR%3E%3CBR%3E%3C/STRONG%3E%3C/FONT%3E%3C/TD%3E%3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E%0D%0A%3CDIV%20id%3Dcalque%20%0D%0Astyle%3D%22Z-INDEX%3A%202%3B%20LEFT%3A%200px%3B%20WIDTH%3A%20189px%3B%20POSITION%3A%20absolute%3B%20TOP%3A%200px%3B%20HEIGHT%3A%20200px%22%3E%3CA%20%0D%0Ahref%3D%22http%3A//www.celidia.cn/%22%20target%3D_blank%3E%3C/A%3E%3CA%20href%3D%22http%3A//www.celidia.cn/%22%20%0D%0Atarget%3D_blank%3E%3CIMG%20height%3D222%20alt%3DCelidia%u7684%u95FA%u82D1%20%0D%0Asrc%3D%22pic/espace.gif%22%20width%3D212%20border%3D0%3E%3C/A%3E%3C/DIV%3E%0D%0A%3CSCRIPT%20language%3DJavaScript%3E%0D%0A%3C%21--%0D%0A%0D%0A//Disable%20right%20mouse%20click%20Script%0D%0A//By%20Celidia%20%28mail@celidia.cn%29%20w/%20mods%20by%20Celidia%0D%0A//For%20full%20source%20code%2C%20visit%20http%3A//www.celidia.cn%0D%0A%0D%0Avar%20message%3D%22Celidia%u7684%u95FA%u82D1%u5236%u4F5C%21%22%3B%0D%0A%0D%0A///////////////////////////////////%0D%0Afunction%20clickIE4%28%29%7B%0D%0Aif%20%28event.button%3D%3D2%29%7B%0D%0Aalert%28message%29%3B%0D%0Areturn%20false%3B%0D%0A%7D%0D%0A%7D%0D%0A%0D%0Afunction%20clickNS4%28e%29%7B%0D%0Aif%20%28document.layers%7C%7Cdocument.getElementById%26%26%21document.all%29%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%7B%0D%0Aalert%28message%29%3B%0D%0Areturn%20false%3B%0D%0A%7D%0D%0A%7D%0D%0A%7D%0D%0A%0D%0Aif%20%28document.layers%29%7B%0D%0Adocument.captureEvents%28Event.MOUSEDOWN%29%3B%0D%0Adocument.onmousedown%3DclickNS4%3B%0D%0A%7D%0D%0Aelse%20if%20%28document.all%26%26%21document.getElementById%29%7B%0D%0Adocument.onmousedown%3DclickIE4%3B%0D%0A%7D%0D%0A%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22alert%28message%29%3Breturn%20false%22%29%0D%0A%0D%0A//%20--%3E%20%0D%0A%3C/SCRIPT%3E%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A"
function OutWord()
{
var NewWords;
NewWords = unescape(Words);
document.write(NewWords);
}
OutWord();
// -->
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>



该用户从未签到

发表于 2007-8-12 10:42 | 显示全部楼层

这段代码是什么意思啊?

这是一个网页文件,你打开记事本,把代码复制进去,保存为1.html文件注意下面要选择为任何文件。然后打开就应该知道是什么了
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2007-8-12 10:52 | 显示全部楼层

这段代码是什么意思啊?

我也不大懂得呢
回复 支持 反对

使用道具 举报

  • TA的每日心情
    开心
    2023-4-15 08:35
  • 签到天数: 462 天

    连续签到: 1 天

    [LV.9]以坛为家II

    发表于 2007-8-12 11:01 | 显示全部楼层

    这段代码是什么意思啊?

    中间这段是进过加密的,下面是还原后的

    <!--
    var Words ="<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD><title>Celidia的闺苑</title>
    <META http-equiv=Content-Type content="text/html; charset=gb2312">
    <SCRIPT language=javascript>
    var message="";
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if (document.layers||(document.getElementById&&!document.all))
    {if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers)
    {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
    document.oncontextmenu=new Function("return false")
      </SCRIPT>
    <SCRIPT language=javascript title=G1SCRIPT>
    function disableselect(e){
    return false;
    }
    function reEnable(){
    return true;
    }
    document.onselectstart=new Function ("return false");
    if (window.sidebar)
    {
    document.onmousedown=disableselect;
    document.onclick=reEnable;
    }
    </SCRIPT>
    <META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
    <BODY oncontextmenu="return false" onselectstart="return false"
    ondragstart="return false" leftMargin=0 topMargin=0 marginheight="0">
    <TABLE height=230 cellSpacing=0 cellPadding=2 width=200
    background=pic/2.gif border=0>
      <TBODY>
      <TR>
        <TD vAlign=center align=middle width="100%">
          <SCRIPT language=javascript>
    tabloMois = new Array(
    "一月",
    "二月",
    "三月",
    "四月",
    "五月",
    "六月",
    "七月",
    "八月",
    "九月",
    "十月",
    "十一月",
    "十二月");
    var linkcount=0;
    function addlink(month, day, href) {
    var tabloLien = new Array(3);
    tabloLien[0] = month;
    tabloLien[1] = day;
    tabloLien[2] = href;
    this[linkcount++] = tabloLien;
    }
    Array.prototype.addlink = addlink;
    tabloJour = new Array();
    tabloMoisNb = new Array(12);
    tabloMoisNb[0]=31;
    tabloMoisNb[1]=28;
    tabloMoisNb[2]=31;
    tabloMoisNb[3]=30;
    tabloMoisNb[4]=31;
    tabloMoisNb[5]=30;
    tabloMoisNb[6]=31;
    tabloMoisNb[7]=31;
    tabloMoisNb[8]=30;
    tabloMoisNb[9]=31;
    tabloMoisNb[10]=30;
    tabloMoisNb[11]=31;
    todayDate=new Date();
    CeJour=todayDate.getDay();
    MoisEnCours=todayDate.getMonth();
    thisdate=todayDate.getDate();
    thisyear=todayDate.getYear();
    thisyear = thisyear % 100;
    thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));
    if (((thisyear % 4 == 0)
    && !(thisyear % 100 == 0))
    ||(thisyear % 400 == 0)) tabloMois[1]++;
    startspaces=thisdate+1;
    while (startspaces > 7) startspaces-=7;
    startspaces = CeJour - startspaces +1;
    if (startspaces < 0) startspaces+=7;
    document.write("<FONT face=';verdana';>");<!--Font Face-->
    document.write("<table border=0 " );<!--Border size-->
    document.write("style=';font-size : 14px; color : &#35;ffffff; font-weight: bold;???????:???:???A??'; cellpadding=1 cellspacing=2>");<!--Border color, font size, cell padding, cellspacing and font color-->
    document.write("<tr><td align=center colspan=7><center>"
    + tabloMois[MoisEnCours] + " " + thisyear
    + "</center></td></tr>");
    document.write("<tr>");
    document.write("<td align=center><font color=&#35;76CBFF>一</td>");<!--une couleur par jour-->
    document.write("<td align=center><font color=&#35;76CBFF>二</td>")
    document.write("<td align=center><font color=&#35;76CBFF>三</td>");
    document.write("<td align=center><font color=&#35;76CBFF>四</td>");
    document.write("<td align=center><font color=&#35;76CBFF>五</td>");
    document.write("<td align=center><font color=&#35;76CBFF>六</td>");<!--Last color chage here-->
    document.write("<td align=center><font color=&#35;76CBFF>日</td>");
    document.write("</tr>");
    document.write("<tr>");
    for (s=0;s<startspaces;s++) {
    document.write("<td align=center>-</td>");
    }
    count=1;
    while (count <= tabloMoisNb[MoisEnCours]) {
    for (b = startspaces;b<7;b++) {
    linktrue=false;
    document.write("<td align=center>");
    for (c=0;c<tabloJour.length;c++) {
    if (tabloJour[c] != null) {
    if ((tabloJour[c][0]==MoisEnCours + 1) && (tabloJour[c][1]==count)) {
    document.write("<a href=\"" + tabloJour[c][2] + "\">");
    linktrue=true;
    }
    }
    }
    if (count==thisdate) {
    document.write("<span style=';background-color: rgb(0,0,0);border: 2px solid &#35;709070><font color=';&#35;ffffff';>");
    <!--couleur d ela date du jour-->
    }
    if (count <= tabloMoisNb[MoisEnCours]) {
    document.write(count);
    }
    else {
    document.write(" ");
    }
    if (count==thisdate) {
    document.write("</font>");
    }
    if (linktrue)
    document.write("</a>");
    document.write("</td>");
    count++;
    }
    document.write("</tr>");
    document.write("<tr>");
    startspaces=0;
    }
    document.write("</table>");
    document.write("</FONT>");
    </SCRIPT>
        </TD></TR>
      <TR></TR>
      <TR>
        <TD vAlign=center align=middle width="100%"><FONT face=Verdana
          size=+1><STRONG>
          <SCRIPT>
    document.write("<FONT style=';background-color: rgb(0,0,0);border: 1px solid &#35;76CBFF';><font color=';&#35;76CBFF'; size=';2';>");
    var clockid=new Array()
    var clockidoutside=new Array()
    var i_clock=-1
    var thistime= new Date()
    var hours=thistime.getHours()
    var minutes=thistime.getMinutes()
    var seconds=thistime.getSeconds()
    if (eval(hours) <10) {hours="0"+hours}
    if (eval(minutes) < 10) {minutes="0"+minutes}
    if (seconds < 10) {seconds="0"+seconds}
    var thistime = hours+":"+minutes+":"+seconds
    function writeclock() {
    i_clock++
    if (document.all || document.getElementById || document.layers) {
    clockid[i_clock]="clock"+i_clock
    document.write("<span id=';"+clockid[i_clock]+"'; style=';position:relative';>"+thistime+"</span>")
    }
    }
    function clockon() {
    thistime= new Date()
    hours=thistime.getHours()
    minutes=thistime.getMinutes()
    seconds=thistime.getSeconds()
    if (eval(hours) <10) {hours="0"+hours}
    if (eval(minutes) < 10) {minutes="0"+minutes}
    if (seconds < 10) {seconds="0"+seconds}
    thistime = hours+":"+minutes+":"+seconds
    if (document.all) {
    for (i=0;i<=clockid.length-1;i++) {
    var thisclock=eval(clockid)
    thisclock.innerHTML=thistime
    }
    }
    if (document.getElementById) {
    for (i=0;i<=clockid.length-1;i++) {
    document.getElementById(clockid).innerHTML=thistime
    }
    }
    var timer=setTimeout("clockon()",1000)
    }
    window.onload=clockon
        </SCRIPT>
          <SCRIPT>writeclock()</SCRIPT>
          <BR><BR></STRONG></FONT></TD></TR></TBODY></TABLE>
    <DIV id=calque
    style="Z-INDEX: 2; LEFT: 0px; WIDTH: 189px; POSITION: absolute; TOP: 0px; HEIGHT: 200px"><A
    href="http://www.celidia.cn/" target=_blank></A><A href="http://www.celidia.cn/"
    target=_blank><IMG height=222 alt=Celidia的闺苑
    src="pic/espace.gif" width=212 border=0></A></DIV>
    <SCRIPT language=javascript>
    <!--
    //Disable right mouse click Script
    //By Celidia (mail@celidia.cn) w/ mods by Celidia
    //For full source code, visit http://www.celidia.cn
    var message="Celidia的闺苑制作!";
    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }
    function clickNS4(e){
    if (document.layers||document.getElementById&&!document.all){
    if (e.which==2||e.which==3){
    alert(message);
    return false;
    }
    }
    }
    if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }
    document.oncontextmenu=new Function("alert(message);return false")
    // -->
    </SCRIPT>
    </BODY></HTML>
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2007-8-12 11:07 | 显示全部楼层

    这段代码是什么意思啊?

    按照2楼的说法,操作了一次,原来是一个日历
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2007-8-12 11:43 | 显示全部楼层

    这段代码是什么意思啊?

    呵呵。
    这个是阴风MM的强项。
    以后有这类问题,直接发短消息骚扰阴风吧。
    (本公子这厢有礼了。)
    回复 支持 反对

    使用道具 举报

    该用户从未签到

     楼主| 发表于 2007-8-12 15:18 | 显示全部楼层

    这段代码是什么意思啊?

    原来如此,真是太谢谢了,太感谢了,小妹给大家跪下了,我现在就去整个日历来,那又如何加密呢?
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    QQ|小黑屋|《唐诗宋词》网站 ( 苏ICP备2021032776号 )

    GMT+8, 2024-11-22 23:26 , Processed in 0.081839 second(s), 18 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表