⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adminjs_body.asp

📁 这是一个asp的“www.vqqq.com网页特效”系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
      </table>
      <%end if
end if%>
      <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center" class="chinese">
        <form name="form1" method="post" action="admin_js.asp?action=js&jscat_id=<%=request.querystring("jscat_id")%>">
          <tr> 
            <td align="right"> <%=currentpage%> /<%=totalpages%>页,<%=totaljs%>条记录/<%=jsperpage%>篇每页. 
              <%
i=1
showye=totalpages
if showye>10 then
showye=10
end if
for i=1 to showye
if i=currentpage then
%>
              <%=i%> 
              <%else%>
              <a href="admin_js.asp?action=js&page=<%=i%>&jscat_id=<%=request.querystring("jscat_id")%>"><%=i%></a> 
              <%end if
next
if totalpages>currentpage then
if request("page")="" then
page=1
else
page=request("page")+1
end if%>
              <a href="admin_js.asp?action=js&page=<%=page%>&jscat_id=<%=request.querystring("jscat_id")%>" title="下一页">>></a> 
              <%end if%>
              &nbsp;&nbsp;&nbsp;&nbsp; 
              <input type="text" name="page" class="textarea" size="4">
              <input type="submit" name="Submit" value="Go" class="button">
            </td>
          </tr>
        </form>
      </table>
      <br>
	  <%end if
	  if request.querystring("action")="newjs" then%>
      <table width="98%" border="1" cellspacing="0" cellpadding="4" bordercolor="#C0C0C0" style="border-collapse: collapse">
        <form name="form2" method="post" action="">
          <tr> 
            <td colspan="2" class="diaryhead">
            <font color="#333333">新增特效</font></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">特效名称</td>
            <td class="chinese" width="83%"> 
              <input type="text" name="name" class="textarea" size="40">
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">所属分类</td>
            <td class="chinese" width="83%"> 
              <select name="jscatid" class="textarea">
<%
sql="select * from script_type"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
do while not rs.eof%><option value="<%=rs("id")%>"><%=rs("type")%></option>
<%rs.movenext
loop
if rs.eof and rs.bof then%><option value="0">当前没有分类</option>
<%end if%>
              </select>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">特效添加者</td>
            <td class="chinese" width="83%"> 
              <input type="text" name="url" class="textarea" size="60" value="www.vqqq.com">
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">特效代码</td>
            <td class="chinese" width="83%"> 
              <textarea name="desc" class="textarea" cols="65" rows="6">特效版权归特效本人所有,未经同意不得转载(vqqq.com)!</textarea>
            </td>
          </tr>
          <tr bgcolor="#E8E8E8" align="center"> 
            <td colspan="2" height="30" class="chinese" bgcolor="#F5F5F5"> 
              <input type="checkbox" name="isbest" value="1" class="textarea">
              59r.com推荐&nbsp;&nbsp;&nbsp; 
              <input type="submit" name="Submit" value="确定新增" class="button">
              <input type="reset" name="Reset" value="清空重填" class="button">
              [<a href="admin_js.asp?action=js">返回</a>] </td>
          </tr>
		  <input type="hidden" name="action" value="newjs">
		<input type="hidden" name="MM_insert" value="true">
        </form>
      </table>
      <%end if
	  if request.QueryString("action")="editjs" then
	  if request.querystring("id")="" then
  errmsg=errmsg+"<br>"+"<li>请指定操作的对象!"
  call diserror()
  response.end
else
  if not isinteger(request.querystring("id")) then
    errmsg=errmsg+"<br>"+"<li>非法的ID参数!"
	call diserror()
	response.end
  end if
end if
sql="select * from script_body where id="&cint(request.querystring("id"))
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1%>
      <table width="98%" border="1" cellspacing="0" cellpadding="4" bordercolor="#C0C0C0" style="border-collapse: collapse">
        <form name="form2" method="post" action="">
          <tr> 
            <td colspan="2" class="diaryhead">
            <font color="#333333">修改特效</font></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">特效名称</td>
            <td class="chinese" width="83%"> 
              <input name="name" type="text" class="textarea" id="name" size="40" value="<%=rs("title")%>">
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">所属分类</td>
            <td class="chinese" width="83%"> 
              <select name="jscatid" class="textarea" id="jscatid">
                <%
sql="select * from script_type"
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,1,1
do while not rs2.eof%>
                <option value="<%=rs2("id")%>" <%if rs2("id")=rs("id") then response.write "selected" end if%>><%=rs2("type")%></option>
                <%rs2.movenext
loop
if rs2.eof and rs2.bof then%>
                <option value="0">当前没有分类</option>
                <%end if%>
              </select>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">特效添加者</td>
            <td class="chinese" width="83%"> 
              <input name="url" type="text" class="textarea" id="url" size="60" value="<%=rs("js_url")%>">
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">特效代码</td>
            <td class="chinese" width="83%"> 
              <textarea name="desc" cols="65" rows="6" class="textarea" id="desc"><%=rs("text")%></textarea>
            </td>
          </tr>
          <tr bgcolor="#E8E8E8" align="center"> 
            <td colspan="2" height="30" class="chinese" bgcolor="#F5F5F5"> <input name="isbest" type="checkbox" class="textarea" id="isbest" value="1" <%if rs("isbest")=1 then response.write "checked" end if%>>
              59r.com推荐
              <input name="Submit" type="submit" class="button" id="Submit" value="确定修改"> 
              <input type="reset" name="Reset" value="清空重填" class="button">
              [<a href="admin_js.asp?action=js">返回</a>] </td>
          </tr>
		  <input type="hidden" name="id" value="<%=rs("id")%>">
          <input type="hidden" name="action" value="editjs">
          <input type="hidden" name="MM_insert" value="true">
        </form>
      </table>
	  <%end if
	  if request.QueryString("action")="deljs" then
	  if request.querystring("id")="" then
  errmsg=errmsg+"<br>"+"<li>请指定操作的对象!"
  call diserror()
  response.end
else
  if not isinteger(request.querystring("id")) then
    errmsg=errmsg+"<br>"+"<li>非法的ID参数!"
	call diserror()
	response.end
  end if
end if
sql="select script_type.type,* from script_type,script_body where script_body.id="&cint(request.querystring("id"))&""
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1%>
      <table width="98%" border="1" cellspacing="0" cellpadding="4" bordercolor="#C0C0C0" style="border-collapse: collapse">
        <form name="form2" method="post" action="">
          <tr> 
            <td colspan="2" class="diaryhead">
            <font color="#333333">删除特效</font></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">特效名称</td>
            <td class="chinese" width="83%"> <%=rs("title")%>  </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td class="chinese" width="17%">所属分类</td>
            <td class="chinese" width="83%"> 
                <%
sql="select * from script_type where id="&rs("type")
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,1,1
%><%=rs2("title")%>  </td>
          </tr>
          <tr bgcolor="#E8E8E8" align="center"> 
            <td colspan="2" height="30" class="chinese" bgcolor="#F5F5F5"> 
              <input name="isbest" type="checkbox" class="textarea" id="isbest" value="1" <%if rs("isbest")=1 then response.write "checked" end if%>>
              59r.com推荐 
              <input name="Submit" type="submit" class="button" id="Submit" value="确定删除">
              [<a href="admin_js.asp?action=js">返回</a>] </td>
          </tr>
          <input type="hidden" name="id" value="<%=rs("id")%>">
          <input type="hidden" name="action" value="deljs">
          <input type="hidden" name="MM_insert" value="true">
        </form>
      </table>
	  <%end if%>
      <br>
    </td>
  </tr>
</table>
<%
end sub%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -