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

📄 readkehu.jsp

📁 一个Java网络OA办公系统。安装非常方便
💻 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>&nbsp;&nbsp;  发布时间: <%=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<%}%>>
&nbsp;

<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">&nbsp; 
<%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">&nbsp; 
<%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">&nbsp; 
                                                                        <%=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">&nbsp; 
                                                                        <%=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">&nbsp; 
                                                                        <%=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">&nbsp; 
                                                                        <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">&nbsp; 
                                                                        <%=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">&nbsp; 
                                                                        <%=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 + -