锘?!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 淇℃???绱㈠钩??/title> <script type="text/javascript" src="/configuration/js/jquery.js"></script> <link type="text/css" rel="stylesheet" href="/sysImages/css/Search.css" /> </head> <body onload="getUrlParam();"> <div class="header"> <a href="index.html" class="logo"></a> <div class="search-wrap"> <form id="form1"> <input type="text" id="tags" name="tags" onkeydown="javascript:if(event.keyCode==13){return false;}" /> <input id="type" name="type" type="hidden" value="" /> <input id="chid" name="chid" type="hidden" value="" /> <button id="submit-btn" onclick="javascript:SearchGo(this.form);"></button> </form> </div> <div class="tab"> <div id="select1" class="tab-item selected" onclick="ChnageSearch('news');">?伴?绘?绱?/div> <div id="select2" class="tab-item" onclick="ChnageSearch('text');">?ㄦ??妫?绱?/div> <div id="select3" class="tab-item" onclick="ChnageSearch('tag');">?抽???</div> <div id="select4" class="tab-item" onclick="ChnageSearch('author');">浣???</div> <!--<a href="javascript:void(0);" class="header-navi">?烘??姒???/a> <a href="javascript:void(0);" class="header-navi">淇℃?????</a> <a href="javascript:void(0);" class="header-navi">缃?涓???浜?</a> <a href="javascript:void(0);" class="header-navi">?挎?浜???/a> <a href="javascript:void(0);" class="header-navi">缃?涓?璋???/a>--> </div> </div> <div class="content" id="Loading" style="display:block;width:98%;text-align:center;height:40px;line-height:40px;"><img alt="??绱?腑..." src="/sysImages/folder/loading.gif" style="border: 0px;" />姝e?ㄦ??绱?..</div> <span id="Span_SearchList"></span> <script language="javascript" type="text/javascript"> function getUrlParam() { var str = window.location.href; String.prototype.getQuery = function (name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = this.substr(this.indexOf("\?") + 1).match(reg); if (r != null) return decodeURIComponent(r[2]); return ""; } var getid = str.getQuery("type"); var getids = getid; var getchid = str.getQuery("ChID"); if (getid == null) { getids = "news"; } document.getElementById("type").value = getids; document.getElementById("chid").value = getchid; document.getElementById("tags").value = str.getQuery("tags"); var ctype = getids; getType(ctype); } var request = window.location.search; var Action = request.substring(1, request.length); function getType(typ) { if (typ == "news") { document.getElementById("type").value = "news"; document.getElementById("select1").className = "tab-item selected"; document.getElementById("select2").className = "tab-item"; document.getElementById("select3").className = "tab-item"; document.getElementById("select4").className = "tab-item"; } else if (typ == "text") { document.getElementById("type").value = "text"; document.getElementById("select1").className = "tab-item"; document.getElementById("select2").className = "tab-item selected"; document.getElementById("select3").className = "tab-item"; document.getElementById("select4").className = "tab-item"; } else if (typ == "tag") { document.getElementById("type").value = "tag"; document.getElementById("select1").className = "tab-item"; document.getElementById("select2").className = "tab-item"; document.getElementById("select3").className = "tab-item selected"; document.getElementById("select4").className = "tab-item"; } else if (typ == "author") { document.getElementById("type").value = "author"; document.getElementById("select1").className = "tab-item"; document.getElementById("select2").className = "tab-item"; document.getElementById("select3").className = "tab-item"; document.getElementById("select4").className = "tab-item selected"; } } function SearchGo(obj) { if (document.getElementById("tags").value == "") { alert("濉????抽???\n"); document.getElementById("tags").focus(); return false; } if (obj.chid.value == "" || isNaN(obj.chid.value)) { window.location.href = 'Search.html?type=' + document.getElementById("type").value + '&&ChID=&tags=' + encodeURIComponent(obj.tags.value); } else { window.location.href = 'Search.html?type=' + document.getElementById("type").value + '&ChID=' + encodeURIComponent(obj.chid.value) + '&tags=' + encodeURIComponent(obj.tags.value); } } function ChnageSearch(txt) { var chid = document.getElementById("chid").value; var tags = document.getElementById("tags").value; if (chid == "" || isNaN(chid)) { window.location.href = 'Search.html?type=' + txt + '&tags=' + encodeURIComponent(tags); } else { window.location.href = 'Search.html?type=' + txt + '&ChID=' + encodeURIComponent(chid) + '&tags=' + encodeURIComponent(tags); } } function GetSearchList(page) { if (Action.indexOf('&page=') > -1) Action = Action.replace(/\&page=\d+/, '&page=' + page); else { Action += '&page=' + page; } $.get('Search.aspx?no-cache=' + Math.random() + '&' + Action, function (responseText) { if (responseText.indexOf("??") > -1) { document.getElementById("Loading").style.display = "none"; document.getElementById("Span_SearchList").innerHTML = '??绱㈠け璐?; } else { document.getElementById("Loading").style.display = "none"; document.getElementById("Span_SearchList").innerHTML = responseText; } }); } GetSearchList(1); function sendfriend(url, title) { var clipBoardContent = ''; clipBoardContent += title; clipBoardContent += '\r\n' + url + '\r\n\r\n杩?绡???绔?涓???锛??ㄦ??绌哄?荤??????涓?????姣???'; if (window.clipboardData) { window.clipboardData.clearData(); window.clipboardData.setData("Text", clipBoardContent); } else if (navigator.userAgent.indexOf("Opera") != -1) { window.location = clipBoardContent; } else if (window.netscape) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("姝ゆ??浣?琚??瑙??ㄦ??缁?锛?\n璇峰?ㄦ?瑙??ㄥ?板????杈???"about:config\"骞跺??杞?n?跺??灏?[signed.applets.codebase_principal_support]璁剧疆涓?true'"); } var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard); if (!clip) return; var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable); if (!trans) return; trans.addDataFlavor('text/unicode'); var str = new Object(); var len = new Object(); var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString); var copytext = clipBoardContent; str.data = copytext; trans.setTransferData("text/unicode", str, copytext.length * 2); var clipid = Components.interfaces.nsIClipboard; if (!clip) return false; clip.setData(trans, null, clipid.kGlobalClipboard); } alert("浣?宸插??堕?炬?ュ????棰?锛?璇风?璐村??Q/MSN绛???缁?濂藉??!"); } </script> <script> (function(){ var canonicalURL, curProtocol; //Get the <link> tag var x=document.getElementsByTagName("link"); //Find the last canonical URL if(x.length > 0){ for (i=0;i<x.length;i++){ if(x[i].rel.toLowerCase() == 'canonical' && x[i].href){ canonicalURL=x[i].href; } } } //Get protocol if (!canonicalURL){ curProtocol = window.location.protocol.split(':')[0]; } else{ curProtocol = canonicalURL.split(':')[0]; } //Get current URL if the canonical URL does not exist if (!canonicalURL) canonicalURL = window.location.href; //Assign script content. Replace current URL with the canonical URL !function(){var e=/([http|https]://[a-zA-Z0-9_.]+.baidu.com)/gi,r=canonicalURL,t=document.referrer;if(!e.test(r)){var n=(String(curProtocol).toLowerCase() === 'https')?"https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif":"//api.share.baidu.com/s.gif";t?(n+="?r="+encodeURIComponent(document.referrer),r&&(n+="&l="+r)):r&&(n+="?l="+r);var i=new Image;i.src=n}}(window);})(); </script></body> </html>