<div id="masthead">
<h1>館藏查詢</h1>
<div class="menu"><a href="/cgi-bin/koha/opac-main.pl">查詢</a> | <a href="" onclick="openBasket(); return false;" title="A &quot;shopping cart&quot; for your selections">借書籃<span id="basket"><script language="javascript" type="text/javascript">if(basketcount){ document.write(basketcount) };</script></span></a></div>
<!-- <!-- TMPL_IF NAME="loggedinusername" -->
<div class="menu"><span class="loggedin"><!-- TMPL_LOOP NAME="USER_INFO" -->你已經登入<a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="title" --> 
 <!-- TMPL_VAR NAME="surname" -->
<!-- TMPL_VAR NAME="firstname" --> </a><!-- /TMPL_LOOP --></span> | <a class="logout" href="/cgi-bin/koha/opac-logout.pl">登出</a></div>
<!-- /TMPL_IF --> -->

<!-- TMPL_IF NAME="loggedinusername" --><div id="members">
	<ul>
		<li>Logged in as <span class="loggedinusername"><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP --></span></li>
		<li><a href="/cgi-bin/koha/opac-shelves.pl">個人虛擬書架</a></li>
		<li><a href="/cgi-bin/koha/opac-user.pl">帳號</a></li>
		<li><a class="logout" href="/cgi-bin/koha/opac-logout.pl">登出</a></li>
	</ul>	
</div>
<!-- TMPL_ELSE -->
	<div id="members">
		<a class="card" href="/cgi-bin/koha/opac-user.pl">帳號登入</a>
	</div>
<!-- /TMPL_IF -->
</div>
