<%Session.CodePage=65001%> BdeCMS网站后台管理登陆 <%call log_chk()%> <%if request("myact")="add" then dim thename,theOrd,thenote,picpath thename=trim(request("thename")) theOrd=trim(request("theOrd")) thenote=request("thenote") picpath=request("picpath") if thename<>"" then Set rs=Server.Createobject("Adodb.Recordset") sql="select * from nbclass where nb_name='"&thename&"'" rs.open sql,conn,1,3 if not rs.eof and not rs.bof then call backurl("该类名已存在") else rs.addnew rs("nb_name")=thename if theOrd<>"" then rs("nb_order")=theOrd end if rs("nb_note")=thenote rs("Fileurl")=picpath rs("nb_wtime")=now() rs.update rs.close set rs=nothing response.Redirect("NCMag.asp") end if else call backurl("类名不能为空!") end if end if %>
后台管理:>> 大类添加
类别添加
分类名称
排  序
类别简介
上传图片