<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> <?php echo C('site_title');?> <?php echo C('site_name');?></title>
<meta name="keywords" content="<?php echo C('keyword');?>" />
<meta name="description" content="<?php echo C('content');?>" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<script>var SITEURL='';</script>
<link rel="stylesheet" type="text/css" href="<?php echo RES;?>/css/style_2_common.css?BPm" />
<script type="text/javascript" src="./tpl/static/sucaiku/jquery.min.js"></script>
<script src="<?php echo RES;?>/js/common.js" type="text/javascript"></script>
</head>
<body id="nv_member" class="pg_CURMODULE">
<div class="topbg">
<div class="top">
<div class="toplink">
<style>
.topbg{BACKGROUND-IMAGE: url(<?php echo RES;?>/images/top.png);BACKGROUND-REPEAT: repeat-x; height:124px; box-shadow:0 0 10px #000;-moz-box-shadow:0 0 10px #000;-webkit-box-shadow:0 0 10px #000;}
.top {
	MARGIN: 0px auto; WIDTH: 988px; HEIGHT: 124px;
}
.top .toplink{ height:27px; line-height:27px; color:#999; font-size:12px;}
.top .toplink .welcome{ float:left;}
.top .toplink .memberinfo{ float:right;}
.top .toplink .memberinfo a{ color:#999;}
.top .toplink .memberinfo a:hover{ color:#F90}
.top .toplink .memberinfo a.green{ background:none; color:#0C0}

.top .logo {WIDTH: 990px;COLOR: #333; height:70px;  FONT-SIZE:16px; PADDING-TOP:25px}
.top h1{ font-size:25px; margin-top:20px; float:left; width:230px; margin:0; padding:0;}
.top .navr {WIDTH:750px; float:right; overflow:hidden; margin-top:10px;}
.top .navr ul{ width:850px;}
.navr LI {TEXT-ALIGN:center;FLOAT: left;HEIGHT:32px;FONT-SIZE:1em;width:103px; margin-right:5px;}
.navr LI A {width:103px;TEXT-ALIGN:center; LINE-HEIGHT:30px; FLOAT: left;HEIGHT:32px;COLOR: #333; FONT-SIZE: 1em;TEXT-DECORATION: none
}
.navr LI A:hover {BACKGROUND: url(<?php echo RES;?>/images/navhover.gif) center no-repeat;color:#009900;}
.navr LI.menuon {BACKGROUND: url(<?php echo RES;?>/images/navon.gif) center no-repeat; display:block;width:103px;HEIGHT:32px;}
.navr LI.menuon a{color:#FFF;}
.navr LI.menuon a:hover{BACKGROUND: url(img/navon.gif) center no-repeat;}
a.a_upload{color:#f30}
</style>
<div class="welcome">欢迎使用viicms多用户微信营销服务平台!</div>
    <div class="memberinfo"  id="destoon_member">	
		<?php if($_SESSION[uid]==false): ?><a href="<?php echo U('Index/login');?>">登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;
			<a href="<?php echo U('Index/login');?>">注册</a>
			<?php else: ?>
			你好,<a href="/#" hidefocus="true"  ><span style="color:red"><?php echo (session('uname')); ?></span></a>（uid:<?php echo (session('uid')); ?>）
			<a href="<?php echo U('Admin/Admin/logout');?>">退出</a><?php endif; ?>	
	</div>
</div>
    <div class="logo">
        <div style="float:left"></div>
            <h1><a href="/" title="多用户微信营销服务平台"><img src="tpl/Home/viicms/common/images/logo.png" /></a></h1>
            <div class="navr">
        <ul id="topMenu">         
            <li <?php if((ACTION_NAME == 'index') and (GROUP_NAME == 'Home')): ?>class="menuon"<?php endif; ?> ><a href="/" >首页</a>
				</li>
				
				<li <?php if((ACTION_NAME) == "about"): ?>class="menuon"<?php endif; ?>><a href="<?php echo U('Home/Index/about');?>">关于我们</a>
				</li>
				<li <?php if((ACTION_NAME) == "fc"): ?>class="menuon"<?php endif; ?>><a href="<?php echo U('Home/Index/gongneng');?>">功能介绍</a>
				</li>
                <li <?php if((ACTION_NAME) == "fc"): ?>class="menuon"<?php endif; ?>><a href="<?php echo U('Home/Index/price');?>">服务价格</a>
				</li>
                <li <?php if((ACTION_NAME) == "fc"): ?>class="menuon"<?php endif; ?>><a href="<?php echo U('Home/Index/quanjing');?>">全景展示</a>
				</li>
				<li <?php if((GROUP_NAME) == "User"): ?>class="menuon"<?php endif; ?>><a href="<?php echo U('User/Index/index');?>">管理中心</a>
					</li>
                 <li <?php if((ACTION_NAME) == "help"): ?>class="menuon"<?php endif; ?>><a href="<?php echo U('Home/Index/help');?>">帮助中心</a></li>
            </ul>
        </div>
        </div>
    </div>
</div>
<div id="aaa"></div>

<div id="wp" class="wp"><link href="<?php echo RES;?>/css/style.css?id=100" rel="stylesheet" type="text/css" />
  <!--中间内容-->
  <script src="<?php echo STATICS;?>/jquery-1.4.2.min.js" type="text/javascript"></script>
  
  <div class="contentmanage">
    <div class="developer">
       <div class="appTitle normalTitle2">
        <div class="vipuser">


<div class="logo">
<img src="<?php echo ($wecha["headerpic"]); ?>" width="100" height="100">
</div>

<div id="nickname">
<strong><?php echo ($wecha["wxname"]); ?></strong><a href="#" target="_blank" class="vipimg vip-icon<?php echo $userinfo['id']-1; ?>" title=""></a></div>
<div id="weixinid">微信号:<?php echo ($wecha["weixin"]); ?></div>
</div>

        <div class="accountInfo">
<table class="vipInfo" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong>VIP有效期：</strong><?php echo (session('viptime')); ?></td>
<td><strong>图文自定义：</strong><?php echo (session('diynum')); ?>/<?php echo ($userinfo["diynum"]); ?></td>
<td><strong>活动创建数：</strong><?php echo (session('activitynum')); ?>/<?php echo ($userinfo["activitynum"]); ?></td>
<td><strong>请求数：</strong><?php echo (session('connectnum')); ?>/<?php echo ($userinfo["connectnum"]); ?></td>
</tr>
<tr>
<td><strong>请求数剩余：</strong><?php echo ($userinfo['connectnum']-$_SESSION['connectnum']); ?></td>
<td><strong>已使用：</strong><?php echo $_SESSION['diynum']; ?></td>
<td><strong>当月赠送请求数：</strong><?php echo ($userinfo["activitynum"]); ?></td>
<td><strong>当月剩余请求数：</strong><?php echo $userinfo['connectnum']-$_SESSION['connectnum']; ?></td>
</tr>

</table>
    </div>
        <div class="clr"></div>
      </div>
      <!--左侧功能菜单-->

 
<style type="text/css">
#sideBar{
border-right: 0px solid #D3D3D3 !important;
float: left;
padding: 0 0 10px 0;
width: 170px;
}
.tableContent {
background: none repeat scroll 0 0 #f5f6f7;
padding: 0;
}
.tableContent .content {
border-left: 1px solid #D7DDE6 !important;
}
ul#menu, ul#menu ul {
  list-style-type:none;
  margin: 0;
  padding: 0;
}

ul#menu a {
  display: block;
  text-decoration: none;	
}

ul#menu li {
  margin: 1px;
}
ul#menu li ul li{
  margin: 1px 0;
}
ul#menu li a {
  background: #EBEEF1;
  color: #464D6A;	
  padding: 0.5em;
}
ul#menu li .nav-header{
font-size:14px;
border-bottom: 1px solid #D7DDE6;
}
ul#menu li .nav-header:hover {
  background: #DDE4EB;
}

ul#menu li ul li a {
  background: #FCFCFC;
  color: #8288A4;
  padding-left: 20px;
}
ul#menu li ul li:last-child {
    border-bottom: 1px solid #D7DDE6;
}
ul#menu li ul li a:hover {
  background: #fff;
  border-left: 5px #4A98E0 solid;
 
}
ul#menu li.selected a{
  background: #fff;
  border-left: 5px #4A98E0 solid;
  padding-left: 15px;
  color: #464D6A;
}
.code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; }
.code code { display: block; padding: 3px; margin-bottom: 0; }
.code li { background: #ddd; border: 1px solid #ccc; margin: 0 0 2px 2.2em; }
.indent1 { padding-left: 1em; }
.indent2 { padding-left: 2em; }
.tableContent .content{min-height: 1328px;}
</style>
    
      <div class="tableContent">
   
        <!--左侧功能菜单-->
 <div  class="sideBar" id="sideBar">
<div class="catalogList">
<ul id="menu">
<a class="nav-header">基础设置</a>
<ul class="ckit" <?php if((MODULE_NAME == 'Function') OR (MODULE_NAME == 'Fang') OR (MODULE_NAME == 'Areply') OR (MODULE_NAME == 'Text') OR (MODULE_NAME == 'Img') OR (MODULE_NAME == 'Voiceresponse') OR (MODULE_NAME == 'lbslist') OR (MODULE_NAME == 'Index')OR (MODULE_NAME == 'Wxusermeasage')OR (MODULE_NAME == 'Forum')OR (MODULE_NAME == 'Router')): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
<li <?php if(MODULE_NAME == 'Function'): ?>class="selected" <?php else: ?> class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Function/index',array('token'=>$token,'id'=>session('wxid')));?>">功能管理</a>
</li>
<li <?php if(MODULE_NAME == 'Fang'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>
<a target="_blank" href="<?php echo U('Fang/index',array('token'=>$token));?>">实用工具<span class="new"></span></a>
</li>
<li <?php if(MODULE_NAME == 'Wxusermeasage'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('请进入www.viicms.com体验试用')">人工客服(高级)</a>
</li>
<li <?php if(MODULE_NAME == 'Areply'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Areply/index',array('token'=>$token));?>">关注时回复</a>
</li>
<li <?php if(MODULE_NAME == 'Text'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Text/index',array('token'=>$token));?>">文本回复</a>
</li>
<li <?php if(MODULE_NAME == 'Img'): ?>class="selected" <?php else: ?> class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Img/index',array('token'=>$token));?>">图文回复</a>
</li>
<li   <?php if(MODULE_NAME == 'Voiceresponse'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Voiceresponse/index',array('token'=>$token));?>">语音回复</a>
</li>
<li   <?php if(MODULE_NAME == 'lbslist'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('已经实现智能地理位置回复，无需人工设置')">LBS回复</a><span class="new"></span>
</li>

<li <?php if(MODULE_NAME == 'Sms'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>
<a href="<?php echo U('Index/editsms',array('id'=>session('wxid')));?>">短信平台配置<span class="new"></span></a>
</li>
<li <?php if(MODULE_NAME == 'Email'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>
<a href="<?php echo U('Index/editemail',array('token'=>$token));?>">邮件平台配置<span class="new"></span></a>
</li>
<li <?php if(MODULE_NAME == 'Forum'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>
 <a href="javascript:alert('请进入www.viicms.com体验试用')">微论坛<span class="new"></span></a>
</li>
<li <?php if(MODULE_NAME == 'Router'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>
 <a href="javascript:alert('请进入www.viicms.com体验试用')">微路由<span class="new"></span></a>
</li>
</ul>
<a class="nav-header">3G网站设置</a>
<ul class="ckit" <?php if((MODULE_NAME == 'Home') OR (MODULE_NAME == 'Classify') OR (MODULE_NAME == 'Tmpls') OR (MODULE_NAME == 'Flash') OR (MODULE_NAME == 'Flash1') OR (MODULE_NAME == 'Yulan') OR (MODULE_NAME == 'Catemenu') OR (MODULE_NAME == 'Diymen')): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
<li <?php if(MODULE_NAME == 'Home'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Home/set',array('token'=>$token));?>">首页回复配置</a>
</li>
<li <?php if(MODULE_NAME == 'Classify'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Classify/index',array('token'=>$token));?>">分类管理</a>
</li>
<li   <?php if(MODULE_NAME == 'Tmpls'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Tmpls/index',array('token'=>$token));?>">模板管理</a>
</li>
<li   <?php if(MODULE_NAME == 'Flash'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Flash/index',array('token'=>$token,'tip'=>1));?>">首页幻灯片<span class="new"></span></a>
</li>
<li   <?php if(MODULE_NAME == 'Flash1'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Flash/index',array('token'=>$token,'tip'=>2));?>">轮播背景图<span class="new"></span></a>
</li>
<li   <?php if(MODULE_NAME == 'Catemenu'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Catemenu/index',array('token'=>$token));?>">底部菜单<span class="new"></span></a>
</li>
<li <?php if(MODULE_NAME == 'Yulan'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>
<a target="_blank" href="<?php echo U('Yulan/index',array('token'=>$token));?>">微网站预览<span class="new"></span></a>
</li>

<li   <?php if(MODULE_NAME == 'Diymen'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Diymen/index',array('token'=>$token));?>">自定义菜单<span class="new"></span></a>
</li>
</ul>

<a class="nav-header">通用功能</a>
<ul class="ckit" <?php if((MODULE_NAME == 'Alipay_config') OR (MODULE_NAME == 'Adma') OR (MODULE_NAME == 'Photo') OR (MODULE_NAME == 'Selfform') OR (MODULE_NAME == 'Liuyan') OR (MODULE_NAME == 'Vote') OR (MODULE_NAME == 'Wxq') OR (MODULE_NAME == 'Gcard') OR (MODULE_NAME == 'Diaoyan')): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
<li   <?php if(MODULE_NAME == 'Alipay_config'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="<?php echo U('Alipay_config/index',array('token'=>$token));?>">支付设置</a></li>
<li   <?php if(MODULE_NAME == 'Adma'): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> > <a href="<?php echo U('Adma/index',array('token'=>$token));?>">DIY宣传页</a><span class="new"></span></li>
<li   <?php if(MODULE_NAME == 'Photo'): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> > <a href="<?php echo U('Photo/index',array('token'=>$token));?>">3G图集(相册)</a><span class="new"></span></li>

<li   <?php if(MODULE_NAME == 'Selfform'): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >  <a href="javascript:alert('请进入www.viicms.com体验试用')">万能自定义表单</a><span class="new"></span></li>
<li <?php if(MODULE_NAME == 'Liuyan'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">给我留言</a>
</li>
<li <?php if(MODULE_NAME == 'Vote'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">投票功能</a>
</li>
<li <?php if(MODULE_NAME == 'Diaoyan'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微调研</a>
</li>
<li   <?php if(MODULE_NAME == 'Wxq'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微信墙<span class="new"></span></a></li>
<li   <?php if(MODULE_NAME == 'Gcard'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('请进入www.viicms.com体验试用')">新年贺卡<span class="new"></span></a></li>
</ul>
<a class="nav-header">微用户管理CRM</a>
<ul class="ckit" <?php if((MODULE_NAME == 'ServiceUser') OR (MODULE_NAME == 'Wechat_behavior') OR (MODULE_NAME == 'Recognition') OR (MODULE_NAME == 'Wechat_group') OR (MODULE_NAME == 'Wechat_group1') ): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
<li   <?php if(MODULE_NAME == 'ServiceUser'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">智能人工客服</a></li>
<li   <?php if(MODULE_NAME == 'Recognition'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">渠道二维码</a></li>
<li   <?php if(MODULE_NAME == 'Adma'): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >  <a href="javascript:alert('请进入www.viicms.com体验试用')">粉丝行为分析</a><span class="new"></span></li>
<li   <?php if(MODULE_NAME == 'Wechat_group'): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >  <a href="javascript:alert('请进入www.viicms.com体验试用')">分组管理</a><span class="new"></span></li>

<li   <?php if(MODULE_NAME == 'Wechat_group1'): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >  <a href="javascript:alert('请进入www.viicms.com体验试用')">粉丝管理</a><span class="new"></span></li>

</ul>

<a class="nav-header">微电商</a>
<ul class="ckit" <?php if((MODULE_NAME == 'Groupon') OR (MODULE_NAME == 'Company') OR (MODULE_NAME == 'Product') OR (MODULE_NAME == 'orders') OR (MODULE_NAME == 'Qj') OR (MODULE_NAME == 'Panorama') OR (MODULE_NAME == 'Discount_input') OR (MODULE_NAME == 'Weimall')): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
<li <?php if((MODULE_NAME == 'Groupon') and (ACTION_NAME == 'index')): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >
 <a href="javascript:alert('请进入www.viicms.com体验试用')">微信团购系统</a>
<li <?php if((MODULE_NAME == 'Company') and (ACTION_NAME == 'index')): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?>>
<a href="<?php echo U('Company/index',array('token'=>$token));?>">商家信息</a><span class="new"></span>
</li>
<li <?php if((MODULE_NAME == 'Product') and (ACTION_NAME == 'index')): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >
 <a href="javascript:alert('请进入www.viicms.com体验试用')">微信商城系统</a>
</li> 
<li <?php if((MODULE_NAME == 'Weimall') and (ACTION_NAME == 'index')): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >
 <a href="javascript:alert('请进入www.viicms.com体验试用')">微商城(new)</a><span class="new"></span>
</li> 
<li <?php if((MODULE_NAME == 'Product') and (ACTION_NAME == 'index')): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >
 <a href="javascript:alert('请进入www.viicms.com体验试用')">独立微商城入口</a><span class="new"></span>
</li>
<li <?php if(ACTION_NAME == 'orders'): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >
 <a href="javascript:alert('请进入www.viicms.com体验试用')">新版独立订餐系统</a>
</li>
<li <?php if(MODULE_NAME == 'Qj'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">360全景接口版</a>
</li>
		<li   <?php if(MODULE_NAME == 'Panorama'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">360全景手动版<span class="new"></span></a>
		</li>
<li <?php if(MODULE_NAME == 'Xt'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">二维码扫码折扣</a>
</li>
</ul>

<a class="nav-header">行业应用</a>
<ul class="ckit" <?php if((MODULE_NAME == 'Xt') OR (MODULE_NAME == 'Car_pp') OR (MODULE_NAME == 'Estate') OR (MODULE_NAME == 'Medical') OR (MODULE_NAME == 'Reservation') OR (MODULE_NAME == 'Shipin') OR (MODULE_NAME == 'Jianshen') OR (MODULE_NAME == 'Zhengwu') OR (MODULE_NAME == 'Lvyou') OR (MODULE_NAME == 'Jiaoyu') OR (MODULE_NAME == 'Huadian') OR (MODULE_NAME == 'Wuye') OR (MODULE_NAME == 'Ktv') OR (MODULE_NAME == 'Jiuba') OR (MODULE_NAME == 'Zhuangxiu') OR (MODULE_NAME == 'Hunqing') OR (MODULE_NAME == 'Host')): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
<li <?php if(MODULE_NAME == 'Xt'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微喜贴</a>
</li>
<li <?php if(MODULE_NAME == 'Car'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微汽车</a>
</li>
<li <?php if(MODULE_NAME == 'Estate'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微房产</a>
</li>
<li <?php if(MODULE_NAME == 'Medical'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微医疗</a>
</li>
<li <?php if(MODULE_NAME == 'Reservation'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微美容</a>
</li>
<li <?php if(MODULE_NAME == 'Shipin'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微食品</a>
</li>
<li <?php if(MODULE_NAME == 'Jianshen'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微健身</a>
</li>
<li <?php if(MODULE_NAME == 'Zhengwu'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微政务</a>
</li>
<li <?php if(MODULE_NAME == 'Lvyou'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微旅游</a>
</li>
<li <?php if(MODULE_NAME == 'Jiaoyu'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微教育</a>
</li>
<li <?php if(MODULE_NAME == 'Huadian'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微花店</a>
</li>
<li <?php if(MODULE_NAME == 'Wuye'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微物业</a>
</li>
<li <?php if(MODULE_NAME == 'Ktv'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微KTV</a>
</li>
<li <?php if(MODULE_NAME == 'Jiuba'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">微酒吧</a>
</li>
<li <?php if(MODULE_NAME == 'Zhuangxiu'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('请进入www.viicms.com体验试用')">微装修</a>
</li>
<li <?php if(MODULE_NAME == 'Hunqing'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('请进入www.viicms.com体验试用')">微婚庆</a>
</li>
<li   <?php if(MODULE_NAME == 'adma'): ?>class="selected"<?php else: ?>class="subCatalogList"<?php endif; ?> >  <a href="javascript:alert('请进入www.viicms.com体验试用')">通用订单(酒店,KTV)</a></li>
</ul>

<a class="nav-header">推广活动</a>
<ul class="ckit" <?php if((MODULE_NAME == 'Lottery') OR (MODULE_NAME == 'Coupon') OR (MODULE_NAME == 'Guajiang') OR (MODULE_NAME == 'GoldenEgg') OR (MODULE_NAME == 'Red') OR (MODULE_NAME == 'Shake') OR (MODULE_NAME == 'LuckyFruit')): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
	<li   <?php if(MODULE_NAME == 'Lottery'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?> > <a href="<?php echo U('Lottery/index',array('token'=>$token));?>">幸运大转盘</a><span class="new"></span></li>
	<li   <?php if(MODULE_NAME == 'Coupon'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?> > <a href="<?php echo U('Coupon/index',array('token'=>$token));?>">优惠券</a></li>
	<li   <?php if(MODULE_NAME == 'Guajiang'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?> > <a href="<?php echo U('Guajiang/index',array('token'=>$token));?>">刮刮卡</a></li>
      <li   <?php if(MODULE_NAME == 'GoldenEgg'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?> > <a href="<?php echo U('GoldenEgg/index',array('token'=>$token));?>">砸金蛋</a></li>
	  <li   <?php if(MODULE_NAME == 'LuckyFruit'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?> > <a href="javascript:alert('请进入www.viicms.com体验试用')">水果机</a></li>

	  <li   <?php if(MODULE_NAME == 'Shake'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('请进入www.viicms.com体验试用')">摇一摇<span class="new"></span></a></li>
</ul>
<a class="nav-header">会员系统</a>
<ul class="ckit" <?php if((MODULE_NAME == 'Member_card') OR (MODULE_NAME == 'Member')): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
	<li <?php if((MODULE_NAME == 'Member_card') and (ACTION_NAME == 'index')): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('请进入www.viicms.com体验试用')">会员卡设计</a></li>
	<li  <?php if(ACTION_NAME == 'news'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('请进入www.viicms.com体验试用')">最新通知</a></li>
	<li <?php if(ACTION_NAME == 'privilege'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>> <a href="javascript:alert('请进入www.viicms.com体验试用')">会员特权</a></li>
	<li <?php if(ACTION_NAME == 'info'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">会员卡详情</a></li>
	<li <?php if(ACTION_NAME == 'create'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">在线开卡(自定义卡号)</a></li>
	<li  <?php if(ACTION_NAME == 'exchange'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">积分设置</a></li>
		<li   <?php if(MODULE_NAME == 'Member'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?>>  <a href="javascript:alert('请进入www.viicms.com体验试用')">会员资料管理</a><span class="new"></span></li>
</ul>

<a class="nav-header">统计分析</a>
<ul class="ckit" <?php if((MODULE_NAME == 'Requery') OR (MODULE_NAME == 'Member')): ?>style="display:block;" <?php else: ?>style="display:none;"<?php endif; ?>>
<li   <?php if(MODULE_NAME == 'Requery'): ?>class="selected" <?php else: ?>class="subCatalogList"<?php endif; ?> > <a href="<?php echo U('Requery/index',array('token'=>$token));?>">请求数详情</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
<style>
a.nav-header{background:url(/tpl/static/images/arrow_click.png) center right no-repeat;cursor:pointer}
a.nav-header-current{background:url(/tpl/static/images/arrow_unclick.png) center right no-repeat;}
</style>
<script type="text/javascript">
$(document).ready(function(){
	$(".nav-header").mouseover(function(){
		$(this).css('background-color','#464D6A');
	}).mouseout(function(){
		$(this).css('background-color','#333333');
	}).click(function(){
		$(this).toggleClass('nav-header-current');
		$(this).next('.ckit').slideToggle();
	})
});
</script>
<script src="./tpl/static/artDialog/jquery.artDialog.js?skin=default"></script>
<script src="./tpl/static/sucaiku/iframeTools.js"></script>
<script src="./tpl/static/sucaiku/upyun.js"></script>  
<style type="text/css">

.userinfoArea th {
width: 100px;
}
.clr{
clear:both;
}
.yulan {
    background: url(<?php echo RES;?>/images/adma/erweimabg.png) repeat scroll 0 0 #4E5359;
    color: #666666;
    font:14px/1.5  Microsoft YaHei,Helvitica,Verdana,Tohoma,Arial,san-serif;
    margin: 0;
    padding: 0;
color: #666666;
}
.yulan .main{ margin:0 auto; }
.yulan h1{ font-size:26px; color:#f5f5f5; font-weight:normal; text-align: center; margin:35px 0 25px 0; text-shadow:0 1px 3px #111111;}
.yulan .erweima{height: 301px;
    margin: 0 auto;
    width: 301px;}
.yulan .erweima img{border: medium none;
-moz-box-shadow: 0 4px 3px 2px #333333;
-webkit-box-shadow: 0 4px 3px 2px #333333;
    box-shadow: 0 4px 3px 2px #333333;
-webkit-border-radius:6px;
-moz-border-radius:6px;
border-radius:6px;
    width: 100%;}
.yulan .beizhu{ margin:15px auto 5px;text-align: center;}
.yulan .beizhu p{ line-height: 48px;}
.yulan .beizhubg{color: #B4B7BC;background: url(<?php echo RES;?>/images/adma/erweima_bg2.png) repeat-x scroll 0 0 transparent;
    font-size: 12px;
    height: 48px;
    margin: 10px auto;
    width: 230px;text-shadow: 0 -1px 0 #111112;
line-height: 48px;display: inline-block;position: relative;}
.yulan .beizhuleft{background: url(<?php echo RES;?>/images/adma/erweima_bg2_left.png) no-repeat scroll 0 0 transparent;
    display: block;
    float: left;
    height: 48px;
    margin-left: -26px;
    width: 26px;}
.yulan .beizhuright{ background: url(<?php echo RES;?>/images/adma/erweima_bg2_right.png) no-repeat scroll 0 0 transparent;
    display: block;
    float: right;
    height: 48px;
    margin-right: -26px;
    width: 26px;}
.yulan .content{color: #B4B7BC; font-size:14px;padding:5px;width:300px; margin:0 auto;text-shadow: 0 -1px 0 #111112;
float:none; background-color:transparent;min-height:40px;border:0;
}
.yulan .footer {
background: url(<?php echo RES;?>/images/adma/erweimabg.png) repeat scroll 0 0  transparent;
    color: #AAAAAA;
    margin:20px auto 0;
    text-shadow: 0 -1px 0 #111111;
text-align:center;
line-height: 48px;
width: 100%;
padding:0;
}
.yulan .footer p{
    background: url(<?php echo RES;?>/images/adma/erweima_footer.png) no-repeat scroll center top transparent;
font-size:12px;line-height: 48px;
}
</style>

<div class="content">

<div class="cLineB">
  <h4>微信公众号二维码推广页设置<span class="FAQ">推广之用，可以发布到QQ群微博博客论坛等等...</span></h4>
 </div>
 
         <form class="form" method="post" action="" target="_top" enctype="multipart/form-data">
         
         <div class="msgWrap bgfc">
  	 
<table class="userinfoArea" style=" margin:0;" border="0" cellspacing="0" cellpadding="0" width="100%"><tbody>
<tr>
<th width="120">推广页地址：</th>
<td width="430"><a href="<?php echo C('site_url');?>/index.php/show/<?php echo (session('token')); ?>" target="ddd" title="点击查看推广页" class="green" target="_blank"><?php echo C('site_url');?>/index.php/show/<?php echo (session('token')); ?></a></td>
<td rowspan="6" valign="top" class="yulan">
<div class="main">
<h1 id="adtitle"><?php echo ($adma["title"]); ?></h1>
<div class="erweima"><img id="gzhewm" src="<?php echo ($adma["url"]); ?>"></div>
<div class="beizhu">
<div class="beizhubg">
<div class="beizhuleft"></div>
<div class="beizhuright"></div>
<p>请使用微信扫描二维码关注此公众号</p>
</div>
</div>
<div class="content" id="gzhinfo">
        <?php echo ($adma["info"]); ?>
</div>
<div class="clr"></div>
<div class="footer"><p id="gzhcopyright"><?php echo ($adma["copyright"]); ?></p></div>
</div>
</td>
</tr>
 <tr>
<th valign="top">宣传页标题名：</th>
<td><input type="text" name="title" value="<?php echo ($adma["title"]); ?>" class="px" style="width:400px;" id="etitle" onblur="document.getElementById('adtitle').innerHTML=document.getElementById('etitle').value;">
<br>
<p>到公众平台下载<span class="red">二维码边长为12CM，大小为344×344PX</span>.</p>
</td>
</tr>	
 <tr>
<th valign="top">二维码地址：</th>
<td><input type="text" name="url" id="url" value="<?php echo ($adma["url"]); ?>" class="px" style="width:400px;" id="ewm" onfocus="current('url');" onblur="document.getElementById('gzhewm').src=document.getElementById('url').value;"><br><a href="###" onclick="upyunPicUpload('url',700,420,'<?php echo ($token); ?>')" class="a_upload">上传</a> 
<a href="###" onclick="viewImg('url')">预览</a>
<br>
<p>到公众平台下载<span class="red">二维码边长为12CM，大小为344×344PX</span>.</p>
<p>传到自己的图床获取外链地址，<span class="red">不要直接使用公众平台的地址。</span></p>
</td>
</tr>				
                            <tr>
<th valign="top"><br>
功能介绍：</th>
<td valign="top"><textarea class="px" id="info" name="info" style="width:400px; height:120px" onkeyup="DivFollowingText2()"><?php echo ($adma["info"]); ?></textarea> 
<script type="text/javascript">
function DivFollowingText2()
{
document.getElementById("gzhinfo").innerHTML=document.getElementById("info").value;
}
</script> 
<br>
请简单描述您的微信公众号可以给粉丝带来什么好处，<br>
尽量控制在<span class="red">150文字以内</span>。</td>
</tr>
<tr>
	<th width="120" valign="top">版权信息:</th>
	<td>
	<input type="text" name="copyright" value="<?php echo ($adma["copyright"]); ?>" class="px" style="width:400px;text-align:left;color:rgb(0, 0, 0);float:none"" id="copyright" onclick="document.getElementById('gzhcopyright').innerHTML=this.value;" onkeyup="DivFollowingText3()"/>
	<script type="text/javascript">
	function DivFollowingText3()
	{
	document.getElementById("gzhcopyright").innerHTML=document.getElementById("copyright").value;
	}
	</script> 
		<br/>
		<span>例如：© 2001-2013 <?php echo C('site_name');?>版权所有</span>
		</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><button type="submit" name="button" class="btnGreen">保存</button>
<a href="index.php?ac=erweima-edit&amp;id=9878" class="btnGray vm">取消</a>
<a href="<?php echo C('site_url');?>/index.php/show/<?php echo (session('token')); ?>" class="right btnGray vm" target="ddd" style=" margin-right:20px" target="_blank">查看推广页</a>
</td>
</tr>

</tbody>
</table>
</div> 
  
 </form>
  
        </div>
﻿</div>
</div>
</div>

<style>
.IndexFoot {
	BACKGROUND-COLOR: #333; WIDTH: 100%; HEIGHT: 39px
}
.foot{ width:988px; margin:0px auto; font-size:12px; line-height:39px;}
.foot .foot_page{ float:left; width:600px;color:white;}
.foot .foot_page a{ color:white; text-decoration:none;}
#copyright{ float:right; width:380px; text-align:right; font-size:12px; color:#FFF;}
</style>
<div class="IndexFoot" style="height:120px;clear:both">
<div class="foot">
<div class="foot_page" >
<a href="<?php echo C('site_url');?>">微cms微信公众平台营销</a><br/>
帮助您快速搭建属于自己的营销平台,构建自己的客户群体。<br/>
大转盘、刮刮卡，会员卡,优惠卷,订餐,订房等营销模块,客户易用,易懂,易营销（微cms-3易服务理念）。
</div>
<div id="copyright" style="color:white">
	<?php echo C('site_name');?>(c)2013 微cms版权所有<br/>
	技术支持：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=912022179&site=qq&menu=yes"><img height="20" border="0" src="http://wpa.qq.com/pa?p=2:912022179:51" alt="联系我吧" title="联系我吧"/></a>
	售前咨询：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=912022179&site=qq&menu=yes"><img height="20" src="http://wpa.qq.com/pa?p=2:912022179:51" alt="联系我吧" title="联系我吧"/></a>

</div>
  </div>
</div>
<script src="/images/css/qqserver.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/images/css/qqserver.css"/>
<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=slide&amp;img=5&amp;pos=left&amp;uid=6461542" ></script>
<script type="text/javascript" id="bdshell_js"></script><script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);
</script>
<!-- Baidu Button END -->
</body>
</html>