<%sub webleft()%>
<DIV id=main_left style="text-align:center">
<DIV class=left_title>基本信息</DIV>

<UL class=left_menu > 
<LI><A style="color:#36F" href="index.asp">后台首页</A>

<%if cint(logquanxian("a4",0))=1 then%>
<A style="color:#36F" href="adminjihua.asp">计划任务</A> 
<%end if%>
</LI>

<LI>
<%if logquanxian("a1",0)="1" then%>
<A style="color:#36F" href="ik_adminsys.asp">全局设置</A> 
<%end if%>
<%if cint(logquanxian("a2",0))=1 then%>
<A style="color:#36F" href="adminsys_site.asp">网站设置</A>
<%end if%>
</LI>

<LI>
<%if cint(logquanxian("a3",0))=1 then%>
<A style="color:#36F" href="ik_adminmaster.asp">平台权限</A>
<%end if%>
<%if logquanxian("a1",0)="1" then%>
<A style="color:#36F" href="ik_adminshoukuanma.asp">收款码设置</A> 
<%end if%>
</LI>


<LI>
<%if logquanxian("a1",0)="1" then%>
<A style="color:#36F" href="adminsys2.asp">其他核心设置</A> 
<%end if%>
</LI> 


</UL>

<DIV style="MARGIN-TOP: 10px" class=left_title>会员管理</DIV>
<UL class=left_menu>

<LI>
<%if cint(logquanxian("b2",0))=1 then%>
<A href="ik_adminuser.asp?act=one" style="color:#36F"><strong>会员管理</strong></A>
<%end if%>
<%if cint(logquanxian("a7",0))=1 then%>
<A style="color:#36F" href="ik_adminjibie.asp">会员级别</A>
<%end if%>
</LI>

<LI>
<%if cint(logquanxian("b8",0))=1 then%>
<A style="color:#36F" href="adminuserdl.asp">代理商管理</A> 
<%end if%>
<%if cint(logquanxian("b9",0))=1 then%>
<A style="color:#36F" href="adminuseryj.asp">推广员管理</A>
<%end if%>
</LI>

</UL>


<DIV style="MARGIN-TOP: 10px" class=left_title>卡类管理</DIV>
<UL class=left_menu>

<LI>
<%if cint(logquanxian("c1",0))=1 then%>
<A style="color:#36F" href="adminfenlei.asp">商品分类</A>
<%end if%>
<%if cint(logquanxian("c2",0))=1 then%>
<A style="color:#36F" href="admingoodlist.asp">商品管理</A> 
<%end if%>
</LI>

<LI>
<%if cint(logquanxian("c3",0))=1 then%>
<A style="color:#36F" href="ik_adminkucunka.asp">点卡管理</A>
<%end if%>
<%if cint(logquanxian("c3",0))=1 then%>
<A style="color:#36F" href="adminfeika.asp">最近卖出</A> 
<%end if%>
</LI>

<LI>
<%if cint(logquanxian("d1",0))=1 then%>
<A href="ik_admindd.asp?act=one" style="color:#36F"><strong>订单管理</strong></A> 
<%end if%>
</LI>
</UL>


<DIV style="MARGIN-TOP: 10px" class=left_title>财务管理</DIV>
<UL class=left_menu>
<LI>
<%if cint(logquanxian("e7",0))=1 then%>
<A href="adminzwtj.asp" style="color:#36F"><strong>账务统计</strong></A>
<%end if%>
<%if cint(logquanxian("e7",0))=1 then%>
<A href="adminxiaoshou.asp" style="color:#36F"><strong>销售统计</strong></A> 
<%end if%>
</LI>

<LI>
<%if cint(logquanxian("e2",0))=1 then%>
<A href="admincaiwu.asp?act=one" style="color:#36F"><strong>财务流水</strong></A>
<%end if%>
</LI>

</UL>


<DIV style="MARGIN-TOP: 10px" class=left_title>结算管理</DIV>
<UL class=left_menu>

<LI>
<%if cint(logquanxian("e3",0))=1 then%>
<A href="ik_adminjiesuan4.asp" style="color:#36F"><strong>商户结算</strong></A>
<A href="ik_adminfenzhang.asp" style="color:#36F"><strong>秒结算</strong></A>
<%end if%>
</LI>
<LI>
<%if cint(logquanxian("e3",0))=1 then%>
<A href="ik_adminjiesuan.asp" style="color:#36F"><strong>自动结算</strong></A>
<A href="ik_adminjiesuanjj.asp" style="color:#36F"><strong>加急结算</strong></A>
<%end if%>
</LI>
<%if cint(logquanxian("e6",0))=1 then%>
<LI><A style="color:#36F" href="adminjiesuanjl.asp">结算记录</A> </LI>
<%end if%>
</UL>
 

  
<DIV style="MARGIN-TOP: 10px" class=left_title>平台助手</DIV>
<UL class=left_menu>

<LI>
<%if cint(logquanxian("g2",0))=1 then%>
<A style="color:#36F" href="ik_adminjubao.asp">投诉管理</A> 
<%set rsjb=server.CreateObject("adodb.recordset")
sqljb="select * from ayjubao where ayjuzt=0 and ayjuishui=0 and isguaqi=0" 
	rsjb.open sqljb,conn,1,1
		if not(rsjb.bof and rsjb.eof) then%>
		<span style="color:#FF0000">(<%=rsjb.RecordCount%>)</span>
		<%end if
	rsjb.close%>
<%end if%>
<A href="admingongdan.asp" style="color:#36F">工单管理</A>
</LI>

<LI>
<%if cint(logquanxian("e8",0))=1 then%>
<A style="color:#36F" href="admintaocan.asp">套餐管理</A>
<%end if%>
<%if cint(logquanxian("e9",0))=1 then%>
<A style="color:#36F" href="admintaocany.asp">套餐使用</A> 
<%end if%>
</LI>



<%if cint(logquanxian("f3",0))=1 then%>
<LI><A style="color:#36F" href="adminmailqf.asp">推送群发</A>
<A style="color:#36F" href="adminmailmb.asp">推送模版</A> </LI>
<%end if%>

<LI>
<%if cint(logquanxian("f4",0))=1 then%>
<A style="color:#36F" href="adminyouhui.asp">生成优惠券</A>
<%end if%>
<%if cint(logquanxian("f5",0))=1 then%>
<A style="color:#36F" href="adminmyyouhui.asp">管理优惠券</A> 
<%end if%>
</LI>

<%if cint(logquanxian("a8",0))=1 then%>
<LI><A style="color:#36F" href="adminhei.asp">IP黑名单</A>
<A style="color:#36F" href="adminheimail.asp">邮件黑名单</A> </LI>
<%end if%>

<LI>
<%if cint(logquanxian("e8",0))=1 then%>
<A style="color:#36F" href="adminyaoqing.asp">邀请码</A> 
<%end if%>
<%if cint(logquanxian("g3",0))=1 then%>
<A style="color:#36F" href="adminjianyi.asp">建议/BUG</A> 
<%
set rsjb=server.CreateObject("adodb.recordset")
sqljb="select * from ayjianyi where ayjianyiisd=0" 
	rsjb.open sqljb,conn,1,1
		if not(rsjb.bof and rsjb.eof) then
		%>
		<span style="color:#FF0000">(<%=rsjb.RecordCount%>)</span>
		<%end if
	rsjb.close%>
<%end if%>
</LI>

<%if cint(logquanxian("g1",0))=1 then%>
<LI>
<A href="adminerr.asp" style="color:#36F">错误查看</A> 
<%set rserr=server.CreateObject("adodb.recordset")
sqlerr="select * from ayerr where errisdu=0" 
	rserr.open sqlerr,conn,1,1%>
	<span style="color:#FF0000">(<%=rserr.RecordCount%>)</span>
	<%rserr.close%>
<A href="admintxtjindu.asp" style="color:#36F">加卡进度</A> 
</LI>
<%end if%>


<LI>
<%if cint(logquanxian("g1",0))=1 then%>
<A href="adminmail.asp" style="color:#36F">发信查看</A>
<%end if%>

<%if cint(logquanxian("f3",0))=1 then%>
<A href="admintosms.asp" style="color:#36F">发送消息</A>
<%
msn=0
set rsmsn=server.CreateObject("adodb.recordset")
sqlmsn="select * from aymsn where aymsnzt=0" 
rsmsn.open sqlmsn,conn,1,1
if not(rsmsn.bof and rsmsn.eof) then
msn=rsmsn.RecordCount
end if
rsmsn.close%>
<%end if%>
</LI>


<LI>
<%if cint(logquanxian("g1",0))=1 then%>
<A href="adminlog.asp" style="color:#36F"><strong>日志管理</strong></A>
<%end if%>
<%if cint(logquanxian("g1",0))=1 then%>
<A href="adminweixinlog.asp" style="color:#36F"><strong>公众号日志</strong></A>
<%end if%>
</LI>

<%if cint(logquanxian("f3",0))=1 then%>
<LI>
<A href="adminmsn.asp" style="color:#36F">平台消息(<%=msn%>)</A> 

<%end if%>
<%if cint(logquanxian("a8",0))=1 then%>
<A style="color:#36F" href="adminheibuy.asp">买家黑名单</A></LI>
<%end if%>
<LI>
<A style="color:#36F" href="adminhuitiao.asp">支付回调查看</A></LI>
<%if cint(logquanxian("a8",0))=1 then%>
<LI><A style="color:#36F" href="adminheibuy_all.asp">全站买家ID黑名单</A></LI>
<%end if%>
</UL>

<DIV style="MARGIN-TOP: 10px" class=left_title>通知管理</DIV>
<UL class=left_menu>
<LI>
<%if cint(logquanxian("f1",0))=1 then%>
<A style="color:#36F" href="admintongzhi.asp">通知管理</A>
<%end if%>
<%if cint(logquanxian("f2",0))=1 then%>
<A style="color:#36F" href="admintongzhiadd.asp">添加通知</A> 
<%end if%>
</LI>
</UL>
  
<DIV style="MARGIN-TOP: 10px" class=left_title>兑换系统</DIV>
<UL class=left_menu>
<LI>
<%if cint(logquanxian("i1",0))=1 then%>
<A style="color:#36F" href="adminduihuanadd.asp">添加兑换码</A>
<%end if%>


<%if cint(logquanxian("i2",0))=1 then%>
<A style="color:#36F" href="adminduihuanlist.asp">管理兑换码</A> 
<%end if%>
</LI>
<LI>
<%if cint(logquanxian("i3",0))=1 then%>
<A style="color:#36F" href="adminduihuanajl.asp">兑换记录</A>
<%end if%>
</LI>
</UL>
  
  
  
  </DIV>
  
  <%end sub%>