Zhiqim Account(前端账户管理台)是在ZhiqimManager基础上改造成用于前端注册登录的管理系统,增加组织结构和余额,开放注册组织和组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构

森中灵 最后提交于2月前 首页做2个,00,01
index.htm3KB
1<!DOCTYPE html>
2<html>
3<head>
4<title>${context.getContextName()}<#if Validates.isNotEmpty(title)>_${title}</#if></title>
5<meta charset="UTF-8">
6<meta http-equiv="X-UA-Compatible" content="IE=edge">
7<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
8<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"/>
9<meta name="Author" content="${context.getContextName()}" />
10<meta name="Keywords" content="<#if Validates.isNotEmpty(keyword)>${keyword} </#if>${context.getAttribute("keywords")}"/>
11<meta name="Description" content="<#if Validates.isNotEmpty(desc)>${desc}<#else>${context.getAttribute("description")}</#if>"/>
12${Styles.src(zhiqim.css)}
13${Scripts.src(zhiqim.js)}
14${Styles.src(zmr_theme.css)}
15${Scripts.src(zmr_theme.js)}
16${Styles.htmlOverflowHidden()}
17<#var isRemember = request.getCookie("isRemember")/>
18<#var userAccount = request.getCookie("userAccount")/>
19<#var userPass = request.getCookie("userPass")/>
20<#if request.getSessionUser()==null && Validates.isNotEmpty(isRemember) && Validates.isNotEmpty(userAccount) && Validates.isNotEmpty(userPass)>
21<script>
22Z.onload(function()
23{//自动登录
24 var ajax = new Z.Ajax();
25 ajax.setClassName("ZmrPassportPresenter");
26 ajax.setMethodName("login");
27 ajax.addParam("userAccount", '${userAccount}');
28 ajax.addParam("userPass", '${userPass}');
29 ajax.addParam("isRemember", '${isRemember}');
30 ajax.addParam("isAuto", 'on');
31 ajax.setSuccess(function(){Z.l.reload();});
32 ajax.execute();
33});
34</script>
35 </#if>
36</head>
37<body>
38
39<!--顶部导航-->
40 <div class="topnav">
41 <div class="logo z-text-left z-pointer" onclick="Z.L.href('${context.getRootPath(request.hasSessionUser(ZmrSessionUser.class)?("/"+zhiqim_manager+"/main.htm"):"/index.htm")}');">
42 <img src="${context.getRootPath("/ztmpl/zhiqim_manager/00_default/logo.png")}"/>
43 </div>
44  <div class="topnavleft">
45 <div class="nav z-w110 z-px16 z-text-center z-pointer z-user-select-none active" onclick="Z.L.href('${context.getRootPath("/index.htm")}');">首页</div>
46 ${zhiqim_manager_topnav_left_defined()}
47 </div>
48 <div class="topnavright">
49 <#if request.hasSessionUser(ZmrSessionUser.class)>
50 <div class="nav z-w80 z-h50 z-text-center z-pointer z-user-select-none" onclick="Z.L.href('${context.getRootPath("/"+zhiqim_manager+"/main.htm")}');"><img class="z-bd-rd50p z-w40 z-h40" src="${sessionUser.getAvatar50()}"></div>
51 ${zhiqim_manager_topnav_right_defined()}
52 <div class="nav z-w100 z-h50 z-text-center z-pointer z-user-select-none" onclick="Z.L.reload();">刷新</div>
53 <div class="nav z-w100 z-h50 z-text-center z-pointer z-user-select-none" onclick="Z.L.href('${context.getRootPath("/logout.htm")}');">退出</div>
54 <#else>
55 ${zhiqim_manager_topnav_right_defined()}
56 <div class="nav z-w100 z-h50 z-text-center z-pointer z-user-select-none" onclick="Z.L.href('/login.htm?to=${Urls.encodeUTF8(request.getRequestURI())}');">登录</div>
57 <#if ZmrParamDao.hasRegister()><div class="nav z-w100 z-h50 z-text-center z-pointer z-user-select-none" onclick="Z.L.href('${context.getRootPath("/register.htm")}');">注册</div></#if>
58 </#if>
59 </div>
60</div>
61<!--顶部导航固定的55px边距-->
62<div class="topnav-margin"></div>
63<!--主体-->
64<#include include/>
65<div class="footer">${zmr_copyright}</div>
66</body>
67</html>
68