01彩票官方

利比亚首都南部遭空袭 建筑变成一片废墟

2019-06-16 07:40 来源:新华网
 "); else document.write("首 页  "); if(nCurrIndex > 0){ if(nCurrIndex == 1){ document.write("上一页  "); }else{document.write("上一页  ");} } else{ document.write("上一页  "); } /*if(nCurrIndex == 0) document.write("1 "); else document.write("1 ");*/ //01彩票官方和上一页以及第一页的代码 if(_nPageCount<=4){//_nPageCount小于等于4的情况 if(nCurrIndex == 0) document.write("1 "); else document.write("1 "); for(var i=1; i<_nPageCount; i++){ if(nCurrIndex == i) document.write((i+1) + " "); else document.write(""+(i+1)+" "); } }else{//_nPageCount小于等于4的情况end //下面这个IF是判断是小于步长的一半的情况的; if(nCurrIndex < Math.ceil(nStep/2)){ var xxxx=Math.ceil(nStep/2); //alert("步长一半的数值: "+xxxx+" nCurrIndex: "+nCurrIndex); for(i=nCurrIndex;i[1]  "); } if(i == 0 && nCurrIndex!=0){ document.write("[1]  ");} if(i > 0 && i <= _nPageCount){ if(i==nCurrIndex) document.write("["+(i+1)+"]  "); else document.write("["+(i+1)+"]  "); } } var nextOver = _nPageCount - nCurrIndex; //翻页到极限时候; //alert("nCurrIndex: "+nCurrIndex); if(nCurrIndex < (_nPageCount-1)) document.write("下一页  "); else if (nextOver <= nStep){ document.write("下一页  ");} if(nCurrIndex != (_nPageCount-1)) document.write("末 页  "); else document.write("末 页"); return false; } for(i=Math.ceil(nCurrIndex-nStep/2);i 0 && i <= _nPageCount){ if(i > 0 && i <_nPageCount){ if(i==nCurrIndex) document.write("["+(i+1)+"]  "); else document.write("["+(i+1)+"]  "); } } } //下一页和末页的设置 var nextOver = _nPageCount - nCurrIndex; //翻页到极限时候; if(nCurrIndex < (_nPageCount-1)) document.write("下一页  "); else if (nextOver <= nStep){ document.write("下一页  ");} if(nCurrIndex != (_nPageCount-1)) document.write("末 页  "); else document.write("末 页"); //下一页和末页的设置 }//函数结束符 //WCM置标 createPageHTML(2, 0, "t20190616_32371447", "shtml"); //]]>