新春六重礼 IBM System x 送惊喜
2011-02-23 13:17
183 查看
<%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="gb2312"%> <!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"> <%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %> <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title></title> <link href="./pages/ipic/css/main.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="./pages/ipic/scripts/login.js"></script> <style type="text/css"> <!-- body { margin: 0px auto; background-image: url(./pages/ipic/images/bg.jpg); text-align: center; background-repeat: repeat-x; background-color: #FFF;} .foot { color: #666;} --> </style> <script type="text/javascript"> function onLoginLoaded(){ if(isPostBack == "False") { GetLastUser(); } } function GetLastUser() { var id = "49BAC005-7D5B-4231-8CEA-16939BEACD67"; var usr = GetCookie(id); if(usr != null) { document.getElementById('username').value = usr; }else { document.getElementById('username').value = "001"; } GetPwdAndChk(); } function SetPwdAndChk() { var usr = document.getElementById('username').value; SetLastUser(usr); if(document.getElementById('chkRememberPwd').checked == true) { var pwd = document.getElementById('password').value; var expdate = new Date(); expdate.setTime(expdate.getTime() + 14 * (24 * 60 * 60 * 1000)); SetCookie(usr,pwd, expdate); }else{ ResetCookie(); } } function SetLastUser(usr) { var id = "49BAC005-7D5B-4231-8CEA-16939BEACD67"; var expdate = new Date(); expdate.setTime(expdate.getTime() + 14 * (24 * 60 * 60 * 1000)); SetCookie(id, usr, expdate); } function GetPwdAndChk() { var usr = document.getElementById('username').value; var pwd = GetCookie(usr); if(pwd != null) { document.getElementById('chkRememberPwd').checked = true; document.getElementById('password').value = pwd; } else { document.getElementById('chkRememberPwd').checked = false; document.getElementById('password').value = ""; } } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; //alert(j); if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } var isPostBack = "true"; function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function SetCookie(name, value, expires) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } function ResetCookie() { var usr = document.getElementById('username').value; var expdate = new Date(); SetCookie(usr, null, expdate); } </script> </head> <body onload="onLoginLoaded();"> <form id="form1" action="./login.do?method=login" method="post"> <table width="1010" border="0" cellpadding="0" cellspacing="0"> <tr> <td><table width="1010" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="322"><img src="./pages/sata/images/login_12_01.jpg" width="322" height="85" alt="" /></td> <td width="322"><img src="./pages/sata/images/login_12_02.jpg" width="322" height="85" alt="" /></td> <td width="252"><img src="./pages/sata/images/login_12_03.jpg" width="252" height="85" alt="" /></td> <td><img src="./pages/sata/images/login_12_04.jpg" width="114" height="85" alt="" /></td> </tr> </table></td> </tr> <tr> <td><table width="1010" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="322"><img src="./pages/sata/images/login_12_05.jpg" width="322" height="90" alt="" /></td> <td width="322"><img src="./pages/sata/images/login_12_06.jpg" width="322" height="90" alt="" /></td> <td width="252"><img src="./pages/sata/images/login_07.jpg" width="252" height="90" alt="" /></td> <td><img src="./pages/sata/images/login_12_08.jpg" width="114" height="90" alt="" /></td> </tr> </table></td> </tr> <tr> <td><table width="1010" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="322"><img src="./pages/sata/images/login_12_09.jpg" width="322" height="112" alt="" /></td> <td width="322"><img src="./pages/sata/images/login_12_10.jpg" width="322" height="112" alt="" /></td> <td width="252" align="center" background="./pages/sata/images/login_11.jpg"><table width="90%" height="95" border="0" cellpadding="0" cellspacing="0"> <tr> <td><html:errors/></td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="40%">用户名:</td> <td width="60%"><input type="text" name="username" value="${loginform.username }" style="height:18px; width: 150px;" onblur="GetPwdAndChk();" onkeydown="javascript:doLogin();"/></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="40%">密 码:</td> <td width="60%"> <input type="password" name="password" style="height:18px; width: 150px;" onkeydown="javascript:doLogin();"/> </td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <input type="checkbox" name="chkRememberPwd" checked="checked"/>记住密码 </td> </tr> </table></td> </tr> <tr> <td align="center"><table width="164" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="79"><img src="./pages/sata/images/login_butt1.jpg" width="79" height="27" border="0" onmouseover="changeimg(this,'./pages/sata/images/login_butt10.jpg')" onmouseout="changeimg(this,'./pages/sata/images/login_butt1.jpg')" onclick="login()" style="cursor:pointer;"/></td> <td width="6"></td> <td width="79"><img src="./pages/sata/images/login_butt2.jpg" width="79" height="27" border="0" onclick="setN('username','password')" onmouseover="changeimg(this,'./pages/sata/images/login_butt20.jpg')" onmouseout="changeimg(this,'./pages/sata/images/login_butt2.jpg')" style="cursor:pointer;"/></td> <td> </td> </tr> </table></td> </tr> </table></td> <td><img src="./pages/sata/images/login_12_12.jpg" width="114" height="112" alt="" /></td> </tr> </table></td> </tr> </body> </html>
相关文章推荐
- IBM pSeries AIX System Administration -- 存储管理、LVM 和文件系统二
- Installing a single-server IBM FileNet P8 Platform system with IBM Content Navigator
- IBM :技术传承让System x持续创新
- IBM System x 软件与驱动程序导航
- IBM LAS SYSTEM( 1 )——架构及权限
- IBM System X + VMware虚拟化解决方案在铁路航测系统中的应用
- IBM PureFlex System 之我见-wangqib@DC
- 为 IBM PureApplication System 做好准备,第 1 部分: 应用程序迁移概述
- IBM System 服务器做RAID步骤
- 使用IBM PureFlex System设置和部署弹性虚拟服务器
- IBM X System ServerGuide 8.41 服务器 系统安装 引导盘
- 从IBM在中国发布FlashSystem看闪存未来
- IBM pSeries AIX System Administration -- 存储管理、LVM 和文件系统一
- 新锐洞察:IBM带来的新惊喜
- 为 IBM PureApplication System 做好准备,第 2 部分: 您的应用程序是否已经为虚拟化做好了准备?
- IBM全闪存阵列--FlashSystem(1)
- IBM Flex System Enterprise Chassis
- IBM Rational System Architect 许可证问题处理
- 为 IBM PureApplication System 做好准备,第 3 部分: 选择数据库选项
- IBM全闪存阵列--FlashSystem(Data Protection)