<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 -->
<SCRIPT LANGUAGE="JavaScript">
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="./coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="./cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="./coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="./cocss.css">');
</script>
</HEAD>
<BODY onload="Activate()">
<Script Language="JavaScript">
<!--
function Activate() {
LocString=(" " + parent.contents.location);
x=(LocString.lastIndexOf ("e"))
if (LocString.substring ((x-1), (x+9)) == "Search.asp"){ parent.contents.Activate()}
}
//-->
</Script>
<H1 align="left"><strong>Search Results </strong></H1>
<BR>
<%if CiMatchedRecordCount eq 0%>
<TITLE><%CiRestriction%> - no documents matched.</TITLE>
<%else%>
<TITLE><%CiRestriction%> - documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%></TITLE>
<%endif%>
<!-- Print a header that lists the query and the number of hits -->
<Strong><P>
<%if CiMatchedRecordCount eq 0%>
No documents matched the query "<%MyRestriction%>".
<%else%>
Documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of
<%if CiMatchedRecordCount eq CiMaxRecordsInResultSet%>
the best
<%endif%>
<%CiMatchedRecordCount%> matching the query
"<%MyRestriction%>".
<%endif%>
</P></Strong>
<!--
This table has a link to a new query page, a previous button, and
a next page button. The buttons are only displayed when appropriate.
-->
<TABLE WIDTH=100%>
<!--
Query.htm set HTMLQueryForm as the name of the page to return to
for a new query.
-->
<TD width="100"> <A HREF="./search.asp" target="contents"> New query</A> </TD>
<!********************************%HTMLQueryForm%>
<!-- Define a "previous" button if this isn't the first page -->
<%if CiContainsFirstRecord eq 0%>
<TD ALIGN=LEFT width="150">
<FORM ACTION="./iisrch.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsInResultSet" VALUE="<%EscapeRAW CiMaxRecordsInResultSet%>" >
<INPUT TYPE="HIDDEN"
NAME="MyRestriction" VALUE="<%MyRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiScope" VALUE="<%CiScope%>" >
<INPUT TYPE="HIDDEN"
NAME="CiResultsSize" VALUE="<%CiResultsSize%>" >
<INPUT TYPE="HIDDEN"
NAME="CiSort" VALUE="<%CiSort%>" >
<INPUT TYPE="HIDDEN"
NAME="HTMLQueryForm" VALUE="<%HTMLQueryForm%>" >
<INPUT TYPE="SUBMIT"
VALUE="Previous <%CiMaxRecordsPerPage%> documents">
</FORM>
</TD>
<%endif%>
<!-- Define a "next" button if this isn't the last page -->
<%if CiContainsLastRecord eq 0%>
<TD ALIGN=left>
<FORM ACTION="./iisrch.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsInResultSet" VALUE="<%EscapeRAW CiMaxRecordsInResultSet%>" >
<INPUT TYPE="HIDDEN"
NAME="MyRestriction" VALUE="<%MyRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiScope" VALUE="<%CiScope%>" >
<INPUT TYPE="HIDDEN"
NAME="CiResultsSize" VALUE="<%CiResultsSize%>" >
<INPUT TYPE="HIDDEN"
NAME="CiSort" VALUE="<%CiSort%>" >
<INPUT TYPE="HIDDEN"
NAME="HTMLQueryForm" VALUE="<%HTMLQueryForm%>" >
<INPUT TYPE="SUBMIT"
VALUE="Next <%CiRecordsNextPage%> documents">
</FORM>
</TD>
<%endif%>
</TABLE>
<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 url for the file
- the file's size and last write time
- an HREF to the file for the hit highlighter.
The parameters the hit highlighter include the CiQueryFile and
CiTemplateFile. The CiQueryFile is not really needed as long as
you don't have any custom properties. However, if you add custom
properties, make sure the .idq file you use for queries is same
as the one specified for CiQueryFile. The CiTemplateFile is used
by webhits to format the output text.
-->
<%begindetail%>
<dl>
<P>
<dt>
<dd>
<%if DocTitle isempty%>
<%CiCurrentRecordNumber%>.
<strong><a href="<%EscapeURL vpath%>"><%filename%></a></strong><BR>
<strong><i>Summary: </i></strong><%characterization%><br>
<%else%>
<%CiCurrentRecordNumber%>.
<strong><a href="<%EscapeURL vpath%>"><%DocTitle%></a></strong><BR>
<strong><i>Summary: </i></strong><%characterization%><br>
<%endif%>
<dd>
<cite>
<a href="./iirturnh.htw?CiWebHitsFile=<%escapeURL vpath%>&CiRestriction=<%escapeURL MyRestriction%>&CiHiliteType=Full&CiBeginHilite=<%escapeURL <font color="#FF0000"><b><em>%>&CiEndHilite=<%escapeURL </em></b></font>%>&CiQueryFile=/chat/iisrchhh.idq"&CiUserParam3=<%escapeURL HTMLQueryForm%>"><i>Full text with matching words highlighted</i></a>
<BR>
</cite>
</dt></p></dl>
<%enddetail%>
<P>
<!-- Only display a line if there were any hits that matched the query -->
<%if CiMatchedRecordCount ne 0%>
<HR><BR><BR>
<%endif%>
<!-- Print a footer that lists the query and the number of hits -->
<P><Strong>
<%if CiMatchedRecordCount eq 0%>
<%else%>
Documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of
<%if CiMatchedRecordCount eq CiMaxRecordsInResultSet%>
the best
<%endif%>
<%CiMatchedRecordCount%>.
<%endif%>
</P></Strong>
<TABLE WIDTH=100% nowrap>
<!--
Query.htm set HTMLQueryForm as the name of the page to return to
for a new query.
-->
<TD width="100" nowrap valign=left>
<%if CiMatchedRecordCount ne 0%>
<A HREF="./search.asp" target="contents">New query</A>
<!************************************%HTMLQueryForm%> </TD>
<%endif%>
<!-- Define a "previous" button if this isn't the first page -->
<%if CiContainsFirstRecord eq 0%>
<TD ALIGN=LEFT width="150">
<FORM ACTION="./iisrch.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsInResultSet" VALUE="<%EscapeRAW CiMaxRecordsInResultSet%>" >
<INPUT TYPE="HIDDEN"
NAME="MyRestriction" VALUE="<%MyRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiScope" VALUE="<%CiScope%>" >
<INPUT TYPE="HIDDEN"
NAME="CiResultsSize" VALUE="<%CiResultsSize%>" >
<INPUT TYPE="HIDDEN"
NAME="CiSort" VALUE="<%CiSort%>" >
<INPUT TYPE="HIDDEN"
NAME="HTMLQueryForm" VALUE="<%HTMLQueryForm%>" >
<INPUT TYPE="SUBMIT"
VALUE="Previous <%CiMaxRecordsPerPage%> documents">
</FORM>
</TD>
<%endif%>
<!-- Define a "next" button if this isn't the last page -->
<%if CiContainsLastRecord eq 0%>
<TD ALIGN=left>
<FORM ACTION="./iisrch.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsInResultSet" VALUE="<%EscapeRAW CiMaxRecordsInResultSet%>" >
<INPUT TYPE="HIDDEN"
NAME="MyRestriction" VALUE="<%MyRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiScope" VALUE="<%CiScope%>" >
<INPUT TYPE="HIDDEN"
NAME="CiResultsSize" VALUE="<%CiResultsSize%>" >
<INPUT TYPE="HIDDEN"
NAME="CiSort" VALUE="<%CiSort%>" >
<INPUT TYPE="HIDDEN"
NAME="HTMLQueryForm" VALUE="<%HTMLQueryForm%>" >
<INPUT TYPE="SUBMIT"
VALUE="Next <%CiRecordsNextPage%> documents">
</FORM>
</TD>
<%endif%>
</TABLE>
<P><BR>
<!--
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%>
<!-- Output a page number and count of pages -->
<%if CiTotalNumberPages gt 0%>
<P>
Page <%CiCurrentPageNumber%> of <%CiTotalNumberPages%>
<P>
<%endif%>
</FONT>
<BR>
<hr class="iis" size="1">
<p align="center"><em><a href="./colegal.htm">© 1997 by Microsoft Corporation. All rights reserved.</a></em></p>
</font>
</HTML>