2 [% USE AuthorisedValues %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Most popular titles</title>
6 [% INCLUDE 'doc-head-close.inc' %]
8 <style type="text/css">
9 #search-facets fieldset { border: 0; margin: 0;padding:.3em;}#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;};
13 [% INCLUDE 'bodytag.inc' bodyid='opac-topissues' bodyclass='scrollto' %]
14 [% INCLUDE 'masthead.inc' %]
17 <ul class="breadcrumb">
18 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
19 <li><a href="#">Most popular titles</a></li>
22 <div class="container-fluid">
23 <div class="row-fluid">
25 <div id="usertopissues">
26 [% INCLUDE 'opac-topissues.inc' %]
27 [% IF ( OpacNav || OpacNavBottom ) %]
28 [% INCLUDE 'navigation.inc' %]
33 <div id="topissues" class="maincontent">
36 <table id="topissuest" class="table table-bordered table-striped">
38 The [% limit %] most checked-out
39 [% IF selected_itemtype %]
40 [% ItemTypes.GetDescription(selected_itemtype) %]
46 [% IF ( timeLimit != 999 ) %]
47 in the past [% timeLimit |html %] months
48 [% ELSE %] of all time[% END %]
53 <th>[% IF ( ccodesearch ) %]Collection[% ELSE %]Item type[% END %]</th>
55 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<th> </th>[% END %]
59 [% FOREACH result IN results %]
61 <td><a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% result.biblionumber %]">[% result.title |html %]</a><p>[% result.author %]
62 [% IF ( result.publishercode ) %]- [% result.publishercode %][% END %]
63 [% IF ( result.place ) %][% result.place %][% END %]
64 [% IF ( result.publicationyear ) %]
65 [% result.publicationyear %]
66 [% ELSIF ( result.copyrightdate ) %]
67 [% result.copyrightdate %]
69 [% IF ( result.pages ) %] - [% result.pages %][% END %]
70 [% IF ( result.item('size') ) %][% result.item('size') %][% END %]</p>
73 [% IF Koha.Preference('AdvancedSearchTypes') == 'ccode' %]
74 <span class="tdlabel">Collection</span>
75 [% AuthorisedValues.GetByCode('ccode', result.ccode, 1) %]
77 <span class="tdlabel">Item type</span>
78 [% ItemTypes.GetDescription(result.itemtype) %]
81 <td><span class="tdlabel">Checkouts: </span> <span title="[% result.count %]">[% result.count %]</span></td>
82 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<td>[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %][% UNLESS ( result.norequests ) %]<a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% result.biblionumber %]">Place hold</a>[% END %][% END %]</td>[% END %]
88 No results, try to change filters.
89 [% END # / IF results %]
90 </div> <!-- / #topissues -->
91 </div> <!-- / .span10 -->
92 </div> <!-- / .row-fluid -->
93 </div> <!-- / .container-fluid -->
94 </div> <!-- / .main -->
96 [% INCLUDE 'opac-bottom.inc' %]
98 [% INCLUDE 'datatables.inc' %]
99 <script type="text/javascript">
102 $("#topissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
103 "aaSorting": [ [2, "desc"], [0, "asc"] ],
105 [% IF ( opacuserlogin ) %]{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }[% END %]
108 { "sType": "anti-the" },
110 { "sType": "title-numeric" },
111 [% IF ( opacuserlogin ) %]null,[% END %]
115 function Dopop(link) {
116 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');