tmpfile.js
来自「胜天购物销售系统前台购买特征: 时代购物系统前台购物车部分界面友好」· JavaScript 代码 · 共 30 行
JS
30 行
//document.write ('if IsVote=1 then');
//document.write (' Dim vrs,vote,vote_1,votenum,votenum_1,m,g,votetype');
//document.write (' Dim vurs,voteyes');
//document.write (' voteyes=0');
//document.write (' g=0');
//document.write (' sql="select * from vote where VoteID="&PollID');
//document.write (' set vrs=server.createobject("adodb.recordset")');
//document.write (' vrs.open sql,conn,1,1');
//document.write (' if not (vrs.eof and vrs.bof) then');
//document.write (' voteyes=1');
document.write ('<table cellspacing=1 cellpadding=3 align=center class=tableborder1 style="table-layout:fixed;word-break:break-all">');
document.write ('<tr><th align=left colspan=2 height=25>[投票]:"&Topic_1&"</th></tr><form action=postvote.asp?BoardID="&BoardID&"&voteID="&PollID&"&id="&Announceid&"&action="&vrs("votetype")&" method=POST>');
//document.write (' vote=split(vrs("vote"),"|")');
//document.write (' votenum=split(vrs("votenum"),"|")');
//document.write (' for i = 0 to ubound(votenum)');
//document.write (' votenum_1=cint(votenum_1)+votenum(i)');
//document.write (' next');
//document.write (' if votenum_1=0 then votenum_1=1');
//document.write (' for m = 0 to ubound(vote)');
//document.write (' g=g+1');
//document.write (' if g=11 then g=1');
//document.write (' if cint(vrs("votetype"))=0 then');
//document.write (' votetype="<input type=radio name=postvote value="""&m&""">"');
//document.write (' else');
//document.write (' votetype="<input type=checkbox name=postvote_"&m&" value="""&m&""">"');
//document.write (' end if');
document.write ('<tr><td width="60%" height=25 class=tablebody1>"&m+1&". "&votetype & htmlencode(vote(m))&"</td><td width=""40%"" class=tablebody1><img src="&Forum_info(7)&"bar"&g&".gif width="&Cint(replace(FormatPercent(votenum(m)/votenum_1),"%",""))*3.3&" height=8> <b>"&votenum(m)&"票</b></td></tr>');
//document.write (' next');
//document.write (' if not founduser or datediff("d",vrs("timeout"),Now())>0 then');
document.write ('<tr><td class=tablebody2 colspan=2 height=25>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?