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.

229 lines
7.5 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. <%if CiMatchedRecordCount eq 0%>
  10. <TITLE><%escapeHTML CiRestriction%> - no documents matched.</TITLE>
  11. <%else%>
  12. <TITLE><%escapeHTML CiRestriction%> - documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%></TITLE>
  13. <%endif%>
  14. </HEAD>
  15. <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000066" VLINK="#808080" ALINK="#FF0000" TOPMARGIN=0>
  16. <TABLE>
  17. <TR>
  18. <TD><IMG SRC ="/srchadm/book08.jpg" ALIGN=Middle></TD>
  19. <TD VALIGN=MIDDLE><H1>Index Server</H1><br><center><h2>Search Results</h2></center></TD>
  20. </TR>
  21. </TABLE>
  22. <!-- Print a header that lists the query and the number of hits -->
  23. <H5>
  24. <%if CiMatchedRecordCount eq 0%>
  25. No virtual roots matched the query "<%EscapeHTML CiRestriction%>".
  26. <%else%>
  27. Virtual roots <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of
  28. <%CiMatchedRecordCount%> matching the query
  29. "<%EscapeHTML CiRestriction%>" for catalog <%CiCatalog%>
  30. <%endif%>
  31. </H5>
  32. <!--
  33. This table has a link to a new query page, a previous button, and
  34. a next page button. The buttons are only displayed when appropriate.
  35. -->
  36. <TABLE WIDTH=80%>
  37. <!--
  38. Query.htm set HTMLQueryForm as the name of the page to return to
  39. for a new query.
  40. -->
  41. <!-- Define a "previous" button if this isn't the first page -->
  42. <%if CiContainsFirstRecord eq 0%>
  43. <TD ALIGN=LEFT>
  44. <FORM ACTION="/scripts/srchadm/scan.idq" METHOD="GET">
  45. <INPUT TYPE="HIDDEN"
  46. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  47. <INPUT TYPE="HIDDEN"
  48. NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
  49. <INPUT TYPE="HIDDEN"
  50. NAME="CiRestriction" VALUE="<%CiRestriction%>" >
  51. <INPUT TYPE="HIDDEN"
  52. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  53. <INPUT TYPE="SUBMIT"
  54. VALUE="Previous <%CiMaxRecordsPerPage%> documents">
  55. </FORM>
  56. </TD>
  57. <%endif%>
  58. <!-- Define a "next" button if this isn't the last page -->
  59. <%if CiContainsLastRecord eq 0%>
  60. <TD ALIGN=RIGHT>
  61. <FORM ACTION="/scripts/srchadm/scan.idq" METHOD="GET">
  62. <INPUT TYPE="HIDDEN"
  63. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  64. <INPUT TYPE="HIDDEN"
  65. NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  66. <INPUT TYPE="HIDDEN"
  67. NAME="CiRestriction" VALUE="<%CiRestriction%>" >
  68. <INPUT TYPE="HIDDEN"
  69. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  70. <INPUT TYPE="SUBMIT"
  71. VALUE="Next <%CiRecordsNextPage%> documents">
  72. </FORM>
  73. </TD>
  74. <%endif%>
  75. </TABLE>
  76. <HR>
  77. <!--
  78. The begindetail/enddetail section describes how each row of output
  79. is be formatted. The sample below prints:
  80. - record number
  81. - document title (if one exists) or virtual path of the file
  82. - the abstract for the file
  83. - the url for the file
  84. - the file's size and last write time
  85. -->
  86. <FORM ACTION="/scripts/srchadm/scan.ida" METHOD="GET">
  87. <table>
  88. <tr>
  89. <th width=147 align="left">Virtual Root</th>
  90. <th width=147 align="left">Physical Root</th>
  91. <th width=147 align="left">Type</th>
  92. <th colspan = 3 width=450 align="center">Type Of Scan</th>
  93. </tr>
  94. <!--
  95. NAME: PROOT_<virtual root> VALUE: physical path to root
  96. NAME: SCAN_<virtual root> VALUE: "NoScan". Implies no scan will be performed
  97. NAME: SCAN_<virtual root> VALUE: "FullScan". Implies full scan will be performed
  98. NAME: SCAN_<virtual root> VALUE: "IncrementalScan". Implies incremental scan will be performed
  99. -->
  100. <%begindetail%>
  101. <INPUT TYPE="HIDDEN" NAME="PROOT_<%if StorageType eq 1%>NNTP_<%endif%><%vpath%>" VALUE="<%path%>">
  102. <%if metavrootused ne 0%>
  103. <tr>
  104. <td><%vpath%></td>
  105. <td><%path%></td>
  106. <td><%if StorageType eq 1%>News<%else%>Web<%endif%></td>
  107. <td><input type=radio checked name="SCAN_<%if StorageType eq 1%>NNTP_<%endif%><%vpath%>" value="NoScan"> No Scan </td>
  108. <td><input type=radio name="SCAN_<%if StorageType eq 1%>NNTP_<%endif%><%vpath%>" value="IncrementalScan"> Incremental Scan </td>
  109. <td><input type=radio name="SCAN_<%if StorageType eq 1%>NNTP_<%endif%><%vpath%>" value="FullScan"> Full Scan </td>
  110. </tr>
  111. <%endif%>
  112. <%enddetail%>
  113. </table>
  114. <INPUT TYPE="SUBMIT"
  115. VALUE="Submit changes">
  116. </FORM>
  117. <P>
  118. <!-- Only display a line if there were any hits that matched the query -->
  119. <%if CiMatchedRecordCount ne 0%>
  120. <HR>
  121. <%endif%>
  122. <TABLE WIDTH=80%>
  123. <!--
  124. Query.htm set HTMLQueryForm as the name of the page to return to
  125. for a new query.
  126. -->
  127. <TD> <A HREF="/srchadm/admin.htm">Administration Main Menu</A> </TD>
  128. <!-- Define a "previous" button if this isn't the first page -->
  129. <%if CiContainsFirstRecord eq 0%>
  130. <TD ALIGN=LEFT>
  131. <FORM ACTION="/scripts/srchadm/scan.idq" METHOD="GET">
  132. <INPUT TYPE="HIDDEN"
  133. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  134. <INPUT TYPE="HIDDEN"
  135. NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
  136. <INPUT TYPE="HIDDEN"
  137. NAME="CiRestriction" VALUE="<%CiRestriction%>" >
  138. <INPUT TYPE="HIDDEN"
  139. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  140. <INPUT TYPE="SUBMIT"
  141. VALUE="Previous <%CiMaxRecordsPerPage%> documents">
  142. </FORM>
  143. </TD>
  144. <%endif%>
  145. <!-- Define a "next" button if this isn't the last page -->
  146. <%if CiContainsLastRecord eq 0%>
  147. <TD ALIGN=RIGHT>
  148. <FORM ACTION="/scripts/srchadm/scan.idq" METHOD="GET">
  149. <INPUT TYPE="HIDDEN"
  150. NAME="CiBookMark" VALUE="<%CiBookMark%>" >
  151. <INPUT TYPE="HIDDEN"
  152. NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  153. <INPUT TYPE="HIDDEN"
  154. NAME="CiRestriction" VALUE="<%CiRestriction%>" >
  155. <INPUT TYPE="HIDDEN"
  156. NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
  157. <INPUT TYPE="SUBMIT"
  158. VALUE="Next <%CiRecordsNextPage%> documents">
  159. </FORM>
  160. </TD>
  161. <%endif%>
  162. </TABLE>
  163. <P><BR>
  164. <!--
  165. If the index is out of date (for example, if it's still being created
  166. or updated after changes to files in an indexed directory) let the
  167. user know.
  168. -->
  169. <%if CiOutOfDate ne 0%>
  170. <P><BR>
  171. <I><B>The index is out of date.</B></I>
  172. <%endif%>
  173. <!--
  174. If the query was not executed because it needed to enumerate to
  175. resolve the query instead of using the index, but CiForceUseCi
  176. was TRUE, let the user know
  177. -->
  178. <%if CiQueryIncomplete eq 1%>
  179. <P><BR>
  180. <I><B>The query is too expensive to complete.</B></I>
  181. <%endif%>
  182. <!-- Output a page number and count of pages -->
  183. <%if CiTotalNumberPages gt 0%>
  184. <P>
  185. Page <%CiCurrentPageNumber%> of <%CiTotalNumberPages%>
  186. <P>
  187. <%endif%>
  188. </HTML>