--- /dev/null
+//////////////////////////////////////////////////////////////////////////////
+// BASIC FUNCTIONS FOR COOKIE MANGEMENT //
+//////////////////////////////////////////////////////////////////////////////
+
+var CGIBIN = "/cgi-bin/koha/";
+
+
+var nameCookie = "bib_list";
+var valCookie = readCookie(nameCookie);
+
+if(valCookie){
+ var arrayRecords = valCookie.split("/");
+ if(arrayRecords.length > 0){
+ var basketcount = " ("+(arrayRecords.length-1)+")";
+ } else {
+ var basketcount = "";
+ }
+} else {
+ var basketcount = "";
+}
+
+function writeCookie(name, val, wd) {
+ if (wd) {
+ parent.opener.document.cookie = name + "=" + val;
+ }
+ else {
+ parent.document.cookie = name + "=" + val;
+ }
+}
+
+function readCookieValue (str, val_beg) {
+ var val_end = str.indexOf(";", val_end);
+ if (val_end == -1)
+ val_end = str.length;
+ return str.substring(val_beg, val_end);
+}
+
+function readCookie(name, wd) {
+ var str_name = name + "=";
+ var str_len = str_name.length;
+ var str_cookie = "";
+ if (wd) {
+ str_cookie = parent.opener.document.cookie;
+ }
+ else {
+ str_cookie = parent.document.cookie;
+ }
+ var coo_len = str_cookie.length;
+ var i = 0;
+
+ while (i < coo_len) {
+ var j = i + str_len;
+ if (str_cookie.substring(i, j) == str_name)
+ return readCookieValue(str_cookie, j);
+ i = str_cookie.indexOf(" ", i) + 1;
+ if (i == 0)
+ break;
+ }
+
+ return null;
+}
+
+function delCookie(name) {
+ var exp = new Date();
+ exp.setTime(exp.getTime()-1);
+ parent.opener.document.cookie = name + "=null; expires=" + exp.toGMTString();
+}
+
+
+///////////////////////////////////////////////////////////////////
+// SPECIFIC FUNCTIONS USING COOKIES //
+///////////////////////////////////////////////////////////////////
+
+function openBasket() {
+ var strCookie = "";
+
+ var nameCookie = "bib_list";
+ var valCookie = readCookie(nameCookie);
+ if (valCookie) {
+ strCookie = nameCookie + "=" + valCookie;
+ }
+
+ if (strCookie) {
+ var iW = 620;
+ var iH = 450;
+
+ var optWin = "dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=yes,height="+iH+",width="+iW;
+ var loc = CGIBIN + "opac-basket.pl?" + strCookie;
+ var basket = open(loc, "basket", optWin);
+ }
+ else {
+ alert(MSG_BASKET_EMPTY);
+ }
+}
+
+
+function addRecord(val, selection) {
+ var nameCookie = "bib_list";
+ var valCookie = readCookie(nameCookie);
+ var write = 0;
+
+ if ( ! valCookie ) { // empty basket
+ valCookie = val + '/';
+ write = 1;
+ updateBasket(1,document);
+ }
+ else {
+ // is this record already in the basket ?
+ var found = false;
+ var arrayRecords = valCookie.split("/");
+
+ for (var i = 0; i < valCookie.length - 1; i++) {
+ if (val == arrayRecords[i]) {
+ found = true;
+ break;
+ }
+ }
+
+ if ( found ) {
+ if (selection) {
+ return 0;
+ }
+ alert(MSG_RECORD_IN_BASKET);
+ }
+ else {
+ valCookie += val + '/';
+ write = 1;
+ updateBasket(arrayRecords.length,document);
+ }
+ }
+
+ if (write) {
+ writeCookie(nameCookie, valCookie);
+ if (selection) { // when adding a selection of records
+ return 1;
+ }
+ alert(MSG_RECORD_ADDED);
+ }
+}
+
+
+function addMultiple(){
+ var c_value = "";
+ if(document.myform.bibid.length > 0) {
+ for (var i=0; i < document.myform.bibid.length; i++) {
+ if (document.myform.bibid[i].checked) {
+ c_value = c_value + document.myform.bibid[i].value + "/";
+ }
+ }
+ addSelRecords(c_value);
+ }
+}
+
+
+function addSelRecords(valSel) { // function for adding a selection of biblios to the basket
+ // from the results list
+ var arrayRecords = valSel.split("/");
+ var i = 0;
+ var nbAdd = 0;
+ for (i=0;i<arrayRecords.length;i++) {
+ if (arrayRecords[i]) {
+ nbAdd += addRecord(arrayRecords[i], 1);
+ }
+ else {
+ break;
+ }
+ }
+
+ var msg = "";
+ if (nbAdd) {
+ if (i > nbAdd) {
+ msg = nbAdd+" "+MSG_NRECORDS_ADDED+", "+(i-nbAdd)+" "+MSG_NRECORDS_IN_BASKET;
+ }
+ else {
+ msg = nbAdd+" "+MSG_NRECORDS_ADDED;
+ }
+ }
+ else {
+ if (i < 1) {
+ msg = MSG_NO_RECORD_SELECTED;
+ }
+ else {
+ msg = MSG_NO_RECORD_ADDED+" ("+MSG_NRECORDS_IN_BASKET+") !";
+ }
+ }
+ alert(msg);
+}
+
+
+function selRecord(num, status) {
+ var str = document.myform.records.value
+ if (status){
+ str += num+"/";
+ }
+ else {
+ str = delRecord(num, str);
+ }
+
+ document.myform.records.value = str;
+}
+
+
+function delSelRecords() {
+ var recordsSel = 0;
+ var end = 0;
+ var nameCookie = "bib_list";
+ var valCookie = readCookie(nameCookie, 1);
+
+ if (valCookie) {
+ var str = document.myform.records.value;
+ if (str.length > 0){
+ recordsSel = 1;
+ var str2 = valCookie;
+ while (!end){
+ s = str.indexOf("/");
+ if (s>0){
+ num = str.substring(0, s)
+ str = delRecord(num,str);
+ str2 = delRecord(num,str2);
+ } else {
+ end = 1;
+ }
+ }
+
+ if (str2.length == 0) { // equivalent to emptying the basket
+ var rep = false;
+ rep = confirm(MSG_CONFIRM_DEL_BASKET);
+ if (rep) {
+ delCookie(nameCookie);
+ document.location = "about:blank";
+ updateBasket(0,top.opener.document);
+ window.close();
+ } else {
+ return;
+ }
+ } else {
+ writeCookie(nameCookie, str2, 1);
+ }
+ }
+ }
+
+ if (recordsSel) {
+ var strCookie = "";
+ var nameCookie = "bib_list";
+ var valCookie = readCookie(nameCookie, 1);
+ strCookie = nameCookie + "=" + valCookie;
+ var arrayRecords = valCookie.split("/");
+ updateBasket(arrayRecords.length-1,top.opener.document);
+ document.location = CGIBIN + "opac-basket.pl?" + strCookie;
+ }
+ else {
+ alert(MSG_NO_RECORD_SELECTED);
+ }
+}
+
+
+function delRecord (n, s) {
+ var re = /\d/;
+ var aux = s;
+ var found = 0;
+ var pos = -1;
+
+ while (!found) {
+ pos = aux.indexOf(n, pos+1);
+ var charAfter = aux.charAt(pos+n.length); // character right after the researched string
+ if (charAfter.match(re)) { // record number inside another one
+ continue;
+ }
+ else { // good record number
+ aux = s.substring(0, pos)+ s.substring(pos+n.length+1, s.length);
+ s = aux;
+ found = 1;
+ }
+ }
+
+ return s;
+}
+
+
+function delBasket() {
+ var nameCookie = "bib_list";
+
+ var rep = false;
+ rep = confirm(MSG_CONFIRM_DEL_BASKET);
+ if (rep) {
+ delCookie(nameCookie);
+ document.location = "about:blank";
+ updateBasket(0,top.opener.document);
+ window.close();
+ }
+}
+
+
+function quit() {
+ if (document.myform.records.value) {
+ var rep = false;
+ rep = confirm(MSG_CONFIRM_DEL_RECORDS);
+ if (rep) {
+ delSelRecords();
+ }
+ }
+ updateBasket(arrayRecords.length-1,top.opener.document);
+ window.close();
+}
+
+function sendBasket() {
+ var nameCookie = "bib_list";
+ var valCookie = readCookie(nameCookie);
+ var strCookie = nameCookie + "=" + valCookie;
+
+ var loc = CGIBIN + "opac-sendbasket.pl?" + strCookie;
+
+ var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=400,top=50,left=100";
+ var win_form = open(loc,"win_form",optWin);
+}
+
+function printBasket() {
+ var loc = document.location + "&print=1";
+ document.location = loc;
+}
+
+function showMore() {
+ var strCookie = "";
+
+ var nameCookie = "bib_list";
+ var valCookie = readCookie(nameCookie);
+ if (valCookie) {
+ strCookie = nameCookie + "=" + valCookie;
+ }
+ var loc = CGIBIN + "opac-basket.pl?" + strCookie + "&verbose=1";
+ document.location = loc;
+}
+
+function showLess() {
+ var strCookie = "";
+
+ var nameCookie = "bib_list";
+ var valCookie = readCookie(nameCookie);
+ if (valCookie) {
+ strCookie = nameCookie + "=" + valCookie;
+ }
+ var loc = CGIBIN + "opac-basket.pl?" + strCookie + "&verbose=0";
+ document.location = loc;
+}
+
+function updateBasket(updated_value,target) {
+ if(typeof document.getElementById != "undefined") {
+ target.getElementById('basket').innerHTML = " ("+updated_value+")";
+ } else if (typeof document.layers != "undefined") {
+ target.layers['basket'].open();
+ target.layers['basket'].write(" ("+updated_value+")");
+ target.layers['basket'].close();
+ } else if(typeof document.all != "undefined" && typeof
+document.getElementById == "undefined") {
+ target.all['basket'].innerHTML = " ("+updated_value+")";
+ }
+}
\ No newline at end of file
--- /dev/null
+</title>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<meta http-equiv="Content-Language" content="en-us" />
+<style type="text/css">
+ @import url(<TMPL_VAR NAME="themelang">/includes/print.css);
+</style>
+<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/script.js"></script>
+<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/basket.js"></script>
+ <script type="text/javascript" language="javascript">
+ var MSG_NO_RECORD_SELECTED = "No biblio selected";
+ var MSG_NO_RECORD_ADDED = "No biblio added";
+ var MSG_CONFIRM_DEL_BASKET = "Are you sure you want to empty your book bag?"
+ var MSG_CONFIRM_DEL_RECORDS = "Are you sure you want to remove the selected items?";
+ </SCRIPT>
+</head>
+<body onload="print();">
\ No newline at end of file
--- /dev/null
+</title>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<meta http-equiv="Content-Language" content="en-us" />
+<style type="text/css">
+ @import url(<TMPL_VAR NAME="themelang">/includes/opac.css);
+</style>
+<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/script.js"></script>
+<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/basket.js"></script>
+ <script type="text/javascript" language="javascript">
+ var MSG_NO_RECORD_SELECTED = "No biblio selected";
+ var MSG_NO_RECORD_ADDED = "No biblio added";
+ var MSG_CONFIRM_DEL_BASKET = "Are you sure you want to empty your book bag?"
+ var MSG_CONFIRM_DEL_RECORDS = "Are you sure you want to remove the selected items?";
+ </SCRIPT>
+</head>
+<body>
\ No newline at end of file
--- /dev/null
+</title>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<meta http-equiv="Content-Language" content="en-us" />
+<style type="text/css">
+ @import url(<TMPL_VAR NAME="themelang">/includes/opac.css);
+</style>
+<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/script.js"></script>
+<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/basket.js"></script>
+<script type="text/javascript" language="javascript">
+ var MSG_BASKET_EMPTY = "You book bag is currently empty";
+ var MSG_RECORD_IN_BASKET = "This item is already in your book bag";
+ var MSG_RECORD_ADDED = "This item has been added to your book bag";
+ var MSG_NRECORDS_ADDED = " item(s) added to your book bag";
+ var MSG_NRECORDS_IN_BASKET = "already in the bag";
+ var MSG_NO_RECORD_SELECTED = "No item was selected";
+ var MSG_NO_RECORD_ADDED = "No item was added to your book bag";
+</script>
+</head>
+<body>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>
\ No newline at end of file
--- /dev/null
+div.tabs {
+ width:10px;
+ position:absolute;
+ margin-left:50px;
+ margin-top:120px;
+}
+
+div.tabs a {
+ display:block;
+ font-size: small;
+ border: thin solid black;
+ margin-right: 2px;
+ padding: 10px 10px;
+ -moz-border-radius: 5px 0px 0px 5px;
+}
+
+div.tab {
+ background-color: #FFFFCC;
+ display: block;
+ visibility:hidden;
+ position:absolute;
+
+}
+td {
+ border:0px;
+}
+
+.MARCtag { /* style for tag definition (700 - Statement of responsability) */
+ font-weight:bold;
+ color:#FF6600;
+ background-color:FFFFFF;
+ background-image:none;
+ border-bottom: 1px solid #999900;
+ margin-right:30%;
+}
+
+.labelsubfield { /* style for each subfield (like : a Publication year), just before the biblio subfield */
+ float:left;
+ width: 12em;
+ margin-left:30px;
+}
--- /dev/null
+<div id="masthead">
+<h1>Library Catalog Search</h1>
+<div class="menu"><form action="/cgi-bin/koha/opac-search.pl" method="post">
+<a href="/cgi-bin/koha/opac-main.pl">Search Home</a> | <a href="" onclick="openBasket(); return false;" title="A "shopping cart" for your selections">Book Bag</a> | <label for="value">Search the Catalog</label>
+ <input type="hidden" name="op" value="do_search" />
+ <input type="hidden" name="type" value="opac" />
+ <input type="hidden" name="marclist" value="" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" size="12" name="value" id="value" /> <input type="submit" class="submit" name="Go" value="Search" /></form></div>
+<div class="menu"><a href="/cgi-bin/koha/opac-user.pl">your library home</a> |
+ <a href="/cgi-bin/koha/opac-account.pl">your account</a> |
+ <a href="/cgi-bin/koha/opac-userdetails.pl">your personal details</a> | <a class="logout" href="/cgi-bin/koha/opac-logout.pl">log out</a>
+ </ul>
+</div>
+</div>
\ No newline at end of file
--- /dev/null
+<div id="masthead">
+<h1>Library Catalog Search</h1>
+<div class="menu"><form action="/cgi-bin/koha/opac-search.pl" method="post">
+<a href="/cgi-bin/koha/opac-main.pl">Search Home</a> | <a href="/cgi-bin/koha/opac-basket.pl" onclick="openBasket(); return false;" title="A "shopping cart" for your selections">Book Bag<span id="basket"><script language="javascript" type="text/javascript">if(basketcount){ document.write(basketcount) };</script></span></a> | <label for="value">Search the Catalog</label>
+ <input type="hidden" name="op" value="do_search" />
+ <input type="hidden" name="type" value="opac" />
+ <input type="hidden" name="marclist" value="" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" size="12" name="value" id="value" /> <input type="submit" class="submit" name="Go" value="Search" /></form></div>
+<TMPL_IF NAME="loggedinusername">
+<div class="menu"><span class="loggedin">You are logged in as <TMPL_LOOP NAME="USER_INFO"><a href="/cgi-bin/koha/opac-user.pl"><TMPL_VAR NAME="title"> <TMPL_VAR NAME="firstname"> <TMPL_VAR NAME="surname"></a></TMPL_LOOP></span> | <a class="logout" href="/cgi-bin/koha/opac-logout.pl">Log Out</a></div>
+</TMPL_IF>
+</div>
\ No newline at end of file
--- /dev/null
+<div id="masthead">
+<h1>Library Catalog Search</h1>
+<div class="menu"><a href="/cgi-bin/koha/opac-main.pl">Search Home</a> | <a href="" onclick="openBasket(); return false;" title="A "shopping cart" for your selections">Book Bag<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">You are logged in as <TMPL_LOOP NAME="USER_INFO"><a href="/cgi-bin/koha/opac-user.pl"><TMPL_VAR NAME="title"> <TMPL_VAR NAME="firstname"> <TMPL_VAR NAME="surname"></a></TMPL_LOOP></span> | <a class="logout" href="/cgi-bin/koha/opac-logout.pl">Log Out</a></div>
+</TMPL_IF>
+</div>
\ No newline at end of file
--- /dev/null
+<div id="masthead">
+<h1><TMPL_VAR name="LibraryName"></h1>
+</div>
\ No newline at end of file
--- /dev/null
+<div id="nav"><ul><li><a href="http://www.athenscounty.lib.oh.us/index.html">home</a></li>
+
+ <li><a href="http://www.athenscounty.lib.oh.us/library.html">your library</a></li>
+ <li><a href="http://www.athenscounty.lib.oh.us/readers/index.asp">reader's connection</a></li>
+ <li><a href="http://www.athenscounty.lib.oh.us/kids/index.asp">kids' page</a></li>
+ <li><a href="http://www.athenscounty.lib.oh.us/teens/index.asp">teens</a></li>
+ <li><a href="/cgi-bin/koha/opac-main.pl">library catalog</a>
+ <ul>
+ <li><a href="/cgi-bin/koha/opac-search.pl">Advanced Search</a></li>
+ <li><a href="/cgi-bin/koha/opac-user.pl">Your Account</a></li>
+ <li><a href="http://66.213.78.70/upcoming.cfm">Upcoming Releases Waiting List</a></li>
+ </ul>
+ </li>
+ <li><a href="http://www.athenscounty.lib.oh.us/programs.asp">programs</a></li>
+
+ <li><a href="http://www.athenscounty.lib.oh.us/branch.html">branches</a></li>
+ <li><a href="http://www.athenscounty.lib.oh.us/mobile.asp">the bookmobile</a></li>
+ <li><a href="http://www.oplin.org">OPLIN</a></li>
+ <li><a href="http://www.athenscounty.lib.oh.us/contact.html">contact the library</a></li>
+ </ul>
+</div>
\ No newline at end of file
--- /dev/null
+<div id="bottombloc">
+<!-- TMPL_IF NAME="loggedinusername" -->
+ <p>
+ Logged in as <b><!-- TMPL_VAR NAME="loggedinusername" --></b> <a href="/cgi-bin/koha/opac-user.pl">Members Home</a>
+ || <a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a>
+ </p>
+<!-- TMPL_ELSE -->
+ <p>
+ <a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha
+ </p>
+<!-- /TMPL_IF -->
+</div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<div id="bottombloc">
+<!-- TMPL_IF NAME="loggedinusername" -->
+ <p>
+ Logged in as <b><!-- TMPL_VAR NAME="loggedinusername" --></b> <a href="/cgi-bin/koha/opac-user.pl">Members Home</a>
+ || <a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a>
+ </p>
+<!-- TMPL_ELSE -->
+ <p>
+ <a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha
+ </p>
+<!-- /TMPL_IF -->
+</div>
+</body>
+</html>
--- /dev/null
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/opac.css" />
+ <title><!--TMPL_VAR name="LibraryName"--></title>
+</head>
+<body>
+ <!-- MENUS -->
+ <div id="menuline">
+ <div class="SmallLibraryName"><!--TMPL_VAR name="LibraryName"--></div>
+ <span class="spacer"> </span>
+ <span class="spacer"> </span>
+ <a class="menu" href="/cgi-bin/koha/opac-main.pl" title="Koha home page">Home</a>
+ <span class="spacer"> </span>
+ <a class="menu" href="/cgi-bin/koha/opac-search.pl" title="Advanced search">Advanced search</a>
+ <span class="spacer"> </span>
+ <a class="menu" href="/cgi-bin/koha/opac-user.pl" title="Member Home page" >Members</a>
+ </div>
+ <!-- MAIN BODY OF PAGE -->
--- /dev/null
+a {
+ color : #006699;
+ font-weight : bold;
+}
+
+a:active {
+ color : #990033;
+}
+
+a:visited {
+ color : #006699;
+}
+
+a:hover {
+ color : #990033;
+}
+
+a:link.current {
+ background-color : transparent;
+ color : #3366CC;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+a:hover.current {
+ background-color : #CCFF00;
+ color : #CC3333;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+a:visited.current {
+ background-color : transparent;
+ color : #3366CC;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+a:active.current {
+ background-color : #99CC00;
+ color : #FFFF99;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+a:link.nav {
+ background-color : #FFFFCC;
+ color : #3366CC;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+a:hover.nav {
+ background-color : #CCFF00;
+ color : #CC3333;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+a:active.nav {
+ background-color : #99CC00;
+ color : #FFFF99;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+a:visited.nav {
+ background-color : #FFFFCC;
+ color : #3366CC;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+.menu a:link.logout {
+ background-color : #FFDD75;
+ color : Black;
+ font-weight : bold;
+ padding : 3px 15px 3px 15px;
+ text-decoration : none;
+}
+
+.menu a:active.logout {
+ background-color : #FFDD75;
+ color : Black;
+ font-weight : bold;
+ padding : 3px 15px 3px 15px;
+ text-decoration : none;
+}
+
+
+.menu a:visited.logout {
+ background-color : #FFDD75;
+ color : Black;
+ font-weight : bold;
+ padding : 3px 15px 3px 15px;
+ text-decoration : none;
+}
+
+.menu a:hover.logout {
+ background-color : #FFCC33;
+ color : Black;
+ font-weight : bold;
+ padding : 3px 15px 3px 15px;
+ text-decoration : none;
+}
+
+body {
+ background-color : #339999;
+ font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
+ margin : 0;
+ padding : 0;
+}
+
+caption {
+ color : #000066;
+ font-family : arial,helvetica;
+ font-size : 140%;
+ font-weight : bold;
+ margin : 0;
+ padding : 5px 0 3px 0;
+ text-align : left;
+}
+
+div.form, div.details {
+ background-color : #FFFFCC;
+ border : 0px dotted #333333;
+ margin : 0 auto;
+ padding : 5px;
+ width : 95%;
+}
+
+div.details {
+ width : 95%;
+}
+
+div.details ul {
+ margin-left : 0;
+ text-align : left;
+ list-style-type: circle;
+}
+
+div.table {
+ width : 95%;
+}
+
+fieldset {
+ border : 0;
+ padding : 2px;
+ margin : 2px;
+}
+
+form {
+ display : inline;
+ margin : 0;
+ padding : 0;
+}
+
+h1,h2,h3,h4,h5,h6 {
+ color : #000066;
+ font-family : arial, geneva, helvetica, sans-serif;
+ margin : 0;
+}
+
+h1 {
+ font-size : 150%;
+ padding : 5px 0 3px 0;
+}
+
+h1.logo {
+ color : #D3DFAD;
+ display : inline;
+ margin : 10px 0 0 10px;
+}
+
+h1.title {
+ font-style : italic;
+ padding : 5px 0 3px 0;
+}
+
+h2 {
+ font-size : 130%;
+ padding : 5px 0 3px 0;
+}
+
+h3 {
+ font-size : 120%;
+ padding : 5px 0 3px 0;
+}
+
+h3.author {
+ padding : 0 0 3px 15px;
+}
+
+h4 {
+ padding : 5px 0 3px 0;
+}
+
+.inline {
+ display : inline;
+}
+
+p {
+ padding : 0 10px 0 10px;
+}
+
+p.error {
+ color : #990000;
+ font-size : 1.05em;
+ font-weight : normal;
+ padding : 5px 20px 5px 20px;
+}
+
+table {
+ background-color : #FFFFCC;
+ border-bottom : 0 solid #000000;
+ border-collapse : collapse;
+ border-left : 0 solid #000000;
+ margin : 5px 0 5px 0;
+ padding : 0;
+ width : 100%; w\idth:auto;
+}
+
+td {
+ border-bottom : 1px solid #E7E7CA;
+ border-right : 1px solid #E7E7CA;
+ font-size : .90em;
+ padding : 5px 5px 5px 5px;
+}
+
+th {
+ background-color : #D8DEB8;
+ border-bottom : 1px solid #000000;
+ border-right : 1px solid #000000;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 5px 5px 5px 5px;
+}
+
+th:last-child {
+ background-color : #D8DEB8;
+ border-bottom : 1px solid #000000;
+ border-right : 0 solid #000000;
+ font-size : 14px;
+ font-weight : bold;
+ padding : 5px 5px 5px 5px;
+}
+
+td.input, div.form td, div.details td {
+ border-bottom : 1px solid #E7E7CA;
+ border-left : 0;
+ border-right : 0;
+ color : #000000;
+ padding : 2px 2px 2px 4px;
+ text-align : right;
+}
+
+td.label, div.form th, div.details th {
+ background-color : #FFC;
+ border-bottom : 1px solid #E7E7CA;
+ border-left : 1px solid #E7E7CA;
+ border-right : 0;
+ border-top : 0;
+ color : #000088;
+ font-weight : bold;
+ padding : 2px 2px 2px 4px;
+ text-align : left;
+ vertical-align : top;
+}
+
+div.details td.details {
+ text-align : left;
+}
+
+td.label {
+ border-bottom : 1px solid #E7E7CA;
+ border-left : 1px solid #E7E7CA;
+ color : #000088;
+ font-weight : bold;
+ line-height : 1.5em;
+ padding : 4px;
+}
+
+td:last-child {
+ border-bottom : 1px solid #E7E7CA;
+ border-right : 0 solid #E7E7CA;
+ font-size : 12px;
+ padding : 5px 5px 5px 5px;
+}
+
+tr.highlight {
+ background-color : #FFFFFF;
+}
+
+.rejected {
+ text-decoration: line-through;
+}
+
+.selected {
+ text-decoration: none;
+}
+
+.content-block {
+ background-color : #FFFFCC;
+ margin : 15px;
+ padding : 5px;
+ width : 90%;
+}
+
+.count {
+ font-size : .7em;
+ font-weight : normal;
+}
+
+.current {
+ background-color : #FFFFFF;
+ color : #3366CC;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 1px 5px 1px 5px;
+ text-decoration : none;
+}
+
+.ex {
+ font-family : "Courier New", Courier, monospace;
+}
+
+div.bookcover {
+ float: right;
+}
+
+.item-details {
+ display : block;
+ margin : 0 0 0 25px;
+}
+
+.loggedin {
+ color : #D8DEB8;
+ font-weight : bold;
+}
+
+.marctag {
+ font-family : Arial, Geneva, sans-serif;
+ color : #000000;
+ background-color : #E7E7CA;
+ margin : 1px;
+ padding : 3px;
+}
+
+.marcsubfieldletter {
+ font-family : Arial, Geneva, sans-serif;
+ background-color: #EFF1DC;
+ padding : 3px;
+}
+
+.marcsubfieldname {
+ font-family : Arial, Geneva, sans-serif;
+ background-color: #FFFFCC;
+ padding : 3px;
+}
+
+.subfield {
+ font-family : Arial, Geneva, sans-serif;
+ background-color: #FFFFCC;
+ padding : 3px;
+}
+
+.subfieldvalue {
+ font-family : Arial, Geneva, sans-serif;
+ font-weight : bold;
+ background-color : #FFFFFF;
+ padding : 3px;
+}
+
+.menu {
+ color : #CCCC99;
+ margin-bottom : 5px;
+ margin-left : 15px;
+ margin-right : 10px;
+}
+
+.menu a:link {
+ color : #CCFF66;
+ padding : 2px;
+}
+
+.menu a:visited {
+ color : #CCFF66;
+ padding : 2px;
+}
+
+.menu a:hover {
+ color : #FFFFCC;
+ padding : 2px;
+}
+
+.menu a:active {
+ color : #FFFFCC;
+ padding : 2px;
+}
+
+.menu input {
+ font-size : 80%;
+}
+
+.menu label {
+ font-weight : bold;
+}
+
+.opac-detail {
+ background-color : #FFFFCC;
+ padding : 4px;
+}
+
+em.new {
+ color : #CC3333;
+ font-weight : bold;
+ font-style : normal;
+}
+
+.note {
+ background-color : #FFFFCC;
+ border-right : 1px solid #000000;
+ border-bottom : 1px solid #000000;
+ font-size : 12px;
+ margin : 10px auto;
+ padding : 4px 4px 4px 4px;
+ width : 35%;
+}
+
+.print {
+ font-size: 10px;
+}
+
+
+div.notes {
+ text-align: left;
+}
+
+.opac-detail dd {
+ border-bottom : 1px solid #E7E7CA;
+ color : #000000;
+ display : block;
+ line-height : 1.5em;
+ padding : 4px;
+ text-align : right;
+}
+
+.submit {
+ background-color : #CC6600;
+ color : #FEEDDB;
+ font-family : verdana,arial,hevetica;
+ font-size : small;
+ font-weight : bold;
+ padding : 2px;
+}
+
+input.icon {
+ background-position: left;
+ background-repeat: no-repeat;
+ background-color : #CC6600;
+ color : #FEEDDB;
+ font-family : verdana,arial,hevetica;
+ font-size : small;
+ font-weight : bold;
+ padding : 2px 2px 2px 22px;
+}
+
+input.cart {
+ background-image: url(../images/basket.gif);
+}
+
+input.print {
+ background-image: url(../images/print2.gif);
+}
+
+input.detail {
+ background-image: url(../images/detail.gif);
+}
+
+input.brief {
+ background-image: url(../images/brief.gif);
+}
+
+input.send {
+ background-image: url(../images/send.gif);
+}
+
+input.trash {
+ background-image: url(../images/trash.gif);
+}
+
+input.close {
+ background-image: url(../images/close.gif);
+}
+
+input.addchecked {
+ background-image: url(../images/addtobasket.gif);
+}
+
+input.clearall {
+ background-image: url(../images/clearbasket.gif);
+}
+
+.title {
+ font-style : italic;
+ font-weight : bold;
+}
+
+#footer {
+ border-top : 1px solid #000000;
+ clear : both;
+}
+
+#main {
+ background-color : #CCCC99;
+ border-left : 1px solid #CCCC99;
+ margin-left : 22%;
+ margin-right : 2%;
+ margin-top : 2%;
+ padding : 10px;
+ position : relative;
+}
+
+#window {
+ background-color : #CCCC99;
+ border-left : 1px solid #CCCC99;
+ margin-left : 2%;
+ margin-right : 2%;
+ margin-top : 2%;
+ padding : 10px;
+}
+
+#window div.menu {
+ margin : 0;
+}
+
+#window .class {
+ display : block;
+ font-weight : bold;
+ padding : 0 0 5px 3px;
+}
+
+#masthead {
+ background-color : #339999;
+ margin : 0 0 0 5px;
+}
+
+#nav {
+ background-color : #CCCC99;
+ float : left;
+ margin : 2% 0% 0% 1%;
+ padding : 0;
+ width : 18%;
+}
+
+#nav a {
+ font-family : Tahoma;
+ font-size : 1.3em;
+ font-weight : bold;
+ text-decoration : none;
+}
+
+#nav ul {
+ margin : 0;
+ padding : 0;
+}
+
+#nav ul li {
+ background-color : #D8DEB8; /*width : 100%;*/
+ border-bottom : 1px solid #339999;
+ border-left : 0 solid #FFFFCC;
+ border-right : 0 solid #006699;
+ border-top : 0 solid #FFFFCC;
+ font-family : Arial, Helvetica, sans-serif;
+ font-size : .8em;
+ list-style : none;
+ margin : 0;
+ padding : 3px;
+ text-align : right;
+}
+
+#nav ul li+li {
+ border-bottom : 1px solid #339999;
+ border-left : 0 solid #FFFFCC;
+ border-right : 0 solid #006699;
+ margin : 0;
+}
+
+#nav li ul li {
+ background-color : #E7E7CA; /*width : 100%;*/
+ border-bottom : 1px solid #D8DEB8;
+ border-left : 0 solid #FFFFCC;
+ border-right : 0 solid #006699;
+ border-top : 0 solid #FFFFCC;
+ font-family : Arial, Helvetica, sans-serif;
+ font-size : 1em;
+ list-style : none;
+ margin : 0;
+ padding : 1px;
+ text-align : right;
+}
+
+#nav li ul li a {
+ color: Blue;
+ font-family : Tahoma;
+ font-size : .99em;
+ font-weight : bold;
+ text-decoration : none;
+}
+
+#nav li ul li a:link {
+ color: #359;
+}
+
+#nav li ul li a:visited {
+ color: #359;
+}
+
+#nav li ul li a:hover {
+ color: #CC3333;
+}
+
+#results, .results {
+ color : #000066;
+ font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size : 80%;
+ margin : 0;
+ padding : 7px 0 10px 0;
+}
+
+#sidebar {
+ background-color : #EFF1DC;
+ width : 20%;
+ border : 1px dashed #CCCC99;
+ margin : 20px;
+ padding : 5px;
+ float : right;
+ font-size : 80%;
+}
+
+#sidebar h3 {
+ color : #000066;
+ font-family : arial,helvetica;
+ font-size : 110%;
+ margin : 0;
+ padding : 5px 0 1px 0;
+}
+
+#sidebar .submit {
+ background-color : #CC6600;
+ color : #FEEDDB;
+ font-family : verdana,arial,hevetica;
+ font-size : 80%;
+ font-weight : bold;
+ padding : 2px;
+}
\ No newline at end of file
--- /dev/null
+a:link {
+ color : #000066;
+ text-decoration: none;
+}
+
+a:visited {
+ color : #000066;
+ text-decoration: none;
+}
+
+a:hover {
+ color : #993300;
+ text-decoration: none;
+}
+
+body {
+ background-color : #FFF;
+ color : #333333;
+ font-family : arial, geneva, sans-serif;
+ font-size : 14px;
+ margin : 0px 0px 0px 0px;
+}
+
+caption {
+ color : #000066;
+ font-size : 18px;
+ font-weight : bold;
+ margin-top : 5px;
+ text-align : left;
+}
+
+div.table {
+ width : 100%;
+}
+
+form {
+ margin : 0px;
+ padding : 0px;
+}
+
+h1
+ {
+ color : #000066;
+ font-size : 22px;
+ font-weight : bold;
+ margin-bottom : 3px;
+ margin-top : 3px;
+}
+
+h2 {
+ color : #000066;
+ font-size : 20px;
+ font-weight : bold;
+ margin-bottom : 3px;
+ margin-top : 3px;
+}
+
+h3 {
+ color : #000066;
+ font-size : 18px;
+ font-weight : bold;
+ margin-bottom : 3px;
+ margin-top : 3px;
+}
+
+h4 {
+ color : #000066;
+ font-size : 16px;
+ font-weight : bold;
+ margin-bottom : 3px;
+ margin-top : 3px;
+}
+
+h5 {
+ color : #000066;
+ font-size : 15px;
+ font-weight : bold;
+ margin-bottom : 1px;
+ margin-top : 1px;
+}
+
+h6 {
+ color : #000066;
+ font-size : 14px;
+ font-weight : bold;
+ margin-bottom : 1px;
+ margin-top : 1px;
+}
+
+p {
+ margin-top : 0px;
+}
+
+table {
+ background-color : #FFFFFF;
+ border-bottom : 0px solid #CCCCCC;
+ border-collapse : collapse;
+ border-left : 0px solid #CCCCCC;
+ margin : 3px 0px 5px 0px;
+ padding : 0px;
+ width : 99%;
+}
+
+td {
+ background-color : #FFF;
+ border-bottom : 1px solid #CCCCCC;
+ border-right : 1px solid #CCCCCC;
+ font-size : 12px;
+ padding : 5px 5px 5px 5px;
+ vertical-align : top;
+}
+
+td:last-child {
+ background-color : #FFF;
+ border-bottom : 1px solid #CCCCCC;
+ border-right : 0px solid #CCCCCC;
+ font-size : 12px;
+ padding : 5px 5px 5px 5px;
+ vertical-align : top;
+}
+
+th {
+ background-color : #E9E9E9;
+ border-bottom : 1px solid #CCCCCC;
+ border-right : 1px solid #CCCCCC;
+ font-size : 14px;
+ font-weight : bold;
+ padding : 5px 5px 5px 5px;
+}
+
+th:last-child {
+ background-color : #E9E9E9;
+ border-bottom : 1px solid #CCCCCC;
+ border-right : 0px solid #CCCCCC;
+ font-size : 14px;
+ font-weight : bold;
+ padding : 5px 5px 5px 5px;
+}
+
+td.input, div.form td, div.details td {
+ border-bottom : 1px solid #CCCCCC;
+ border-left : 0px;
+ border-right : 0px;
+ color : #000000;
+ line-height : 1.5em;
+ padding : 4px;
+ text-align : left;
+}
+
+td.label, div.form th, div.details th {
+ background-color : #FFF;
+ border-bottom : 1px solid #CCCCCC;
+ border-left : 1px solid #CCCCCC;
+ border-right : 0px;
+ border-top : 0px;
+ color : #000088;
+ font-weight : bold;
+ line-height : 1.5em;
+ padding : 4px;
+ text-align : right;
+ vertical-align : top;
+}
+
+tr.highlight {
+ background-color: #CCCCCC;
+}
+
+.class {
+ font-weight : bold;
+}
+
+.cancel {
+ background-color : #993300;
+ color : #FFFFCC;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 2px;
+}
+
+.error {
+ font-weight: bold;
+}
+
+.ex {
+ font-family : "Courier New", Courier, monospace;
+}
+.inline {
+ display : inline;
+}
+
+.print {
+ display : none;
+}
+
+.submit {
+ background-color : #669999;
+ color : #FFFFCC;
+ font-size : 12px;
+ font-weight : bold;
+ padding : 2px;
+}
+
+#main {
+ background-color : #FFF;
+ border-left : 0px solid #CCCC99;
+ margin-left : 2%;
+ margin-right : 2%;
+ margin-top : 1%;
+ padding : 5px;
+ position : relative;
+}
\ No newline at end of file
--- /dev/null
+function ValidateCode()
+{
+ // Validating the patron id by Oscar R. Paredes
+ // Please do not remove this line and the line above.
+ var patron_id = document.forms['auth'].userid.value;
+ var snumber = "Pp 0123456789";
+ var len = patron_id.length;
+ var new_patron_id = "";
+ var bOK = true
+ if (patron_id.length != 0)
+ {
+ for (i=0;(i<len)&&(bOK);i++)
+ { pos = snumber.indexOf(patron_id.substring(i,i+1));
+ if (pos <0 || pos > 12)
+ { alert("Your card number is invalid, please verify it.");
+ bOK = false;
+ }
+ else
+ { if (pos > 2)
+ car = patron_id.substring(i,i+1);
+ else
+ car = "";
+ new_patron_id = new_patron_id + car;
+ }
+ } // end for i
+ while (bOK && (new_patron_id.length < 7))
+ new_patron_id = "0" + new_patron_id;
+ if (new_patron_id.length > 7)
+ { alert("Your library card number is too long.");
+ bOK = false;
+ }
+ if (bOK)
+ document.forms['auth'].userid.value = new_patron_id;
+ else
+ {
+ document.forms['auth'].userid.value = "";
+ document.forms['auth'].userid.focus();
+ }
+ }
+}
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- An Error Has Occurred
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+
+<div id="main">
+<h3>An Error has Occurred</h3><!-- TMPL_VAR NAME="errormessage" --></div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- ISBD
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/marc-editor.css">
+<div id="bibliomenu">
+ <a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
+ Normal
+ </a>
+ <a href="opac-MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button">
+ MARC
+ </a>
+ <a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->')" class="button catalogue">
+ Print
+ </a>
+ <!-- TMPL_UNLESS NAME="norequests" -->
+ <a class="button" href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->">
+ Request
+ </a>
+ <!-- /TMPL_UNLESS -->
+</div>
+
+<div id="mainbloc">
+ <p>ISBD : <!-- TMPL_VAR name="ISBD" --></p>
+</div>
+</body>
+</html>
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- MARC Details for Record No. <!-- TMPL_VAR name="biblionumber" -->
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+<div id="main">
+<h2>MARC View</h2>
+<TMPL_UNLESS NAME="norequests">
+ <form action="/cgi-bin/koha/opac-reserve.pl" method="post" class="inline">
+ <input type="submit" name="submit" VALUE="Place Reserve" class="submit" />
+ <input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
+ </form>
+</TMPL_UNLESS>
+<!-- <form class="inline" action="opac-ISBDdetail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" class="isbd" value="ISBD" /></form> -->
+
+<form class="inline" action="opac-detail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" class="brief" value="Normal View" /></form>
+
+<!-- <form class="inline" action="detailprint.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" class="print" value="Print" onclick="Dopop('detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->'); return false;"/></form> -->
+
+<form class="inline"><input type="submit" class="cart" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->'); return false;" value="Add to Book Bag" /></form>
+<div class="table">
+ <table><!-- TMPL_LOOP name="0XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="1XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="2XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="3XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="4XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="5XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="6XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="7XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="8XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+
+ <!-- TMPL_LOOP name="9XX" -->
+ <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></td></tr>
+ <!-- TMPL_LOOP name="subfield" -->
+ <tr><td class="marcsubfieldletter"><!-- TMPL_VAR name="marc_subfield" --></td>
+ <td class="marcsubfieldname"><!-- TMPL_VAR name="marc_lib" --></td>
+ <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+ </table>
+
+ <table>
+ <caption>Copies</caption>
+ <tr>
+ <!-- TMPL_LOOP name="item_header_loop" -->
+ <th>
+ <!-- TMPL_VAR name="header_value" -->
+ </th>
+ <!-- /TMPL_LOOP -->
+ </tr>
+ <!-- TMPL_LOOP name="item_loop" -->
+ <tr>
+ <!-- TMPL_VAR name="item_value" -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+</div>
+</div>
+</body>
+</html>
--- /dev/null
+<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Account for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
+<!-- TMPL_INCLUDE name="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead-user.inc" -->
+<!-- TMPL_INCLUDE name="navigation.inc" -->
+
+<!--CONTENT-->
+
+<!-- TMPL_LOOP NAME="BORROWER_INFO" -->
+<div id="main">
+<h1>Account for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></h1>
+<!-- /TMPL_LOOP -->
+
+<!-- TMPL_IF NAME="ACCOUNT_LINES" -->
+<div class="table"><table>
+<caption><h3>Fines and Charges</h3></caption>
+<tr><th>Date</th>
+<th>Description</th>
+<th>Fine Amount</th>
+<th>Amount Outstanding</th>
+</tr>
+
+
+<!-- TMPL_LOOP NAME="ACCOUNT_LINES" -->
+<tr>
+<td><!-- TMPL_VAR NAME="date" --></td>
+<td><!-- TMPL_VAR NAME="description" -->
+<!-- TMPL_IF NAME="print_title" --><!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td>
+<td>$<!-- TMPL_VAR NAME="amount" --></td>
+<td>$<!-- TMPL_VAR NAME="amountoutstanding" --></td></tr>
+<!-- /TMPL_LOOP -->
+
+<tr>
+<td> </td>
+<td> </td>
+<td><span class="label">Total Due</span></td>
+<td><span class="label">$<!-- TMPL_VAR NAME="total" --></span></td>
+</tr>
+</table></div>
+<!-- TMPL_ELSE --><h4>You have no Fines or Charges</h4><!-- /TMPL_IF -->
+</div>
+
+</body>
+</html>
--- /dev/null
+<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Log in to Your Account
+<!-- TMPL_INCLUDE name="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead.inc" -->
+<!-- TMPL_INCLUDE name="navigation.inc" -->
+
+<!--CONTENT-->
+<div id="main">
+<!-- TMPL_IF NAME="loginprompt" -->
+<!-- login prompt time-->
+<h3>Log In to Your Account</h3>
+<!-- TMPL_IF NAME="nopermission" -->
+<!-- This is what is displayed if user doesnt have permission -->
+<p class="error">Sorry, the system doesn't think you have permission to access this page. </p>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="timed_out" -->
+<!-- This is what is displayed if login has timed out -->
+<p class="error">Sorry, your session has timed out. Please log in again.</p>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="different_ip" -->
+<!-- This is what is displayed if user doesnt have permission -->
+<p class="error">You are logging from a different IP address. Please log in again.</p>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="invalid_username_or_password" -->
+<!-- This is what is displayed if user doesnt have permission -->
+<p class="error">You entered an incorrect username or password. Please try again! And remember, usernames and passwords are case sensitive.</p>
+<!-- /TMPL_IF -->
+
+<form action="<!-- TMPL_VAR NAME="url" -->" name="auth" id="auth" method="post">
+<!-- TMPL_LOOP NAME="INPUTS" -->
+ <input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->">
+<!-- /TMPL_LOOP -->
+<div class="form">
+<table>
+<tr><th><label for="userid">Your card number</label></th><td><input type="text" size="25" id="userid" name="userid" onblur="ValidateCode();"></td>
+<tr><th><label for="password">Password or PIN</label></th><td><input type="password" size="25" id="password" name="password"></td>
+</table>
+<input type="submit" value="Log In" class="submit"></div>
+ <p>If you don't have a password yet, next time you're in the library, take your card to the circulation desk and we'll happily set one up for you.</p>
+</form>
+
+
+<!-- /TMPL_IF -->
+</div>
+</body>
+</html>
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Your Book Bag<!-- TMPL_IF NAME="print_basket" --><!-- TMPL_INCLUDE NAME="doc-head-close-basket-print.inc" --><!-- TMPL_ELSE --><!-- TMPL_INCLUDE NAME="doc-head-close-basket.inc" --><!-- /TMPL_IF -->
+
+<div id="window">
+ <!-- TMPL_UNLESS NAME="print_basket" --><h3>Your Book Bag</h3>
+ <!-- MENUS -->
+ <div class="menu">
+<!-- TMPL_IF NAME="verbose" -->
+<form class="inline" action="opac-basket.pl" method="get"><input type="submit" class="icon brief" onclick="showLess(); return false;" value="Brief Display" /></form>
+<!-- TMPL_ELSE -->
+<form class="inline" action="opac-basket.pl" method="get"><input type="submit" class="icon detail" onclick="showMore(); return false;" value="More Details" /></form>
+<!-- /TMPL_IF -->
+<form class="inline" action="opac-basket.pl" method="get"><input type="submit" class="submit" onclick="delSelRecords(); return false;" value="Remove Selected Items" /></form>
+
+<form class="inline" action="opac-basket.pl" method="get"><input type="submit" class="icon send" onclick="sendBasket(); return false;" value="Send" /></form>
+
+<form class="inline" action="opac-basket.pl" method="get"><input type="submit" class="icon print" onclick="printBasket(); return false;" value="Print" /></form>
+
+ <form class="inline" action="opac-basket.pl" method="get"><input type="submit" class="icon trash" onclick="delBasket(); return false;" value="Empty and Close" /></form>
+<form class="inline" action="opac-basket.pl" method="get"><input type="submit" class="icon close" onclick="quit(); return false;" value="Hide Window" /></form>
+ </div><!-- /TMPL_UNLESS -->
+
+
+<!-- TMPL_IF NAME="verbose" -->
+<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --><div class="details">
+<h3><!-- TMPL_VAR NAME="title" --><!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --></h3>
+<table>
+ <!-- TMPL_UNLESS NAME="print_basket" --><tr><td colspan="2"><form><label for="bib<!-- TMPL_VAR NAME="biblionumber" -->"><input type="checkbox" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="bib<!-- TMPL_VAR NAME="biblionumber" -->" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" onclick="selRecord(value,checked)"> Select this Item</label></form></td></tr><!-- /TMPL_UNLESS -->
+
+ <!-- TMPL_IF name="isbn" --><tr><th>ISBN:</th><td><!-- TMPL_VAR NAME="ISBN" --></td></tr><!-- /TMPL_IF -->
+
+ <!-- TMPL_IF name="author" --><tr><th>Author:</th><td> <!-- TMPL_VAR NAME="author" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="additional" --><tr><th>Additional authors:</th><td><!-- TMPL_VAR NAME="additional" --></td></tr><!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="publishercode" -->
+ <tr><th>Publisher:</th><td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --></td></tr>
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="pages" -->
+ <tr><th>Details: </th><td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td></tr>
+<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="collection" --><tr><th>Collection:</th><td> <!-- TMPL_VAR NAME="seriestitle" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="subject" --><tr><th>Subject:</th><td> <!-- TMPL_VAR NAME="subject" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="copyrightdate" --><tr><th>Copyright:</th><td> <!-- TMPL_VAR NAME="copyrightdate" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="notes" --><tr><th>Notes:</th><td> <!-- TMPL_VAR NAME="notes" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="unititle" --><tr><th>Unified title:</th><td> <!-- TMPL_VAR NAME="unititle" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="serial" --><tr><th>Serial:</th><td><!-- TMPL_VAR NAME="serial" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="dewey" --><tr><th>Dewey:</th><td><!-- TMPL_VAR name="dewey" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="classification" --><tr><th>Call Number:</th><td> <!-- TMPL_VAR name="classification" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="lccn" --><tr><th>LCCN:</th><td> <!-- TMPL_VAR name="lccn" --></td></tr><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="url" --><tr><th>URL:</th><td> <!-- TMPL_VAR NAME="url" --></td></tr><!-- /TMPL_IF -->
+ </table></div><br>
+<!-- /TMPL_LOOP -->
+<!-- TMPL_ELSE -->
+<div class="table">
+<table><!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
+ <!-- BIBLIO RECORD TABLE -->
+<tr<!-- TMPL_IF NAME="even" --> class="highlight"<!-- /TMPL_IF -->><td><form><label for="bib<!-- TMPL_VAR NAME="biblionumber" -->"><span class="class"><!-- TMPL_VAR NAME="classification" --></span><!-- TMPL_UNLESS NAME="print_basket" --><input type="checkbox" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="bib<!-- TMPL_VAR NAME="biblionumber" -->" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" onclick="selRecord(value,checked);"><!-- /TMPL_UNLESS --></label></form></td><td><p><strong><!-- TMPL_VAR NAME="title" --></strong> <!-- TMPL_VAR NAME="author" -->
+ <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" -->
+ <!-- TMPL_IF name="place" --> <!-- TMPL_VAR name="place" --><!-- /TMPL_IF --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- TMPL_IF name="size" --> <!-- TMPL_VAR name="size" --><!-- /TMPL_IF --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="notes" --><p><!-- TMPL_VAR name="notes" --></p><!-- /TMPL_IF -->
+ </p></td></tr>
+ <!-- /TMPL_LOOP -->
+</table>
+<!-- /TMPL_IF -->
+</div>
+<!-- TMPL_UNLESS NAME="print_basket" -->
+<form name="myform"><input type="hidden" name="records"></form>
+<!-- /TMPL_UNLESS -->
+</div>
+</body>
+</html>
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Details for: <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --><!-- TMPL_VAR NAME="title" --><!-- /TMPL_LOOP -->
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+<div id="main">
+<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
+<div class="details">
+<!-- Display for NPL <div style="float: right; padding: 5px;">
+<img src="/cgi-bin/koha/imgcheck.pl?image_location=/usr/local/images2/<!-- TMPL_VAR NAME="isbn" -->.jpg" alt="Book Cover Image" />
+</div>
+ /Display for NPL --><h2><!-- TMPL_VAR NAME="title" --></h2>
+<!-- TMPL_IF NAME="author" --><h3 class="author">By <!-- TMPL_VAR NAME="author" --></h3><!-- /TMPL_IF -->
+
+<table>
+<!-- TMPL_IF NAME="subtitle" --><tr><th>Subtitle: </th><td><!-- TMPL_VAR NAME="subtitle" --></td></tr><!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="abstract" --><tr><th>Format:</th><td><!-- TMPL_VAR NAME="abstract" --></td></tr><!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="copyrightdate" -->
+ <tr><th>Copyright:</th><td><!-- TMPL_VAR NAME="copyrightdate" --></td></tr>
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="isbn" -->
+ <tr><th>ISBN:</th><td><!-- TMPL_VAR NAME="isbn" --></td></tr>
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="lccn" -->
+ <tr><th>LCCN:</th><td><!-- TMPL_VAR NAME="lccn" --></td></tr>
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="publishercode" -->
+ <tr><th>Publisher:</th><td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --></td></tr>
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="pages" -->
+ <tr><th>Details: </th><td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td></tr>
+<!-- /TMPL_IF -->
+<!-- /TMPL_LOOP -->
+<!-- TMPL_IF NAME="marcnotes" -->
+<tr><th>Notes:</th><td><ul><!-- TMPL_LOOP NAME="MARCNOTES" --><li><!-- TMPL_VAR NAME="marcnotes" --></li><!-- /TMPL_LOOP --></ul></td></tr>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="subjects" -->
+ <tr><th>Subject(s):</th><td> <!-- TMPL_LOOP NAME="SUBJECTS" -->
+ : <a href="http://koha.athenscounty.lib.oh.us/cgi-bin/koha/opac-searchresults.pl?subjectitems=<!-- TMPL_VAR NAME="SUBJECTS" ESCAPE="URL" -->"><!-- TMPL_VAR NAME=SUBJECTS --></a>
+ <!-- /TMPL_LOOP --></td></tr>
+ <!-- /TMPL_IF -->
+<!-- <tr><th>Biblio Record:</th><td><!-- TMPL_VAR NAME="biblionumber" --></td></tr> -->
+</table>
+
+ <table border="1">
+ <!-- TMPL_IF NAME="MARCNOTES" -->
+ <tr>
+ <th><i>Detailed notes:</i></th>
+ <td>
+ <ul>
+ <!-- TMPL_LOOP NAME="MARCNOTES" -->
+ <i>- <!-- TMPL_VAR NAME="marcnote" --></i><br>
+ <!-- /TMPL_LOOP -->
+ </ul>
+ </td>
+ </tr>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="MARCSUBJCTS" -->
+ <tr>
+ <th>Related links:</th>
+ <td>
+ <ul>
+ <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
+ - <a href="/cgi-bin/koha/opac-searchresults.pl?subjectitems=<!-- TMPL_VAR NAME="marcsubjct" ESCAPE="URL"-->">
+ <!-- TMPL_VAR NAME="marcsubjct" -->
+ </a><br>
+ <!-- /TMPL_LOOP -->
+ </ul>
+ </td>
+ </tr>
+ <!-- /TMPL_IF -->
+ </table>
+
+<TMPL_UNLESS NAME="norequests">
+ <form action="/cgi-bin/koha/opac-reserve.pl" method="post" class="inline">
+ <input type="submit" name="submit" VALUE="Place Reserve" class="submit" />
+ <input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
+ </form>
+</TMPL_UNLESS>
+<!-- <form class="inline" action="opac-ISBDdetail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" class="isbd" value="ISBD" /></form> -->
+
+<!-- <form class="inline" action="opac-MARCdetail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" class="detail" value="MARC View" /></form> -->
+
+<!-- <form class="inline" action="detailprint.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" class="print" value="Print" onclick="Dopop('detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->'); return false;"/></form> -->
+
+<form class="inline"><input type="submit" class="icon cart" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->'); return false;" value="Add to Book Bag" /></form>
+</div>
+
+<!-- TMPL_IF NAME="ITEM_RESULTS" -->
+<div class="table"><table>
+<!--HOLDINGS INFORMATION HEADER TABLE ROWS-->
+<tr><!-- <th> </th> -->
+<th>Type/Format</th>
+<th>Call Number</th>
+<th>Location</th>
+<th>Due Date</th>
+<th>Last Seen</th>
+<!-- <th>Barcode</th> --></tr>
+<tbody>
+<!--INFORMATION ROWS-->
+<!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
+<tr><td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="description" -->.gif" align="left" title="<!-- TMPL_VAR NAME="barcode" -->" alt="" /><!-- TMPL_VAR NAME="description" --></td>
+<td><!-- TMPL_VAR NAME="class" --></td>
+<td><!-- TMPL_VAR NAME="branchname" --></td>
+<td><!-- TMPL_VAR NAME="datedue" --></td>
+<td><!-- TMPL_VAR NAME="datelastseen" --></td>
+<!-- <td><!-- TMPL_VAR NAME="barcode" --></td> --></tr>
+<!-- /TMPL_LOOP -->
+</tbody>
+</table>
+<!-- TMPL_ELSE -->
+<table><tr><td>No copies available.</td></tr></table>
+<!-- /TMPL_IF -->
+</div>
+</div>
+</body>
+</html>
+
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> -- Library Catalog
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+<div id="main">
+
+<div class="content-block">
+
+<!-- TMPL_IF NAME="loggedinusername" -->
+<!-- TMPL_ELSE --><div id="sidebar">
+<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
+<h3>Log in to Check Your Account</h3>
+<p><label for="userid">Card Number:</label> <input type="text" id="userid" size="10" name="userid" onblur="ValidateCode();" /></p>
+<p><label for="password">Password:</label> <input type="password" id="password" size="10" name="password" /></p>
+<p><input type="submit" value="Log In" class="submit" /></p>
+</form></div>
+<!-- /TMPL_IF -->
+
+<form action="/cgi-bin/koha/opac-search.pl">
+<h3>Search the Library Catalog</h3>
+<p>
+<label for="value">Enter Keyword(s):</label>
+ <input type="hidden" name="op" value="do_search" />
+ <input type="hidden" name="type" value="opac" />
+ <input type="hidden" name="marclist" value="" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" size="27" name="value" id="value" /></p>
+ <p><input type="submit" value="Search" class="submit" /></p>
+ <p>
+ <a href="/cgi-bin/koha/opac-search.pl">Advanced Search (More Options)</a>
+ </p>
+ <p><em class="new">New! </em>Find the latest additions: <br /><a href="/format-search.php">Search by format and date</a></p>
+ </form>
+ <br clear="all" />
+</div>
+
+<div class="content-block">
+ <h3>Recent acquisitions</h3>
+ <form action="/cgi-bin/koha/opac-search.pl">
+ <p>
+ <!-- TMPL_VAR name="CGIitemtype" --> acquired recently (the most recent being first)
+ <input type="hidden" name="marclist" value="biblioitems.itemtype" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="=" />
+ <input type="hidden" name="op" value="do_search" />
+ <input type="hidden" name="type" value="opac" />
+ <input type="hidden" name="orderby" value="biblio.timestamp desc">
+ <input type="submit" value="Search" class="submit" />
+ </p>
+ </form>
+</div>
+
+<!-- TMPL_IF NAME="loggedinusername" -->
+<div class="content-block">
+<h3>Logged in as </h3>
+<p><!-- TMPL_LOOP NAME="USER_INFO" -->
+ <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->
+<!-- /TMPL_LOOP --></p>
+<p><a href="/cgi-bin/koha/opac-user.pl">your library home</a> |
+ <a href="/cgi-bin/koha/opac-account.pl">your account</a> |
+ <a href="/cgi-bin/koha/opac-userdetails.pl">your personal details</a> <!-- TMPL_IF name="virtualshelves" -->| <a href="/cgi-bin/koha/opac-shelves.pl" class="button">virtual shelves</a><!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" -->| <a href="opac-suggestions.pl" class="button">view & manage suggestions</a><!-- /TMPL_IF --></p>
+ <!-- TMPL_IF name="textmessaging"-->
+ <h2>Message from the library</h2>
+ <p><!-- TMPL_VAR name="textmessaging" --></p>
+ <!-- /TMPL_IF -->
+<form method="post" action="/cgi-bin/koha/opac-logout.pl">
+<p><input type="submit" class="submit" name="logout" value="Log Out" /></p>
+</form>
+</div><!-- /TMPL_IF -->
+
+ <div class="content-block">
+ <h4 class="inline">Change Language:</h3>
+ <form action="/cgi-bin/koha/changelanguage.pl" method="post" class="inline">
+ <select name="language">
+ <TMPL_LOOP NAME="languages">
+ <option value="<TMPL_VAR NAME="language">"><TMPL_VAR NAME="language"></option>
+ </TMPL_LOOP>
+ </select>
+ <input type="submit" value="Switch" class="submit">
+ </form></div>
+</div>
+
+</body>
+</html>
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Reserving <!-- TMPL_VAR NAME="title" --> for <!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP -->
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+<!--CONTENT-->
+<!-- TMPL_IF NAME="message" -->
+<div id="main">
+<p class="error">
+<!-- TMPL_IF NAME="too_much_oweing" -->Sorry, you cannot make reserves because you owe <!-- TMPL_VAR NAME="too_much_oweing" -->. <!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="too_many_reserves" -->Sorry, you cannot make more than <!-- TMPL_VAR NAME="too_many_reserves" --> reserves. <!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="already_reserved" -->You already have a reserve placed on this item.<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="no_items_selected" -->You must select at least one item.<!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="no_branch_selected" -->You must select a branch for pickup!<!-- /TMPL_IF -->
+</p>
+</div>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="select_item_types" -->
+<!-- The first time round you select which bibitems you want -->
+<div id="main">
+<form action="/cgi-bin/koha/opac-reserve.pl" method="post">
+<input type="hidden" name="item_types_selected" value="1">
+<input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->">
+<h2>Reservation Details</h2>
+
+<div class="form">
+<table>
+ <tr><th>Reserving: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span><!-- TMPL_IF NAME="author" --> (<!-- TMPL_VAR NAME="author" -->)<!-- /TMPL_IF --></td></tr>
+ <tr><th>For:</th><td><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_LOOP --></td></tr>
+
+ <tr><th>Pick up from:</th><td><!-- TMPL_VAR NAME="CGIbranch" --></td></tr>
+</table>
+
+<!-- TMPL_IF NAME="onlyone" -->
+<!-- If there is only one type -->
+
+</div><p><input type="submit" class="submit" value="Next >>">
+<input type="hidden" name="all" value="1"></p>
+</form>
+
+<!-- TMPL_ELSE -->
+<!-- If there is more than one type -->
+
+ <h4>Choose Either...</h4>
+ <p><input class="checkbox" type="checkbox" name="all" value="next-available">
+ Next Available Copy (any format)</p>
+ <h4>
+ ...Or Choose Acceptable Formats
+ </h4>
+
+<!-- TMPL_LOOP NAME="TYPE_ROWS" -->
+<ul><!-- TMPL_LOOP NAME="ROW" -->
+<li><input type="checkbox" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->" class="checkbox"><!-- TMPL_VAR NAME="description" --></li>
+<!-- /TMPL_LOOP -->
+</ul><!-- /TMPL_LOOP -->
+<!-- <table>
+ <tr>
+ <th>Number of Copies</th><th>Requests already received for this title</th> <th>Items curently on issue, due back</th></tr>
+ <td><!-- TMPL_VAR NAME="itemcount" --></td>
+ <td><!-- TMPL_VAR NAME="reservecount" --></td>
+ <td><!-- TMPL_LOOP NAME="ITEMS" --><!-- TMPL_VAR NAME="date_due" -->, <!-- /TMPL_LOOP --></td>
+</table> -->
+</div>
+<p><input type="submit" class="submit" value="Confirm Reservation >>"></p>
+</form>
+</div>
+<!-- /TMPL_IF -->
+
+
+<!-- end of the first form -->
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="item_types_selected" -->
+<!-- if the bibitems have already been selected -->
+<div id="main">
+<form action="/cgi-bin/koha/opac-reserve.pl" method="post">
+<input type="hidden" name="place_reserve" value="1">
+<input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->"><h3>Confirm Reservation</h3>
+<div class="details">
+ <table>
+ <tr><th>Title: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span></td></tr>
+
+<!-- TMPL_IF NAME="all" -->
+ <tr><th>Item Type: </th><td>Any<input type="hidden" name="all" value="1"></td></tr>
+<!-- TMPL_ELSE -->
+ <tr><th>Item Types: </th><td><!-- TMPL_LOOP NAME="TYPES" -->
+<input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" -->;
+<!-- /TMPL_LOOP --></td></tr>
+
+<!-- /TMPL_IF -->
+ <tr><th>Pick up From: </th><td><!-- TMPL_VAR NAME="branchname" --><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"></td></tr>
+</table>
+</div>
+<p><input type="submit" value="Finish and Place Reservation" class="submit" onclick="this.value='Please wait...'; this.disabled=true; this.form.submit();"></p>
+
+</FORM>
+
+<!-- /TMPL_IF -->
+</div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Advanced Search
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead_adv.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+<!-- CONTENT -->
+<div id="main">
+<h1>Search the Catalog</h1>
+
+<form name="f" method="post" action="/cgi-bin/koha/opac-search.pl">
+<div class="form">
+<table>
+<tr><th><label>Keyword</label></th><td><input type="hidden" name="op" value="do_search" />
+ <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" />
+ <input type="hidden" name="marclist" value="" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" name="value" onchange="sql_update()" /></td></tr>
+<tr><th><label>Title</label></th><td><input type="hidden" name="marclist" value="biblio.title" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" name="value" onchange="sql_update()" /></td></tr>
+<tr><th><label class="label20">Author</label></th><td><input type="hidden" name="marclist" value="biblio.author" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" name="value" onchange="sql_update()" /></td></tr>
+<!-- <tr><th><label class="label20">Barcode</label></th><td>
+ <input type="hidden" name="marclist" value="items.barcode" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" name="value" onchange="sql_update()" /></td></tr>
+<tr><th><label class="label20">Illustrator</label></th><td><input type="hidden" name="marclist" value="biblioitems.illus" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" name="value" onchange="sql_update()" /></td></tr>
+<tr><th><label class="label20">Dewey</label></th><td><input type="hidden" name="marclist" value="biblioitems.dewey" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="contains" />
+ <input type="text" name="value" onchange="sql_update()" /></td></tr> -->
+<tr><th><label class="label20">Format</label></th><td><input type="hidden" name="marclist" value="biblioitems.itemtype" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="=" />
+ <!-- TMPL_VAR name="CGIitemtype" --></td></tr>
+<tr><th><label class="label20">Location</label></th><td><input type="hidden" name="marclist" value="items.holdingbranch" />
+ <input type="hidden" name="and_or" value="and" />
+ <input type="hidden" name="excluding" value="" />
+ <input type="hidden" name="operator" value="=" />
+ <!-- TMPL_VAR name="CGIbranch" --></td></tr>
+</table>
+
+ <p>Results per page :
+ <select name="resultsperpage" size="1">
+ <option value="20">20</option>
+ <option value="50">50</option>
+ <option value="100">100</option>
+ </select>
+ Ordered by
+ <select name="orderby" size="1">
+ <option value="biblio.title">Title</option>
+ <option value="biblio.author">Author</option>
+ <option value="biblioitems.dewey">Dewey</option>
+ <option value="biblioitems.publicationyear">Publication Year</option>
+ <option value="biblioitems.publishercode">Publisher</option>
+ </select>
+ </p>
+ <p>
+ <input type="submit" value="Search" class="submit" />
+ </p>
+ </div>
+</form>
+
+<h3>Search by Subject</h3>
+<form action="http://koha.athenscounty.lib.oh.us/cgi-bin/koha/opac-searchresults.pl" method="post">
+<div class="form">
+<table>
+ <tr><th><label for="subject">Subject</label></th><td><input type="text" id="subject" size="25" name="subject" /></td></tr>
+</table><input type="submit" value="Search" class="submit" />
+</div>
+</form>
+
+<script type="text/javascript">
+function sql_update() {
+document.f.sql.value="";
+ for (i=0 ; i<document.f.marclist.length ; i++) {
+ if (document.f.value[i].value.length>0) {
+ document.f.sql.value = document.f.sql.value+
+ document.f.and_or[i].value + ' (' +
+ document.f.excluding[i].value + ' ' +
+ document.f.marclist[i].value + ' ' +
+ document.f.operator[i].value + ' ' +
+ '\''+document.f.value[i].value + '\') ';
+ }
+ }
+}
+
+function AddStatement() {
+
+ document.forms[0].op.value="AddStatement";
+ document.f.submit();
+}
+
+function PopupSuggestion() {
+ var strQuery="";
+ for (i=0 ; i<document.f.marclist.length ; i++) {
+ if (document.f.value[i].value.length>0) {
+ strQuery += " "+document.f.value[i].value;
+ }
+ }
+ newin=window.open("suggest.pl?Q="+strQuery,"Suggestions",'width=500,height=400,toolbar=false,scrollbars=yes');
+}
+
+</script>
+
+
+</div>
+</body>
+</html>
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- <!-- TMPL_IF NAME="searchdesc" -->Results of Search for '<!-- TMPL_VAR NAME="searchdesc" -->'<!-- TMPL_ELSE -->You did not specify any search criteria<!-- /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="searchdesc" -->
+ <h3>Results for Search: <span class="ex"><!-- TMPL_VAR NAME="searchdesc" --></span></h3>
+<!-- TMPL_ELSE -->
+ <!-- TMPL_IF name="searchnew" -->
+ <h3><span class="ex"><!-- TMPL_VAR name="itemtype" --></span> items acquired in the last <span class="ex"><!-- TMPL_VAR name="duration" --></span> days</h3>
+ <!-- TMPL_ELSE -->
+ <h3>You did not specify any search criteria</h3>
+ <!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
+
+ <div class="pages">
+ <!-- TMPL_IF NAME=displayprev -->
+ <a class="nav" href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE="URL" -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search"><<Previous</a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF NAME="highlight" --><span class="current"><!-- TMPL_VAR NAME="number" --></span><!-- TMPL_ELSE -->
+ <a class="nav" href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search"><!-- TMPL_VAR NAME="number" --></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF NAME=displaynext -->
+ <a class="nav" href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search">Next >></a>
+ <!-- /TMPL_IF --></div>
+ <div id="results"><!-- TMPL_IF name=total -->
+ Results <!-- TMPL_VAR NAME="from" --> through <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --> records.
+ <!-- TMPL_ELSE -->
+ No results found.
+ <!-- /TMPL_IF --></div>
+
+<!-- Search Results Table -->
+<!-- TMPL_IF NAME="total" -->
+<form action="opac-searchresults.pl" method="get" name="myform">
+<input type="submit" class="icon addchecked" value="Add Checked Items to Book Bag" onclick="addMultiple(); return false;"> <input type="reset" value="Clear All" class="icon clearall">
+ <table>
+ <tr>
+ <th colspan="3">Title</th>
+ <th>Author</th>
+ <th>Call Number</th>
+ <th>Copies</th>
+ <th>Available at</th>
+ </tr>
+ <!-- Actual Search Results -->
+ <!-- TMPL_LOOP NAME="results" -->
+ <tr<!-- TMPL_IF name="even" --> class="highlight"<!-- /TMPL_IF -->>
+ <td><input type="checkbox" name="bibid" value="<!-- TMPL_VAR NAME="bibid" -->"></td>
+ <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" /></td>
+ <td>
+<a class="transparent" href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" --></a> <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="notes" --> : <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF --></td>
+ <td><a href="/cgi-bin/koha/opac-search.pl?marclist=biblio.author&and_or=and&excluding=&operator=contains&value=<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->&resultsperpage=20&orderby=biblio.title&op=do_search"><!-- TMPL_VAR NAME="author" --></a></td>
+<td><!-- TMPL_VAR NAME="classification" --></td>
+ <td>
+ <!-- TMPL_VAR name="totitem" -->
+ </td>
+ <td><!-- TMPL_VAR name="locationstring" -->
+ <!-- <!-- TMPL_LOOP name="CN" -->
+ <!-- TMPL_VAR name="holdingbranch" --> <!-- TMPL_IF name="itemcallnumber" -->(<!-- TMPL_VAR name="itemcallnumber" -->)<!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP --> -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+</form>
+
+<div class="pages">
+ <!-- TMPL_IF NAME=displayprev -->
+ <a class="nav" href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE="URL" -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search"><<Previous</a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF NAME="highlight" --><span class="current"><!-- TMPL_VAR NAME="number" --></span><!-- TMPL_ELSE -->
+ <a class="nav" href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search"><!-- TMPL_VAR NAME="number" --></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF NAME=displaynext -->
+ <a class="nav" href="opac-search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&orderby=<!-- TMPL_VAR NAME="orderby" -->&type=intranet&op=do_search">Next >></a>
+ <!-- /TMPL_IF --></div>
+
+<!-- Display for NPL -->
+ <div class="note">
+Not finding what you're looking for?<br /> Make a <a href="http://www.athenscounty.lib.oh.us/ipage.html">
+purchase suggestion</a>
+</div>
+<!-- /Display for NPL -->
+</div>
+
+
+
+<!-- TMPL_ELSE -->
+Sorry, there were no results.
+<!-- Display for NPL --> <div class="note">
+Not finding what you're looking for?<br /> Make a <a href="http://www.athenscounty.lib.oh.us/ipage.html">
+purchase suggestion</a>
+</div><!-- /Display for NPL -->
+<!-- /TMPL_IF -->
+</div>
+</body>
+</html>
--- /dev/null
+§SUBJECT§
+Your Book Bag
+§END_SUBJECT§
+
+§HEADER§
+Hi,
+Here is your book bag:
+---------------------------------------------
+<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --><!-- TMPL_VAR NAME="title" --> (record <!-- TMPL_VAR NAME="biblionumber" -->)<!-- TMPL_IF name="isbn" -->
+ISBN: <!-- TMPL_VAR NAME="ISBN" --><!-- /TMPL_IF --><!-- TMPL_IF name="subtitle" -->
+Subtitle: <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --><!-- TMPL_IF name="author" -->
+Author: <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --><!-- TMPL_IF name="additional" -->
+Additional authors: <!-- TMPL_VAR NAME="additional" --><!-- /TMPL_IF --><!-- TMPL_IF name="publishercode" -->
+Published by: <!-- TMPL_VAR NAME="publishercode" --><!-- /TMPL_IF --><!-- TMPL_IF name="publicationyear" --> in <!-- /TMPL_IF --><!-- TMPL_VAR NAME="publicationyear" --><!-- TMPL_IF name="pages" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --><!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" --><!-- TMPL_IF name="collection" -->
+Collection: <!-- TMPL_VAR NAME="collection" --><!-- /TMPL_IF --><!-- TMPL_IF name="subject" -->
+Subject: <!-- TMPL_VAR NAME="subject" --><!-- /TMPL_IF --><!-- TMPL_IF name="copyrightdate" -->
+Copyright year: <!-- TMPL_VAR NAME="copyrightdate" --><!-- /TMPL_IF --><!-- TMPL_IF name="notes" -->
+Notes : <!-- TMPL_VAR NAME="notes" --><!-- /TMPL_IF --><!-- TMPL_IF name="unititle" -->
+Unified title: <!-- TMPL_VAR NAME="unititle" --><!-- /TMPL_IF --><!-- TMPL_IF name="serial" -->
+Serial: <!-- TMPL_VAR NAME="serial" --><!-- /TMPL_IF --><!-- TMPL_IF name="dewey" -->
+Dewey: <!-- TMPL_VAR name="dewey" --><!-- /TMPL_IF --><!-- TMPL_IF name="classification" -->
+Classification: <!-- TMPL_VAR name="classification" --><!-- /TMPL_IF --><!-- TMPL_IF name="lccn" -->
+LCCN: <!-- TMPL_VAR name="lccn" --><!-- /TMPL_IF --><!-- TMPL_IF name="url" -->
+URL : <!-- TMPL_VAR NAME="url" --><!-- /TMPL_IF -->
+---------------------------------------------
+<!-- /TMPL_LOOP -->
+§END_HEADER§
\ No newline at end of file
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Sending Your Book Bag
+<!-- TMPL_INCLUDE NAME="doc-head-close-basket.inc" -->
+
+<div id="window">
+<h3>Sending your book bag</h3>
+<div class="details">
+<!-- TMPL_IF NAME="email_add" -->
+ <!-- TMPL_IF NAME="SENT" -->
+ <p>The book bag was sent to: <span class="ex"><!-- TMPL_VAR NAME="email_add" --></span></p>
+ <!-- TMPL_ELSE -->
+ <p>Problem sending the book bag...</p>
+ <!-- /TMPL_IF -->
+<!-- TMPL_ELSE -->
+<form action="<!-- TMPL_VAR NAME="url" -->" method="post">
+ <div class="details">
+<p> <label for="email_add">E-mail Address:</label> <input type="text" id="email_add" name="email_add" size="35" /></p>
+
+<p><input type="submit" value="Send" class="send" />
+ <input type="hidden" name="bib_list" value="<!-- TMPL_VAR NAME="bib_list" -->" /></p>
+</form>
+<!-- /TMPL_IF -->
+
+</div><p><form action="opac-sendbasket.pl" method="get" /><input type="submit" class="close" value="Close Window" onclick="window.close(); return false;" /></form></p>
+</div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- <!-- TMPL_IF Name="viewshelf" -->Contents of <!-- TMPL_VAR Name="shelfname" --><!-- TMPL_ELSE -->List of Virtual Shelves<!-- /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="viewshelf" -->
+<form>
+ <table>
+ <tr>
+ <th colspan="4">
+ Contents of <!-- TMPL_VAR Name="shelfname" -->
+ </th>
+ </tr>
+ <!-- TMPL_LOOP Name="itemsloop" -->
+ <tr>
+ <!-- TMPL_IF name="color" -->
+ <td class="hilighted"><input type="checkbox" name="REM-<!-- TMPL_VAR Name="itemnumber" -->"></td>
+ <td class="hilighted"><a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR Name="barcode" --></a></td>
+ <td class="hilighted"><!-- TMPL_VAR Name="title" --></td>
+ <td class="hilighted"><!-- TMPL_VAR Name="author" --></td>
+ <!-- TMPL_ELSE -->
+ <td><input type="checkbox" name="REM-<!-- TMPL_VAR Name="itemnumber" -->"></td>
+ <td class="hilighted"><a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR Name="barcode" --></a></td>
+ <td><!-- TMPL_VAR Name="title" --></td>
+ <td><!-- TMPL_VAR Name="author" --></td>
+ <!-- /TMPL_IF -->
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <br>
+ <a href="opac-shelves.pl" class="submit">Shelf list</a>
+ <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->">
+ <input type="hidden" name="modifyshelfcontents" value="1">
+ <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->">
+ <!-- TMPL_IF name="manageshelf" -->
+ <input type="submit" value="Remove Selected Items" class="submit">
+ <!-- /TMPL_IF -->
+</form>
+<!-- TMPL_IF name="manageshelf" -->
+<form>
+ <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->">
+ <input type="hidden" name="modifyshelfcontents" value="1">
+ <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->">
+ <table>
+ <tr>
+ <td>
+ Add a book by barcode in <!-- TMPL_VAR name="shelfname" -->:
+ </td>
+ <td>
+ <input name="addbarcode">
+ <input type="hidden" name="modifyshelfcontents" value="1">
+ <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->">
+ <input type="submit" value="Save" class="submit">
+ </td>
+ </tr>
+ </table>
+</form>
+<!-- /TMPL_IF -->
+<!-- TMPL_ELSE -->
+ <!-- TMPL_IF Name="shelves" -->
+ <!-- TMPL_IF Name="status1" -->
+ <font color="red"><!-- TMPL_VAR Name="string1" --></font><p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP Name="paramsloop" -->
+ <!-- TMPL_IF Name="status" -->
+ <font color="red"><!-- TMPL_VAR Name="string" --></font><p>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+
+ <h1>Bookshelves</h1>
+ <table border="0" cellpadding="7">
+ <tr>
+ <td align="center" valign="bottom">
+ <form>
+ <p>
+ <a href="opac-shelves.pl" class="submit">Shelf list</a>
+ </p>
+ </form>
+ </td>
+ <td align="center" valign="bottom">
+ <form method="post">
+ <input type="hidden" name="shelves" value=1>
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <th>Select Shelves to Delete
+ </th>
+ </tr>
+ <!-- TMPL_LOOP Name="shelvesloop" -->
+ <!-- TMPL_IF name="canmanage" -->
+ <tr>
+ <td bgcolor="<!-- TMPL_VAR Name="color" -->">
+ <input type="checkbox" name="DEL-<!-- TMPL_VAR Name="shelf" -->">
+ <!-- TMPL_VAR Name="shelfname" --> (<!-- TMPL_VAR Name="shelfbookcount" --> books)
+ </td>
+ </tr>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ </table>
+ <p>
+ <input type="submit" value="Delete Shelves" class="submit"></form>
+ </p>
+ </td>
+ <td align="center" valign="bottom">
+ <form method="post">
+ <input type="hidden" name="shelves" value="1">
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <th>
+ <font color="white">Add Shelf</font>
+ </th>
+ </tr>
+ <tr>
+ <td>
+ <p>Name : <input type="text" name="addshelf" size="25"></p>
+ <p>Owner : <input type="hidden" name="owner" value="<!-- TMPL_VAR name="loggedinuser" -->"><!-- TMPL_VAR name="loggedinusername" --></p>
+ <p>Category : <select name="category">
+ <option value="1">Private</option>
+ <option value="2">Public</option>
+ <option value="3">Free</option>
+ </select>
+ </p>
+ <p> <li>a private bookshelf is managed by you & can be seen only by you.</li>
+ <li> A public can be seen by everybody, but managed only by you.</li>
+ <li> A free can be managed by any user.</li>
+ </p>
+ </td>
+ </tr>
+ </table>
+ <p><input type="submit" value="Add New Shelf" class="submit"></p>
+ </form>
+ </td>
+ </tr>
+ </table>
+
+ <!-- TMPL_ELSE -->
+
+ <table>
+ <tr>
+ <th>
+ Shelf List
+ </th>
+ </tr>
+ <!-- TMPL_LOOP Name="shelvesloop" -->
+ <tr>
+ <!-- TMPL_IF name="color" -->
+ <td class="hilighted">
+ <!-- TMPL_ELSE -->
+ <td>
+ <!-- /TMPL_IF -->
+ <a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->">
+ <!-- TMPL_VAR Name="shelfname" -->(<!-- TMPL_VAR Name="shelfbookcount" --> books)
+ </a>
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <P>
+ <a href="opac-shelves.pl?shelves=1" class="submit">Add or Remove Book Shelves</a>
+ </p>
+ <!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
+</div>
+</body>
+</html>
+
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog --
+<!-- TMPL_IF name="op_add" -->Enter a new suggestion<!-- /TMPL_IF -->
+<!-- TMPL_IF name="op_else" -->Suggestions<!-- /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>Enter a new suggestion</h1>
+ <div class="details">
+ <p>Fill this form to suggest the library a new acquisition. You will be emailed when the library processes your suggestion</p>
+ <p>No fields are mandatory. Enter whatever information you have. The "Notes" field can be used to provide any additional information.</p>
+ <form>
+ <table>
+ <tr><th><label>Title</label></th><td><input type="text" name="title" size="50" maxlentgh="80"></td></tr>
+ <tr><th><label>Author</label></th><td><input type="text" name="author" size="50" maxlength="80"></td></tr>
+ <tr><th><label>Copyright date</label></th><td><input type="text" name="copyrightdate" size="4" maxlength="4"></td></tr>
+ <tr><th><label>Publisher</label></th><td><input type="text" name="publishercode" size="50" maxlength="80"></td></tr>
+ <tr><th><label>Notes</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="Submit Your Suggestion" class="submit"></p>
+ </form>
+ </div>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF name="op_else" -->
+ <h1>Suggestions</h1>
+ <table>
+ <tr>
+ <th> </th>
+ <th>Title</th>
+ <th>Author</th>
+ <th>©</th>
+ <th>Publisher</th>
+ <th>Status</th>
+ <th>Suggested by</th>
+ <th>Managed by</th>
+ <th>Note</th>
+ </tr>
+ <tr>
+ <form>
+ <th>
+ Filter on
+ </th>
+ <th>
+ <input type="text" name="title" value="<!-- TMPL_VAR name="title"-->">
+ </th>
+ <th>
+ <input type="text" name="author" value="<!-- TMPL_VAR name="author" -->">
+ </th>
+ <th>
+
+ </th>
+ <th>
+ <input type="text" name="publishercode" value="<!-- TMPL_VAR name="publishercode"-->">
+ </th>
+ <th>
+ <select name="status">
+ <option value="">Any</option>
+ <option value="ASKED" <!-- TMPL_IF name="ASKED" -->selected<!-- /TMPL_IF -->>Asked</option>
+ <option value="ORDERED" <!-- TMPL_IF name="ORDERED" -->selected<!-- /TMPL_IF -->>Ordered</option>
+ <option value="REJECTED"<!-- TMPL_IF name="REJECTED" -->selected<!-- /TMPL_IF -->>Rejected</option>
+ <option value="AVAILABLE"<!-- TMPL_IF name="AVAILABLE" -->selected<!-- /TMPL_IF -->>Available</option>
+ </select>
+ </th>
+ <th>
+ <select name="suggestedbyme">
+ <option value="1" <!-- TMPL_IF name="suggestedbyme" -->selected<!-- /TMPL_IF -->>Me</option>
+ <option value="0" <!-- TMPL_UNLESS name="suggestedbyme" -->selected<!-- /TMPL_UNLESS -->>Anybody</option>
+ </select>
+ </th>
+ <th>
+
+ </th>
+ <th>
+ <input type="submit" class="submit" value="Set Filter">
+ </th>
+ </form>
+ </tr>
+ <form>
+ <input type="hidden" name="op" value="delete_confirm">
+ <!-- TMPL_LOOP NAME="suggestions_loop" -->
+ <tr>
+ <td>
+ <input type="checkbox" name="delete_field" value="<!--TMPL_VAR name="suggestionnumber" -->">
+ </td>
+ <td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR NAME="title" -->
+ </td>
+ <td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR NAME="author" -->
+ </td>
+ <td align="center"<!-- TMPL_IF name="even" --> class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR NAME="copyrightdate" -->
+ </td>
+ <td align="center" <!-- TMPL_IF name="even" --> class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR name="publishercode" -->
+ </td>
+ <td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_IF name="ASKED" -->Asked<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="ORDERED" -->Ordered by the library<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="REJECTED" -->Suggestion rejected : won't be buy<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="AVAILABLE" -->Available in the library<!-- /TMPL_IF -->
+ </td>
+ <td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamesuggestedby" -->
+ </td>
+ <td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR name="usermanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" -->
+ </td>
+ <td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR name="note" -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <tr>
+ <td>
+ <input type="submit" class="submit" value="Delete">
+ </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+ </form>
+ </table>
+ <form>
+ <input type="hidden" name="op" value="add">
+ <input type="submit" class="submit" value="Enter a new suggestion">
+ <br />
+ <p>Note : if you're viewing suggestions submitted by anybody, the results will contain only <em>new</em> suggestions. Suggestions being processed by a librarian will not be shown.</p>
+<!-- /TMPL_IF -->
+</div>
+</body>
+</html>
--- /dev/null
+<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Library Home for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
+<!-- TMPL_INCLUDE name="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead-user.inc" -->
+<!-- TMPL_INCLUDE name="navigation.inc" -->
+
+<!-- CONTENT -->
+<div id="main">
+<!-- TMPL_LOOP NAME="BORROWER_INFO" -->
+<h2>Welcome <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></h2>
+
+<!-- FINES BOX -->
+<!-- TMPL_IF NAME="amountoverfive" -->
+<div class="table"><table>
+<caption>Fines and Charges</caption>
+<tr><th colspan="2">Amount</th></tr>
+<tr><td>You currently owe fines and charges amounting to:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
+</table></div>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="amountoverzero" -->
+<div class="table"><table>
+<caption>Fines and Charges</caption>
+<tr><th colspan="2">Amount</th></tr>
+<tr><td>You currently owe fines and charges amounting to:</td>
+ <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
+</table></div>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME"amountlessthanzero" -->
+<div class="table"><table>
+<caption>Credits</caption>
+<tr><th colspan="2">Amount</th></tr>
+<tr><td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
+</table></div>
+<!-- /TMPL_IF -->
+
+<!-- /TMPL_LOOP -->
+
+<!-- TMPL_IF NAME="waiting_count" -->
+ <table>
+ <caption>Reserved Items Waiting</caption>
+ <tr>
+ <th>Title</th>
+ <th>Author</th>
+ <th>Reserve date</th>
+ <th>Pick Up Branch</th>
+ </tr>
+ <!-- TMPL_LOOP NAME="WAITING" -->
+ <tr>
+ <td>
+ <b><a href="opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a></b></td><td><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td><td><!-- TMPL_VAR NAME="reservedate" --></td><td><b><!-- TMPL_VAR NAME="branch" --> <!-- TMPL_VAR NAME="holdingbranch" --></b>
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="overdues_count" -->
+
+<div class="table"><table>
+<caption>Overdues <span class="count">(<!-- TMPL_VAR NAME="overdues_count" --> total)</span></caption>
+<!-- OVERDUES TABLE ROWS -->
+<tr>
+<th colspan="2">Title</th>
+<th>Due</th>
+<!-- <th>Fine to Date</th> -->
+<!-- <th>Status</th> --></tr>
+
+<!-- TMPL_LOOP NAME="OVERDUES" -->
+<tr>
+<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="" /></td>
+<td> <a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span class="item-details">
+<!-- TMPL_VAR NAME="author" --> (<!-- TMPL_VAR NAME="itemtype" -->)</span></td>
+<td><!-- TMPL_VAR NAME="date_due" --></td>
+<!-- <td><!-- TMPL_VAR NAME="charges" --></td> -->
+</tr>
+<!-- /TMPL_LOOP -->
+</table></div>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="issues_count" -->
+<div class="table"><table>
+<caption>Issues <span class="count">(<!-- TMPL_VAR NAME="issues_count" --> total)</span></caption>
+<!-- ISSUES TABLE ROWS --><tr>
+<th colspan="2">Title</th>
+<th>Due</th>
+<!-- <th>Fines</th> -->
+<th>Status</th>
+</tr>
+
+<!-- TMPL_LOOP NAME="ISSUES" -->
+
+<tr>
+<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="" /></td>
+<td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span class="item-details">
+<!-- TMPL_VAR NAME="author" --> (<!-- TMPL_VAR NAME="itemtype" -->)</span></td>
+<td><!-- TMPL_VAR NAME="date_due" --></td>
+<!-- <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td> -->
+<td>
+<!-- TMPL_IF NAME="status" -->
+<a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<!-- TMPL_VAR NAME="itemnumber" -->&bornum=<!-- TMPL_VAR NAME="borrowernumber" -->" class="padded">Renew</a>
+<!-- TMPL_ELSE -->
+Not renewable
+<!-- /TMPL_IF -->
+</td>
+</tr>
+<!-- /TMPL_LOOP -->
+</table></div>
+
+ <!-- TMPL_ELSE -->
+ <table>
+ <caption>Issues</caption>
+ <tr><td>You have nothing checked out</td></tr>
+ </table>
+ <!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="reserves_count" -->
+
+<div class="table"><table>
+<caption>Reserves <span class="count">(<!-- TMPL_VAR NAME="reserves_count" --> total)</span></caption>
+<!-- RESERVES TABLE ROWS -->
+<tr>
+<th>Title</th>
+<th>Placed On</th>
+<th>Pick Up Location</th>
+<!-- <th>Status</th> -->
+</tr>
+<!-- TMPL_LOOP NAME="RESERVES" -->
+<tr>
+<td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a><span class="item-details">
+<!-- TMPL_VAR NAME="author" --> <!-- TMPL_IF NAME="itemtype" -->(<!-- TMPL_VAR NAME="itemtype" -->)<!-- /TMPL_IF --></span></td>
+<td><!-- TMPL_VAR NAME="reservedate" --></td>
+<td><!-- TMPL_VAR NAME="branch" --></td>
+<!-- --></tr>
+<!-- /TMPL_LOOP -->
+</table></div>
+
+<p>If you no longer want a reserve, please <a href="mailto:nelpl@athenscounty.lib.oh.us">send us an e-mail</a>, or go to the circulation desk at your library to get it removed.</p>
+
+<!-- /TMPL_IF -->
+
+</div>
+</body>
+</html>
+
+
--- /dev/null
+<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Personal Details for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->
+<!-- TMPL_INCLUDE name="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead-user.inc" -->
+<!-- TMPL_INCLUDE name="navigation.inc" -->
+
+
+<!--CONTENT-->
+<div id="main">
+<h2>Personal Details: <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></h2>
+
+<div class="form">
+<table>
+<tr><th>Name:</th><td> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></td></tr>
+<tr><th>
+Card Number:</th><td><!-- TMPL_VAR NAME="cardnumber" --></td></tr>
+</table>
+</div>
+
+<h3>Contact Details</h3>
+<div class="form">
+<table>
+<tr><th>Mailing Address:</th><td><!-- TMPL_VAR NAME="streetaddress" -->, <!-- TMPL_VAR NAME="city" --></td></tr>
+
+<tr><th>Permanent Address:</th><td> <!-- TMPL_VAR NAME="altstreetaddress" -->, <!-- TMPL_VAR NAME="altcity" --></td></tr>
+
+<tr><th>Phone (Home):</th><td><!-- TMPL_IF NAME="phone" --><!-- TMPL_VAR NAME="phone" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr>
+
+<tr><th>Phone (Daytime):</th><td><!-- TMPL_IF NAME="phoneday" --><!-- TMPL_VAR NAME="phoneday" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr>
+
+<tr><th>Fax:</th><td><!-- TMPL_IF NAME="faxnumber" --><!-- TMPL_VAR NAME="faxnumber" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr>
+
+<tr><th>E-mail:</th><td><!-- TMPL_IF NAME="emailaddress" --><a href="mailto:<!-- TMPL_VAR NAME="emailaddress" -->"><!-- TMPL_VAR NAME="emailaddress" --></a><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr>
+
+<tr><th>Textmessaging:</th><td><!-- TMPL_IF NAME="textmessaging" --><!-- TMPL_VAR NAME="textmessaging" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr>
+</table>
+</div>
+
+<h3>Membership Details</h3>
+<div class="form">
+<table><tr><th>Membership Number:</th><td> <!-- TMPL_VAR NAME="borrowernumber" --></td></tr>
+
+<tr><th>Membership Category:</th><td> <!-- TMPL_VAR NAME="categorycode" --></td></tr>
+
+<!-- <td>Area:</th><td> <!-- TMPL_VAR NAME="area" --></td> -->
+
+<!-- <td>Fee:</th><td> /year, Paid</td> -->
+
+<tr><th>Joined:</th><td><!-- TMPL_VAR NAME="dateenrolled" --></td></tr>
+
+<tr><th>Expires:</th><td><!-- TMPL_VAR NAME="expiry" --></td></tr>
+
+<tr><th>Joining Branch:</th><td> </td></tr></table>
+</div>
+
+
+<h3>Identity Details</h3>
+<div class="form">
+<table><tr><th>DoB:</th><td> <!-- TMPL_IF NAME="dateofbirth" --><!-- TMPL_VAR NAME="dateofbirth" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr>
+
+<tr><th>Sex:</th><td><!-- TMPL_IF NAME="sex" --><!-- TMPL_VAR NAME="sex" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr></table>
+</div>
+
+
+<h3>Alternate Contact Details</h3>
+<div class="form">
+
+<table><tr><th>Alternate Contact:</th><td> <!-- TMPL_IF NAME="contactname" --><!-- TMPL_VAR NAME="contactname" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr>
+
+<tr><th>Phone:</th><td> <!-- TMPL_IF NAME="altphone" --><!-- TMPL_VAR NAME="altphone" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr>
+
+<tr><th>Relationship:</th><td> <!-- TMPL_IF NAME="altrelationship" --><!-- TMPL_VAR NAME="altrelationship" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --> </td></tr>
+
+<tr><th>Notes:</th><td> <!-- TMPL_IF NAME="altnotes" --><!-- TMPL_VAR NAME="altnotes" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --> </td></tr>
+
+<tr><th>Guarantor:</th><td> <!-- TMPL_IF NAME="guarantor" --><!-- TMPL_VAR NAME="guarantor" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --> </td></tr></table>
+
+</div>
+
+<form action="/cgi-bin/koha/opac-userupdate.pl" method="post">
+<input type="submit" name="Modify" value="Modify Your Record" class="submit" />
+</form>
+
+</div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Updating Details for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
+<!-- TMPL_INCLUDE name="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE name="masthead-user.inc" -->
+<!-- TMPL_INCLUDE name="navigation.inc" -->
+
+<!--CONTENT-->
+
+<div id="main">
+<!-- TMPL_LOOP name="BORROWER_INFO" -->
+<h3>Updating Details for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --></h3>
+<p>Please make any necessary changes to your record. Submitting the form will notify a library staff member, who will make the changes permanent.</p>
+<form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
+<input type="hidden" name="title" value="">
+<div class="form">
+<table>
+<tr><th><label for="surname">Last Name</label></th><td><input id="surname" type="text" size="25" value="<!-- TMPL_VAR name="surname" -->" name="surname"></td></tr>
+
+<tr><th><label for="firstname">First Name</label></th><td><input id="firstname" type="text" size="25" value="<!-- TMPL_VAR name="firstname" -->" name="firstname"></td></tr>
+
+<tr><th><label for="streetaddress">Mailing Address</label></th><td><input id="streetaddress" type="text" size="25" value="<!-- TMPL_VAR name="streetaddress" -->" name="streetaddress"></td></tr>
+
+<tr><th><label for="city">City, State</label></th><td><input id="city" type="text" size="25" value="<!-- TMPL_VAR name="city" -->" name="city"></td></tr>
+
+<tr><th><label for="phone">Home Phone</label></th><td><input id="phone" type="text" size="25" value="<!-- TMPL_VAR name="phone" -->" name="phone"></td></tr>
+
+<tr><th><label for="faxnumber">Work/Fax phone</label></th><td><input id="faxnumber" type="text" size="25" value="<!-- TMPL_VAR name="faxnumber" -->" name="faxnumber"></td></tr>
+
+<tr><th><label for="emailaddress">Email</label></th><td><input id="emailaddress" type="text" size="40" value="<!-- TMPL_VAR name="emailaddress" -->" name="emailaddress"></td></tr>
+</table>
+</div>
+<p>Clicking 'Submit Changes' will send an email to a library staff member with the information you've entered. You will then be returned to your patron record.</p>
+<p><input type="submit" value="Submit Changes" class="submit"></p>
+</form>
+
+
+<!-- /TMPL_LOOP -->
+</div>
+</body>
+</html>