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

📄 update.jsp

📁 短信平台退费系统(jsp+mysql)
💻 JSP
字号:
<%@ page import="java.lang.Float" %>
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.sql.*,java.text.*"%>
<%@ include file = "../conn.jsp" %>
<jsp:include page="../islogin.jsp"/>
<%!String Id,Dest_terminal_Id,Tuifei_Yuanyin,Tuifei_Howmuch,Tuifei_Chennuo_Date,Tuifei_Yitui_Date,User_Message,Kefu_Gonghao,sql;%>
<%
Id=request.getParameter("Id");
Statement sqlbean = null ;
ResultSet RS=null;

try{
sqlbean = conn.createStatement();
RS=sqlbean.executeQuery("select * from app_kefu_tuifeixitong WHERE Id='"+Id+"'");
while(RS.next())
{
Dest_terminal_Id=new String(RS.getString("Dest_terminal_Id").getBytes("ISO8859_1"),"gb2312");
Tuifei_Yuanyin=new String(RS.getString("Tuifei_Yuanyin").getBytes("ISO8859_1"),"gb2312");
Tuifei_Howmuch=new String(RS.getString("Tuifei_Howmuch").getBytes("ISO8859_1"),"gb2312");
Tuifei_Chennuo_Date=new String(RS.getString("Tuifei_Chennuo_Date").getBytes("ISO8859_1"),"gb2312");
Tuifei_Yitui_Date=new String(RS.getString("Tuifei_Yitui_Date").getBytes("ISO8859_1"),"gb2312");
User_Message=new String(RS.getString("User_Message").getBytes("ISO8859_1"),"gb2312");
Kefu_Gonghao=new String(RS.getString("Kefu_Gonghao").getBytes("ISO8859_1"),"gb2312");
} 
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0040)http://www.caohejing.com/infopub/reg.asp -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
<!--

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>

<SCRIPT language=javascript>
function newGuide (section) {
        var guidewindow = window.open("", "guide", "width=516,height=485,left,top,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
        guidewindow.location.href = section;
                guidewindow.focus();}
</SCRIPT>
<LINK href="image/style.css" type=text/css rel=stylesheet><LINK 
href="image/MoonDowner.css" type=text/css rel=stylesheet>
<META content="Microsoft FrontPage 4.0" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#7988b1 leftMargin=0 topMargin=0 
onload="MM_preloadImages('images/m1a.gif','images/m2a.gif','images/m3a.gif','images/m4a.gif','images/m5a.gif','images/m6a.gif','images/m7a.gif','images/m8a.gif')" 
marginheight="0" marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width=780 align=center bgColor=#ffffff 
border=0>
  <td width="190"><TBODY>
  
  <TR>
    <TD width="590" height=1 colSpan=2 vAlign=top></TD>
  </TR>
  <TR>
    <TD vAlign=top bgColor=#7988b1 colSpan=2 height=1></TD>
  </TR>
  <TR vAlign=top align=middle>
    <TD colSpan=2 height=400><BR>
        <TABLE cellSpacing=1 cellPadding=3 width="80%" bgColor=#ffffff border=0>
          <FORM name=form1 action="Update_do.jsp" method=post>
		  <input type="hidden" name=Id value=<%=Id%>>
		  <input type="hidden" name=Id value=<%=Dest_terminal_Id%>>
            <TBODY>
              <TR align=middle bgColor=#eeeeee>
                <TD colSpan=2 height=25><STRONG>修改退费记录</STRONG></TD>
              </TR>
              <TR>
                <TD align=middle width="19%" bgColor=#eeeeee height=20><P><FONT color=#000000>用 户:</FONT></P></TD>
                <TD width="81%" bgColor=#f5f5f5><%=Dest_terminal_Id%></TD>
              </TR>
              <TR>
                <TD align=middle bgColor=#eeeeee><FONT color=#000000>退费原因:</FONT></TD>
                <TD bgColor=#f5f5f5><textarea name="Tuifei_Yuanyin" cols="40" rows="5" id="Tuifei_Yuanyin"><%=Tuifei_Yuanyin%></textarea></TD>
              </TR>
              <TR>
                <TD align=middle bgColor=#eeeeee><FONT color=#000000>退费金额:</FONT></TD>
                <TD bgColor=#f5f5f5><INPUT 
            name=Tuifei_Howmuch type=text id=Tuifei_Howmuch value="<%=Tuifei_Howmuch%>">                </TD>
              </TR>
              <TR>
                <TD align=middle bgColor=#eeeeee><FONT color=#000000>承诺日期:</FONT></TD>
                <TD bgColor=#f5f5f5><input name=Tuifei_Chennuo_Date id=Tuifei_Chennuo_Date value="<%=Tuifei_Chennuo_Date%>"></TD>
              </TR>
              <TR>
                <TD align=middle bgColor=#eeeeee><FONT color=#000000>已退日期:</FONT></TD>
                <TD bgColor=#f5f5f5><INPUT name=Tuifei_Yitui_Date id=Tuifei_Yitui_Date value="<%=Tuifei_Yitui_Date%>">
                </TD>
              </TR>
              <TR>
                <TD align=middle bgColor=#eeeeee><FONT color=#000000>用户信息:</FONT></TD>
                <TD bgColor=#f5f5f5><textarea name="User_Message" cols="40" rows="5" id="User_Message"><%=User_Message%></textarea></TD>
              </TR>
              <TR>
                <TD align=middle bgColor=#eeeeee><FONT color=#000000>对方工号:</FONT></TD>
                <TD bgColor=#f5f5f5><input name=Kefu_Gonghao id=Kefu_Gonghao value="<%=Kefu_Gonghao%>"></TD>
              </TR>
              <TR bgColor=#eeeeee>
                <TD align=middle colSpan=2><div align="center">
                  <INPUT type=submit value="更 新" name=Submit>             
                </div></TD>
              </TR>
          </FORM>
          </TABLE>
        <BR></TD>
  </TR>
  </TBODY>
</TABLE>
<%
}
catch (SQLException e) {}
finally {
    try {
      if (RS!=null) {
        RS.close();
      }
    }
    catch (SQLException e) {}
    try {
      if (sqlbean!=null) {
        sqlbean.close();
      }
    }
    catch (SQLException e) {}

}	  
%>
</BODY></HTML>

⌨️ 快捷键说明

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