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

森中灵 最后提交于9月前 整理为组织方式和替换新的jar
index.htm4KB
<!DOCTYPE html>
<html>
<head>
<title>${context.getContextName()}<#if Validates.isNotEmpty(title)>_${title}</#if></title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"/>
<meta name="Author" content="${context.getContextName()}" />
<meta name="Keywords" content="<#if Validates.isNotEmpty(keyword)>${keyword} </#if>${context.getAttribute("keywords")}"/>
<meta name="Description" content="<#if Validates.isNotEmpty(desc)>${desc}<#else>${context.getAttribute("description")}</#if>"/>
${Styles.src(zhiqim.css)}
${Scripts.src(zhiqim.js)}
${Styles.src(zmr_theme.css)}
${Scripts.src(zmr_theme.js)}

<#var isRemember = request.getCookie("isRemember")/>
<#var userAccount = request.getCookie("userAccount")/>
<#var userPass = request.getCookie("userPass")/>
<#if request.getSessionUser()==null && Validates.isNotEmpty(isRemember) && Validates.isNotEmpty(userAccount) && Validates.isNotEmpty(userPass)>
<script>
Z.onload(function()
{//自动登录
    var ajax = new Z.Ajax();
    ajax.setClassName("ZmrPassportPresenter");
    ajax.setMethodName("login");
    ajax.addParam("userAccount", '${userAccount}');
    ajax.addParam("userPass", '${userPass}');
    ajax.addParam("isRemember", '${isRemember}');
    ajax.addParam("isAuto", 'on');
    ajax.setSuccess(function(){Z.l.reload();});
    ajax.execute();
});
</script>
</#if>
</head>
<body>

<!--顶部导航-->
<div class="topnav">
    <div class="logo z-float-left z-w400 z-lh50 z-pd-l10 z-color-white zi-px22 ${zhiqim_manager_logo_px}">${context.getContextName()}</div>
    <div class="topnavleft">
        ${zhiqim_manager_topnav_left_defined()}
    </div>
    <div class="topnavright">
        <#if request.hasSessionUser(ZmrSessionUser.class)>
            <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>
            ${zhiqim_manager_topnav_right_defined()}
            <div class="nav z-w100 z-h50 z-text-center z-pointer z-user-select-none" onclick="Z.L.reload();">刷新</div>
            <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>
            <#else>
            ${zhiqim_manager_topnav_right_defined()}
            <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>
            <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>
    </div>
</div>
<!--顶部导航固定的55px边距-->
<div class="topnav-margin"></div>

<!--主体-->
<#include include/>

<#if request.getPathInContext() == "/index.htm">
<!--脚注-->
<div class="footer-index">
<div class="footer-index-wrap">
<ul>
    <li class="fproduct">
        <span class="z-bold z-pd-l10">友情链接</span>
        <p><a href="https://www.zhiqim.com/index.htm" target="_blank" >知启蒙</a></p>
        <p><a href="https://www.zhiqim.com/minisite/index.htm" target="_blank" >自助建站</a></p>
    </li>
    <li class="fhelp">
        <span class="z-bold z-pd-l10">帮助</span>
        <p class="z-pd-l10">QQ:<a>405753247</a></p>
    </li>
    <li class="fabout">
        <span class="z-bold z-pd-l10">关于</span>
        <p><a href="" target="_blank" >关于印啦啦</a></p>
        <p><a href="" target="_blank" >加入我们</a></p>
    </li>
    <li class="abountus">
        <p class="z-pd-l10">Add:湖南省长沙市岳麓区佑母塘路799号</p>
        <p style="padding-left:53px;">钰龙佳园二期综合楼3栋1610室</p>
        <p class="z-pd-l10">Tel:18073153676 / 18975864697</p>
        <p class="z-pd-l10">Mail:yinlala@yinlala.com</p>
    </li>
    <li>
        <p class="z-pd-l10"><img style="width:140px;height:140px;" src="${context.getRootPath("/zinc/zhiqim_manager/qrcode_yinlala.png")}"/></p>
    </li>
</ul>
</div>
</div>
</#if>
<div class="footer">
    <div class="footer-wrap">
        <div class="footer-text">
            Copyright © 2019 湖南印啦啦科技有限公司 版权所有 <a href="https://beian.miit.gov.cn" target="_blank">湘ICP备19006980号-1</a>
             <span class="z-show-ib z-mg-r10 z-mg-l10">|</span>
            <span><a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43010402000724"><img src="/zinc/zhiqim_manager/icon_bei.png"><span class="z-mg-l3">湘公网安备 43010402000724号</span></a></span>
        </div>
    </div>
</div>
</body>
</html>