2 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Most popular titles
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'datatables.inc' %]
5 <script type="text/javascript">
8 $("#topissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
10 [% IF ( opacuserlogin ) %]{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }[% END %]
12 "aaSorting": [ [2, "desc"], [0, "asc"] ],
14 { "sType": "anti-the" },
17 [% IF ( opacuserlogin ) %]null,[% END %]
21 function Dopop(link) {
22 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
26 <style type="text/css">
27 #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;};
30 <body id="opac-topissues">
32 [% IF ( results_loop ) %]
33 <div id="doc3" class="yui-t1">
36 <div id="doc3" class="yui-t1">
38 <div id="doc3" class="yui-t7">
45 [% INCLUDE 'masthead.inc' %]
48 <div class="yui-b"><div class="yui-g">
49 <div id="topissues" class="container">
50 [% IF ( results_loop ) %]
52 <table id="topissuest">
53 <caption>The [% limit %] most checked-out
61 [% IF ( timeLimitFinite ) %]
62 in the past [% timeLimitFinite %] months
63 [% ELSE %] of all time[% END %]
67 <th>[% IF ( ccodesearch ) %]Collection[% ELSE %]Item type[% END %]</th>
69 [% IF ( opacuserlogin ) %]<th> </th>[% END %]
72 <tbody>[% FOREACH results_loo IN results_loop %]
74 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% results_loo.biblionumber %]">[% results_loo.title |html %]</a><p>[% results_loo.author %]
75 [% IF ( results_loo.publicationyear ) %] - [% results_loo.publicationyear %][% END %]
76 [% IF ( results_loo.publishercode ) %]- [% results_loo.publishercode %][% END %] [% IF ( results_loo.seriestitle ) %]([% results_loo.seriestitle %])[% END %]
77 [% IF ( results_loo.place ) %] ; [% results_loo.place %][% END %]
78 [% IF ( results_loo.pages ) %] - [% results_loo.pages %][% END %]
79 [% IF ( results_loo.size ) %] ; [% results_loo.size %][% END %]</p>
81 <td>[% results_loo.description %]</td>
82 <td>[% results_loo.tot %]</td>
83 [% IF ( opacuserlogin ) %]<td>[% IF ( RequestOnOpac ) %][% UNLESS ( results_loo.norequests ) %]<a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% results_loo.biblionumber %]">Place hold</a>[% END %][% END %]</td>[% END %]
88 <form method="post" action="/cgi-bin/koha/opac-topissues.pl">
89 <fieldset class="rows">
90 <legend>See the most popular titles</legend>
91 <ol> <li><label for="limit">Show the top </label> <select name="limit" id="limit">
92 [% IF ( limit == 10 ) %]<option value ="10" selected="selected">10 titles</option>[% ELSE %]<option value="10">10 titles</option>[% END %]
93 [% IF ( limit == 15 ) %]<option value ="15" selected="selected">15 titles</option>[% ELSE %]<option value="15">15 titles</option>[% END %]
94 [% IF ( limit == 20 ) %]<option value ="20" selected="selected">20 titles</option>[% ELSE %]<option value="20">20 titles</option>[% END %]
95 [% IF ( limit == 30 ) %]<option value ="30" selected="selected">30 titles</option>[% ELSE %]<option value="30">30 titles</option>[% END %]
96 [% IF ( limit == 40 ) %]<option value ="40" selected="selected">40 titles</option>[% ELSE %]<option value="40">40 titles</option>[% END %]
97 [% IF ( limit == 50 ) %]<option value ="50" selected="selected">50 titles</option>[% ELSE %]<option value="50">50 titles</option>[% END %]
98 [% IF ( limit == 100 ) %]<option value ="100" selected="selected">100 titles</option>[% ELSE %]<option value="100">100 titles</option>[% END %]
102 <label for="branch">From: </label>
103 <select name="branch" id="branch">
104 <option value="">All libraries</option>
105 [% FOREACH branchloo IN branchloop %]
106 [% IF ( branchloo.selected ) %]
107 <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
109 <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
114 <li><label for="itemtype">Limit to: </label>
115 <select name="itemtype" id="itemtype">
116 [% IF ( ccodesearch ) %]<option value="">All collections</option>[% ELSE %]<option value="">All item types</option>[% END %]
117 [% FOREACH itemtypeloo IN itemtypeloop %]
118 [% IF ( itemtypeloo.selected ) %]<option value="[% itemtypeloo.value %]" selected="selected">[% ELSE %]<option value="[% itemtypeloo.value %]">[% END %]
119 [% itemtypeloo.description %]
124 <label for="timeLimit">of the last:</label> <select name="timeLimit" id="timeLimit">
125 [% IF ( timeLimit == 3 ) %]<option value="3" selected="selected">3 months</option>[% ELSE %]<option value="3">3 months</option>[% END %]
126 [% IF ( timeLimit == 6 ) %]<option value="6" selected="selected">6 months</option>[% ELSE %]<option value="6">6 months</option>[% END %]
127 [% IF ( timeLimit == 12 ) %]<option value="12" selected="selected">12 months</option>[% ELSE %]<option value="12">12 months</option>[% END %]
128 [% IF ( timeLimit == 999 ) %]<option value="999" selected="selected">No limit</option>[% ELSE %]<option value="999">No limit</option>[% END %]
131 <input type="hidden" name="do_it" value="1" />
133 <fieldset class="action">
134 <input type="submit" value="Submit" /></fieldset>
141 [% IF ( results_loop ) %]
142 <div class="yui-b"><div id="usertopissues" class="container">
143 [% INCLUDE 'opac-topissues.inc' %]
144 [% IF ( OpacNav ) %][% INCLUDE 'navigation.inc' %][% END %]
148 <div class="yui-b"><div id="leftmenus" class="container">
149 [% INCLUDE 'navigation.inc' %]
155 [% INCLUDE 'opac-bottom.inc' %]