Edit D:\chineseall_products\chineseall_digitallib\digitallib\digitalLib6\admin\system\activeProduct.jsp
??<%@ page contentType="text/html;charset=utf-8" %> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>??????????????</title> <link rel="stylesheet" type="text/css" href="/style/style.css" /> <script type="text/javascript" src="/js/jquery-1.12.4.min.js"></script> <script language="javascript" type="text/javascript" src="/js/judgeInput.js"></script> <script type="text/javascript" src="/js/data_location/jquery.city.js?v=1.0"></script> <style> body{font-size:14px;color:#000;background:#fff;} </style> </head> <body> <div class="crumbs tl">?????????????? >> ???????</div> <div class="mainCon"> <div><font color="red"><s:property value="info" /></font></div> <form id="activeProductForm" name="activeProduct" action="activeProduct.action" method="post" enctype="multipart/form-data"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="addTable"> <tr > <td width="20%">??????</td> <td width="80%"> ${productInfoVo.productNumber } </td> </tr> <tr > <td width="20%">??????</td> <td width="80%"> <input class="textIn1" type="text" name="productInfoVo.customerName" value="${productInfoVo.customerName }" id="customerName" /> </td> </tr> <tr > <td >???????</td> <td> <div id="product_address"> <s:set name="obj" value="productInfoVo"></s:set> <s:set name="sourcePrefix" value="'productInfoVo'"></s:set> <s:set name="locationId" value="'product_address'"></s:set> <s:set name="isDisabled" value="false"></s:set> <jsp:include page="/admin/location.jsp"/> </div> </td> </tr> <tr > <td >?????</td> <td > <input class="textIn1" type="text" name="productInfoVo.contact" value="${productInfoVo.contact }" id="contact" /> </td> </tr> <tr > <td >??????</td> <td > <input class="textIn1" type="text" name="productInfoVo.tel" value="${productInfoVo.tel }" id="tel" /> </td> </tr> <tr > <td >E-mail</td> <td > <input class="textIn1" type="text" name="productInfoVo.email" value="${productInfoVo.email }" id="email" /> </td> </tr> <tr > <td width="20%">???????????</td> <td width="80%" > <input class="textIn1" type="file" name="headImage" id="headImage" size="50" /> </td> </tr> <s:if test="isActive>=0"> <tr > <td align="left" colspan="2" style="padding:10px;"> <input type="hidden" name="type" id="type" value="1" /> <input type="hidden" name="productInfoVo.productNumber" value="${productInfoVo.productNumber }" /> <input type="hidden" name="productInfoVo.accreditModule" value="${productInfoVo.accreditModule }" /> <input type="hidden" name="productInfoVo.authDevices" value="${productInfoVo.authDevices }" /> <input type="hidden" name="productInfoVo.productType" value="${productInfoVo.productType }" /> <input type="hidden" name="productInfoVo.expiredDate" value="<s:date name="productInfoVo.expiredDate" format="yyyy-MM-dd"/>" /> <input type="hidden" name="productInfoVo.publicUserCount" value="${productInfoVo.publicUserCount }" /> <input type="hidden" name="productInfoVo.activeCode" value="${productInfoVo.activeCode }" /> <input type="hidden" name="productInfoVo.activeTime" value="${productInfoVo.activeTime }" /> <input type="hidden" name="productInfoVo.productSignature" value="${productInfoVo.productSignature }" /> <input type="hidden" name="productInfoVo.activeSignature" value="${productInfoVo.activeSignature }" /> <input type="hidden" name="isActive" value="${isActive }" /> <input type="button" id="btnActive" class="searchBtn" onclick="dosubmit();" value="????" /> <a onclick="downloadFile();" style="cursor:pointer;width: 100px;">????????????????</a> <br/> </td> </tr> </s:if> <s:else> <tr > <td align="center" colspan="2"> <s:if test="isActive==-1"> <input type="hidden" name="type" id="type" value="3" /> <input type="button" class="searchBtn" onclick="dosubmit();" value="???" /> <input type="button" class="searchBtn" onclick="doupdatesubmit();" value="??????" /> </s:if> <s:else><font color="red"><s:property value="info" /></font></s:else> </td> </tr> </s:else> </table> </form> <s:if test="isActive>=0"> <s:if test="isActive==0"> <div style="clear: both;text-align:left;margin-top:30px;">?????????????????</div> <form id="activeProductOfflineForm" name="activeProductOfflineForm" action="activeProductOffline.action" method="post" enctype="multipart/form-data"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="addTable"> <tr > <td width="20%">??????????????</td> <td width="80%"> <input class="textIn1" type="file" name="headImage" id="headImageOffline" size="50" /> </td> </tr> <tr > <td align="left" colspan="2" style="padding:10px;"> <input type="hidden" name="type" id="type" value="1" /> <input type="button" class="searchBtn" onclick="doactivesubmit();" value="????" /> </td> </tr> </table> </form> </s:if> </s:if> </div> <script type="text/javascript"> $(document).ready(function() { initLocationData(); }); function downloadFile() { var obj = document.getElementById("type"); obj.value=2; dosubmit(); obj.value=1; } function dosubmit() { var obj = document.getElementById("customerName"); if(obj.value=="") { alert("???????????"); obj.focus(); return; } obj = document.getElementById("province"); if(obj.value=="") { alert("????????????"); obj.focus(); return; } obj = document.getElementById("contact"); if(obj.value=="") { alert("?????????"); obj.focus(); return; } obj = document.getElementById("tel"); if(obj.value=="") { alert("???????????"); obj.focus(); return; } <s:if test="isActive>=0"> obj = document.getElementById("headImage"); if(obj && obj.value=="") { alert("??????????????"); obj.focus(); return; } </s:if> document.getElementById("activeProductForm").submit(); } function doactivesubmit() { var obj = document.getElementById("headImageOffline"); if(obj.value=="") { alert("??????????????????"); obj.focus(); return; } document.getElementById("activeProductOfflineForm").submit(); } function doApplyTrialSubmit() { var obj = document.getElementById("customerName"); if(obj.value=="") { alert("???????????"); obj.focus(); return; } obj = document.getElementById("s1"); if(obj.value=="???" || document.getElementById("s2").value=="?????" || document.getElementById("s3").value=="???????????") { alert("????????????"); obj.focus(); return; } obj = document.getElementById("contact"); if(obj.value=="") { alert("?????????"); obj.focus(); return; } obj = document.getElementById("tel"); if(obj.value=="" || !isPhone(obj.value)) { alert("???????????????"); obj.focus(); return; } obj = document.getElementById("email"); if(obj.value=="" || !isEmail(obj.value)) { alert("???????????????"); obj.focus(); return; } document.getElementById("btnApplyTrial").disabled = true; document.getElementById("btnActive").disabled = true; document.getElementById("activeProductForm").action = parent.ppath + "/admin/system/applyTrial.action"; document.getElementById("activeProductForm").submit(); } function doupdatesubmit() { document.getElementById("activeProductForm").action=parent.ppath + "/admin/system/updateProductAuth.action"; document.getElementById("activeProductForm").submit(); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de