187 lines
7.7 KiB
Plaintext
187 lines
7.7 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
|
||
<%@ OutputCache Location="None" VaryByParam="none" %>
|
||
|
||
<!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>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
|
||
|
||
<title>河北省质量技术监督局机关标准化管理系统<%=versionTitle %> - 用户登录</title>
|
||
|
||
<script src="js/HebcaClient.js" type="text/javascript"></script>
|
||
<link href="css/css.css" type="text/css" rel="stylesheet"/>
|
||
|
||
<script language="JavaScript" type="text/javascript">
|
||
// var client = new HebcaClient();
|
||
function Sign() {
|
||
try {
|
||
|
||
var client = new HebcaClient();
|
||
document.getElementById("signature").value = client.Sign(Form1.msg.value);
|
||
document.getElementById("signCert").value = client.GetSignCert();
|
||
document.getElementById("cryptCert").value = client.GetCryptCert();
|
||
|
||
|
||
return true;
|
||
}
|
||
catch (e) {
|
||
alert(e.message);
|
||
return false;
|
||
}
|
||
|
||
}
|
||
function document.onkeydown() {
|
||
if (event.keyCode == 13) {
|
||
document.getElementById("ImgBtnLogin").click();
|
||
return false;
|
||
}
|
||
}
|
||
</script>
|
||
<style type="text/css">
|
||
.style1
|
||
{
|
||
height: 48px;
|
||
}
|
||
.style3
|
||
{
|
||
height: 36px;
|
||
}
|
||
|
||
</style>
|
||
</head>
|
||
<body style="background-color:#A6CDFE;">
|
||
<form id="Form1" runat="server">
|
||
<asp:HiddenField runat="server" ID="hidsolt" />
|
||
<div style="display: none">
|
||
<asp:TextBox ID="msg" runat="server"></asp:TextBox>
|
||
<asp:TextBox runat="server" ID="signature" />
|
||
<asp:TextBox runat="server" ID="signCert" />
|
||
<asp:TextBox runat="server" ID="cryptCert" />
|
||
</div>
|
||
<!--登录中间最外层背景填充-->
|
||
<div class="login1" align="center">
|
||
|
||
<!--中间三部分图片的外层容器-->
|
||
<div style="width:1024px;">
|
||
<div id="login_left" style="background-image:url(<%=loginLeft%>);" ></div>
|
||
<div id="login_center">
|
||
<table border="0" cellspacing="0" cellpadding="0" align="center"
|
||
style="height: 173px; width: 384px;">
|
||
<tr>
|
||
<td width="90" align="right" style="height:18px">
|
||
</td>
|
||
<td width="207" style="height:18px">
|
||
|
||
</td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td width="90" align="right" class="style3">
|
||
登录名:
|
||
</td>
|
||
<td width="207" class="style3">
|
||
<asp:TextBox ID="txtUserName" class="logintxt" runat="server"></asp:TextBox>
|
||
</td>
|
||
<td rowspan="2" style="display:<%=issignature%>">
|
||
<asp:Button ID="btnCa" Text="证书登录"
|
||
runat="server" Width="80px" OnClientClick="return Sign();"
|
||
onclick="btnCa_Click" Height="60px" TabIndex="3" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="90" align="right" class="style3">
|
||
密 码:
|
||
</td>
|
||
<td width="207" class="style3">
|
||
<asp:TextBox runat="server" class="logintxt" ID="txtUserPassword"
|
||
TextMode="Password" TabIndex="1" ></asp:TextBox>
|
||
</td>
|
||
|
||
<%--<td class="style3"><a href="UserReGetPassword.aspx" target="_blank" title="获取密码" style=" text-decoration:underline;">获取密码</a>
|
||
</td>--%>
|
||
</tr>
|
||
<tr>
|
||
<td width="90px" align="right" style="height:30px; line-height:30px">验 证 码:</td>
|
||
<td colspan="2" style="height:30px; line-height:30px; text-align:left;">
|
||
<asp:TextBox id="validatechar" runat="server" style="width:80px;height:18px; line-height:18px; vertical-align:middle;margin-left:5px;" />
|
||
<asp:ImageButton id="imgBtn" runat="server" Width="80px" Height="30px" style="vertical-align:middle;" /><a href="javascript:changeCode()" style="text-decoration: underline;"> 换一张</a>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="3" align="center" class="style1" valign="bottom">
|
||
<asp:ImageButton src="images/login-1.gif" Width="81" Height="23" ID="ImgBtnLogin"
|
||
runat="server" OnClick="ImgBtnLogin_Click" TabIndex="2" /> <asp:ImageButton
|
||
src="images/login-2.gif" Width="81" Height="23" ID="ImgBtnClear" runat="server"
|
||
OnClick="ImgBtnClear_Click" TabIndex="4" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td height="30" colspan="3" align="center" style="text-align: left">
|
||
<asp:Label ID="lblLoginMsg" runat="server" ForeColor="Red" TabIndex="6"></asp:Label>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<div style="text-align: center;">
|
||
如果您的机器不能正常安装在线办公的插件请<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="Red"
|
||
OnClick="LinkButton1_Click" TabIndex="5">下载在线客户端控件</asp:LinkButton>
|
||
</div>
|
||
<div style="text-align: center; line-height:20px;"><span style="color:yellow;">(目前证书登录功能仅限局领导使用,其他人员可按原登录方式登录。)</span><br/>
|
||
查看局领导电子签名,请下载并安装<a href="soasetup/河北腾翔电子签章客户端.zip" target="_blank"
|
||
style="color:Red;" tabindex="7">证书客户端</a>。
|
||
|
||
|
||
</div>
|
||
<!-- OBJECT标签,客户端控件引用 -->
|
||
<br />
|
||
<div id="obj" style="display: none">
|
||
<object id="SOAOfficeCtrl" codebase="zsoffice.cab#version=2,0,0,1" height="5px"
|
||
width="5px" data="" classid="clsid:AD06827C-D92F-4648-B880-138AF11E8A13" viewastext>
|
||
</object>
|
||
</div>
|
||
<div id="install" style="display:inline">
|
||
<span style="color: red; text-align: left;">
|
||
本机尚未安装在线客户端控件,请安装浏览器上方黄色提示条或弹出提示框中的客户端控件。第一次登录系统后,请及时修改密码。 </span>
|
||
</div>
|
||
<div id="chk">
|
||
<img src="images/load.gif" width="100%" height="16">
|
||
</div>
|
||
<div id="info" style="display: none">
|
||
</div>
|
||
<!--************** SOAOFFICE 客户端代码结束 ************************-->
|
||
<table width="1px"><tr><td height="1"><%--<object id="WebPDF" width="100%" height="100%" classid="clsid:39E08D82-C8AC-4934-BE07-F6E816FD47A1" codebase="iso9000/iWebPDF.cab#version=7,2,0,338" VIEWASTEXT></object>--%></td></tr></table>
|
||
</div>
|
||
<div id="login_right"></div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</form>
|
||
<script language="javascript" type="text/javascript">
|
||
function changeCode() {
|
||
document.getElementById('imgBtn').src = document.getElementById('imgBtn').src + '?';
|
||
}
|
||
// confirm(' 2012年8月21日19:00-21:00省局信息中心对“河北省质量技术监督局协同办公系统(省局版)”\n进行了迁移升级,新系统的登录地址、用户名及登录密码与原系统相同。\n\n 具体功能变化详见新系统首页通知公告!\n\n 对新系统使用中的问题和疑问请联系信息中心,以便改进完善。联系方式:0311-67568151,\n0311-67568150或13513219196\n\n2012年8月22日');
|
||
var mObject=false;
|
||
try{
|
||
document.getElementById("SOAOfficeCtrl").Menubar = false;
|
||
|
||
}catch(e)
|
||
{
|
||
mObject=true;
|
||
}
|
||
if(!mObject){
|
||
//alert('1');
|
||
document.all.install.style.display="none";
|
||
document.all.chk.style.display="none";
|
||
}
|
||
else{
|
||
//alert('2');
|
||
document.all.install.style.display="block";
|
||
document.all.chk.style.display="none";
|
||
}
|
||
</script>
|
||
</body>
|
||
</html>
|
||
|