var zz_SplitRecordSet_trackbacksubmit=false;
function zz_SplitRecordSet_showtrackback(logid,currentpage)
{
if (zz_SplitRecordSet_trackbacksubmit)
{
alert("正在提交中,请稍候...");
}
else {
zz_SplitRecordSet_trackbacksubmit = true;
var zz_SplitRecordSet_errstr = "";
//判断是否有错,这里应该没有
if (zz_SplitRecordSet_errstr != "")
{
alert(zz_SplitRecordSet_errstr);
zz_SplitRecordSet_trackbacksubmit = false;
}
else
{
//alert("这里无错误");
var Ajax = new ZZ_SplitRecordSet_Ajax("https://www.liyanfeng.com/PLUGIN/ZZ_SplitRecordSet/log_trackback.asp?act=showtrackback", zz_SplitRecordSet_result_showtrackback);
var arrKey = new Array("logid","currentpage");
var arrValue = new Array(logid,currentpage);
Ajax.Post(arrKey,arrValue);
}
}
}
function zz_SplitRecordSet_result_showtrackback(arrobj)
{
if (arrobj)
{
switch (arrobj[1])
{
case '0':
alert(arrobj[0]);
zz_SplitRecordSet_trackbacksubmit=false;
break;
case '1':
ZZ_SplitRecordSet_set_innerHTML('div_SplitRecordSet_ArticleTrackback', arrobj[0]);
zz_SplitRecordSet_trackbacksubmit=false;
break;
}
}
}
zz_SplitRecordSet_showtrackback(8,1);