$("#comments_box").html("暂无评论,快来抢沙发吧!
发表评论
请登录帐号后发表评论 [登录]
");$("[href='/member/member_login.php']").attr("href",$("[href='/member/member_login.php']").attr("href")+"?from="+encodeURIComponent(window.location.href));function reply(C_id){$('#sub').val(C_id);$('#comment_content').focus();$('.reply_info').html('回复给 '+$('#list_'+C_id+' .M_login').html()+':'+$('#list_'+C_id+' .C_content').html() + ' [取消]');};function cancel(){$('#sub').val(0);$('.reply_info').html('');}function refresh1(){ var vcode=document.getElementById('vcode'); vcode.src ='/conn/code_1.php?nocache='+new Date().getTime();}function submitx(){$.ajax({url: '/js/scms.php?action=submit',type: 'POST', data: $('#comment_form').serialize(),success: function (msg) {if(msg.indexOf('success')>=0){$('.reply_info').html(''+msg.split('|')[1]+'');$('#code').val('');$('#comment_content').val('');}else{$('.reply_info').html(''+msg.split('|')[1]+'');}},error: function (msg) {console.log(msg);}});}