cp.js

$(document).ready(function() {
pObj=new Object();
pObj.hpid1=$("#hpid1").val();
pObj.hpid2=$("#hpid2").val();
pObj.hpid3=$("#hpid3").val();
pObj.hpid4=$("#hpid4").val();
pObj.hpid5=$("#hpid5").val();//当前村首页的pid,并不一定是会员可管理的村网id
  pObj.cache="&cache="+new Date().getTime();
//iframe的url后面始终加上此参数传递备用

//alert(pObj.hpid5);

$('#setDisplayPhone').click(function(){
$.layer({
type : 2,
title : ['可公开的联系方式',true],
iframe : {src : '/e/extend/user/UserSetPhone.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['10px','']
});
});

$('#setArea').click(function(){
$.layer({
type : 2,
title : ['所在地区设置',true],
iframe : {src : '/e/extend/user/UserSetArea.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['10px','']
});
});

//实名认证
$('#shiMinRenZhen').click(function(){
$.layer({
type : 2,
title : ['实名认证,成为网络村长的必经之路',true],
iframe : {src : '/e/extend/user/UserSetTrueName.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['10px','']
});
});



//内容订制
$('#a112').click(function(){
$.layer({
type : 2,
title : ['内容订制',true],
iframe : {src : '/e/extend/user/UserOrderContent.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['10px','']
});
});



//申请成为村网管理员
$('#ShenQinCunWan').click(function(){
$.layer({
type : 2,
title : ['申请成为村网管理员',true],
iframe : {src : '/e/extend/user/UserShenQinCunWan.php?'+$.param(pObj)},
area : ['900px' , '450px'],
offset : ['10px','']
});
});



//栏目设置:村预设栏目选择
$('#cunLanMuSel').click(function(){
$.layer({
type : 2,
title : ['预设栏目选择',true],
iframe : {src : '/e/extend/user/CunSetLanMu.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//栏目设置:村自定义栏目
$('#cunMyLanMu').click(function(){
$.layer({
type : 2,
title : ['自定义栏目管理',true],
iframe : {src : '/e/extend/user/CunSetMyLanMu.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//栏目设置:自定义栏目
$('#setCunLanmuOther').click(function(){
$.layer({
type : 2,
title : ['栏目扩展属性设置',true],
iframe : {src : '/e/extend/user/CunSetLanmuTab.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});

//样式选择
$('#cunStyleSet_0000000000').click(function(){
$.layer({
type : 2,
title : ['村网样式选择',true],
iframe : {src : '/e/extend/user/CunSetStyle.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['10px','']
});
});

//形象图片
$('#cunSetImage').click(function(){
$.layer({
type : 2,
title : ['村网形象图片管理',true],
iframe : {src : '/e/extend/user/CunSetImages.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});



//首页视频
$('#cunVideo').click(function(){
$.layer({
type : 2,
title : ['村网首页宣传视频设置',true],
iframe : {src : '/e/extend/user/CunSetVideo.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['10px','']
});
});

//友好村庄
$('#cunFriend').click(function(){
$.layer({
type : 2,
title : ['友好村庄管理',true],
iframe : {src : '/e/extend/user/CunSetFriends.php?'+$.param(pObj)},
area : ['550px' , '366px'],
offset : ['100px','']
});
});

//更新村网
$('#cunRefresh').click(function(){
$.layer({
type : 2,
title : ['更新村网',true],
iframe : {src : '/e/extend/user/CunRefresh.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['100px','']
});
});

//村网管理
$('#a115').click(function(){
$.layer({
type : 2,
title : ['我的村网列表',true],
iframe : {src : '/e/extend/user/UserMyCunList.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['10px','']
});
});

//设置本村简介
$('#cunJianJie').click(function(){
$.layer({
type : 2,
title : ['设置本村简介',true],
iframe : {src : '/e/extend/user/CunSetJianJie.php?'+$.param(pObj)},
area : ['800px' , '500px'],
offset : ['10px','']
});
});

//设置本村公告
$('#cunGongGao').click(function(){
$.layer({
type : 2,
title : ['设置本村公告',true],
iframe : {src : '/e/extend/user/CunSetGongGao.php?'+$.param(pObj)},
area : ['800px' , '500px'],
offset : ['10px','']
});
});

//信息框一
$('#a119').click(function(){
$.layer({
area : ['auto','auto'],
dialog : {msg:'地区设置',type : 8}
});
});

//layer.tips('填写了实名资料后,就可以申请网络村长了', '#ShenQinCunWan', 0, 200, 0);
//layer.tips('填写了实名资料才有资格申请网络村长啊', '#shiMinRenZhen', 0, 200, 0);



//*************************镇 start


//镇网管理
$('#GuanLiZhen').click(function(){
$.layer({
type : 2,
title : ['我的镇网列表',true],
iframe : {src : '/e/extend/user/UserMyZhenList.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['10px','']
});
});

//设置本镇简介
$('#zhenJianJie').click(function(){
$.layer({
type : 2,
title : ['设置本镇简介',true],
iframe : {src : '/e/extend/user/ZhenSetJianJie.php?'+$.param(pObj)},
area : ['800px' , '500px'],
offset : ['10px','']
});
});
//设置本镇公告
$('#zhenGongGao').click(function(){
$.layer({
type : 2,
title : ['设置本镇公告',true],
iframe : {src : '/e/extend/user/ZhenSetGongGao.php?'+$.param(pObj)},
area : ['800px' , '500px'],
offset : ['10px','']
});
});
//栏目设置:镇预设栏目选择
$('#zhenLanMuSel').click(function(){
$.layer({
type : 2,
title : ['本镇预设栏目选择',true],
iframe : {src : '/e/extend/user/ZhenSetLanMu.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//栏目设置:镇自定义栏目
$('#zhenMyLanMu').click(function(){
$.layer({
type : 2,
title : ['本镇自定义栏目管理',true],
iframe : {src : '/e/extend/user/ZhenSetMyLanMu.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//栏目设置:镇栏目
$('#setZhenLanmuOther').click(function(){
$.layer({
type : 2,
title : ['本镇栏目扩展属性设置',true],
iframe : {src : '/e/extend/user/ZhenSetLanmuTab.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//镇:样式选择
$('#zhenStyleSet').click(function(){
$.layer({
type : 2,
title : ['乡镇样式选择',true],
iframe : {src : '/e/extend/user/ZhenSetStyle.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//更新镇网
$('#zhenRefresh').click(function(){
$.layer({
type : 2,
title : ['更新镇网',true],
iframe : {src : '/e/extend/user/ZhenRefresh.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['100px','']
});
});
//镇:形象图片
$('#zhenSetImage').click(function(){
$.layer({
type : 2,
title : ['乡镇形象图片管理',true],
iframe : {src : '/e/extend/user/ZhenSetImages.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});
//镇:首页视频
$('#zhenSetVideo').click(function(){
$.layer({
type : 2,
title : ['乡镇首页宣传视频设置',true],
iframe : {src : '/e/extend/user/ZhenSetVideo.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['10px','']
});
});
//镇:广告管理
$('#zhenAd').click(function(){
$.layer({
type : 2,
title : ['乡镇广告设置',true],
iframe : {src : '/e/extend/user/ZhenSetAD.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});


//*************************县 start


//县网管理
$('#GuanLiXian').click(function(){
$.layer({
type : 2,
title : ['我的镇网列表',true],
iframe : {src : '/e/extend/user/UserMyXianList.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['10px','']
});
});

//设置本县简介
$('#XianJianJie').click(function(){
$.layer({
type : 2,
title : ['设置本镇简介',true],
iframe : {src : '/e/extend/user/XianSetJianJie.php?'+$.param(pObj)},
area : ['800px' , '500px'],
offset : ['10px','']
});
});

//设置本县公告
$('#XianGongGao').click(function(){
$.layer({
type : 2,
title : ['设置本镇公告',true],
iframe : {src : '/e/extend/user/XianSetGongGao.php?'+$.param(pObj)},
area : ['800px' , '500px'],
offset : ['10px','']
});
});
//栏目设置:县预设栏目选择
$('#XianLanMuSel').click(function(){
$.layer({
type : 2,
title : ['本镇预设栏目选择',true],
iframe : {src : '/e/extend/user/XianSetLanMu.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//栏目设置:县自定义栏目
$('#XianMyLanMu').click(function(){
$.layer({
type : 2,
title : ['本镇自定义栏目管理',true],
iframe : {src : '/e/extend/user/XianSetMyLanMu.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//栏目设置:县栏目
$('#setXianLanmuOther').click(function(){
$.layer({
type : 2,
title : ['本镇栏目扩展属性设置',true],
iframe : {src : '/e/extend/user/XianSetLanmuTab.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//县:样式选择
$('#XianStyleSet').click(function(){
$.layer({
type : 2,
title : ['乡镇样式选择',true],
iframe : {src : '/e/extend/user/XianSetStyle.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//更新县网
$('#XianRefresh').click(function(){
$.layer({
type : 2,
title : ['更新县级网',true],
iframe : {src : '/e/extend/user/XianRefresh.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['100px','']
});
});
//县:形象图片
$('#XianSetImage').click(function(){
$.layer({
type : 2,
title : ['乡镇形象图片管理',true],
iframe : {src : '/e/extend/user/XianSetImages.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});
//县:首页视频
$('#XianSetVideo').click(function(){
$.layer({
type : 2,
title : ['乡镇首页宣传视频设置',true],
iframe : {src : '/e/extend/user/XianSetVideo.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['10px','']
});
});
//县:广告管理
$('#XianAd').click(function(){
$.layer({
type : 2,
title : ['乡镇广告设置',true],
iframe : {src : '/e/extend/user/XianSetAD.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});
//设置本市公告
$('#ShiGongGao').click(function(){
$.layer({
type : 2,
title : ['设置本市公告',true],
iframe : {src : '/e/extend/user/ShiSetGongGao.php?'+$.param(pObj)},
area : ['800px' , '500px'],
offset : ['10px','']
});
});
//栏目设置:市预设栏目选择
$('#ShiLanMuSel').click(function(){
$.layer({
type : 2,
title : ['本市预设栏目选择',true],
iframe : {src : '/e/extend/user/ShiSetLanMu.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//栏目设置:市自定义栏目
$('#ShiMyLanMu').click(function(){
$.layer({
type : 2,
title : ['本市自定义栏目管理',true],
iframe : {src : '/e/extend/user/ShiSetMyLanMu.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//栏目设置:市栏目
$('#setShiLanmuOther').click(function(){
$.layer({
type : 2,
title : ['本市栏目扩展属性设置',true],
iframe : {src : '/e/extend/user/ShiSetLanmuTab.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//市:样式选择
$('#ShiStyleSet').click(function(){
$.layer({
type : 2,
title : ['市样式选择',true],
iframe : {src : '/e/extend/user/ShiSetStyle.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//更新市网
$('#ShiRefresh').click(function(){
$.layer({
type : 2,
title : ['更新市网',true],
iframe : {src : '/e/extend/user/ShiRefresh.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['100px','']
});
});
//市:形象图片
$('#ShiSetImage').click(function(){
$.layer({
type : 2,
title : ['市形象图片管理',true],
iframe : {src : '/e/extend/user/ShiSetImages.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});
//市:首页视频
$('#ShiSetVideo').click(function(){
$.layer({
type : 2,
title : ['市首页宣传视频设置',true],
iframe : {src : '/e/extend/user/ShiSetVideo.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['10px','']
});
});
//市:广告管理
$('#ShiAd').click(function(){
$.layer({
type : 2,
title : ['市广告设置',true],
iframe : {src : '/e/extend/user/ShiSetAD.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});


//
//设置本省公告
$('#ShengGongGao').click(function(){
$.layer({
type : 2,
title : ['设置本省公告',true],
iframe : {src : '/e/extend/user/ShengSetGongGao.php?'+$.param(pObj)},
area : ['800px' , '500px'],
offset : ['10px','']
});
});
//栏目设置:省预设栏目选择
$('#ShengLanMuSel').click(function(){
$.layer({
type : 2,
title : ['本省预设栏目选择',true],
iframe : {src : '/e/extend/user/ShengSetLanMu.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//栏目设置:省自定义栏目
$('#ShengMyLanMu').click(function(){
$.layer({
type : 2,
title : ['本省自定义栏目管理',true],
iframe : {src : '/e/extend/user/ShengSetMyLanMu.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//栏目设置:省栏目
$('#setShengLanmuOther').click(function(){
$.layer({
type : 2,
title : ['本省栏目扩展属性设置',true],
iframe : {src : '/e/extend/user/ShengSetLanmuTab.php?'+$.param(pObj)},
area : ['900px' , '500px'],
offset : ['20px','']
});
});
//省:样式选择
$('#ShengStyleSet').click(function(){
$.layer({
type : 2,
title : ['省样式选择',true],
iframe : {src : '/e/extend/user/ShengSetStyle.php?'+$.param(pObj)},
area : ['800px' , '400px'],
offset : ['10px','']
});
});

//更新省网
$('#ShengRefresh').click(function(){
$.layer({
type : 2,
title : ['更新省网',true],
iframe : {src : '/e/extend/user/ShengRefresh.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['100px','']
});
});
//省:形象图片
$('#ShengSetImage').click(function(){
$.layer({
type : 2,
title : ['省形象图片管理',true],
iframe : {src : '/e/extend/user/ShengSetImages.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});
//省:首页视频
$('#ShengSetVideo').click(function(){
$.layer({
type : 2,
title : ['省首页宣传视频设置',true],
iframe : {src : '/e/extend/user/ShengSetVideo.php?'+$.param(pObj)},
area : ['900px' , '400px'],
offset : ['10px','']
});
});
//省:广告管理
$('#ShengAd').click(function(){
$.layer({
type : 2,
title : ['省广告设置',true],
iframe : {src : '/e/extend/user/ShengSetAD.php?'+$.param(pObj)},
area : ['1000px' , '500px'],
offset : ['10px','']
});
});




});

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值