1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › Most Popular Titles
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
4 <script language="JavaScript" type="text/javascript">
6 $.tablesorter.addParser({
8 is: function(s) {return false; },
9 format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
13 $("#topissuest").tablesorter({
16 headers: { 0:{sorter:'articles'}<!-- TMPL_IF NAME="opacuserlogin" -->,3:{sorter:false}<!-- /TMPL_IF -->
20 function Dopop(link) {
21 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
25 <style type="text/css">
26 #search-facets fieldset { border: 0; margin: 0;padding:0;}#search-facets ol{padding:.3em;}#search-facets li {list-style-type:none;padding:4px 4px;}#search-facets label{font-weight:bold;display:block;margin:.2em 0;}#search-facets fieldset.action {padding-left:4px;margin:.3em;};
29 <body id="opac-topissues">
30 <!-- TMPL_IF EXPR="OpacNav||results_loop" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
32 <!-- TMPL_INCLUDE name="masthead.inc" -->
35 <div class="yui-b"><div class="yui-g">
36 <div id="topissues" class="container">
37 <!-- TMPL_IF NAME="results_loop" -->
39 <table id="topissuest">
40 <caption>The <!-- TMPL_VAR NAME="limit"--> most checked-out
41 <!-- TMPL_IF name="itemtype" -->
42 <!-- TMPL_VAR name="itemtype" -->
43 <!-- TMPL_ELSE --> titles<!-- /TMPL_IF -->
44 <!-- TMPL_IF name="branch" -->
46 <!-- TMPL_VAR name="branch" -->
48 <!-- TMPL_IF name="timeLimitFinite" -->
49 in the past <!-- TMPL_VAR name="timeLimitFinite" --> months
50 <!-- TMPL_ELSE --> of all time<!-- /TMPL_IF -->
56 <!-- TMPL_IF NAME="opacuserlogin" --><th> </th><!-- /TMPL_IF -->
59 <tbody><!-- TMPL_LOOP NAME="results_loop" -->
61 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR name="title" escape="html" --></a><p><!-- TMPL_VAR NAME="author" -->
62 <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
63 <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF --> <!-- TMPL_IF name="seriestitle" -->(<!-- TMPL_VAR name="seriestitle" -->)<!-- /TMPL_IF -->
64 <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
65 <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
66 <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF --></p>
68 <td><!-- TMPL_VAR name="description" --></td>
69 <td><!-- TMPL_VAR name="tot" --></td>
70 <!-- TMPL_IF NAME="opacuserlogin" --><td><!-- TMPL_IF name="RequestOnOpac" --><!-- TMPL_UNLESS NAME="norequests" --><a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a><!-- /TMPL_UNLESS --><!-- /TMPL_IF --></td><!-- /TMPL_IF -->
72 <!-- /TMPL_LOOP--></tbody>
75 <form method="post" action="/cgi-bin/koha/opac-topissues.pl">
76 <fieldset class="rows">
77 <legend>See the Most Popular Titles</legend>
78 <ol> <li><label for="limit">Show the top </label> <select name="limit" id="limit">
79 <!-- TMPL_IF EXPR="limit == 10" --><option value ="10" selected="selected">10 titles</option><!-- TMPL_ELSE --><option value="10">10 titles</option><!-- /TMPL_IF -->
80 <!-- TMPL_IF EXPR="limit == 15" --><option value ="15" selected="selected">15 titles</option><!-- TMPL_ELSE --><option value="15">15 titles</option><!-- /TMPL_IF -->
81 <!-- TMPL_IF EXPR="limit == 20" --><option value ="20" selected="selected">20 titles</option><!-- TMPL_ELSE --><option value="20">20 titles</option><!-- /TMPL_IF -->
82 <!-- TMPL_IF EXPR="limit == 30" --><option value ="30" selected="selected">30 titles</option><!-- TMPL_ELSE --><option value="30">30 titles</option><!-- /TMPL_IF -->
83 <!-- TMPL_IF EXPR="limit == 40" --><option value ="40" selected="selected">40 titles</option><!-- TMPL_ELSE --><option value="40">40 titles</option><!-- /TMPL_IF -->
84 <!-- TMPL_IF EXPR="limit == 50" --><option value ="50" selected="selected">50 titles</option><!-- TMPL_ELSE --><option value="50">50 titles</option><!-- /TMPL_IF -->
85 <!-- TMPL_IF EXPR="limit == 100" --><option value ="100" selected="selected">100 titles</option><!-- TMPL_ELSE --><option value="100">100 titles</option><!-- /TMPL_IF -->
89 <label for="branch">From: </label>
90 <select name="branch" id="branch">
91 <option value="">All branches</option>
92 <!-- TMPL_LOOP name="branchloop" -->
93 <!-- TMPL_IF name="selected" -->
94 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option>
96 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option>
101 <li><label for="itemtype">Limit to: </label>
102 <select name="itemtype" id="itemtype">
103 <option value="">All item types</option>
104 <!-- TMPL_LOOP name="itemtypeloop" -->
105 <!-- TMPL_IF name="selected" -->
106 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="description" --></option>
108 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="description" --></option>
113 <label for="timeLimit">Acquired in the last:</label> <select name="timeLimit" id="timeLimit">
114 <!-- TMPL_IF EXPR="timeLimit == 3" --><option value="3" selected="selected">3 months</option><!-- TMPL_ELSE --><option value="3">3 months</option><!-- /TMPL_IF -->
115 <!-- TMPL_IF EXPR="timeLimit == 6" --><option value="6" selected="selected">6 months</option><!-- TMPL_ELSE --><option value="6">6 months</option><!-- /TMPL_IF -->
116 <!-- TMPL_IF EXPR="timeLimit == 12" --><option value="12" selected="selected">12 months</option><!-- TMPL_ELSE --><option value="12">12 months</option><!-- /TMPL_IF -->
117 <!-- TMPL_IF EXPR="timeLimit == 999" --><option value="999" selected="selected">No limit</option><!-- TMPL_ELSE --><option value="999">No limit</option><!-- /TMPL_IF -->
120 <input type="hidden" name="do_it" value="1" />
122 <fieldset class="action">
123 <input type="submit" value="Submit" /></fieldset>
129 </div><!-- TMPL_IF EXPR="OpacNav||results_loop" -->
130 <div class="yui-b"><div class="container">
131 <!-- TMPL_IF NAME="results_loop" --><!-- TMPL_INCLUDE NAME="opac-topissues.inc" --><!-- /TMPL_IF -->
132 <!--TMPL_INCLUDE NAME="navigation.inc" -->
136 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->