📄 auth_body.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %><%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <script>javascript:hidechild();</script><!-- Bread Crumb --> <div id="breadCrumb"> <ul> <li><a title="主页" href="/web/">主页</a></li> </ul></div><!-- LOGIN --><div id="logIn"> <form onsubmit="setUser()" target="_parent" action="auth.login.action" method="post" name="login"> <s:hidden name="nextUrl"></s:hidden> <div class="sectionTab"> <h2 title="在下面输入您的用户资料登录" class="browseDt">登入</h2> </div> <div class="greyOuter"> <div class="blueInner"> <s:if test="hasErrors() && getActionName().equals('auth.login') "> <div id="errorHeading"> <h4>登录失败</h4> 请检查用户名称或密码是否绝对正确,如需协助,请致电我们的网上帮助热线:021-5359 9888 </div> </s:if> <div class="regHeight"> <table cellspacing="0" cellpadding="5" border="0" align="center"> <tbody><tr> <td colspan="3"><p class="registrationManadtoryTitle">请输入您的用户名称及密码登入网站。</p></td> </tr> <tr> <td>用户名称<span class="mandatory">*</span></td> <td><input type="text" autocomplete="off" class="inputfields" maxlength="50" tabindex="10" value="" name="userId"/></td> <td><a title="忘记您的用户名称?" href="https://shanghai.rs-online.com/web/generalDisplay.html?id=userNameRequest">忘记您的用户名称?</a></td> </tr> <tr> <td>密码<span class="mandatory">*</span></td> <td><input type="password" autocomplete="off" class="inputfields" maxlength="15" tabindex="11" value="" name="password"/></td> <td><a href="http://shanghai.rs-online.com/web/registration/updatePasswordAction.html?method=emailChangePasswordPopulate">忘记密码?</a></td> </tr> <tr> <td colspan="3"><span class="mandatory">*</span>为必要项目</td> </tr> </tbody></table> </div> <div class="regButton"> <div id="enabled"> <input type="image" tabindex="12" onclick="disableLoginButton('enabled','disabled')" title="登入" src="https://shanghai.rs-online.com/cn03/img/site/login/login.gif" name="loginBtn"/> </div> <div style="display: none;" id="disabled"> <img tabindex="12" title="Processing" src="https://shanghai.rs-online.com/cn03/img/site/login/login.gif"/> </div> </div> </div> </div> <input type="hidden" name="j_username"/> <input type="hidden" value="CN_" name="prefix"/> </form></div><script> document.login.username.focus(); function disableLoginButton() { document.getElementById('enabled').style.display='none'; document.getElementById('disabled').style.display='block'; }</script> <!-- Coremetrics --> <script type="text/javascript" language="javascript1.2"> <!-- cmCreatePageviewTag("Login & Registration Page 1", "Login & Registration Page 1", null); //--></script><!-- End Coremetrics --><script>hidechild();function showReg(){ document.getElementById('regQuestions').style.display='block'; document.getElementById('registrationStep').style.display='block'; document.getElementById('registerButton').style.display='none' document.getElementById('valueProp').style.height='auto' document.registrationActionFormOne.username.focus(); }</script><div id="regContent"> <div> <div class="sectionTab"> <h2 title="Registration" class="browseDt">注册</h2> </div> <style>#registrationStep{display:none;}</style> <div class="registrationStep" id="registrationStep"> 第1步/ 共2步 </div> </div> <div class="greyOuter"> <div style="width: 99.5%;" class="blueInner"> <s:if test="hasErrors() && (!getActionName().equals('auth.login') ) "> <div id="errorHeading"> <h4>很抱歉! 系统未能完成您的要求!</h4> 详情请参考下列红色标示的信息。如需协助, 请致电RS网上帮助热线与我们联络。 <s:fielderror> <s:param>userId</s:param> <s:param>password</s:param> <s:param>confirmPassword</s:param> <s:param>email</s:param> </s:fielderror> </div> </s:if> <div style="margin: 0% 5%;"> <div id="valueProp" class="regHeight"> <h3 class="registrationSectionTitle">网站的新用户?</h3>只需进行2个简易程序即可完成注册!你从此可以在网上订购产品,查核你的订单情况,创建并储存零件清单,以及回顾订购纪录。 <p>非中国顾客可以浏览我们的国际网站 <a href="http://www.rs-components.com/">按这里</a><span/></p> </div> <div style="display: block;" class="regButton" id="registerButton"> <a href="javascript:showReg()"><img hspace="0" border="0" title="注册" alt="注册" src="https://shanghai.rs-online.com/cn03/img/site/login/register.gif"/></a> </div> </div> <div style="display: none;" id="regQuestions"> <form class="registrationActionFormOne" action="registerStepOne.submit.action" method="post" id="registrationActionFormOne" name="registrationActionFormOne"> <table width="90%" cellspacing="0" cellpadding="2" border="0" align="center"> <!-- Title --> <tbody><tr> <td colspan="3"> <h3 class="registrationSectionTitle">创建您的登入资料</h3> <p class="regNote">用户名称和密码须有最少五个字符,大小写必须相同, 例如:0-9, Aa – Zz</p> </td> </tr> <!-- User Name --> <tr> <td valign="top">用户名称<span class="mandatory">*</span></td> <td valign="top"> <input type="text" class="inputfields" value="" tabindex="20" maxlength="15" name="userId"/> </td> </tr> <!-- Password --> <tr> <td valign="top">密码<span class="mandatory">*</span></td> <td valign="top"> <input type="password" class="inputfields" value="" tabindex="21" maxlength="9" name="password"/> </td> </tr> <!-- Confirm Password --> <tr> <td valign="top">确定密码<span class="mandatory">*</span></td> <td valign="top"> <input type="password" class="inputfields" value="" tabindex="22" maxlength="9" name="confirmPassword"/> </td> </tr> <!-- Email --> <tr> <td valign="top">电邮地址</td> <td valign="top"><input type="text" class="inputfields" value="" tabindex="22" maxlength="45" name="email"/> </td> </tr> <!-- Continue Button --> <tr height="40"> <td align="center" colspan="3"><input type="image" tabindex="30" title="转到第二页" src="https://shanghai.rs-online.com/cn03/img/site/login/continue.gif"/></td> </tr> <tr> <td colspan="3"><span class="mandatory">*</span>为必要项目</td> </tr> </tbody></table> <!-- HIDDEN FIELDS --> <input type="hidden" value="1" name="securityQuestion"/> <input type="hidden" value="post85" name="securityAnswer"/> <input type="hidden" value="on" name="terms"/> </form> </div> </div> </div></div><script><s:if test="getActionName().equals('registerStepOne.submit') ">showReg();</s:if></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -