home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 May / PCWorld_2007-05_cd.bin / komunikace / bitcomet / bitcomet_setup.exe / fav / search_en_us.mht < prev    next >
Internet Message Format  |  2006-04-22  |  10KB

  1. From: <╙╔ Microsoft Internet Explorer 5 ▒ú┤µ>
  2. Subject: Search
  3. Date: Fri, 7 Apr 2006 17:18:58 +0800
  4. MIME-Version: 1.0
  5. Content-Type: text/html;
  6.     charset="utf-8"
  7. Content-Transfer-Encoding: quoted-printable
  8. Content-Location: file://E:\work\BC_Search\en\search.html
  9. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
  10.  
  11. =EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  12. <HTML><HEAD><TITLE>Search</TITLE>
  13. <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
  14. <STYLE type=3Dtext/css>BODY {
  15.     MARGIN: 0px; OVERFLOW: hidden
  16. }
  17. BODY {
  18.     FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Times New Roman, Times, =
  19. serif
  20. }
  21. TD {
  22.     FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Times New Roman, Times, =
  23. serif
  24. }
  25. TH {
  26.     FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Times New Roman, Times, =
  27. serif
  28. }
  29. .STYLE1 {
  30.     FONT-WEIGHT: bold
  31. }
  32. TD#td INPUT {
  33.     BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; =
  34. FONT-SIZE: 12px; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 =
  35. 1px solid
  36. }
  37. .STYLE2 {
  38.     FONT-WEIGHT: bold; COLOR: #ffffff
  39. }
  40. .STYLE4 {
  41.     FONT-SIZE: 12px
  42. }
  43. .STYLE5 {
  44.     FONT-SIZE: 11px; COLOR: #ff0000
  45. }
  46. .STYLE6 {
  47.     FONT-SIZE: 11px; COLOR: #66cc00
  48. }
  49. .STYLE7 {
  50.     FONT-SIZE: 11px; COLOR: #cccccc
  51. }
  52. A:link {
  53.     COLOR: #9999ff; TEXT-DECORATION: none
  54. }
  55. A:visited {
  56.     COLOR: #cccccc; TEXT-DECORATION: none
  57. }
  58. A:hover {
  59.     COLOR: #cccccc; TEXT-DECORATION: underline
  60. }
  61. A:active {
  62.     TEXT-DECORATION: none
  63. }
  64. </STYLE>
  65.  
  66. <SCRIPT language=3Djavascript>
  67. function changeText(iStr)
  68. {
  69.     document.getElementById("site").innerText=3DiStr;
  70. }
  71. function se()
  72. {
  73.     var d=3Dfunction(ss){return document.getElementById(ss);};
  74.     var PostUrl=3D"";
  75.     if(d("searchText").value=3D=3D""){
  76.         alert("Please input the keyword!");
  77.         d("searchText").focus();
  78.     }
  79.     else
  80.     {
  81.         if(d("wTorrent").checked=3D=3Dtrue){
  82.             =
  83. PostUrl=3D"http://www.wtorrent.com/search.aspx?client=3Dbitcomet&keyword=3D=
  84. ";
  85.         }
  86.         else if(d("TorrentPortal").checked=3D=3Dtrue){
  87.             =
  88. PostUrl=3D"http://www.torrentportal.com/torrents-search.php?client=3Dbitc=
  89. omet&search=3D";
  90.         }
  91.         else if(d("TorrentSpy").checked=3D=3Dtrue){
  92.             =
  93. PostUrl=3D"http://www.torrentspy.com/search.asp?client=3Dbitcomet&query=3D=
  94. ";
  95.         }
  96.         else if(d("TorrentReactor").checked=3D=3Dtrue){
  97.             =
  98. PostUrl=3D"http://torrentreactor.net/search.php?client=3Dbitcomet&words=3D=
  99. ";
  100.         }
  101.         var load =3D window.open(PostUrl+escape(d("searchText").value));
  102.     }
  103. }
  104. </SCRIPT>
  105.  
  106. <META content=3D"MSHTML 6.00.3790.2577" name=3DGENERATOR></HEAD>
  107. <BODY>
  108. <TABLE cellSpacing=3D2 cellPadding=3D0 width=3D190 bgColor=3D#9999ff =
  109. border=3D0>
  110.   <TBODY>
  111.   <TR>
  112.     <TD>
  113.       <TABLE cellSpacing=3D1 cellPadding=3D0 width=3D190 =
  114. bgColor=3D#3333ff border=3D0>
  115.         <TBODY>
  116.         <TR>
  117.           <TD bgColor=3D#ffffff>
  118.             <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"98%" =
  119. align=3Dcenter=20
  120. border=3D0>
  121.               <TBODY>
  122.               <TR>
  123.                 <TD style=3D"PADDING-LEFT: 3px" height=3D22>
  124.                   <DIV align=3Dleft><SPAN class=3DSTYLE1=20
  125.                   id=3Dsite>wTorrent</SPAN><SPAN class=3DSTYLE1>=20
  126.                 Search</SPAN></DIV></TD></TR>
  127.               <TR>
  128.                 <TD id=3Dtd height=3D24>
  129.                   <DIV align=3Dright><INPUT id=3DsearchText =
  130. name=3DsearchText>=20
  131.                 </DIV></TD></TR>
  132.               <TR>
  133.                 <TD>
  134.                   <DIV align=3Dcenter>
  135.                   <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =
  136. border=3D0>
  137.                     <TBODY>
  138.                     <TR>
  139.                       <TD bgColor=3D#f5f5f5 height=3D20>
  140.                         <DIV align=3Dleft><INPUT id=3DwTorrent=20
  141.                         onclick=3Djavascript:changeText(this.value); =
  142. type=3Dradio=20
  143.                         CHECKED value=3DwTorrent name=3Dradiobutton> =
  144. Wtorrent=20
  145.                       </DIV></TD>
  146.                       <TD bgColor=3D#f5f5f5 height=3D20>
  147.                         <DIV align=3Dleft><INPUT id=3DTorrentPortal=20
  148.                         onclick=3Djavascript:changeText(this.value); =
  149. type=3Dradio=20
  150.                         value=3DTorrentPortal name=3Dradiobutton>=20
  151.                       TorrentPortal</DIV></TD></TR>
  152.                     <TR>
  153.                       <TD bgColor=3D#f5f5f5 height=3D20>
  154.                         <DIV align=3Dleft><INPUT id=3DTorrentSpy=20
  155.                         onclick=3Djavascript:changeText(this.value); =
  156. type=3Dradio=20
  157.                         value=3DTorrentSpy name=3Dradiobutton> =
  158. TorrentSpy</DIV></TD>
  159.                       <TD bgColor=3D#f5f5f5 height=3D20>
  160.                         <DIV align=3Dleft><INPUT id=3DTorrentReactor=20
  161.                         onclick=3Djavascript:changeText(this.value); =
  162. type=3Dradio=20
  163.                         value=3DTorrentReactor name=3Dradiobutton> =
  164. TorrentReactor=20
  165.                         </DIV></TD></TR></TBODY></TABLE></DIV></TD></TR>
  166.               <TR>
  167.                 <TD height=3D20>
  168.                   <DIV align=3Dright><INPUT onclick=3Djavascript:se(); =
  169. type=3Dbutton value=3Dsearch name=3DSubmit>=20
  170.                   </DIV></TD></TR>
  171.               <TR>
  172.                 <TD=20
  173.   =
  174. height=3D3></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>=
  175. </TBODY></TABLE>
  176. <TABLE height=3D5 cellSpacing=3D0 cellPadding=3D0 width=3D190 =
  177. border=3D0>
  178.   <TBODY>
  179.   <TR>
  180.     <TD></TD></TR></TBODY></TABLE>
  181. <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D194 border=3D0>
  182.   <TBODY>
  183.   <TR>
  184.     <TD bgColor=3D#9999ff height=3D22>
  185.       <DIV class=3DSTYLE2 align=3Dcenter>Search keyword TOP 100=20
  186. </DIV></TD></TR></TBODY></TABLE>
  187. <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D194 border=3D0>
  188.   <TBODY>
  189.   <TR>
  190.     <TD height=3D1></TD></TR></TBODY></TABLE>
  191. <TABLE height=3D20 cellSpacing=3D0 cellPadding=3D0 width=3D194 =
  192. border=3D0>
  193.   <TBODY>
  194.   <TR>
  195.     <TD width=3D35 bgColor=3D#f5f5f5>
  196.       <DIV class=3DSTYLE4 align=3Dcenter>Rand</DIV></TD>
  197.     <TD width=3D127 bgColor=3D#f5f5f5>
  198.       <DIV class=3DSTYLE4 align=3Dcenter>
  199.       <DIV align=3Dleft>Keyword</DIV></DIV></TD>
  200.     <TD width=3D32 bgColor=3D#f5f5f5>
  201.       <DIV align=3Dcenter></DIV></TD></TR></TBODY></TABLE>
  202. <TABLE height=3D1 cellSpacing=3D0 cellPadding=3D0 width=3D194 =
  203. border=3D0>
  204.   <TBODY>
  205.   <TR>
  206.     <TD bgColor=3D#cccccc></TD></TR></TBODY></TABLE>
  207. <DIV id=3DKeywordList align=3Dleft>
  208. <TABLE height=3D20 cellSpacing=3D0 cellPadding=3D0 width=3D194 =
  209. border=3D0>
  210.   <TBODY>
  211.   <TR>
  212.     <TD width=3D35>
  213.       <DIV class=3DSTYLE4 align=3Dcenter>1</DIV></TD>
  214.     <TD width=3D127>
  215.       <DIV class=3DSTYLE4 align=3Dcenter>
  216.       <DIV align=3Dleft><A=20
  217.       =
  218. href=3D"file:///E:/work/BC_Search/en/search.html#">lost</A></DIV></DIV></=
  219. TD>
  220.     <TD width=3D32>
  221.       <DIV class=3DSTYLE5 =
  222. align=3Dcenter>+1</DIV></TD></TR></TBODY></TABLE>
  223. <TABLE height=3D1 cellSpacing=3D0 cellPadding=3D0 width=3D194 =
  224. border=3D0>
  225.   <TBODY>
  226.   <TR>
  227.     <TD bgColor=3D#f5f5f5></TD></TR></TBODY></TABLE></DIV>
  228. <TABLE height=3D1 cellSpacing=3D0 cellPadding=3D0 width=3D194 =
  229. border=3D0>
  230.   <TBODY>
  231.   <TR>
  232.     <TD bgColor=3D#cccccc></TD></TR></TBODY></TABLE>
  233. <TABLE height=3D20 cellSpacing=3D0 cellPadding=3D0 width=3D194 =
  234. border=3D0>
  235.   <TBODY>
  236.   <TR>
  237.     <TD width=3D35 bgColor=3D#f5f5f5>
  238.       <DIV class=3DSTYLE4 align=3Dcenter></DIV></TD>
  239.     <TD width=3D54 bgColor=3D#f5f5f5>
  240.       <DIV class=3DSTYLE4 align=3Dcenter>
  241.       <DIV id=3DpageRange align=3Dleft>1-10</DIV></DIV></TD>
  242.     <TD width=3D105 bgColor=3D#f5f5f5>
  243.       <DIV align=3Dcenter><A href=3D"javascript:PageChange(-1);"><FONT=20
  244.       color=3D#9999ff>PgUp</FONT></A> <A =
  245. href=3D"javascript:PageChange(1);"><FONT=20
  246.       color=3D#9999ff>PgDn</FONT></A></DIV></TD></TR></TBODY></TABLE>
  247. <SCRIPT language=3Djavascript>
  248. document.write('<script language=3D"javascript" =
  249. src=3D"http://www.wTorrent.com/admin/top.js"></scr'+'ipt>');
  250. </SCRIPT>
  251.  
  252. <SCRIPT language=3Djavascript>
  253. var currentPage=3D1;
  254. var maxPage=3DMath.ceil(topArray.length/10);
  255. //alert(maxPage);
  256. function ShowPage(iPage)
  257. {
  258.     var topStart=3D(iPage-1)*10+1;
  259.     var topEnd=3D(iPage-1)*10+10;
  260.     if(topEnd>topArray.length)
  261.         topEnd=3DtopArray.length;
  262.     var i,keyword;
  263.     var keywordList=3D"";
  264.     for(i=3DtopStart-1;i<topEnd;i++)
  265.     {
  266.         keyword=3DtopArray[i].split("{:}");
  267.         keywordList+=3D'<table width=3D"194" height=3D"20" border=3D"0" =
  268. cellpadding=3D"0" cellspacing=3D"0"><tr><td width=3D"35">'
  269.         keywordList+=3D'<div align=3D"center" =
  270. class=3D"STYLE4">'+(i+1)+'</div></td><td width=3D"127"><div =
  271. align=3D"center" class=3D"STYLE4"><div align=3D"left">'
  272.         keywordList+=3D'<a =
  273. href=3D"http://www.wTorrent.com/search.aspx?keyword=3D'+escape(keyword[1]=
  274. )+'" target=3D"_blank">'+keyword[1]+'</a></div>'
  275.         keywordList+=3D'</div></td><td width=3D"32"><div align=3D"center" =
  276. class=3D"'+Style(keyword[2])+'">'+OutNum(keyword[2])+'</div></td>'
  277.         keywordList+=3D'</tr></table><table width=3D"194" height=3D"1" =
  278. border=3D"0" cellpadding=3D"0" cellspacing=3D"0">'
  279.         keywordList+=3D'<tr><td bgcolor=3D"#F5F5F5"></td></tr></table>';
  280.     }
  281.     document.getElementById("KeywordList").innerHTML=3DkeywordList;
  282.     =
  283. document.getElementById("pageRange").innerText=3DtopStart.toString()+"-"+=
  284. topEnd.toString();
  285. }
  286.  
  287. function Style(iStr)
  288. {
  289.     if(iStr=3D=3D"new")
  290.         return "style5";
  291.     if(iStr<0)
  292.         return "style6";
  293.     if(iStr>0)
  294.         return "style5";
  295.     if(iStr=3D=3D0)
  296.         return "style7";
  297. }
  298.  
  299. function OutNum(iStr)
  300. {
  301.     if(parseInt(iStr)>0)
  302.         return "+"+iStr.toString();
  303.     else
  304.         return iStr;
  305. }
  306.  
  307. function PageChange(iNum)
  308. {
  309.     currentPage+=3DiNum;
  310.     if(currentPage>maxPage)
  311.         currentPage=3D1;
  312.     if(currentPage<1)
  313.         currentPage=3DmaxPage;
  314.     ShowPage(currentPage);
  315. }
  316.  
  317. ShowPage(1);
  318. </SCRIPT>
  319. </BODY></HTML>
  320.