📄 head_agency.jsp
字号:
<%
String agentCode = session.getAttribute("AgentCode") == null? "":session.getAttribute("AgentCode").toString();
if("".equals(agentCode)){
%>
<script language="javascript">
alert("登录超时,请重新登录");
window.top.location.href="/NCL/Agency/passport/login/loginForm.jsp";
</script>
<%
}
else {
%>
<%
com.NCL.Agent agent = new com.NCL.Agent();
agent.init((String)session.getAttribute("AgentCode"));
String AgentWelcome = "欢迎 "+agent.get("Name")+" 访问公司销售支持系统 ";
%>
<table width=100% height=143 cellpadding=0 cellspacing=0 background="/NCL/global/images/head/NCL_agency_head.jpg" border=0>
<tr>
<td height=35 width=850 align=right>
<a href="/NCL/" target="_parent"><font color=#ffffff>首页 </font></a>
</td>
<td height=35 align=right nowrap>
<a href="/NCL/Agency/index.jsp" target="_parent"><font color=#ffffff>代理人首页</font></a>
</td>
<td height=35 width=60 align=center>
<a href="/NCL/Agency/passport/logout/logout.jsp" target="_parent"><font color=#ffffff> 退出</font></a>
</td>
</tr>
<tr>
<td height=98 width=100% colspan=3>
<table height=98 width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td height=98 width=1%></td>
<td height=98 width=65% align="right" valign="bottom">
<%=AgentWelcome %><a href="#" onclick="window.open('/NCL/Agency/passport/update/index.jsp','','width=400 height=200 resizable=no')"><font color="red">修改密码</font></a>
</td>
<td height=98 width=34%></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=10></td>
</tr>
</table>
<%
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -