windows-nt/Source/XPSP1/NT/inetsrv/query/web/html/scripts/hquery.htx
2020-09-26 16:20:57 +08:00

184 lines
7.2 KiB
Plaintext

<HTML>
<!--
<%CiTemplate%>
This is the formatting page for query results. This file defines
how the result page header, rows, and footer will appear.
-->
<HEAD>
<!-- The title lists the # of documents -->
<%if CiMatchedRecordCount eq 0%>
<TITLE><%CiRestriction%> - no documents matched.</TITLE>
<%else%>
<TITLE><%CiRestriction%> - documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%></TITLE>
<%endif%>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<!--
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000066" VLINK="#808080" ALINK="#FF0000" TOPMARGIN=0>
<TABLE>
<TR>
<TD><IMG SRC ="/samples/search/64x_book.jpg" ALIGN=Middle></TD>
<TD VALIGN=MIDDLE><H1>Index Server</H1><br><center><h2>Search Results</h2></center></TD>
</TR>
</TABLE>
-->
<!--Headerbegin-->
<p align=center>
<a name="TOP"><img src="/srchadm/help/onepix.gif" alt="Space" align=middle width=1 height=1></a>
<a href="/srchadm/help/default.htm#Top"><img src="/srchadm/help/toc.gif" alt=" Contents" align=middle border=0 width=89 height=31></a>
<!-- Define a "previous" button if this isn't the first page -->
<%if CiContainsFirstRecord eq 0%>
<a href="/scripts/srchadm/hquery.idq?CiBookMark=<%CiBookMark%>&CiBookmarkSkipCount=-<%EscapeRAW CiMaxRecordsPerPage%>&CiRestriction=<%EscapeURL CiRestriction%>"><img src="/srchadm/help/previous.gif" alt="Previous" align=middle border=0 width=32 height=31></a>
<%else%>
<a href="/srchadm/help/default.htm#Top"><img src="/srchadm/help/previous.gif" alt="Previous" align=middle border=0 width=32 height=31></a>
<%endif%>
<!-- Define a "next" button if this isn't the last page -->
<%if CiContainsLastRecord eq 0%>
<a href="/scripts/srchadm/hquery.idq?CiBookMark=<%CiBookMark%>&CiBookmarkSkipCount=<%EscapeRAW CiMaxRecordsPerPage%>&CiRestriction=<%EscapeURL CiRestriction%>"><img src="/srchadm/help/next.gif" alt="Next" align=middle border=0 width=32 height=31></a> </p>
<%else%>
<a href="/srchadm/help/default.htm#Top"><img src="/srchadm/help/next.gif" alt="Next" align=middle border=0 width=32 height=31></a> </p>
<%endif%>
<hr>
<!--Headerend-->
<!-- Print a header that lists the query and the number of hits -->
<!--
<H3>
<%if CiMatchedRecordCount eq 0%>
No documents matched the query "<%CiRestriction%>".
<%else%>
Documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of
<%if CiMatchedRecordCount eq CiMaxRecordsInResultSet%>
the best
<%endif%>
<%CiMatchedRecordCount%> matching the query
"<%CiRestriction%>".
<%endif%>
</H3>
-->
<H1>Search Results</H1><BR>
<p>
<%if CiMatchedRecordCount eq 0%>
<em>No documents matched the query: <b><%CiRestriction%></b>. Please try a different query.</em>
<%else%>
<em>This page shows you
<%if CiContainsFirstRecord eq 0%>some of<%else%><%if CiContainsLastRecord eq 0%>some of<%else%>all<%endif%><%endif%>
the documents in the online user guide for Microsoft Index
Server that matched the query: <b><%CiRestriction%></b>.
<%if CiContainsFirstRecord eq 0%>
The arrows at the top and bottom of this page will show you additional documents matching the query.
<%else%>
<%if CiContainsLastRecord eq 0%>
The arrows at the top and bottom of this page will show you additional documents matching the query.
<%endif%>
<%endif%>
To go to a particular document, click on the document title below. To view only passages
within the document that matched the query, click on "Show Highlights" to the right of the title.</em>
<%endif%>
<HR>
<!--
The begindetail/enddetail section describes how each row of output
is be formatted. The sample below prints:
- record number
- document title (if one exists) or virtual path of the file
- the abstract for the file
- the url for the file
- the file's size and last write time
-->
<table>
<%begindetail%>
<tr>
<td>
<%CiCurrentRecordNumber%>.
<b><a href="<%EscapeURL vpath%>"><%DocTitle%></a></b>
</td>
<td>
<b>(<a href="http://<%server_name%>/scripts/srchadm/webhits.exe<%escapeURL vpath%>?CiRestriction=<%escapeURL CiRestriction%>&CiTemplateFile=/scripts/srchadm/hquery.htw&CiQueryFile=/scripts/srchadm/hquery.idq&CiBeginHilite=<%escapeURL <font color="#FF0000"><em>%>&CiEndHilite=<%escapeURL </em></font>%>&CiUserParam3=<%EscapeURL CiBookMark%>&CiUserParam4=<%EscapeURL DocTitle%>">Show Highlights</a>)</b>
<!-- <b>(<a href="http://<%server_name%>/scripts/srchadm/webhits.exe<%escapeURL vpath%>?CiRestriction=<%escapeURL CiRestriction%>&CiTemplateFile=/scripts/srchadm/hquery.htw&CiQueryFile=/scripts/srchadm/hquery.idq&CiBeginHilite=<%escapeURL <font color="#FF0000"><em>%>&CiEndHilite=<%escapeURL </em></font>%>&CiUserParam3=<%EscapeURL CiBookMark%>&CiUserParam4=<%EscapeURL DocTitle%>&CiHiliteType=Full">Show Highlights</a>)</b> -->
</td>
</tr>
<%enddetail%>
</table>
<P>
<!--
If the index is out of date (for example, if it's still being created
or updated after changes to files in an indexed directory) let the
user know.
-->
<%if CiOutOfDate ne 0%>
<P>
<I><B>The index is out of date.</B></I><BR>
<%endif%>
<!--
If the query was not executed because it needed to enumerate to
resolve the query instead of using the index, but CiForceUseCi
was TRUE, let the user know
-->
<%if CiQueryIncomplete ne 0%>
<P>
<I><B>The query is too expensive to complete.</B></I><BR>
<%endif%>
<!--
If the query took too long to execute (for example, if too much work
was required to resolve the query), let the user know
-->
<%if CiQueryTimedOut ne 0%>
<P>
<I><B>The query took too long to complete.</B></I><BR>
<%endif%>
<!--Footerbegin-->
<hr>
<p align=center>
<a href="/srchadm/help/default.htm#Top"><img src="/srchadm/help/toc.gif" alt=" Contents" align=middle border=0 width=89 height=31></a>
<!-- Define a "previous" button if this isn't the first page -->
<%if CiContainsFirstRecord eq 0%>
<a href="/scripts/srchadm/hquery.idq?CiBookMark=<%CiBookMark%>&CiBookmarkSkipCount=-<%EscapeRAW CiMaxRecordsPerPage%>&CiRestriction=<%EscapeURL CiRestriction%>"><img src="/srchadm/help/previous.gif" alt="Previous" align=middle border=0 width=32 height=31></a>
<%else%>
<a href="/srchadm/help/default.htm#Top"><img src="/srchadm/help/previous.gif" alt="Previous" align=middle border=0 width=32 height=31></a>
<%endif%>
<a href="#TOP"><img src="/srchadm/help/up_end.gif" alt="Top" align=middle border=0 width=32 height=31></a>
<!-- Define a "next" button if this isn't the last page -->
<%if CiContainsLastRecord eq 0%>
<a href="/scripts/srchadm/hquery.idq?CiBookMark=<%CiBookMark%>&CiBookmarkSkipCount=<%EscapeRAW CiMaxRecordsPerPage%>&CiRestriction=<%EscapeURL CiRestriction%>"><img src="/srchadm/help/next.gif" alt="Next" align=middle border=0 width=32 height=31></a> </p>
<%else%>
<a href="/srchadm/help/default.htm#Top"><img src="/srchadm/help/next.gif" alt="Next" align=middle border=0 width=32 height=31></a> </p>
<%endif%>
</p>
<hr>
<p align=center><font color="#000000"><em>&#169; 1996 by Microsoft Corporation. All rights reserved.</em></font>
<!--Footerend-->
</HTML>