<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> 目錄 -- 
<!-- TMPL_IF name="op_add" -->提出一個新的購買建議<!-- /TMPL_IF -->
<!-- TMPL_IF name="op_else" -->購買建議<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!--TMPL_INCLUDE NAME="masthead.inc" -->
<!--TMPL_INCLUDE NAME="navigation.inc" -->

<div id="main">
<!-- TMPL_IF name="op_add" -->
	<h1>提出一個新的購買建議</h1>
	<div class="details">
	<p>填上表格建議圖書館購買。當圖書館處理購買建議，將會 e-mail 通知你</p>
	<p>沒有欄位勢必要的。鍵入任何你的資訊。"注意" 欄位是給你填寫額外資訊。</p>
	<form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
	<table>
	<tr><th><label>題名</label></th><td><input type="text" name="title" size="50" maxlentgh="80" /></td></tr>
	<tr><th><label>作者</label></th><td><input type="text" name="author" size="50" maxlength="80" /></td></tr>
	<tr><th><label>版權日期</label></th><td><input type="text" name="copyrightdate" size="4" maxlength="4" /></td></tr>
	<tr><th><label>出版者</label></th><td><input type="text" name="publishercode" size="50" maxlength="80" /></td></tr>
	<tr><th><label>附註</label></th><td><textarea name="note" rows="5" cols="40"></textarea></td></tr>
	</table>
		<p><input type="hidden" name="op" value="add_confirm" /><input type="submit" value="送出你的建議" class="submit" /></p>
	</form>
	</div>
<!-- /TMPL_IF -->

<!-- TMPL_IF name="op_else" -->
	<h1>購買建議</h1>
	<!-- TMPL_IF NAME="suggestions_loop" -->
	<table>
		<tr>
			<th>&nbsp;</th>
			<th>題名</th>
			<th>作者</th>
			<th>&copy;</th>
			<th>出版者</th>
			<th>狀況</th>
			<th>被建議</th>
			<th>被管理</th>
			<th>附註</th>
		</tr>
		<tr>
			<form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
				<th>
					被過濾:
				</th>
				<td>
					<input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
				</td>
				<td>
					<input type="text" name="author" value="<!-- TMPL_VAR name="author" -->" />
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					<input type="text" name="publishercode" value="<!-- TMPL_VAR name="publishercode"-->" />
				</td>
				<td>
<select name="status">
						<option value="">任何</option>
						<!-- TMPL_IF name="ASKED" -->
							<option value="ASKED" selected="selected">被要求</option>
						<!-- TMPL_ELSE -->
							<option value="ASKED">被請求</option>
						<!-- /TMPL_IF -->
						<!-- TMPL_IF name="ACCEPTED" -->
							<option value="ACCEPTED" selected="selected">被接受</option>
						<!-- TMPL_ELSE -->
							<option value="ACCEPTED">被接受</option>
						<!-- /TMPL_IF -->
						<!-- TMPL_IF name="ORDERED" -->
							<option value="ORDERED" selected="selected">被訂購</option>
						<!-- TMPL_ELSE -->
							<option value="ORDERED">被訂購</option>
						<!-- /TMPL_IF -->
						<!-- TMPL_IF name="REJECTED" -->
							<option value="REJECTED" selected="selected">被拒絕</option>
						<!-- TMPL_ELSE -->
							<option value="REJECTED">被拒絕</option>
						<!-- /TMPL_IF -->
						<!-- TMPL_IF name="AVAILABLE" -->
							<option value="AVAILABLE" selected="selected">可取得</option>
						<!-- TMPL_ELSE -->
							<option value="AVAILABLE">可取得</option>
						<!-- /TMPL_IF -->
					</select>
				</td>
				<td>
					<select name="suggestedbyme">
						<!-- TMPL_IF NAME="suggestedbyme" --><option value="1" selected="selected"><!-- TMPL_ELSE --><option value="1"><!-- /TMPL_IF -->我</option>
						<!-- TMPL_UNLESS name="suggestedbyme" --><option value="0" selected="selected"><!-- TMPL_ELSE --><option value="0"><!-- /TMPL_UNLESS -->任何人</option>
					</select>
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					<input type="submit" class="submit" value="設定過濾" />
				</td>
			</form>
		</tr>
		<form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
			<input type="hidden" name="op" value="刪除確認" />
		<!-- TMPL_LOOP NAME="suggestions_loop" -->
			<!-- TMPL_IF name="even" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
				<td>
					<input type="checkbox" name="delete_field" value="<!--TMPL_VAR name="suggestionid" -->" />
				</td>
				<td>
					<!-- TMPL_VAR NAME="title" -->
				</td>
				<td>
					<!-- TMPL_VAR NAME="author" -->
				</td>
				<td>
					<!-- TMPL_VAR NAME="copyrightdate" -->
				</td>
				<td>
					<!-- TMPL_VAR name="publishercode" -->
				</td>
				<td>
					<!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF -->
					<!-- TMPL_IF name="ORDERED" -->Ordered by the library<!-- /TMPL_IF -->
					<!-- TMPL_IF name="REJECTED" -->Suggestion declined<!-- /TMPL_IF -->
					<!-- TMPL_IF name="AVAILABLE" -->Available in the library<!-- /TMPL_IF -->
				</td>
				<td>
					<!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamesuggestedby" -->
				</td>
				<td>
					<!-- TMPL_VAR name="usermanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" -->
				</td>
				<td>
					<!-- TMPL_VAR name="note" -->
				</td>
			</tr>
		<!-- /TMPL_LOOP -->
		<tr>
			<td colspan="9">
				<input type="submit" class="icon delete" value="刪除確認書籍" />
			</td>
		</tr>
		</form>
	</table>
	<!-- TMPL_ELSE --><div class="content-block">沒有任何購買建議</div><!-- /TMPL_IF -->
	<form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
		<input type="hidden" name="op" value="增加" />
		<input type="submit" class="icon add" value="輸入一個新的購買建議" />
	</form>
	<p>注意 : 假如你看到其他人的購買建議，這些<em>新的</em>購購買建議將會包括進去。購買建議已經被圖書館員處理，將不會被顯示出來。</p>
<!-- /TMPL_IF -->
</div>
</body>
</html>
