Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

208 lines
6.3 KiB

  1. <HTML>
  2. <!--
  3. <%CiTemplate%>
  4. This is the formatting page for query results. This file defines
  5. how the result page header, rows, and footer will appear.
  6. -->
  7. <HEAD>
  8. <!-- The title lists the documents found on this page-->
  9. <LINK REL=STYLESHEET HREF="is2style.css" TYPE="text/css">
  10. <TITLE><%CiRestriction%> - documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%></TITLE>
  11. </HEAD>
  12. <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000066" VLINK="#808080" ALINK="#FF0000" TOPMARGIN=0>
  13. <TABLE>
  14. <TR>
  15. <TD><a href="http://www.microsoft.com/ntserver/search" target="_top"><IMG SRC ="is2logo.gif" border=0></a></TD>
  16. </TR>
  17. <TR>
  18. <TD ALIGN=RIGHT VALIGN=MIDDLE><h3>High Performance Search Results</h3></TD>
  19. </TR>
  20. </TABLE>
  21. <!-- Print a header that lists the query and the number of hits -->
  22. <H3>
  23. <%if CiLastRecordNumber eq 0%>
  24. No documents matched the query "<%CiRestriction%>".
  25. <%else%>
  26. Documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> matching the query
  27. "<%CiRestriction%>".
  28. <%endif%>
  29. </H3>
  30. <HR width=500 align=left>
  31. <!--
  32. The begindetail/enddetail section describes how each row of output
  33. is be formatted. The sample below prints:
  34. - record number
  35. - document title (if one exists) or virtual path of the file
  36. - the abstract for the file
  37. - the url for the file
  38. - the file's size and last write time
  39. - an HREF to the file for the hit highlighter.
  40. The parameters the hit highlighter include the CiQueryFile and
  41. CiTemplateFile. The CiQueryFile is not really needed as long as
  42. you don't have any custom properties. However, if you add custom
  43. properties, make sure the .idq file you use for queries is same
  44. as the one specified for CiQueryFile. The CiTemplateFile is used
  45. by webhits to format the output text.
  46. -->
  47. <table border=0 width=500>
  48. <%begindetail%>
  49. <tr class="RecordTitle">
  50. <td align="right" valign="top" class="RecordTitle" style="background-color:#FFFFFF;">
  51. <%CiCurrentRecordNumber%>.
  52. </td>
  53. <td><b class="RecordTitle">
  54. <%if DocTitle isempty%>
  55. <a href="javascript:NAF('http://<%server_name%><%vpath%>','<%CiRestriction%>')" class="RecordTitle"><%filename%></a>
  56. <%else%>
  57. <a href="javascript:NAF('http://<%server_name%><%vpath%>','<%CiRestriction%>')" class="RecordTitle"><%DocTitle%></a>
  58. <%endif%>
  59. </b></td>
  60. </tr>
  61. <tr>
  62. <td></td>
  63. <td>
  64. <b><i>Abstract: </i></b><%characterization%>
  65. </td>
  66. </tr>
  67. <tr>
  68. <td></td>
  69. <td class="RecordStats">
  70. <%if size eq ""%>(size and time unknown)<%else%>(<%size%> bytes - <%write%> GMT)<%endif%>
  71. </td>
  72. </tr>
  73. <tr><td><p>&nbsp;<br></td></tr>
  74. <%enddetail%>
  75. </table>
  76. <P>
  77. <HR width=500 align=left>
  78. <!--
  79. URL to get to the next page of results. Users can use the browser 'back'
  80. button to move backwards.
  81. -->
  82. <table border=0 width=500>
  83. <tr>
  84. <td align=left>
  85. <%if CiContainsLastRecord eq 0%>
  86. <!-- Define a "next" URL if this isn't the last page -->
  87. <A HREF="fastq.idq?CiBookMark=<%CiBookMark%>&CiBookmarkSkipCount=<%EscapeRAW CiMaxRecordsPerPage%>&CiRestriction=<%EscapeURL CiRestriction%>&CiScope=<%CiScope%>&HTMLQueryForm=<%EscapeURL HTMLQueryForm%>&FastDir=<%EscapeURL FastDir%>">
  88. More documents about <B><%CiRestriction%></B>...</A>
  89. <%endif%>
  90. </td>
  91. <td align=right>
  92. <!--
  93. Query.htm set HTMLQueryForm as the name of the page to return to
  94. for a new query.
  95. -->
  96. <A HREF="<%HTMLQueryForm%>">New query</A>
  97. </td>
  98. </tr>
  99. </table>
  100. <P><BR>
  101. <!--
  102. If the index is out of date (for example, if it's still being created
  103. or updated after changes to files in an indexed directory) let the
  104. user know.
  105. -->
  106. <%if CiOutOfDate eq 0%>
  107. <P>
  108. <I><B>The index is up-to-date.</B></I><BR>
  109. <%endif%>
  110. <!--
  111. If the query was not executed because it needed to enumerate to
  112. resolve the query instead of using the index, but CiForceUseCi
  113. was TRUE, let the user know
  114. -->
  115. <%if CiQueryIncomplete ne 0%>
  116. <P>
  117. <I><B>The query is too expensive to complete.</B></I><BR>
  118. <%endif%>
  119. <!--
  120. If the query took too long to execute (for example, if too much work
  121. was required to resolve the query), let the user know
  122. -->
  123. <%if CiQueryTimedOut ne 0%>
  124. <P>
  125. <I><B>The query took too long to complete.</B></I><BR>
  126. <%endif%>
  127. <!-- Output a page number and count of pages -->
  128. <P class=RecordStats align=center>Page <%CiCurrentPageNumber%>
  129. <hr width=500 align=left>
  130. <p>
  131. <table border="0" cellpadding="0" cellspacing="0" width="500">
  132. <tr>
  133. <!-- IIS GIF -->
  134. <td>
  135. <a href="http://www.microsoft.com/windows2000"><img src="win2k.gif" alt="Learn more about Microsoft Windows 2000!" border="0"></a>
  136. </td>
  137. <!-- Microsoft Legal Info -->
  138. <td align=center>
  139. <font style="font:arial; font-size: 8pt"> &copy;1997-1999 Microsoft Corporation. All rights reserved.<br></font>
  140. <a href="http://www.microsoft.com/misc/cpyright.htm"><font style="font:arial; font-size: 6pt">Legal Notices.</font></a>
  141. </td>
  142. <!-- Best with IE GIF -->
  143. <td align=right>
  144. <a href="http://www.microsoft.com/ie"><img src="IE.GIF" alt="Download Internet Explorer!" border="0"></a>
  145. </td>
  146. </tr>
  147. </table>
  148. </BODY>
  149. <SCRIPT>
  150. function msieversion()
  151. {
  152. var ua = window.navigator.userAgent;
  153. var msie = ua.indexOf("MSIE");
  154. if (msie>0)
  155. return parseInt(ua.substring(msie+5, ua.indexOf(".", msie)));
  156. else
  157. return 0;
  158. }
  159. function NAF(szUrl, szQuery)
  160. {
  161. if (msieversion() >= 5)
  162. window.external.NavigateAndFind(szUrl, szQuery, "_main");
  163. else
  164. window.navigate(szUrl, target="_main");
  165. }
  166. </SCRIPT>
  167. </HTML>