?? readkehu.jsp
字號:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="top.jsp"%>
<TABLE id=Table1 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR id=main_section vAlign=top>
<TD>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR >
<TD class=welcomeleft id=left_pane vAlign=top width=155 >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 background=../images/back.gif height=586>
<TBODY>
<TR>
<TD valign=top>
<%@ include file="yewu_mainmenu.jsp"%>
</TD></TR>
</TBODY></TABLE>
</TD><TD id=right_pane background=../images/adminbodybg3.gif valign=top>
<!---------------------->
<%
int id = Integer.parseInt((String)request.getParameter("id"));
rs=stmt.executeQuery("SELECT * from kehu where id="+id);
while(rs.next())
{%>
<TABLE id=Table2 cellSpacing=0 cellPadding=0 width="95%" border=0 align=center>
<TBODY>
<TR>
<TD vAlign=top height=10 ></TD>
</TR>
</TBODY>
</TABLE>
<TABLE id=Table2 cellSpacing=0 cellPadding=0 width="95%" border=0 align=center>
<TBODY>
<TR><TD class=article-title vAlign=bottom>
<IMG src="../images/tpdl.gif"><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: larger"><%=rs.getString("company")%></SPAN>
</TD>
</TR>
<TR>
<TD class=article-summary vAlign=top>跟蹤人:<b><%=rs.getString("who")%></b> 發布時間: <%=rs.getString("addtime")%></TD>
</TR>
</TBODY>
</TABLE>
<TABLE class=article-page borderColor=red cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
<TBODY>
<TR>
<TD class=article-page-body width="100%" colSpan=2 height="100%">
<TABLE borderColor=blue height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top height=2>
<DIV id=BasePages1_theBodyControl_Toolbar>
<TABLE id=BasePages1_theBodyControl_MainToolbarTable height=35
cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD noWrap align=left width="1%"><INPUT class=pushbutton type=button onclick="javascript:location.reload()" value=刷新>
<INPUT class=pushbutton type=button value=返回 onclick="window.history.go(-1);"></TD>
<TD noWrap align=left width="1%">
<INPUT language=javascript class=pushbutton onclick="if (confirm('確實要此條記錄嗎?')) window.location='delkehu.jsp?id=<%=id%>'" type=button value=刪除 <%if(Integer.parseInt((String)rs.getString("done"))==1){%>disabled<%}%> <%if((rs.getString("who")).compareTo((String) session.getAttribute("username"))==0){}else{%>disabled<%}%>>
<INPUT language=javascript class=pushbutton onclick="window.location='editkehu.jsp?id=<%=id%>&space=3.1'" type=button value=編輯 <%if(Integer.parseInt((String)rs.getString("done"))==1){%>disabled<%}%> <%if((rs.getString("who")).compareTo((String) session.getAttribute("username"))==0){}else{%>disabled<%}%>>
</TD>
<TD noWrap align=left>
<DIV
id=BasePages1_theBodyControl_CLP_MoveTools></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR>
<TR>
<TD vAlign=top>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="A8A8A9">
<tr bgcolor="EAECED">
<td height="35" colspan="3">
<div align="center">
<p class="zl2"><font color="3C3E3F">單位:<%=rs.getString("company")%></font></p>
</div></td><td align=center>狀態:<%if(Integer.parseInt((String)rs.getString("done"))==0){%><font color=red>未完成</font><%}%>
<%if(Integer.parseInt((String)rs.getString("done"))==1){%><font color=blue>已完成</font><%}%></td><td align=center>加入時間:<%=rs.getString("addtime")%></td>
</tr>
<tr>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">類型</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<%if(Integer.parseInt((String)rs.getString("lei"))==1){%>跟蹤聯系<%}%>
<%if(Integer.parseInt((String)rs.getString("lei"))==2){%>問題解答<%}%></td>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">預約</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<%if(Integer.parseInt((String)rs.getString("yvyue"))==0){%>否<%}%>
<%if(Integer.parseInt((String)rs.getString("yvyue"))==1){%>是<%}%></td>
</tr>
<tr>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">聯系人</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<%=rs.getString("mem")%></td>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">電話</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<%=rs.getString("tel")%></td>
</tr>
<tr>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">傳真</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<%=rs.getString("fax")%></td>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">郵件</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<a href=mail_main.jsp?mail=<%=rs.getString("email")%>&space=9.0><%=rs.getString("email")%>[點擊發送郵件]</a></td>
</tr>
<tr>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">地址</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<%=rs.getString("address")%></td>
<td width="18%" height="35" bgcolor="#FFFFFF">
<div align="center"><a href="#" class="zllink"><font color="444A4F">郵編</font></a>:<FONT color=red size=2>*</FONT></div></td>
<td colspan="2" bgcolor="#FFFFFF">
<%=rs.getString("post")%></td>
</tr>
<tr>
<td width="18%" height="80" bgcolor="#FFFFFF">
<div align="center">企業簡介</div></td>
<td colspan="2" bgcolor="#FFFFFF"><div align="center">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><%=rs.getString("comtext")%></td>
</tr>
</table>
</div></td> <td width="18%" height="80" bgcolor="#FFFFFF">
<div align="center">備注</div></td>
<td colspan="2" bgcolor="#FFFFFF"><div align="center">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><%=rs.getString("text")%></td>
</tr>
</table>
</div></td>
</tr>
<%if(Integer.parseInt((String)rs.getString("done"))==1){%>
<tr>
<td width="18%" height="30" bgcolor="yellow">
<div align="center">任務結束人</div></td>
<td colspan="2" bgcolor="yellow"><div align="center">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href=user.jsp?username=<%=rs.getString("donemem")%>><%=rs.getString("donemem")%></a></td>
</tr>
</table>
</div></td> <td width="18%" height="80" bgcolor="yellow">
<div align="center">結束時間</div></td>
<td colspan="2" bgcolor="yellow"><div align="center">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><%=rs.getString("donetime")%></td>
</tr>
</table>
</div></td>
</tr>
<%}%>
</table>
<div align=right>
<INPUT language=javascript class=pushbutton onclick="if (confirm('你確定此任務確實已經完成?')) window.location='okkehu.jsp?id=<%=id%>'" type=button value=任務已完成提交 <%if(Integer.parseInt((String)rs.getString("done"))==1){%>disabled<%}%>>
</div>
</TD></TR></TBODY></TABLE>
</BODY></HTML>
<%}%>
<!------------------------------------------>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
</TBODY>
</table>
<%@ include file="end.jsp"%>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -