예제 #1
0
파일: query.php 프로젝트: jsc/indri-5.9
        <div id="snippet">
          <?php 
    echo $snippet;
    ?>
        </div>
        [ <a href="<?php 
    echo $cachedlink;
    ?>
">Cached</a> ] 
     </div>
  <?php 
}
?>

  <?php 
echo indri_printlinks($_REQUEST, $startdoc, count($results), $indri_param['page_docs']);
?>
  </div>

  <?php 
include "include/footer.php";
?>
  <?php 
$env->close();
?>
</div> <!-- content -->

</body>
</html>

예제 #2
0
파일: query.php 프로젝트: jsc/indri-5.9
?>
			  
  </div>

  <div id="results">
  <?php 
// at most page_docs groupings per page
$max = $indri_param['page_docs'];
for ($i = 0; $i < count($groupings) && $i < $max; $i++) {
    $grouping = $groupings[$i];
    $grouping->printGrouping($annotatedResults->getAnnotations(), $nodes, $indri_param);
}
?>

  <?php 
echo indri_printlinks($_REQUEST, $startdoc, count($groupings), $indri_param['page_docs'], $prefix);
?>
  </div>
  <div id="searchbox">
  <form action="query.php" method="post">
    <div id="searchboxquery">

     <input type=text name="query" size="50" value='<?php 
echo $cleanQ;
?>
'>
 <input type="submit" value="Search <?php 
echo $indri_param['sitename'];
?>
">
</div>