<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
<center>
<!-- FIXME - The "$ENV{SCRIPT_NAME}" is evidently left over from when this
     was in Perl.
  -->
<a href="$ENV{'SCRIPT_NAME'}?file=$file">新記錄</a> | <a href="marcimport.pl">新檔案</a><br>
<!-- TMPL_IF NAME="BIBLIO_EXISTS" -->
	<table border="0" width="50%" cellpadding="10" cellspacing="0">
		<tr>
			<th background="/images/background-acq.gif">記錄已經在資料庫
			</th>
		</tr>
		<tr>
			<td bgcolor="#dddddd">
				<!-- TMPL_VAR NAME="title" --> 已經在資料庫 
				biblionumber <!-- TMPL_VAR NAME="biblionumber" --> 和館藏書目資料號碼 <!-- TMPL_VAR NAME="biblioitemnumber" -->
			  </td>
		</tr>
	</table>
	<p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="BIBLIO_CREATE" -->
    <table cellpadding="10" cellspacing="0" border="0" width="50%">
		<tr>
			<th background="/images/background-acq.gif">輸入記錄到資料庫</th>
		</tr>
		<tr>
			<td bgcolor="#dddddd">
				<!-- TMPL_VAR NAME="title" -->已經輸入書目資料號碼到資料庫
				<!-- TMPL_VAR NAME="biblionumber" --> 和館藏書目資料號碼 <!-- TMPL_VAR NAME="biblioitemnumber" --></td>
		</tr>
	  </table>
<!-- /TMPL_IF -->
    <table border="0" cellpadding="10" cellspacing="0">
      <tr><th background="/images/background-acq.gif">
	新增館藏 <!-- TMPL_VAR NAME="title" -->
      </th></tr>
      <tr><td bgcolor="#dddddd">
      <form>
        <input type="hidden" name="newitem" value="1">
        <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
        <input type="hidden" name="biblioitemnumber" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->">
        <input type="hidden" name="file" value="<!-- TMPL_VAR NAME="file" -->">
        <table border="0">
          <tr><td>BARCODE</td><td><input name="barcode" size="10" value="<!-- TMPL_VAR NAME="barcode" -->">
          主要分館: <select name="homebranch"><!-- TMPL_VAR NAME="branchselect" --></select>
	  </td></tr>
          <tr><td>歸還價格:</td>
	  <td><input name="replacementprice" size="10"></td></tr>
          <tr><td>附註</td>
	  <td><textarea name="notes" rows="4" cols="40" wrap="physical"></textarea>
	  </td></tr>
        </table>
        <p>
        <input type="submit" value="新增館藏">
      </form>
      </td></tr>
    </table>
<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->
