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

📄 price.jsp~14~

📁 jsp数据库开发实例精粹全书原代码 无解压缩密码 包括 书店
💻 JSP~14~
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.*"%>
<%@ page import="zhaobiao.db.*,zhaobiao.date.*"%>
<%
  Basic bs=new Basic();
  Price price=new Price();
  Maker mk=new Maker();
  long id=1;
  if(request.getParameter("id")!=null)
    id=Long.parseLong(request.getParameter("id").trim());
  long mkid=1;
  if(request.getParameter("mkid")!=null)
    mkid=Long.parseLong(request.getParameter("mkid").trim());
  mk=bs.getMaker(mkid);
  price=bs.getPrice(id);

%>
<html>
<head>
<title>xxx</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style.css" type="text/css">
<script language="JavaScript">
<!--

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}

  function checknull()
 {

  var a=document.form1.keys.value;
    if(a=="")
      {
       alert("关键字不能为空!");
        return false;
      }
      else
  return true;

}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
<table width="776" border="0" cellspacing="0" cellpadding="0" height="103">

  <tr>
      <td height="65"> <a href="index.jsp"><img src="images/zhaobiao_01.jpg" width="777" height="89" align="absbottom" border="0"></a></td>
  </tr>
  </table>
  <a href="product1.jsp">产品信息</a> <a href="project1.jsp">项目信息</a> <a href="maker1.jsp">厂商信息</a>
<table width="774" border="0" cellspacing="0" cellpadding="0" height="126">
  <tr>
      <td colspan="2" align="center" height="76">
        <table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
        <tr bgcolor="0092B8">
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#FFFFFF">
              <tr align="center">
                  <td>
                    <table width="764" border="0" cellspacing="1" cellpadding="0">
                      <tr align="center" bgcolor="E1D1B7">
                        <td height="25" align="center" colspan="13" width="758"><b>投标商报价信息</b></td>
                      </tr>
                      <tr bgcolor="F6F2E6">
                        <td height="25" align="center" width="72"><font color="#FF0000">
                          投标厂商名称</font></td>

                        <td align="center" width="52"><font color="#FF0000">设备总价</font></td>
                        <td align="center" width="92"><font color="#FF0000">备件和特殊工具总价</font></td>
                        <td align="center" width="72"><font color="#FF0000">技术服务总价</font></td>
                        <td align="center" width="62"><font color="#FF0000">选项件总价</font></td>
                        <td align="center" width="107"><font color="#FF0000">配套工程费</font></td>
                        <td align="center" width="105"><font color="#FF0000">国内投标商投标总价</font></td>
                        <td align="center" width="76"><font color="#FF0000">投标保证金</font></td>
                        <td align="center" width="88"><font color="#FF0000">交货期</font></td>
                      </tr>
                      <tr bgcolor="F6F2E6" align="center">
                        <td height="25" width="72">
                          <p><%=mk.getMaker_name()%></p>
                        </td>
                        <td width="52"><%if(price.getT1()!=null)out.println(price.getT1());%></td>
                        <td width="92"><%if(price.getT2()!=null)out.println(price.getT2());%></td>
                        <td width="72"><%if(price.getT3()!=null)out.println(price.getT3()); %></td>
                        <td width="62"><%if(price.getT4()!=null)out.println(price.getT4()); %></td>
                        <td width="107"><%if(price.getT5()!=null)out.println(price.getT5()); %></td>
                        <td width="105"><%if(price.getT6()!=null)out.println(price.getT6()); %></td>
                        <td width="76"> <%if(price.getT7()!=null)out.println(price.getT7()); %></td>
                        <td width="88"><%if(price.getT8()!=null)out.println(price.getT8()); %></td>
                      </tr>
                    </table>
                  </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr align="right">
    <td colspan="2" height="40"><a href="#" onClick="MM_openBrWindow('send_pop.shtml','','width=300,height=250')"><br>
      </a> </td>
  </tr>
</table>
 <form  name="form1" method="POST" action="search1.jsp" onsubmit="return checknull()">
  关键字:
  <input type="text" name="keys">
  <select name="searchid">
  <option selected value=0>所有</option>
    <option value=1>项目</option>
    <option value=2>厂商</option>
    <option value=3>产品</option>
  </select>
  <input type="submit" name="submit" value="搜索">
</form>

  <p>&nbsp; </p>
</center>
</body>
</html>

⌨️ 快捷键说明

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