<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
<h1>主要選單</h1>
<ul>
<li><a href="<!-- TMPL_VAR NAME="SCRIPT_NAME" -->?menu=z3950">Z39.50 查詢</a>
<li><a href="<!-- TMPL_VAR NAME="SCRIPT_NAME" -->?menu=uploadmarc">上傳 MARC 記錄</a>
</ul>
<center>
<p>
<!-- FIXME - The "$ENV{SCRIPT_NAME}" is evidently left over from when this
     was in Perl.
  -->
<a href="$ENV{'SCRIPT_NAME'}?menu=$menu">選擇新檔案</a>
<p>
<!-- TMPL_IF NAME="IS_MARC" -->
	<table border="0" cellpadding="10" cellspacing="0">
	<tr>
		<th background="/images/background-acq.gif">
		 	選擇一筆記錄匯入 <!-- TMPL_VAR NAME="recordsource" -->
		</th>
	</tr>
	<tr>
		<td bgcolor="#dddddd">
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="IS_Z3950" -->
<table border="0" cellpadding="10" cellspacing="0">
<tr>
		<td bgcolor="#dddddd">
		<!-- TMPL_IF NAME="HAS_NUMRECORDS" -->
	            <a name="SERVER-<!-- TMPL_VAR NAME="srvid" -->"></a> " <!-- TMPL_VAR NAME="srvname" -->
		<font size="-1">[顯示 <!-- TMPL_VAR NAME="startrecord" --> 到 <!-- TMPL_VAR NAME="highest" --> 屬於 <!-- TMPL_VAR NAME="numrecords" --> 記錄]  <!-- TMPL_VAR NAME="previous" --> | <!-- TMPL_VAR NAME="next" --> </font><br>
		<!-- /TMPL_IF -->
		<!-- TMPL_IF NAME="PENDING" -->
			<font color="red">查詢一直等待的...</font>
		<!-- TMPL_ELSE -->
			<font color="red">處理中... <!-- TMPL_VAR NAME="elapsedtime" --></font>
		<!-- /TMPL_IF -->
		<!-- TMPL_IF NAME="NO_RECORDS" -->
			<b>查詢不到任何東西 <!-- TMPL_VAR NAME="id" --></b>
		<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
	<!-- TMPL_LOOP NAME="LINES" -->
<!--		<a href=<!-- TMPL_VAR NAME="SCRIPT_NAME" -->?file=<!-- TMPL_VAR NAME="file" -->&amp;resultsid=<!-- TMPL_VAR NAME="resultsid" -->&amp;<!-- TMPL_VAR NAME="searchfield" -->=<!-- TMPL_VAR NAME="searchvalue" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->&amp;searchvalue=<!-- TMPL_VAR NAME="searchvalue" -->> -->
		<a href="<!-- TMPL_VAR NAME="SCRIPT_NAME" -->?file=<!-- TMPL_VAR NAME="file" -->&amp;numrecord=<!-- TMPL_VAR NAME="numrecord" -->">
				<!-- TMPL_VAR NAME="title" -->
				<!-- TMPL_VAR NAME="author" -->
		</a>
		<!-- TMPL_VAR NAME="donetext" --><br>
	<!-- /TMPL_LOOP -->
</td>
</tr>
</table>

<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->
