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.

343 lines
12 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 # of documents -->
  9. <LINK REL=STYLESHEET HREF="is2style.css" TYPE="text/css">
  10. <%if CiMatchedRecordCount eq 0%>
  11. <TITLE><%OriginalQuery%> - no documents matched.</TITLE>
  12. <%else%>
  13. <TITLE><%OriginalQuery%> - documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%></TITLE>
  14. <%endif%>
  15. </HEAD>
  16. <BODY background="is2bkgnd.gif">
  17. <TABLE>
  18. <TR>
  19. <TD><a href="http://www.microsoft.com/ntserver/search" target="_top"><IMG SRC ="is2logo.gif" border=0></a></TD>
  20. </TR>
  21. <TR>
  22. <TD ALIGN=RIGHT VALIGN=MIDDLE><h3>Search Results</h3></TD>
  23. </TR>
  24. </TABLE>
  25. <!-- Print a header that lists the query and the number of hits -->
  26. <H5>
  27. <%if CiMatchedRecordCount eq 0%>
  28. No documents matched the query "<%OriginalQuery%>".
  29. <%else%>
  30. Documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of
  31. <%if CiMatchedRecordCount eq CiMaxRecordsInResultSet%>
  32. the best
  33. <%endif%>
  34. <%CiMatchedRecordCount%> matching the query
  35. "<%OriginalQuery%>".
  36. <%endif%>
  37. </H5>
  38. <!--
  39. This table has a link to a new query page, a previous button, and
  40. a next page button. The buttons are only displayed when appropriate.
  41. -->
  42. <TABLE WIDTH=80%>
  43. <!--
  44. Query.htm set HTMLQueryForm as the name of the page to return to
  45. for a new query.
  46. -->
  47. <TD> <A HREF="<%HTMLQueryForm%>">New query</A> </TD>
  48. <!-- Define a "previous" button if this isn't the first page -->
  49. <%if CiContainsFirstRecord eq 0%>
  50. <TD ALIGN=LEFT>
  51. <FORM ACTION="query.idq" METHOD="GET">
  52. <INPUT TYPE="HIDDEN"
  53. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  54. <INPUT TYPE="HIDDEN"
  55. NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
  56. <INPUT TYPE="HIDDEN"
  57. NAME="CiMaxRecordsInResultSet" VALUE="<%EscapeRAW CiMaxRecordsInResultSet%>" >
  58. <INPUT TYPE="HIDDEN"
  59. NAME="OriginalQuery" VALUE="<%OriginalQuery%>" >
  60. <INPUT TYPE="HIDDEN"
  61. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  62. <INPUT TYPE="HIDDEN"
  63. NAME="CiScope" VALUE="<%CiScope%>" >
  64. <INPUT TYPE="HIDDEN"
  65. NAME="TemplateName" VALUE="<%TemplateName%>" >
  66. <INPUT TYPE="HIDDEN"
  67. NAME="CiSort" VALUE="<%CiSort%>" >
  68. <INPUT TYPE="HIDDEN"
  69. NAME="HTMLQueryForm" VALUE="<%HTMLQueryForm%>" >
  70. <INPUT TYPE="SUBMIT"
  71. VALUE="Previous <%CiMaxRecordsPerPage%> documents">
  72. </FORM>
  73. </TD>
  74. <%endif%>
  75. <!-- Define a "next" button if this isn't the last page -->
  76. <%if CiContainsLastRecord eq 0%>
  77. <TD ALIGN=RIGHT>
  78. <FORM ACTION="query.idq" METHOD="GET">
  79. <INPUT TYPE="HIDDEN"
  80. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  81. <INPUT TYPE="HIDDEN"
  82. NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  83. <INPUT TYPE="HIDDEN"
  84. NAME="CiMaxRecordsInResultSet" VALUE="<%EscapeRAW CiMaxRecordsInResultSet%>" >
  85. <INPUT TYPE="HIDDEN"
  86. NAME="OriginalQuery" VALUE="<%OriginalQuery%>" >
  87. <INPUT TYPE="HIDDEN"
  88. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  89. <INPUT TYPE="HIDDEN"
  90. NAME="CiScope" VALUE="<%CiScope%>" >
  91. <INPUT TYPE="HIDDEN"
  92. NAME="TemplateName" VALUE="<%TemplateName%>" >
  93. <INPUT TYPE="HIDDEN"
  94. NAME="CiSort" VALUE="<%CiSort%>" >
  95. <INPUT TYPE="HIDDEN"
  96. NAME="HTMLQueryForm" VALUE="<%HTMLQueryForm%>" >
  97. <INPUT TYPE="SUBMIT"
  98. VALUE="Next <%CiRecordsNextPage%> documents">
  99. </FORM>
  100. </TD>
  101. <%endif%>
  102. </TABLE>
  103. <HR>
  104. <!--
  105. The begindetail/enddetail section describes how each row of output
  106. is be formatted. The sample below prints:
  107. - record number
  108. - document title (if one exists) or virtual path of the file
  109. - the abstract for the file
  110. - the url for the file
  111. - the file's size and last write time
  112. - an HREF to the file for the hit highlighter.
  113. The parameters the hit highlighter include the CiQueryFile and
  114. CiTemplateFile. The CiQueryFile is not really needed as long as
  115. you don't have any custom properties. However, if you add custom
  116. properties, make sure the .idq file you use for queries is same
  117. as the one specified for CiQueryFile. The CiTemplateFile is used
  118. by webhits to format the output text.
  119. -->
  120. <%begindetail%>
  121. <table border=0>
  122. <tr class="RecordTitle">
  123. <td align="right" valign="top" class="RecordTitle" style="background-color:white;">
  124. <%CiCurrentRecordNumber%>.
  125. </td>
  126. <td><b class="RecordTitle">
  127. <%if DocTitle isempty%>
  128. <a href="javascript:NAF('http://<%server_name%><%vpath%>','<%OriginalQuery%>')" class="RecordTitle"><%filename%></a>
  129. <%else%>
  130. <a href="javascript:NAF('http://<%server_name%><%vpath%>','<%OriginalQuery%>')" class="RecordTitle"><%DocTitle%></a>
  131. <%endif%>
  132. </b></td>
  133. </tr>
  134. <tr>
  135. <td></td>
  136. <td>
  137. <b><i>Abstract: </i></b><%characterization%>
  138. </td>
  139. </tr>
  140. <tr>
  141. <td></td>
  142. <td>
  143. <i class="RecordStats"><a href="javascript:NAF('http://<%server_name%><%vpath%>','<%OriginalQuery%>')" class="RecordStats" style="color:blue;">http://<%server_name%><%vpath%></a>
  144. <br><%if size eq ""%>(size and time unknown)<%else%>size <%size%> bytes - <%write%> GMT<%endif%>
  145. </i>
  146. </td>
  147. </tr>
  148. <tr>
  149. <td></td>
  150. <td>
  151. <a href="qsumrhit.htw?CiWebHitsFile=<%escapeURL vpath%>&CiRestriction=<%escapeURL CiRestriction%>&CiQueryFile=/iissamples/issamples/query.idq&CiBeginHilite=<%escapeURL <b class=Hit>%>&CiEndHilite=<%escapeURL </b>%>&CiUserParam3=<%escapeURL HTMLQueryForm%>"><IMG src="hilight.gif" align=middle alt="Highlight matching terms in document using Summary mode."> Summary</a>
  152. <a href="qfullhit.htw?CiWebHitsFile=<%escapeURL vpath%>&CiRestriction=<%escapeURL CiRestriction%>&CiQueryFile=/iissamples/issamples/query.idq&CiBeginHilite=<%escapeURL <b class=Hit>%>&CiEndHilite=<%escapeURL </b>%>&CiUserParam3=<%escapeURL HTMLQueryForm%>&CiHiliteType=Full"><IMG src="hilight.gif" align=middle alt="Highlight matching terms in document."> Full</a>
  153. </td>
  154. </tr>
  155. </table>
  156. <br>
  157. <%enddetail%>
  158. </dl>
  159. <P>
  160. <%if CiMatchedRecordCount ne 0%>
  161. <!-- Only display a line if there were any hits that matched the query -->
  162. <HR>
  163. <%endif%>
  164. <TABLE WIDTH=80%>
  165. <!--
  166. Query.htm set HTMLQueryForm as the name of the page to return to
  167. for a new query.
  168. -->
  169. <TD> <A HREF="<%HTMLQueryForm%>">New query</A> </TD>
  170. <!-- Define a "previous" button if this isn't the first page -->
  171. <%if CiContainsFirstRecord eq 0%>
  172. <TD ALIGN=LEFT>
  173. <FORM ACTION="query.idq" METHOD="GET">
  174. <INPUT TYPE="HIDDEN"
  175. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  176. <INPUT TYPE="HIDDEN"
  177. NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
  178. <INPUT TYPE="HIDDEN"
  179. NAME="CiMaxRecordsInResultSet" VALUE="<%EscapeRAW CiMaxRecordsInResultSet%>" >
  180. <INPUT TYPE="HIDDEN"
  181. NAME="OriginalQuery" VALUE="<%OriginalQuery%>" >
  182. <INPUT TYPE="HIDDEN"
  183. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  184. <INPUT TYPE="HIDDEN"
  185. NAME="CiScope" VALUE="<%CiScope%>" >
  186. <INPUT TYPE="HIDDEN"
  187. NAME="TemplateName" VALUE="<%TemplateName%>" >
  188. <INPUT TYPE="HIDDEN"
  189. NAME="CiSort" VALUE="<%CiSort%>" >
  190. <INPUT TYPE="HIDDEN"
  191. NAME="HTMLQueryForm" VALUE="<%HTMLQueryForm%>" >
  192. <INPUT TYPE="SUBMIT"
  193. VALUE="Previous <%CiMaxRecordsPerPage%> documents">
  194. </FORM>
  195. </TD>
  196. <%endif%>
  197. <!-- Define a "next" button if this isn't the last page -->
  198. <%if CiContainsLastRecord eq 0%>
  199. <TD ALIGN=RIGHT>
  200. <FORM ACTION="query.idq" METHOD="GET">
  201. <INPUT TYPE="HIDDEN"
  202. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  203. <INPUT TYPE="HIDDEN"
  204. NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  205. <INPUT TYPE="HIDDEN"
  206. NAME="CiMaxRecordsInResultSet" VALUE="<%EscapeRAW CiMaxRecordsInResultSet%>" >
  207. <INPUT TYPE="HIDDEN"
  208. NAME="OriginalQuery" VALUE="<%OriginalQuery%>" >
  209. <INPUT TYPE="HIDDEN"
  210. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  211. <INPUT TYPE="HIDDEN"
  212. NAME="CiScope" VALUE="<%CiScope%>" >
  213. <INPUT TYPE="HIDDEN"
  214. NAME="TemplateName" VALUE="<%TemplateName%>" >
  215. <INPUT TYPE="HIDDEN"
  216. NAME="CiSort" VALUE="<%CiSort%>" >
  217. <INPUT TYPE="HIDDEN"
  218. NAME="HTMLQueryForm" VALUE="<%HTMLQueryForm%>" >
  219. <INPUT TYPE="SUBMIT"
  220. VALUE="Next <%CiRecordsNextPage%> documents">
  221. </FORM>
  222. </TD>
  223. <%endif%>
  224. </TABLE>
  225. <P><BR>
  226. <%if CiOutOfDate eq 0%>
  227. <!--
  228. If the index is up-to-date let the user know.
  229. -->
  230. <P>
  231. <I><B>The index is up-to-date.</B></I><BR>
  232. <%endif%>
  233. <%if CiQueryIncomplete ne 0%>
  234. <!--
  235. If the query was not executed because it needed to enumerate to
  236. resolve the query instead of using the index, but CiForceUseCi
  237. was TRUE, let the user know
  238. -->
  239. <P>
  240. <I><B>The query is too expensive to complete.</B></I><BR>
  241. <%endif%>
  242. <%if CiQueryTimedOut ne 0%>
  243. <!--
  244. If the query took too long to execute (for example, if too much work
  245. was required to resolve the query), let the user know
  246. -->
  247. <P>
  248. <I><B>The query took too long to complete.</B></I><BR>
  249. <%endif%>
  250. <%if CiTotalNumberPages gt 0%>
  251. <!-- Output a page number and count of pages -->
  252. <P>
  253. Page <%CiCurrentPageNumber%> of <%CiTotalNumberPages%>
  254. <P>
  255. <%endif%>
  256. <hr width=500 align=left>
  257. <p>
  258. <table border="0" cellpadding="0" cellspacing="0" width="500">
  259. <tr>
  260. <!-- IIS GIF -->
  261. <td>
  262. <a href="http://www.microsoft.com/windows2000"><img src="win2k.gif" alt="Learn more about Microsoft Windows 2000!" border="0"></a>
  263. </td>
  264. <!-- Microsoft Legal Info -->
  265. <td align=center>
  266. <font style="font:arial; font-size: 8pt"> &copy;1997-1999 Microsoft Corporation. All rights reserved.<br></font>
  267. <a href="http://www.microsoft.com/misc/cpyright.htm"><font style="font:arial; font-size: 6pt">Legal Notices.</font></a>
  268. </td>
  269. <!-- Best with IE GIF -->
  270. <td align=right>
  271. <a href="http://www.microsoft.com/ie"><img src="IE.GIF" alt="Download Internet Explorer!" border="0"></a>
  272. </td>
  273. </tr>
  274. </table>
  275. </BODY>
  276. <SCRIPT>
  277. function msieversion()
  278. {
  279. var ua = window.navigator.userAgent;
  280. var msie = ua.indexOf("MSIE");
  281. if (msie>0)
  282. return parseInt(ua.substring(msie+5, ua.indexOf(".", msie)));
  283. else
  284. return 0;
  285. }
  286. function NAF(szUrl, szQuery)
  287. {
  288. if (msieversion() >= 5)
  289. window.external.NavigateAndFind(szUrl, szQuery, "_main");
  290. else
  291. window.navigate(szUrl, target="_main");
  292. }
  293. </SCRIPT>
  294. </HTML>