『☆爱我 羣 恨我☆』【重发】我也来发贴,嘻嘻~~~~BY阳☆咩咩
吴克群吧
全部回复
仅看楼主
level 9
共有8篇贴子
#filter_pop{height:130px;width:370px;margin-top:20px;}
#filter_pop p{margin:0;}
#filter_pop table{text-align:center;width:100%}
#filter_pop thead{font-weight:bold;}

#filter_pop .gray{color:#
676767}

#filter_pop #
filter_phone_ip_info{color:#693703;visibility:hidden;margin-left:20px;}

#filter_pop #
filter_ip_info{text-align:right;padding-right:35px}
#filter_pop table td{padding:3px;}
var pb_filter_user=function(){
var _content=null;
var _cur_instance={};
var _pop=null;
function show_filter_dialog(){
_output=[''];
var ban_user=(_cur_instance.type=='get_ip_tbs');
var is_phone_ip=_content.is_phone_ip;
var can_prison_ip=_cur_instance.can_prison_ip;
if(ban_user){
if(can_prison_ip){
_output.push('用户名 封禁时长 操作
');
_output.push(_cur_instance.user_name);
_output.push(' ');
_output.push('1310 天 ');
_output.push('
');
_output.push(' ');
_output.push(' ')
_output.push('
');
_output.push('
手机IP无法封禁');
_output.push('
* IP封禁默认为1天');
}else{
_output.push('用户名 封禁时长 操作
');
_output.push(_cur_instance.user_name);
_output.push(' ');
_output.push('1天 ');
_output.push('
');
_output.push('');
}
}else{
_output.push('用户名 封禁时长 操作
');
_output.push(''+_cur_instance.ip+' ');
_output.push('1 天 ');
_output.push('
');
_output.push('
手机IP无法封禁');
}
_output.push('');
_pop=new Popup({width:375,height:130});
_pop.html(_output.join(''),'封禁操作');
if(is_phone_ip){
Fe.G('ban_ip_button').style.display='none';
Fe.G('filter_phone_ip_info').style.visibility='visible';
}
}
function showResult(json){
if(_pop){
if(Fe.G('filter_pop')){
switch(json.error.errno){
case 0:
Fe.G('filter_pop').innerHTML='
封禁成功!';
setTimeout(function(){_pop.reset();},600);
break;
case 14:
Fe.G('filter_pop').innerHTML='
'+ json.error.errmsg +'';
break;
}
}
}
}
return {
'filter_forum_user':function(){
if(_cur_instance.can_prison_ip){
_cur_instance.ban_days=Fe.G('select_ban_days').value;
}else{
_cur_instance.ban_days=1;
}
Fe.Ajax.post('/bawu/cm',Fe.Object.toQueryString({
'cm':'filter_forum_user',
'user_name':_cur_instance.user_name,
'ban_days':_cur_instance.ban_days,
'word':PageData.forum_name,
'fid':PageData.forum_id,
'tbs':_content.tbs_ban_user,
'ie':'utf-8'
}),function(xhr){
_content = eval("("+ xhr.responseText +")");
showResult(_content);
})
},
'filter_both':function(){
pb_filter_user.filter_forum_user();
pb_filter_user.filter_forum_ip();
},
'filter_forum_ip':function(){
Fe.Ajax.post('/bawu/cm',Fe.Object.toQueryString({
'cm':'filter_forum_ip',
'user_ip':_content.ip_int,
'ip_secure_str':_content.ip_secure_str,
'ban_days':1,
'word':PageData.forum_name,
'fid':PageData.forum_id,
'tbs':_content.tbs_ban_ip,
'ie':'utf-8'

2011年10月14日 08点10分 1
level 13
额,前边那是一堆乱码吗
2011年10月14日 08点10分 3
level 9
啊哦~~怎么会这样......
楼主还是自己再来发一帖吧[拍砖]
2011年10月14日 11点10分 4
level 13
我还以为是C语言代码呢[拍砖]
2011年10月14日 12点10分 5
level 15
什么东西?欺负我是爪机吗?楼主恨你
2011年10月14日 12点10分 6
level 8
呃。。什麼东西啊为什麼我不明白的是我太笨吗[不高兴]
2011年10月14日 13点10分 7
level 7
这前面是什么东西?我手机党啊,你又说复制出来格式不对啊,亲,不带酱子欺负的!
2011年10月15日 04点10分 8
level 9
就是说我复制之后就是一堆乱码,亲,还是亲自重发一下吧[啊!]
2011年10月15日 13点10分 9
1