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

📄 build.asp

📁 这是一本关于高级软件工程的书籍
💻 ASP
字号:
<!-- #include file="../inc/conn.asp" -->
<!-- #include file="../inc/function.asp" -->
<%
	if session("Sname") = "" then
%>
	<SCRIPT language="javascript">
	{
		window.alert("您还没有登陆系统!");
		window.location="default.asp";
	}
	</SCRIPT>
<%
		response.end
	end if
%>
<%
	sql = "SELECT pid FROM goods WHERE (isopen = '1') order by id"
	rs.open sql,conn
	str = ""
	do while not rs.eof 
		str = str& "<option value='"&rs("pid")&"'>"&rs("pid")&"</option>"
		rs.movenext
	loop
	rs.close
%>
<%
	stat = request("stat")
	if stat <> "" then
		isbuild = "<font color=red><b>文件已生成!</b></font>"
	end if
%>
<html>
<head>
<LINK href="../inc/newdef.css" rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<style type="text/css">
<!--
.STYLE1 {font-weight: bold}
-->
</style>
</head>

<body bgcolor=#6696bc link=#000000 vlink=#000000 text=#000000 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- #include file="../inc/head.asp" -->
<hr>
<form name="form1" method="post" action="buildok.asp">
  <table width="500" border="1" align="center">
    <tr>
      <td colspan="2"><div align="center"><strong>首页产品维护</strong></div></td>
    </tr>
	<%if stat <> "" then%>
    <tr>
      <td colspan="2"><div align="center"><%=isbuild%></div></td>
    </tr>
	<%end if%>
    <tr>
      <td width="245" height="35"><label>
        <select name="pic1">
		<%response.write str%>
        </select>
      </label></td>
      <td width="245" height="35"><select name="pic6" id="pic6">
	  <%response.write str%>
      </select></td>
    </tr>
    <tr>
      <td height="35"><select name="pic2" id="pic2">
	  <%response.write str%>
      </select></td>
      <td height="35"><select name="pic7" id="pic7">
	  <%response.write str%>
      </select></td>
    </tr>
    <tr>
      <td height="35"><select name="pic3" id="pic3">
        <%response.write str%>
      </select></td>
      <td height="35"><select name="pic8" id="pic8">
	  <%response.write str%>
      </select></td>
    </tr>
    <tr>
      <td height="35"><select name="pic4" id="pic4">
	  <%response.write str%>
      </select></td>
      <td height="35"><select name="pic9" id="pic9">
	  <%response.write str%>
      </select></td>
    </tr>
    <tr>
      <td height="35"><select name="pic5" id="pic5">
	  <%response.write str%>
      </select></td>
      <td height="35">&nbsp;</td>
    </tr>
    <tr>
      <td height="35" colspan="2"><div align="center">
        <label>
        <input type="submit" name="Submit" value="生成">
        </label>
      </div></td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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