");
var tr, td, trData, pingId, pingIdMatch;
for(var i=1,len=trs.length;i
/i);
pingId = pingIdMatch[1];
trData = trs[i].split("");
tr = document.createElement("tr");
tr.id = 'pingLogTr_' + pingId;
tr.onmouseover = function() {showPingDelLink(this, true)};
tr.onmouseout = function() {showPingDelLink(this, false)};
td = document.createElement("th");
td.innerHTML = trData[0];
tr.appendChild(td);
for(var j=1; j<=6; j++) {
td = document.createElement("td");
td.innerHTML = trData[j];
tr.appendChild(td);
}
getObj('pingPage_'+pid).appendChild(tr);
}
if (gotText.indexOf('__pingPageOver__') != -1) { getObj('pingMore_'+pid).style.display='none';return ;}
});
getObj('pingPageNum_'+pid).value = pingPageNum + 1;
}
function delPingLog(fid, tid, pid, pingid) {
showDialog({type:'confirm',message:"你确定要删除这条评分动态么?",okText:'确认',onOk:function(){
read.obj = getObj("pingDel_"+pingid);
read.guide();
ajax.send("/pw_ajax.php?action=delpinglog", "fid="+fid+"&tid="+tid+"&pid="+pid+"&pingid="+pingid, function(){
if (ajax.request.responseText == 'success') {
showDialog('success','删除评分动态成功!');
if (getObj('pingLogTr_'+pingid)) {
getObj('pingLogTr_'+pingid).style.display = "none";
}
if (getObj('createpingLogTr_'+pingid)) {
getObj('createpingLogTr_'+pingid).style.display = "none";
}
if ($('pingNum_'+pid)) {
var pingNums = $('pingNum_'+pid);
pingNums.innerHTML = parseInt(pingNums.innerHTML) - 1;
}
} else {
showDialog('error','删除评分动态出错!');
}
});
}});
}
function showPingDelLink(trObj, isShow) {
pingId = trObj.id.match(/\d+/i);
linkObj = getObj("pingDel_"+pingId);
if (linkObj) {
linkObj.style.display = isShow ? '' : 'none';
}
}
function pingHideCtrl(pid) {
if (getObj('pingPage_'+pid).style.display == "") {
getObj('pingPage_'+pid).style.display = "none";
getObj('createpingbox_'+pid).style.display = "none";
getObj('pingHide_'+pid).innerHTML = "显示";
SetCookie('read_hidepinglog', 1);
} else {
getObj('pingPage_'+pid).style.display = "";
getObj('createpingbox_'+pid).style.display = "";
getObj('pingHide_'+pid).innerHTML = "隐藏";
SetCookie('read_hidepinglog', 0);
}
}
function copyFloorUrl(o) {
var floorurl = 'https://www.paipai.fm//r7852216?' + (page > 1 ? '&page=' + page : '') + '#';
if (is_ie) {
window.clipboardData.setData("Text",floorurl+o);
showDialog('success','已成功复制',1);
} else {
prompt('按下 Ctrl+C 复制到剪贴板', floorurl+o)
}
}
if(is_webkit)
getObj('bookmarkExplore').parentNode.removeChild(getObj('bookmarkExplore'));
-->