modifyprovider.jsp

来自「移动彩信管理平台」· JSP 代码 · 共 227 行

JSP
227
字号
<%@ page contentType="text/html;charset=utf-8"%>
<%@ include file="../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>信息修改</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<SCRIPT language="javascript" src="<%=request.getContextPath()%>/js/validate.js"></SCRIPT>
<SCRIPT language="javascript" src="<%=request.getContextPath()%>/js/disable.js"></SCRIPT>
<SCRIPT language="javaScript" SRC="<%=request.getContextPath()%>/js/fcnclander.js"></SCRIPT>
<script language="javascript">
function checkForm()
{
  if(!checkMobile(form1.businessMobile))
  {
    alert("您输入的手机号不合法");
    return false;
  }
  if(!checkDigital(form1.businessPost))
  {
    alert("邮政编号只能为数字");
    return false;
  }
  form1.submit();
}
</script>
</head>
<body>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="8" align="left"><img src="images/pny_01.jpg" width="8" height="25" /></td>
        <td width="80" align="center" background="images/pny_bg.gif" class="psize3">信息修改</td>
        <td width="8" align="right"><img src="images/pny_02.jpg" width="8" height="25" /></td>
      </tr>
    </table></td>
  </tr>
</table>


<form name="form1" action="${webctx}/updateUser.do" method="post">
<input name="useGroup" type="hidden" value="${useGroup}"/>
<input name="useId" type="hidden" value="${useId}"/>
<table width="98%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
<s:if test="${user.auditState}==0">
<font size="4" color="red">你已经修改过,请等待审核...</font>
</s:if>
<s:if test="${user.auditState}!=0">
  <tr>
    <td height="20" align="center" bgcolor="#FFFFFF"><table width="99%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
        <tr>
          <td width="63%" height="20" align="left" bgcolor="#A6D5D9" class="psize4"><strong>内容提供商</strong></td>
        </tr>
        <tr>
          <td height="20" align="left" bgcolor="#CEE8EA">登录名:${provider.userName}</td>
        </tr>
      
    </table>
      <table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <table width="99%" border="0" cellpadding="4" cellspacing="1" style="border:1px solid #5C92B7;">
        <tr>
          <td height="20" colspan="2" align="left" bgcolor="#A6D5D9"><strong>企业信息</strong>:</td>
        </tr>
        <tr>
          <td height="20" align="left" bgcolor="#F2FAFD">企业全称:
          <input name="entName" type="text" size="20" value="${provider.entName}"/></td>
          <td width="63%" align="left" bgcolor="#F2FAFD">税务登记号:
          <input name="entTaxcode" type="text" size="20" value="${provider.entTaxcode}"/></td>
        </tr>
        <tr>
          <td height="20" align="left" bgcolor="#CEE8EA">企业简称:
          <input name="entDesc" type="text" size="20" value="${provider.entDesc}"/></td>
          <td align="left" bgcolor="#CEE8EA">结算方式:
          <input name="entBalancetype" type="text" size="20" value="${provider.entBalancetype}"/></td>
        </tr>
        <tr>
          <td height="20" align="left" bgcolor="#F2FAFD">英文名称:
          <input name="entEname" type="text" size="20" value="${provider.entEname}"/></td>
          <td align="left" bgcolor="#F2FAFD">开户银行:
          <input name="bank" type="text" size="20" value="${provider.bank}"/></td>
        </tr>
        <tr>
          <td height="20" align="left" bgcolor="#CEE8EA">公司地址:
          <input name="entAddress" type="text" size="20" value="${provider.entAddress}"/></td>
          <td align="left" bgcolor="#CEE8EA">银行帐号:
          <input name="bankPassport" type="text" size="20" value="${provider.bankPassport}"/></td>
        </tr>
        <tr>
          <td height="20" colspan="2" align="left" bgcolor="#F2FAFD">当前状态:
           <s:if test="${user.isUse}==0">
             不可用           
           </s:if>
           <s:if test="${user.isUse}==1">
             可用           
           </s:if>
           <s:if test="${user.isUse}==3">
             待审核          
           </s:if>
          </td>
        </tr>
      </table>
      
      
      <table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <table width="99%" border="0" cellpadding="4" cellspacing="1" style="border:1px solid #5C92B7;">
        <tr>
          <td height="20" colspan="2" align="left" bgcolor="#A6D5D9"><strong>公司负责人信息</strong>:</td>
        </tr>
        <tr>
          <td width="21%" height="20" align="right" bgcolor="#CEE8EA">公司负责人:</td>
          <td width="75%" height="20" align="left" bgcolor="#CEE8EA"><span class="psize4">
            <input name="principalName" type="text" size="20" value="${provider.principalName}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#F2FAFD">公司负责人联系电话:</td>
          <td height="20" align="left" bgcolor="#F2FAFD"><span class="psize4">
            <input name="principalTel" type="text" size="20" value="${provider.principalTel}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#CEE8EA">总裁联系人联系电话:</td>
          <td height="20" align="left" bgcolor="#CEE8EA"><span class="psize4">
            <input name="presidentTel" type="text" size="20" value="${provider.presidentTel}"/>
          </span></td>
        </tr>
      </table>
      <table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <table width="99%" border="0" cellpadding="4" cellspacing="1" style="border:1px solid #5C92B7;">
        <tr>
          <td height="20" colspan="2" align="left" bgcolor="#A6D5D9"><strong>业务联系人</strong>:</td>
        </tr>
        <tr>
          <td width="22%" height="20" align="right" bgcolor="#F2FAFD">姓名:</td>
          <td width="78%" height="20" align="left" bgcolor="#F2FAFD"><span class="psize4">
            <input name="businessName" type="text" size="20" value="${provider.businessName}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#CEE8EA">职务:</td>
          <td height="20" align="left" bgcolor="#CEE8EA"><span class="psize4">
            <input name="businessJob" type="text" size="20" value="${provider.businessJob}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#F2FAFD">电话:</td>
          <td height="20" align="left" bgcolor="#F2FAFD"><span class="psize4">
            <input name="businessTel" type="text" size="20" value="${provider.businessTel}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#CEE8EA">传真:</td>
          <td height="20" align="left" bgcolor="#CEE8EA"><span class="psize4">
            <input name="businessFax" type="text" size="20" value="${provider.businessFax}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#F2FAFD">移动电话:</td>
          <td height="20" align="left" bgcolor="#F2FAFD"><span class="psize4">
            <input name="businessMobile" type="text" size="20" value="${provider.businessMobile}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#CEE8EA">Email :</td>
          <td height="20" align="left" bgcolor="#CEE8EA"><span class="psize4">
            <input name="businessEmail" type="text" size="20" value="${provider.businessEmail}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#F2FAFD">通讯地址:</td>
          <td height="20" align="left" bgcolor="#F2FAFD"><span class="psize4">
            <input name="businessAddress" type="text" size="20" value="${provider.businessAddress}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#CEE8EA">邮政编码:</td>
          <td height="20" align="left" bgcolor="#CEE8EA"><span class="psize4">
            <input name="businessPost" type="text" size="20" value="${provider.businessPost}"/>
          </span></td>
        </tr>
        <tr>
          <td height="20" align="right" bgcolor="#F2FAFD">其他联系方式:</td>
          <td align="left" bgcolor="#F2FAFD"><span class="psize4">
            <input name="businessElseAddress" type="text" size="20" value="${provider.businessElseAddress}"/>
          </span></td>
        </tr>
      </table>
      <table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <table width="99%" border="0" cellpadding="4" cellspacing="1" style="border:1px solid #5C92B7;">
        <tr>
          <td width="63%" height="20" align="left" bgcolor="#A6D5D9"><strong>所属栏目</strong>:</td>
        </tr>
        <tr>
          <td height="20" align="left" bgcolor="#CEE8EA">
          ${columns}
          </td> 
        </tr>
        <tr>
          <td height="20" align="center"><span class="ysize1">
            <input type="button" class="pal" value="确定" onclick="checkForm()"/>
          </span></td>
        </tr>

      </table></td>
  </tr>
</s:if> 
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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