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

📄 clubmanageupdate.jsp

📁 自己制作的联通CRM,支持客户分类,管理,升级,积分管理等等..
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
	<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
	<link href="${pageContext.request.contextPath}/image/main.css" rel="stylesheet" type="text/css">
	<title>俱乐部服务体验网点资料修改</title>
		

 <style type="text/css">
<!--
.STYLE1 {
	font-size: 14px;
	font-weight: bold;
	font-family: "宋体";
}
.STYLE2 {color: #FF0000}
-->
    </style>
	<script type="text/javascript">
		function returnss(){
			location.href="${pageContext.request.contextPath}/clubmanageAction.do?tag=showclub";		
		}
		function check(){
			var tag = true;
			if(document.theform.clubname.value == ""){
				alert("俱乐部名称不能为空!");	
				theform.clubname.focus();
				tag=false;		
				return false;
			}
			if(document.theform.manage.value == ""){
				alert("网点管理员不能为空!");	
				theform.manage.focus();
				tag=false;	
				return false;	
			}
			 
			var num_two = document.theform.phone.value.replace(/\s/g,"");
			var numtwo = num_two.replace(/[0-9]/g,"");
			if(numtwo.length>0 ){
				alert("您输入的电话号码有误,请重输!");
				document.theform.phone.focus();
				return false;
				
			}
			var phone = document.theform.phone.value.replace(/\s/g,"");
			
			if(phone.length<8){
				alert("联系电话不能少于8位数!");	
				theform.phone.focus();
				tag=false;	
				return false;
			}
			
			
			
			if(document.theform.servicetype.value == ""){
				alert("服务类型不能为空!");	
				theform.servicetype.focus();
				tag=false;	
				return false;	
			}
			if(tag){
				theform.submit();
			}
		} 
	</script>
</head> 
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle"><table width="80%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="34" align="center" valign="middle"><span class="STYLE1">	俱乐部服务体验网点资料修改   </span></td>
      </tr>
    </table>
      <table width="48%" height="377" border="1" cellpadding="0" cellspacing="0" bordercolor="#D71920">
        <tr>
          <td height="375" align="center" valign="middle">
		  
		  <html:form action="/clubmanageAction.do?tag=updateclub" method="post" styleId="theform">
		  <input type="hidden" name="serchphone" value="${requestScope.map.clubname}" />
   		 <input type="hidden" name="currentpage" value="${requestScope.map.currentpage}" />
		  <table width="100%" height="375" border="0" cellpadding="0" cellspacing="0" >
            <tr>
              <td width="33%" height="35" align="right" ><span class="STYLE2">*</span>俱乐部名称:</td>
              <td width="64%" align="left">&nbsp;
			  <html:text property="clubname" value="${requestScope.bean.clubname}"></html:text></td>
              <td width="3%">&nbsp;</td>
            </tr>
            <tr>
              <td height="39" align="right" valign="middle" nowrap ><span class="STYLE2">*</span>网点管理员:</td>
              <td align="left" valign="middle" nowrap>&nbsp;
              <html:text property="manage" value="${requestScope.bean.manage}"></html:text></td>
              <td align="center" valign="middle" nowrap >&nbsp;</td>
            </tr>
            <tr>
              <td height="39" align="right" valign="middle" nowrap >网点地址:</td>
              <td align="left" valign="middle" nowrap >&nbsp;
              <html:text property="address" value="${requestScope.bean.address}"></html:text></td>
              <td align="center" valign="middle" nowrap >&nbsp;</td>
            </tr>
            <tr>
              <td height="42" align="right" valign="middle" nowrap ><span class="STYLE2">*</span>联系电话:</td>
              <td align="left" valign="middle" nowrap >&nbsp;
              <html:text property="phone" value="${requestScope.bean.phone}"></html:text></td>
              <td align="center" valign="middle" nowrap >&nbsp;</td>
            </tr>
            <tr>
              <td height="43" align="right" valign="middle" nowrap ><span class="STYLE2">*</span>服务类型:</td>
              <td align="left" valign="middle" nowrap >&nbsp;
              <html:select property="servicetype" styleId="servicetype" style="width:150px;">
              	<html:option value="运动/健身">运动/健身</html:option>
              	<html:option value="娱乐/休闲">娱乐/休闲</html:option>
              	<html:option value="郊游/旅游">郊游/旅游</html:option>
              	<html:option value="公益/慈善">公益/慈善</html:option>
              </html:select></td>
              <td align="center" valign="middle" nowrap>&nbsp;</td>
            </tr> 
            <tr>
              <td height="43" align="right" valign="middle" nowrap>网点级别:</td>
              <td align="left" valign="middle" nowrap >&nbsp;
             <html:select property="levels" style="width:150px;">
              	<html:option value="初出茅庐">初出茅庐</html:option>
              	<html:option value="初入江湖">初入江湖</html:option>
              	<html:option value="武林高手">武林高手</html:option>
              	<html:option value="一代宗师">一代宗师</html:option>
              </html:select></td>
              <td align="center" valign="middle" nowrap >&nbsp;</td>
            </tr>
            <tr>
              <td height="58" align="right" valign="middle" nowrap>服务内容:</td>
              <td align="left" valign="top" nowrap>&nbsp;
			  <html:textarea property="function" rows="4" value="${requestScope.bean.function}"></html:textarea></td>
              <td align="center" valign="middle" nowrap >&nbsp;</td>
            </tr>
            <tr>
              <td height="53" colspan="3" align="center" valign="middle" nowrap >
			    <input type="button" name="Submit" value="提 交" onClick="check();">
			    &nbsp;
                <input type="reset" name="Submit2" value="重 置">&nbsp;
                <input type="button" name="Submit3" value="返 回" onClick="returnss();"></td>
              </tr>
          </table>
          <html:hidden property="nid" value="${requestScope.bean.nid}"></html:hidden>
		  </html:form>
		  
		  </td>
        </tr>
      </table></td>
  </tr>${requestScope.manage}
</table>
</body>
</html>

⌨️ 快捷键说明

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