📄 enquiry.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="com.base.config.ProjectConfig"%>
<%@ page import="com.base.db.DBConnectionManager"%>
<%@ page import="com.base.db.DBConnectorBase"%>
<%@ page import="com.bean.AttachInfo"%>
<%@ page import="com.bean.SaleInfo" %>
<%@ page import="java.util.Vector" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
if (session.getAttribute("SESSION_USER_ID") == null || session.getAttribute("SESSION_USER_NAME")==null)
{
response.sendRedirect("/crm/");
}
Vector resultlist = new Vector();
String sale_idx="",sale_name="",sale_price="",sale_addr="",sale_pict="/upload/default.gif";
if(request.getParameter("sale_id")!=null){
sale_idx=request.getParameter("sale_id");
}
DBConnectorBase conn = DBConnectionManager.getInstance().getConnection(ProjectConfig.DBTITLE);
SaleInfo sale=new SaleInfo();
SaleInfo saleInfo=sale.getSaleInfoById(conn,sale_idx);
if(saleInfo!=null){
if(saleInfo.title !=null){
sale_name=saleInfo.title;
}
if(saleInfo.sale_price!=null){
sale_price=saleInfo.sale_price;
}
if(saleInfo.sale_addr!=null){
sale_addr=saleInfo.sale_addr;
}
}
AttachInfo atta=new AttachInfo();
AttachInfo attaInfo=atta.getOneAttachInfo(conn,sale_idx);
if(attaInfo!=null){
if(attaInfo.file_path!=null){
sale_pict=attaInfo.file_path;
}
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>环球制造--全球最大的网上贸易市场,制造资源平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="/style/tj.css" type="text/css" rel="stylesheet" />
<link href="/style/list.css" type="text/css" rel="stylesheet" />
<link href="/style/commonality.css" rel="stylesheet" type="text/css" />
<link href="/css/layout.css" rel="stylesheet" type="text/css">
<link href="/css/daohang.css" rel="stylesheet" type="text/css">
<link href="/style/resume.css" rel="stylesheet" type="text/css">
<script language="javascript">
function checkValues(){
if(document.getElementById("enquiry_content").value==""||document.getElementById("enquiry_content").value==null){
alert("询价内容不能为空!");
document.form1.enquiry_content.focus();
return false;
}
return true;
}
</script>
</head>
<body>
<div class="top">
<a onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://b2b.xsaas.com');" style="CURSOR:hand">将本站设置为首页</a>
|
<a href="javascript:window.external.AddFavorite('http://b2b.xsaas.com', '安徽农业信息网-安徽省最专业的农业网上贸易市场,农产品展示平台')">加入收藏</a>
|
<a href="/Newcregister.jsp">免费用户注册</a>
|
<a href="/pub_data.jsp?link_type=1">登录后台</a></div>
<div class="logo"><a href="http://www.madeinglobal.com" target="_top"><img src="/images/logo.gif" width="225" height="66" border="0"></a></div>
<table width="950" style="margin-left:26px;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="100" valign="top"><script src=/inc/top_supply.js></script></td>
</tr>
</table>
<div class="tjad"></div>
<div class="middleBody">
<div class="bgxunjia">询价接收</div>
<div class="resumeBody">
<table>
<tr>
<td width="20%"><img src="<%=sale_pict%>" width="224" height="224" /></td>
<td width="80%">
<table>
<tr>
<td>名称:<%=sale_name%></td>
</tr>
<tr>
<td>当前价格: <%=sale_price%></td>
</tr>
<tr>
<td>销售地址: <%=sale_addr%></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
<form action="/enquiry_save.jsp" name="form1" method="post">
<div class="middleBody">
<div class="bgxunjia">询价内容</div>
<div class="resumeBody">
<div class="listBody">
<br>
补充消息:<br>
<textarea cols="95" rows="6" id="enquiry_content" name="enquiry_content"></textarea>
<br>
<!---
验证码:
br--->
<input name="sale_id" type="hidden" value="<%=sale_idx%>">
<input name="trade_type_code" value="0158" type="hidden">
</div>
<div class="buttonBody"><input type="submit" value="确认提交" onclick="return checkValues()"></div>
</div>
</div>
</form>
<script src="/inc/bottom.js"></script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -