NSESSION.g_user_nick ); } $('#GridView1 .plhf').each(function(){ var t = this, $t = $(t), id = $t.attr('data-id'); if( !id ) return; $.ajax({ url: 'ajax/qrpinglun-hf.asp?act=list', data: { ran: Math.random(), id: id }, success: function(d){ if( !d ) return; $t.html( ''+ d +'
' ); setParentHeight(); } }) }) $('#GridView1 .wyhf-btn').click(function(){ var t = $(this).parent().parent().next(), l = t.next().find('tr').length; if( DOMAINSESSION.g_user_id ){ t.find(':input[name=username]').val( DOMAINSESSION.g_user_nick ); }else{ t.find(':input[name=username]').val('沙发'+ (l ? l+1 : 1)); } t[ t.is(':hidden') ? 'show' : 'hide' ](); return false; }) $('#GridView1 .wyhf-form-btn').click(function(){ var t = this, $t = $(t), s = t.innerHTML, td = $t.parent(), id = td.find(':input[name=id]').val(), infoid = td.find(':input[name=infoid]').val(), username = td.find(':input[name=username]').val(), content = td.find(':input[name=content]').val(); if( s == '我要回复' ){ if( !username.length ){ alert('昵称不能为空'); return !1; } if( !content.length ){ alert('回复不能为空'); return !1; } t.innerHTML = '提交中...'; $.ajax({ type: 'post', url: 'ajax/qrpinglun-hf.asp?act=do', data: { ran: Math.random(), id: id, infoid: infoid, username: username, content: content }, success: function(d){ if( d == '0' ){ alert('信息有误'); } if( d == '-1' ){ alert('回复需含中文'); } t.innerHTML = '我要回复'; if( d == '1' ){ $t.before('回复成功').prev().delay(2000).fadeOut(function(){ $(this).remove(); $.ajax({ url: 'ajax/qrpinglun-hf.asp?act=list', data: { ran: Math.random(), id: id }, success: function(d){ if( !d ) return; $('#GridView1 .plhf[data-id='+ id +']').html( ''+ d +'
' ); $t.parent().parent().hide(); } }) }); td.find(':input[name=username]').val(''); td.find(':input[name=content]').val(''); } } }) } }) // 回复 end $('#GridView1 > tbody > tr').each(function(i){ if( i % 2 ){ $(this).addClass('backfafad2'); } }) $('#GridView1 td.showCity').each(function(){ var that = this; var s = this.innerHTML; var isBianJi = $(that).parent().html().indexOf('编辑') > -1; if( isBianJi ){ that.innerHTML = '来自: 北京 海淀'; return; } $.get('inc/pinglunCity.asp?ip='+s+'&ran='+Math.random(), function(d){ that.innerHTML = '来自: ' + d; }) }) var imycnum = $('#GridView1 span.mycnum').length; $('#GridView1 span.mycnum').each(function(){ $(this).find('span').html( imycnum-- ); }) // 替换前台显示 rDomain = /(www\.[\w.]+)|([\w.]{4,}\.((com)|(cn)|(net)))/g; rQQ = /(qq)\s*\d+/ig; rHM = /(\d{3})\d{4}(\d{4})/ig; //替换前台手机号码显示后4位为* $('#GridView1 td.showContent').each(function(){ var s = this.innerHTML; s = s.replace(rDomain, function(){ return 'alwindoor.com'; }) s = s.replace(rQQ, function($, $1){ return $1 + '***'; }) s = s.replace(rHM, function($, $1, $2){ //替换前台手机号码显示后4位为* return $1 + $2 + '****'; }) this.innerHTML = s; }) });
 
以下读者评论只代表网友个人观点,不代表本站观点   
<第楼>   昵称:手机版读者 发表时间:2016-10-4 21:18:00 IP:112.96.115.*
新展的翻版,技术,销售都是老朱培养的,不知道能否走到新展今天这种地步
    支持:0 反对:0 回复
昵称:
回复:
<第楼>   昵称:手机版读者 发表时间:2016-9-28 10:27:09 IP:117.136.41.*
很多人理解不了和体会不到做生产企业的各种艰难困苦。本人是06年至09年新展营销中心毕业生。作为老新展人时常会关注这个企业的发展和曾经浴血奋战的战友们的现状,预祝兄弟们,取经路上,一如既往,团结一心,踏平坎坷,再造辉煌!HQ支持!老新展人都希望新展突破曾经的辉煌!
    支持:0 反对:1 回复
昵称:
回复:
<第楼>   昵称:手机版读者 发表时间:2016-9-28 10:21:54 IP:117.136.41.*
恭喜哪里跌倒哪里爬起来,硅胶还是老朱霸气。顶你!
    支持:1 反对:0 回复
昵称:
回复:
<第楼>   昵称:手机版读者 发表时间:2016-9-24 9:25:24 IP:117.136.79.*
里面根本就没提新展啊,貌似跟新展没有半毛钱关系
    支持:0 反对:0 回复
昵称:
回复:
<第楼>   昵称:手机版读者 发表时间:2016-9-24 8:30:02 IP:119.103.163.*
很多人理解不了和体会不到做生产企业的各种艰难困苦。本人是06年至09年新展营销中心毕业生。作为老新展人时常会关注这个企业的发展和曾经浴血奋战的战友们的现状,预祝兄弟们,取经路上,一如既往,团结一心,踏平坎坷,再造辉煌!HQ
    支持:0 反对:0 回复
昵称:
回复:
  
 
>>查看完整评论
立即发表评论:
 昵称:    
 评论:  
        
 您觉得文章内容如何: 已经有13位读者对文章发表个人观点 
0
2
9
0
2
0