1// æ¶é´è½¬æ¢ 2function getMyDate(str) { 3 var oDate = new Date(str), 4 oYear = oDate.getFullYear(), 5 oMonth = oDate.getMonth() + 1, 6 oDay = oDate.getDate(), 7 oHour = oDate.getHours(), 8 oMin = oDate.getMinutes(), 9 oSen = oDate.getSeconds(), 10 oTime = oYear + '-' + getzf(oMonth) + '-' + getzf(oDay);//æåæ¼æ¥æ¶é´ 11 //oTime = oYear +'-'+ getzf(oMonth) +'-'+ getzf(oDay) +' '+ getzf(oHour) +':'+ getzf(oMin) +':'+getzf(oSen);//æåæ¼æ¥æ¶é´ 12 return oTime; 13} 14function getzf(num) { 15 if (parseInt(num) < 10) { 16 num = '0' + num; 17 } 18 return num; 19} 20 21// å¸é¿ä¿¡ç®±çä¿¡ä»¶ç±»å 22function getGovMsgBoxType(govmsgboxtype){ 23 if(govmsgboxtype == 1){ 24 govmsgboxtype = "建议"; 25 }else if(govmsgboxtype == 2){ 26 govmsgboxtype = "表æ¬"; 27 }else if(govmsgboxtype == 3){ 28 govmsgboxtype = "å¨è¯¢"; 29 }else if(govmsgboxtype == 4){ 30 govmsgboxtype = "æè¯"; 31 } 32 return govmsgboxtype; 33} 34 35// å¸é¿ä¿¡ç®±çä¿¡ä»¶å¤çæ åµ 36function getStatus(Status){ 37 Status = (Status < 7 ? "å¤çä¸" : "å·²å¤ç"); 38 return Status; 39 } 40 41// è·åå°åæ ä¸çåæ° 42function UrlSearch() { 43 var url = decodeURI(window.location.href); 44 var url = url.substring(url.indexOf("?")+1); 45 var arr=url.split("&"); 46 for(var i=0;i < arr.length;i++){ 47 num=arr[i].indexOf("="); 48 if(num>0){ 49 name=arr[i].substring(0,num); 50 value=arr[i].substr(num+1); 51 this[name]=value; 52 } 53 } 54} 55 56// éªè¯ç 57function loadimage(){ 58 document.getElementById("loadcode").src="/IGI/appadmin/image?randName=loginCaptcha"+Math.random(); 59} 60 61//å建å页 62// æ»é¡µæ° å½å页 æ»è®°å½æ° åç¼å 63function createPage(_nPageCount, _nCurrIndex){ 64 if(_nPageCount == null || _nPageCount<=1){ 65 return; 66 } 67 var str = ""; 68 nCurrIndex = _nCurrIndex; 69 // var nCurrIndex = _nCurrIndex || 0; 70 // 1 è¾åºé¦é¡µåä¸ä¸é¡µ 71 // 1.1 å½å页æ¯é¦é¡µ 72 if(nCurrIndex == 1){ 73 // <a href="javascript:void(0)" onclick="work(this)">1</a> 74 str += "<a class='pn' href='javascript:void(0)' name='1' onclick='work(this)'>é¦é¡µ</a>"; 75 str += "<a class='cur' name='1' href='javascript:void(0)' onclick='work(this)'>1</a>"; 76 } 77 //1.2 å½å页䏿¯é¦é¡µ 78 else{ 79 var nPreIndex = nCurrIndex - 1; 80 // var sPreFileExt = nPreIndex == 0 ? "" : ("_" + nPreIndex); 81 82 str += "<a href='javascript:void(0)' onclick='work(this)' name='1' class='pn'>é¦é¡µ</a>"; 83 str += "<a href='javascript:void(0)' onclick='work(this)' name='" + nPreIndex +"' class='pn'>ä¸ä¸é¡µ</a>"; 84 str += "<a href='javascript:void(0)' onclick='work(this)' name='1' >1</a>"; 85 } 86 // 2 è¾åºä¸é´å页 87 var flag1=true; 88 var flag2=true; 89 90 for(var i=2; i<=_nPageCount; i++){ 91 if(i-nCurrIndex<3&&nCurrIndex-i<3||i<2||_nPageCount-i<3){ 92 if(nCurrIndex == i) 93 str += "<a class='cur' href='javascript:void(0)' onclick='work(this)' name='" + i + "'>"+ i +"</a>"; 94 else 95 str += "<a href='javascript:void(0)' onclick='work(this)' name='" + i + "'>"+i+"</a>"; 96 } 97 else if(i-nCurrIndex>2&&flag1){ 98 flag1=false; 99 str += "<a class='more'>...</a>"; 100 } 101 else if(nCurrIndex-i>2&&flag2){ 102 flag2=false; 103 str += "<a class='more'>...</a>"; 104 } 105 } 106 // 3 è¾åºä¸ä¸é¡µå尾页 107 //3.1 å½å页æ¯å°¾é¡µ 108 if(nCurrIndex == (_nPageCount)){ 109 str += "<a href='javascript:void(0)' onclick='work(this)' name='" + (_nPageCount) +"' class='pn'>尾页</a>"; 110 } 111 // 3.2 å½å页䏿¯å°¾é¡µ 112 else{ 113 var nNextIndex = nCurrIndex + 1; 114 // var sPreFileExt = nPreIndex == 0 ? "" : ("_" + nPreIndex); 115 str += "<a href='javascript:void(0)' onclick='work(this)' name='" + nNextIndex +"' class='pn'>ä¸ä¸é¡µ</a>"; 116 str += "<a href='javascript:void(0)' onclick='work(this)' name='" + (_nPageCount) + "' class='pn'>尾页</a>"; 117 } 118 //跳转å°i 119 str += "<span>跳转è³</span><input id='numPage' type='text' name='' value="+(_nCurrIndex)+" /><span>页</span><a class='cur go' href='javascript:void(0)' onClick='javacript:toPage()'>GO</a>"; 120 $(".page").html(str); 121} 122//åé¡µå® 123 124 125 126 127 128 129 130
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.