<?php
/* This file is part of a copyrighted work; it is distributed with NO WARRANTY.
* See the file COPYRIGHT.html for more details.
*/
require_once("../shared/common.php");
session_cache_limiter(null);
$tab = "cataloging";
$nav = "searchform";
$focus_form_name = "barcodesearch";
$focus_form_field = "searchText";
require_once("../shared/logincheck.php");
require_once("../shared/header.php");
require_once("../classes/Localize.php");
$loc = new Localize(OBIB_LOCALE,$tab);
?>
<h1><img src="../images/catalog.png" border="0" width="30" height="30" align="top"> <?php echo $loc->getText("indexHdr");?></h1>
<form name="barcodesearch" method="POST" action="../shared/biblio_search.php">
<table class="primary">
<tr>
<th valign="top" nowrap="yes" align="left">
<?php echo $loc->getText("indexBarcodeHdr");?>:
</th>
</tr>
<tr>
<td nowrap="true" class="primary">
<?php echo $loc->getText("indexBarcodeField");?>:
<input type="text" name="searchText" size="20" maxlength="20">
<input type="hidden" name="searchType" value="barcodeNmbr">
<input type="hidden" name="sortBy" value="default">
<input type="submit" value="<?php echo $loc->getText("indexButton");?>" class="button">
</td>
</tr>
</table>
</form>
<form name="phrasesearch" method="POST" action="../shared/biblio_search.php">
<table class="primary">
<tr>
<th valign="top" nowrap="yes" align="left">
<?php echo $loc->getText("indexSearchHdr");?>:
</td>
</tr>
<tr>
<td nowrap="true" class="primary">
<select name="searchType">
<option value="title" selected><?php echo $loc->getText("indexTitle");?>
<option value="author"><?php echo $loc->getText("indexAuthor");?>
<option value="subject"><?php echo $loc->getText("indexSubject");?>
</select>
<input type="text" name="searchText" size="30" maxlength="256">
<input type="hidden" name="sortBy" value="default">
<input type="submit" value="<?php echo $loc->getText("indexButton");?>" class="button">
</td>
</tr>
</table>
</form>
<?php include("../shared/footer.php"); ?>