📄 sch_list_answer.jsp
字号:
<!DOCTYPE HTML PUBLIC "-/W3C/DTD HTML 4.01 Transitional/EN"
"http:/www.w3.org/TR/html4/loose.dtd">
<%@ page import="java.util.*"%>
<%@ page contentType="text/html;charset=GBK"%>
<%@page import="com.saas.biz.enquirydealMgr.EnquirydInfo"%>
<%@page import="com.saas.biz.repositoryMgr.RepositoryInfo"%>
<%
String session_cust_id = "", cust_id = "", session_user_id = "", user_id = "";
String trade_id = "", req_title = "";
HttpSession logs = request.getSession();
if (logs.getAttribute("SESSION_CUST_ID") != null) {
cust_id = logs.getAttribute("SESSION_CUST_ID").toString();
}
if (cust_id != null) {
session_cust_id = cust_id;
} else
session_cust_id = "loggedoff";
if (logs.getAttribute("SESSION_USER_ID") != null) {
user_id = logs.getAttribute("SESSION_USER_ID").toString();
}
if (user_id != null) {
session_user_id = user_id;
} else
session_user_id = "loggedoff";
if (request.getParameter("trade_id") != null) {
trade_id = request.getParameter("trade_id");
}
EnquirydInfo info = new EnquirydInfo();
ArrayList list2 = info.getEnquiryById(trade_id);
if (list2 != null && list2.size() > 0) {
HashMap map = (HashMap) list2.get(0);
if (map.get("rsrv_str3") != null) {
req_title = map.get("rsrv_str3").toString();
}
}
String iStart = "0";
EnquirydInfo in = new EnquirydInfo();
ArrayList list = in.getEnquiryByList(Integer.parseInt(iStart), 5);
ArrayList list3 = info.getMax();
RepositoryInfo re = new RepositoryInfo();
ArrayList list1 = re.getRepositoryByType("4",Integer.parseInt(iStart),8);
%>
<html>
<head>
<!--文字大小控制-->
<SCRIPT>
<!--
function doZoom(size){
document.getElementById('zoom').style.fontSize=size+'px';
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</SCRIPT>
<SCRIPT language=JavaScript>
document.oncontextmenu=new Function("event.returnValue=false;"); //禁止右键功能,单击右键将无任何反应
document.onselectstart=new Function("event.returnValue=false;"); //禁止先择,也就是无法复制
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>玻璃学院</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="/zone_b2b/css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function check_Value(){
if (document.answerForm.deal_user.value == ""||document.answerForm.deal_user.value == null)
{
alert("回答人不可以为空!");
document.answerForm.deal_user.focus();
return false;
}
var str=document.getElementById("deal_content").value;
if (str.length>500) {
alert("限制500字以内");
return false;
}
}
function checkRelation(){
if(document.getElementById("keyword").value!=""){
return true;
}else{
alert('请输入关键字,否则会影响你的查询结果!');
document.getElementById("keyword").focus();
}
return true;
}
</script>
</head>
<body>
<jsp:include flush="true" page="/zone_b2b/school/sch_top.html" />
<table width="980" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="DBECF4">
<tr>
<td height="26" valign="top" background="/zone_b2b/images/xian4.gif" bgcolor="#FFFFFF">
您当前的位置:
<a href="/" class="lanse">首页</a> >
<a href="/zone_b2b/school" class="lanse">玻璃学院</a> > 回答问题
</td>
</tr>
</table>
<table width="980" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="235" valign="top">
<table width="220" border="0" cellpadding="0" cellspacing="1" bgcolor="DBECF4">
<tr>
<td height="166" valign="top" bgcolor="F5FAFC">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="21">
<img src="/zone_b2b/images/xueyuan_11.gif" width="21" height="30" alt="">
</td>
<td width="80" align="center" background="/zone_b2b/images/xueyuan_12.gif">
<span class="btlanse">问题搜索</span>
</td>
<td width="23">
<img src="/zone_b2b/images/xueyuan_14.gif" width="23" height="30" alt="">
</td>
<td align="right" background="/zone_b2b/images/xueyuan_15.gif">
<a href="#" class="lanse"></a>
</td>
</tr>
</table>
<table width="100%" height="10" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="96%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr>
<td>
<form name="searchForm" id="searchForm" action="search_list.jsp" method="post">
<input name="keyword" type="text" class="0" value="请输入你要查的关键字" size="22" onblur="chek()" onmousedown="javascript:this.value=''">
<input type="submit" name="Submit2" value="搜 索" onclick="return checkRelation()">
</form>
</td>
</tr>
<tr>
<td class="lanse_renceitop">
·玻璃字典现收录有关玻璃方面的词汇量高达35000多条。
<br>
·输入的关键字越精确,则查到的资料就越精确。
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="220" height="10" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="220" border="0" cellpadding="0" cellspacing="1" bgcolor="DBECF4">
<tr>
<td height="222" valign="top" bgcolor="F5FAFC">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="21">
<img src="/zone_b2b/images/xueyuan_11.gif" width="21" height="30" alt="">
</td>
<td width="80" align="center" background="/zone_b2b/images/xueyuan_12.gif">
<span class="btlanse">玻璃知识</span>
</td>
<td width="23">
<img src="/zone_b2b/images/xueyuan_14.gif" width="23" height="30" alt="">
</td>
<td align="right" background="/zone_b2b/images/xueyuan_15.gif">
<a href="sch_knowlist.jsp?repository_type=4" class="lanse">更多>></a>
</td>
</tr>
</table>
<table width="100%" height="10" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="209" border="0" align="center" cellpadding="0" cellspacing="0">
<%
if (list1 != null && list1.size() > 0) {
for (int i = 0; i < list1.size(); i++) {
HashMap map = (HashMap) list1.get(i);
String repository_id = "", title = "";
if (map.get("repository_id") != null) {repository_id = map.get("repository_id").toString();}
if (map.get("title") != null) {title = map.get("title").toString();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -