Microsoft VBScript 运行时错误 错误 '800a000d'

Microsoft VBScript 运行时错误 错误 '800a000d',第1张

下面是全部代码....希望有高手解答..

_______________________________

<%

if session("admin")="" then

response.redirect "admin.asp"

else

if session("flag")>2 then

response.write "<br><p align=center>您没有操作的权限</p>"

response.end

end if

end if

ClassID=Request("ClassID")

%>

<html>

<head>

<meta http-equiv="Content-Type" content="text/htmlcharset=gb2312">

<title>1 2 3</title>

<meta name="GENERATOR" content="Microsoft FrontPage 3.0">

<link rel="stylesheet" type="text/css" href="admin.css">

<SCRIPT language=JavaScript>

<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features)

}

//-->

</SCRIPT>

</head>

<BODY leftmargin="0" bottommargin="0" rightmargin="0" topmargin="0" marginheight="0" marginwidth="0">

<!--#include file="inc/link.asp"-->

<%

txtitle=request("txtitle")

if not isempty(request("page")) then

currentPage=cint(request("page"))

else

currentPage=1

end if

if not isempty(request("selAnnounce")) then

idlist=request("selAnnounce")

if instr(idlist,",")>0 then

dim idarr

idArr=split(idlist)

dim id

for i = 0 to ubound(idarr)

id=clng(idarr(i))

call deleteannounce(id)

next

else

call deleteannounce(clng(idlist))

end if

end if

dim sql

dim rs

%>

<div align="center">

<br>

<table border="0" width="95%" cellspacing="0" cellpadding="0">

<tr>

<td width="100%">

<div align="center"> </div>

<form name="searchsoft" method="POST" action="cp_mana.asp">

查找相关:

<input class=smallInput type="text" name="txtitle" size="13"> <input type="submit" value="查 询" name="title" class=buttonface> <select class="smallSel" name="classid" size="1" onchange="javascript:location.href('cp_mana.asp?classid='+this.value)"><option value=0>===选择您想查看的类别===</option><option value=0>┣查看所有产品信息</option><%men1 0,1%></select>

 

</form>

<form method=Post action="cp_mana.asp?ClassID=<%=ClassID%>">

<div align="center">

<%

ClassID = 0

if request("txtitle")<>"" then

sql="select * from Product Where namesv like '%"&trim(request("txtitle"))&"%' or content like '%"&trim(request("txtitle"))&"%' order by id desc"

elseif not(isnull(request("classid"))) and request("classid")<>0 then

classid=request("classid")

sql="select * from Product Where"

ClassIDz=split(men2(classid),",")

for i = 1 to ubound(ClassIDz)

If i = 1 then

sql = sql &" ClassID="&ClassIDz(i)&""

Else

sql = sql &" or ClassID="&ClassIDz(i)&""

End if

next

sql= sql &" order by ID desc"

else

sql="select * from Product order by ID desc"

end if

Set rs= Server.CreateObject("ADODB.Recordset")

Set rs1= Server.CreateObject("ADODB.Recordset")

rs.open sql,conn,1,1

if rs.eof and rs.bof then

response.write "<p align='center'>还 没 有 任 何 产 品 </p>"

else

totalPut=rs.recordcount

if currentpage<1 then

currentpage=1

end if

if (currentpage-1)*MaxPerPage>totalput then

if (totalPut mod MaxPerPage)=0 then

currentpage= totalPut \ MaxPerPage

else

currentpage= totalPut \ MaxPerPage + 1

end if

end if

if currentPage=1 then

showpage totalput,MaxPerPage,"cp_mana.asp"

showContent

showpage totalput,MaxPerPage,"cp_mana.asp"

else

if (currentPage-1)*MaxPerPage<totalPut then

rs.move (currentPage-1)*MaxPerPage

dim bookmark

bookmark=rs.bookmark

showpage totalput,MaxPerPage,"cp_mana.asp"

showContent

showpage totalput,MaxPerPage,"cp_mana.asp"

else

currentPage=1

showpage totalput,MaxPerPage,"cp_mana.asp"

showContent

showpage totalput,MaxPerPage,"cp_mana.asp"

end if

end if

rs.close

end if

set rs=nothing

conn.close

set conn=nothing

sub showContent

dim i

i=0

%>

<div align="center">

<table cellpadding="2" cellspacing="1" border="0" width="100%" class="tableBorder" align=center>

<tr>

<th align=left colspan=6 height=23>修改删除管理</th>

</tr>

<tr>

<td width="50" align="center" height="20" class="forumRow"><strong>ID</strong></td>

<td height="20" align="center" class="forumRow"><strong>名称</strong></td>

<td width="150" align="center" class="forumRow"><strong>产品规格</strong></td>

<td width="150" height="20" align="center" class="forumRow"><b>类别</b></td>

<td width="50" align="center" class="forumRow"><strong>留言</strong></td>

<td width="70" height="20" align="center" class="forumRow">

<input type='submit' class=buttonface value='删 除'>

</td>

</tr><%

dim rsRev,sqlRev,NumberT

set rsRev=server.createobject("adodb.recordset")%>

<%do while not rs.eof%>

<%ID=rs("ID")%>

<%

sqlRev = "select Product_ID from Product_Revert Where Product_ID="&rs("ID")

rsRev.open sqlRev,conn,1,1

NumberT=rsRev.recordcount

rsRev.close

%>

<tr>

<td height="20" class="forumRow">

<p align="center"><%=rs("ID")%>

</td>

<td height="20" class="forumRow"><a href="cp_edit.asp?ID=<%=rs("ID")%>&ClassID=<%=rs("ClassID")%>" title="点击编辑"><%=rs("namesv")%>

</a></td>

<td height="20" align="center" nowrap class="forumRow"><a href="cp_edit.asp?ID=<%=rs("ID")%>&ClassID=<%=rs("ClassID")%>" title="点击编辑"><%=rs("Model")%></a></td>

<td height="20" align="center" nowrap class="forumRow"><a href="cp_mana.asp?classid=<%=rs("classid")%>">

<%Men(rs("classid"))%></a></td>

<td height="20" align="center" class="forumRow"><a href="cp_1mana.asp?id=<%=rs("id")%>&classid=<%=rs("classid")%>"><%=NumberT%></a></td>

<td height="20" class="forumRow">

<p align="center">

<input type='checkbox' name='selAnnounce' value='<%=cstr(rs("ID"))%>'>

</td>

</tr>

<%

i=i+1

if i>=MaxPerPage then exit do

rs.movenext

loop

%>

</table>

</div>

<%

end sub

Function men1(ClassID,up)

Set rsz = conn.execute("select * from ProductClass Where LoID="&ClassID)

If rsz.EOF And rsz.BOF Then

Response.Write ""

Else

While Not rsz.EOF

if classid=cstr(rsz("classid")) then

sel="selected"

else

sel=""

end if

Vcd = ""

For i = 1 to up

if i = up then

If Rsz("LoID")=0 then

Vcd = "⊙" + Vcd

Else

Vcd = "┣" + Vcd

End if

Else

Vcd = "━" + vcd

End if

Next

If rsz("ClassName")="T" Then

Dc = "T(铁质)"

ElseIf rsz("ClassName")="C" Then

Dc = "C(铸钢)"

ElseIf rsz("ClassName")="P" Then

Dc = "P(不锈钢)"

ElseIf rsz("ClassName")="W" Then

Dc = "W(铜质)"

ElseIf rsz("ClassName")="K" Then

Dc = "K(球墨铸铁)"

Else

Dc = rsz("ClassName")

End if

ChildCount = conn.Execute("select count(*) from ProductClass where LoID="&rsz("ClassID"))(0)

response.write "<option " &sel &" value='"+CStr(rsz("classID"))+"' name=classid>"+Vcd+Dc+"</option>"+chr(13)+chr(10)

If ChildCount>0 Then

men1 rsz("ClassID"),up+1

End If

rsz.movenext

Wend

End if

rsz.Close:Set rsz=Nothing

End Function

Function Men(classid)

set rsv=conn.execute("select * from ProductClass where classid="&classid)

If rsv("LoID") <>0 then Men(rsv("LoID"))

Response.Write rsv("classname")

rsv.close:set rsv=nothing

End Function

Function men2(ClassID)

ZZ = ""

Set rsz = conn.execute("select * from ProductClass Where LoID="&ClassID)

If not(rsz.EOF And rsz.BOF) Then

While Not rsz.EOF

ZZ = ZZ &men2(rsz("ClassID"))

rsz.movenext

Wend

End if

men2 = ZZ &"," &ClassID

rsz.Close:Set rsz=Nothing

End Function

function showpage(totalnumber,maxperpage,filename)

dim n

if totalnumber mod maxperpage=0 then

n= totalnumber \ maxperpage

else

n= totalnumber \ maxperpage+1

end if

response.write "<br> "

if CurrentPage<2 then

response.write "<font color='#000080'>首页 上一页</font> "

else

response.write "<a href="&filename&"?page=1&ClassID="&ClassID&"txtitle="&txtitle&">首页</a> "

response.write "<a href="&filename&"?page="&CurrentPage-1&"&ClassID="&ClassID&"&txtitle="&txtitle&">上一页</a> "

end if

if n-currentpage<1 then

response.write "<font color='#000080'>下一页 尾页</font>"

else

response.write "<a href="&filename&"?page="&(CurrentPage+1)&"&ClassID="&ClassID&"&txtitle="&txtitle&">"

response.write "下一页</a><a href="&filename&"?page="&n&"&ClassID="&ClassID&"&txtitle="&txtitle&">尾页</a>"

end if

response.write "<font color='#000080'> 页次:</font><strong><font color=red>"&CurrentPage&"</font><font color='#000080'>/"&n&"</strong>页</font>"

response.write "<font color='#000080'> 共<b>"&totalnumber&"</b>篇 <b>"&maxperpage&"</b>篇/页</font><br><br>"

end function

sub deleteannounce(id)

sql="delete from Product where ID="&cstr(id)

conn.execute sql

sql="delete from Product_Revert where Product_ID="&cstr(id)

conn.execute sql

if err.Number<>0 then

err.clear

response.write "删 除 失 败 !<br>"

else

response.write "操作成功!<br>"

end if

End sub

%>

</div></form></td>

</tr>

</table>

</div>

</body>

</html>

______________________

楼下的,还是不行呢.晕

回答者:zwb001

1.中医学认为,引起腰酸腰痛的原因是腰部感受寒湿、出汗较多、被雨淋湿或长期从事姿式固定(如弯腰、久坐、久站等)的工作,致使气血运行不畅而引起腰酸腰痛。平素身体虚弱或年老体衰,房事过度,引起肾脏精血亏损也可致腰酸腰痛。应用中医中药辩证治疗本病的效果较好。

2.*寒湿腰痛:腰部自觉发冷、疼痛、活动不便,腰痛逐渐加重,遇阴雨天疼痛加剧。可用甘姜苓术汤治疗。

3.*湿热腰痛:腰部疼痛伴有热感,下雨天腰痛加重,或见肢体关节红肿,口渴心烦。可用加味二妙散治疗。

4.*湿痰腰痛:腰部冷痛沉重,并影响后背及胸部,阴雨天加重或伴腹泻。可用龟樗丸治疗。

5.*风寒腰痛:腰痛牵连脊背或下肢,或有发热怕冷感,腰部觉冷。常用人参败毒散治疗。

6.*风热腰痛:腰痛伴有热感,小便黄,或发热、口干渴,咽喉红肿。常用小柴胡汤加减治疗。

7.*风湿腰痛:腰背发紧、酸痛,活动不利或发热怕风;或伴颜面及四肢浮肿。常用独活寄生汤治疗。

8.*肾虚腰痛:腰痛腰酸,按柔后减轻,下肢无力,运动后腰酸加重,休息后减轻,常反复发作。常用青娥丸加减治疗。

9.*脾湿腰痛:腰痛沉重,面色黄白,食欲减退、伴腹泻。常用平胃散加减来治疗。

10.*肝郁腰痛:腰痛牵连胸胁,似有气在走窜,不能久立行走。常用天台乌药散治疗。

11.*瘀血腰痛:有针刺样腰痛,痛处固定,疼痛时不能转身,白天轻、夜晚重。常用活络效灵丹加味来治疗。

12.治疗肾虚腰痛还可采用熨法治疗,用肉桂30克,吴茱荑90克,生姜120克,葱头30克,花椒60克,一起炒热,用布包裹熨痛处。腰酸腰痛还可用推拿法、针灸、拔罐、热敷、按摩等方法来治疗。

13.在预防腰痛方面,应避免坐或躺在潮湿的地方,若被雨淋或大量出汗后应立即换衣擦身,或服用生姜红糖茶,以便发散风寒成寒湿。避免夜宿室外。若发生急性腰痛,应及时治疗,适当休息。慢性腰痛患者除坚持药物治疗外,应保护腰部不受损伤、注意保暧及姿势正确。腰痛伴有水肿者,应限制盐和水份的摄入。长期坚持做保健操、气功、太极拳等运动,有益于腰部的健康,对预防和治疗腰痛都是很有效的方法。


欢迎分享,转载请注明来源:优选云

原文地址:https://54852.com/hy/1126918.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-09-03
下一篇2023-09-03

随机推荐

  • 几款万人好评的亮肤淡斑精华|原来这么好用,让你的肌肤紧致嫩白

    在现代都市中,我们的肌肤经历的压力是非常大的,灰尘、紫外线、工作压力等等都可能影响我们的肌肤健康。脸上的雀斑、斑点、暗黄等问题都是我们经常遇到的。然而,我们不需要太担心,因为市面上有很多优秀的亮肤淡斑精华产品,它们能够有效改善我们的肤色,给

    2023-12-14
    47600
  • 哪种眼霜对治疗黑眼圈比较有效,而且还能补水。此外,请注明价格。谢谢!

    很多品牌都有针对黑眼圈的眼霜,但黑眼圈也分很多种,你要选对住要针对你那种黑眼圈的眼霜才有效果,据我所知,丸美有三款针对对黑眼圈的眼霜,价格分别是,160240368。建议买眼霜一定要现场试用,感觉它的吸收和质地。;     丸美下有很多

    2023-12-14
    15900
  • 资生堂悠莱官网旗舰店,资生堂悠莱适合年龄

    说到日本的护肤品,不得不说资生堂。当然资生堂旗下也有一些子品牌,比如悠莱,同样也比较受欢迎。有些女性朋友没有用过悠莱,想知道悠莱适合哪个年龄段。下面给大家详细介绍资生堂悠莱官网旗舰店,资生堂悠莱适合年龄。资生堂悠莱官网旗舰店网上是没有的,要

    2023-12-14
    8600
  • 眼霜去黑眼圈淡化细纹

    眼霜去黑眼圈淡化细纹眼霜去黑眼圈淡化细纹,黑眼圈是我们生活中很常见的,当然导致黑眼圈出现的原因也有很多种,想要消除缓解黑眼圈也是有很多方法可以选择的,以下眼霜去黑眼圈淡化细纹。眼霜去黑眼圈淡化细

    2023-12-14
    8900
  • 雅诗兰黛精华和珂莉安哪个好

    雅诗兰黛的好。雅诗兰黛精华液对肌肤有一定的滋润功效,它里面含有丰富的水分,可以让肌肤变得清透润滑,雅诗兰黛精华液质地虽然比水要黏稠一些,但经过涂抹后,一点也不油腻,它的精华成分还能很快被肌肤吸收。珂莉安主要是一个针对于过敏性肌肤使用的护肤品

    2023-12-14
    9100
  • 繁花养肤,让肌肤更美

    阳光越来越灿烂,夏天越来越近。记得有一句话是愿如夏花之灿烂,花朵绚烂,不只能看,还能护肤。这次想分享主打花朵精萃的护肤产品。分享的产品有: 1欧舒丹蜡菊活颜精华保湿水; 2美素 瑰蜜凝颜娇嫩滋养蜜露; 3双妹雪白晶

    2023-12-14
    8700
  • 植物医生怎么样

    在文章开头我们已经了解到植物医生的产品价格非常实惠,而且受众非常广泛,从顾客反馈的情况来看植物医生的化妆品也是非常受欢迎的,而且顾客的回购率非常高。现在我们可以通过多种渠道来购买植物医生的护肤品,大家可以在各大网络旗舰店购买,当然也可以在线

    2023-12-14
    8500
  • 我是女孩想直播化妆品 又怕囤货了卖不出去怎么办 好纠结

    您好,我的建议是 尝试一下,没有什么可纠结的。女孩想直播化妆品,挺好的,也是适合的呢。不要有那么多的顾虑,不要怕囤货卖不出去,你不试一下,怎么知道你的能力呢?不用纠结了,可以一点点尝试着来。目前市场上的主流直播平台直播护肤品提成比例是10%

    2023-12-14
    8300
  • 婷美小屋的绿豆泥面膜和粉泥有什么区别

    绿豆泥面膜和粉泥都是婷美小屋面膜中的泥膜。区别在于:婷美小屋的绿豆泥主要成分是绿豆精萃,能够改善多余油脂分泌,长效控油,嫩滑肌肤,建议多用在T区。婷美小屋的粉泥含有玫瑰精萃,提亮匀亮肤色,粉嫩肌肤,可以多用在脸颊。扩展资料:婷美小屋的绿豆泥

    2023-12-14
    8400

发表评论

登录后才能评论
保存