- 论坛徽章:
- 0
|
<script LANGUAGE="javascript">
<!--
var onecount;
onecount=0;
var j;
subcat = new Array();
<%
strsql="select BBS_Cate_ID,BBS_Cate_PID,BBS_Cate_Name from BBS_Cate where BBS_Cate_PID<>'0' order by BBS_ID asc"
set rsr_BBS_Cate=server.createobject("adodb.recordset")
rsr_BBS_Cate.open strsql,conn,3,1
j=0
do while not rsr_BBS_Cate.eof
%>
subcat[<%=j%>] = new Array("<%=rsr_BBS_Cate("BBS_Cate_Name")%>","<%=rsr_BBS_Cate("BBS_Cate_PID")%>","<%=rsr_BBS_Cate("BBS_Cate_ID")%>");
<%
j=j+1
rsr_BBS_Cate.movenext
loop
rsr_BBS_Cate.close
set rsr_BBS_Cate=nothing
%>
onecount=<%=j%>;
function changelocation(locationid)
{
document.myform.BoardID_2.length = 0;
var locationid=locationid;
var i;
document.myform.BoardID_2.options[0] = new Option('==分论坛==','');
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.myform.BoardID_2.options[document.myform.BoardID_2.length] = new Option(subcat[i][0], subcat[i][2]);
}
}
}
//-->
</script>
<script language="javascript">
function popwin2(id)
{ window.open("clubuser_detailed.asp?clubuser_id="+id,"","height=450,width=600,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
}
</script>
<div align="center"><center>
<script language="javascript">
<!--
function check(form)
{
if (form.content.value=="")
{
alert("删除内容未填写!");
form.content.focus();
return false;
}
return true;
}
//-->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--//分页显示
function openpage(pagenum)
{
window.location.href="<%=request.servervariables("script_name")%>?page="+pagenum+"&searchmethod=<%=searchmethod%>&searchcontent=<%=searchcontent%>&searchkind=<%=searchkind%>&BoardID_1=<%=BoardID_1%>&BoardID_2=<%=BoardID_2%>";
}
//--> |
|