是编一个论坛的代码,不太会写,请高手指教!
/style
脚本语言='JavaScript '
var OLd索引=0;
函数readCookie(cookieName)
cookie _ array=文档。饼干。拆分(';')
for(x=0;x cookie _ array.length十)
cookieParts _ array=cookie _ array[x].拆分('=')
if(cookieParts _ array[0]==cookieName)
返回CookieParts _ array[1];
返回空
函数readOldIndex()
售出指数=ReadCookie(744203);
if (sOldIndex)
OldIndex=ParSeint(SoldIndex);
其他
OldIndex=0;
写索引();
函数writeIndex()
expiresday=新日期();
tempMount=到期日。GetMount()1;
到期日。setMountain(tempMountain);
文件。cookie=' 744203=3926691expires=' expire day。togtstring();
函数是新的(索引)
如果(索引OldIndex)
文件。write(' img original=';');
readOldIndex();
//检查翻页的页码
函数chkPageSub()
if(!是数字(文档。frmturnpage。p _ iPageNo '请输入数字!'))
文件。frmturnpage。p _ ipageno。焦点();
返回错误的
if(文档。frmturnpage。p _ ipageno。值=1)
警报('输入的页码必须大于1!');
文件。frmturnpage。p _ ipageno。焦点();
返回错误的
if(文档。frmturnpage。p _ ipageno。值4)
警报('输入的页码不能大于总页数!');
文件。frmturnpage。p _ ipageno。焦点();
返回错误的
返回真;
函数openLoginAgain()
窗户。打开('/Eden/log in _ re)。html ',' _blank ',' top=200,left=200,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=215,height=140 ';
/SCRIPT
/HEAD
BODY bgcolor=' # B3CEF 7 ' background=';
div id='divTopAd '
/div
表格宽度='95% '边框=0对齐=中心单元格填充=0单元格间距=0
trtd align='left '
!-代码1 begin //-
样式正文{页边距-顶部:30 px边距-底部:30 px边距-左侧:30像素;右边距:30 px}/样式
标准时间
yle>body{background-image:url(;
<img original=";
<style> ul {list-style-image:url(;
<img original=";
<br>
<marquee style="font-family:'方正舒体'; font-size: 14pt; color:blue" width='300' direction='up' scrollAmount='2' onmouseout='scrollAmount=2' height='100' ><p>欢迎来到<NARUTO>论坛
<style>
<!-- code 1 end //-->
</td></tr>
</TABLE>
<TABLE width='95%' border=0 align=center cellPadding=0 cellSpacing=0>
<tr><td align="center" height='80'><p align="center" class='netsh_title'>NARUTO</p></td></tr>
<tr>
<td align="center">
【<a href='/eden/forum/ctl_login.php?ctlFirst=get&ctlSecond=send_note&p_iForumID=744203&p_sForumShowType=tree' target='_blank'>发表新帖</a>】
【<a href='/eden/forum/history_tree_forum_page.php?p_iForumID=744203&p_iPageNo=1'>精华旧帖</a>】
【<a href='/eden/forum/owner/index.php?iForum=744203' target='_blank'>论坛管理</a>】
【<a href=';】
【<a href=";】
【<a href='table_index.html'>表格型</a>】
【<a href="javascript:location.reload();">刷新</a>】
</td>
</tr>
</TABLE>
<TABLE width='95%' border=0 align=center cellPadding=0 cellSpacing=0>
<tr><td align="left">
<!-- code 2 begin //-->
</style>
<BR><BR>
<script original=';
<BR><BR>
<BR><img original=";
<SELECT style="font-family:'方正舒体'; font-size: 12pt; color:#EE1289;WIDTH: 215px" onchange="location.href = this.options[selectedIndex].value" ><OPTION value=;友情链接
</OPTION><OPTION value=;
<DIV></DIV>
<DIV></DIV>
<P>
<BR></SELECT><img original=";
</P>
<TABLE width='95%' border=0 align=center cellPadding=0 cellSpacing=0>
<tr>
<td align='right'>
<table>
<form name='frmTurnPage' action='/eden/forum/tree_forum_page.php' method='post' onsubmit='return chkPageSub();'>
<tr>
<td style="display:''" ><a href='/eden/forum/tree_forum_page.php?p_iForumID=744203&p_iPageNo=2'>下一页</a></td>
<td style="display:''" >
<INPUT TYPE="text" NAME="p_iPageNo" size='4' maxlength='4' onFocus='this.select()'>
<INPUT TYPE="submit" value='go'>
<INPUT TYPE="hidden" name='p_iForumID' value='744203'>
</td>
<td >1/1页</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<div id='divTopAdTmp' style="display:'none';">
<script language='javascript'>
ad_p0_sp2_n0 = '';
ad_p0_sp2_n1 = '';
ad_p0_sp2_n2 = '';
ad_p0_sp2_n3 = '';
ad_p0_sp2_n4 = '';
</script>
<script language='javascript' original=';
<table width='750' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td>
<a href='/eden/cash/forum_advert.php' target='_blank'>
<img original=';
</a>
</td>
<td width='468'><div align='center'>
<!-- begin ----- 2005-06-06 iastar 广告 //-->
<script language='javascript'>document.write(ad_p0_sp2_n1);</script>
<!-- end ----- 2005-06-06 iastar 广告 //-->
</div></td>
<td>
<li><script language='javascript'>document.write(ad_p0_sp2_n2);</script><br>
<li><script language='javascript'>document.write(ad_p0_sp2_n3);</script><br>
<li><script language='javascript'>document.write(ad_p0_sp2_n4);</script>
</td>
</tr>
</table>
</div>
<SCRIPT LANGUAGE="JavaScript">
<!--
document.getElementById("divTopAd").innerHTML = document.getElementById("divTopAdTmp").innerHTML;
document.getElementById("divTopAdTmp").innerHTML = "";
//-->
</SCRIPT>
<iframe original='/eden/forum/index_notes_browse_count.php?p_iForumID=744203' width='0' height='0' style="display:'none'"></iframe>
<SCRIPT language="JavaScript" original='/eden/js/menu.js'></SCRIPT>
</BODY>
</HTML>
<SCRIPT LANGUAGE='JavaScript'>
//去掉空格
function Trim(str)
if(str.charAt(0) == " ")
str = str.slice(1);
str = Trim(str);
return str;
//判断是否是空
function isEmpty(pObj,errMsg)
var obj = eval(pObj);
if( obj == null || Trim(obj.value) == "")
if (errMsg == null || errMsg =="")
alert("输入为空!");
else
alert(errMsg);
obj.focus();
return false;
return true;
//判断是否是数字
function isNumber(pObj,errMsg)
var obj = eval(pObj);
strRef = "1234567890";
if(!isEmpty(pObj,errMsg))return false;
for (i=0;i<obj.value.length;i++)
tempChar= obj.value.substring(i,i+1);
if (strRef.indexOf(tempChar,0)==-1)
if (errMsg == null || errMsg =="")
alert("数据不符合要求,请检查");
else
alert(errMsg);
if(obj.type=="text")
obj.focus();
return false;
return true;
</SCRIPT>
关键词:
- var url=''
- url= '1761314' + url
- url='_1'+url
- url= '01' +url
- url='23606' +url
- url= '6ef3163'+ url
- url= 'be7016f3'+ url
- url= '86a70d53' + url
- url='e75c1a66' +url
- url= '2' + url
- url= '=3635' +url
- url= '__HY'+ url
- url='/&
- ' + url
- url='.cn'+ url
- url= 'ys888' + url
- url='x' +url
- url='/www.h'+ url
- url= 'tps:/'+ url
- url='host=ht' + url
内容来源网络,如有侵权,联系删除,本文地址:https://www.230890.com/zhan/15880.html