<%@ page language="java" contentType="text/html; charset=UTF-8"
|
pageEncoding="UTF-8"%>
|
<%@page import="com.yc.utils.SessionKey"%>
|
<%@page import="com.yc.multiData.MultiDataSource"%>
|
<%@page import="com.yc.entity.DataSourceEntity"%>
|
<%@page import="java.util.List"%>
|
<%@page import="com.yc.sdk.shopping.util.SettingKey"%>
|
<!DOCTYPE html >
|
<html>
|
<%
|
String hostUrl = SettingKey.getHostUrl(request) ;
|
String URL = (request.getRequestURL()+"").replace(request.getRequestURI(),"") + request.getContextPath();
|
String domain=com.yc.utils.HtmlUtil.getDomain(URL);
|
List<DataSourceEntity> dataSourceList = MultiDataSource.getDataSourceMapsByDomain(domain) ;
|
DataSourceEntity dataSourceEntity = null;
|
if (dataSourceList != null && dataSourceList.size()>0) {
|
dataSourceEntity = dataSourceList.get(0);
|
}
|
%>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<title>重新登录</title>
|
<link rel="stylesheet" type="text/css" href="<%=hostUrl%>/style/commons.css?v=<%=com.yc.utils.FileUtil.getVerstion(request,"/style/commons.css")%>">
|
<link rel="stylesheet" type="text/css" href="<%=hostUrl%>/style/icon.css?v=<%=com.yc.utils.FileUtil.getVerstion(request,"/style/icon.css")%>">
|
<link rel="stylesheet" type="text/css" href="<%=hostUrl%>/style/default/easyui.css?v=<%=com.yc.utils.FileUtil.getVerstion(request,"/style/default/easyui.css")%>">
|
<script type="text/javascript" src="<%=hostUrl%>/js/jquery-1.4.4.min.js?v=<%=com.yc.utils.FileUtil.getVerstion(request,"/js/jquery-1.4.4.min.js")%>"></script>
|
<script type="text/javascript" src="<%=hostUrl%>/js/index/jquery.easyui.min.js?v=<%=com.yc.utils.FileUtil.getVerstion(request,"/js/index/jquery.easyui.min.js")%>"></script>
|
<script type="text/javascript" src="<%=hostUrl%>/js/jquery.cookie.min.js?v=<%=com.yc.utils.FileUtil.getVerstion(request,"/js/jquery.cookie.min.js")%>"></script>
|
<script type="text/javascript" src="<%=hostUrl%>/js/loginSession.js?v=<%=com.yc.utils.FileUtil.getVerstion(request,"/js/loginSession.js")%>"></script>
|
<script src="<%=hostUrl%>/js/jsencrypt.min.js?v=<%=com.yc.utils.FileUtil.getVerstion(request,"/js/jsencrypt.min.js")%>" type="text/javascript" ></script>
|
</head>
|
<body>
|
<div class="easyui-layout" fit="true">
|
<div region="north" border="false" style="padding-top:15px;padding-bottom:15px;text-align:center;background:#fff;">
|
<span>您有太长时间没有操作了,请重新登录!</span>
|
</div>
|
<div region="center" border="false" style="overflow:hidden;text-align:center;padding-top:25px;background:#fff;border:1px solid #ccc;">
|
|
<%-- <form id="loginForm" method="post" action="/againLogin.do">--%>
|
<input type="hidden" id="dbid" name="dbid" value="<%= dataSourceEntity != null? dataSourceEntity.getDbId():"" %>"/>
|
<input type="hidden" id="dbstr" name="dbstr" value="<%= dataSourceEntity != null? dataSourceEntity.getSystemID():"" %>"/>
|
<input type="hidden" id="domain" name="domain" value="<%=domain%>"/>
|
<div style="padding:5px 0;">
|
<label for="login">帐号:</label>
|
<input type="text" id="usercode" name="usercode" maxlength="30" style="width:170px; height:16px;"></input>
|
</div>
|
<div style="padding:5px 0;">
|
<label for="password">密码:</label>
|
<input type="password" id="password" name="password" maxlength="30" style="width:170px; height:16px;"></input>
|
</div>
|
<div style="padding:5px 0;text-align: center;color: red;" id="showMsg"></div>
|
<%-- </form>--%>
|
</div>
|
<div region="south" border="false" style="text-align:center;padding:5px 0;overflow: hidden;">
|
<a id="login" class="easyui-linkbutton" iconCls="icon-ok">登录</a>
|
</div>
|
</div>
|
</body>
|
</html>
|