You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
238 lines
10 KiB
238 lines
10 KiB
<h2>Browse {$catname}</h2>
|
|
|
|
<div class="well well-sm">
|
|
<div style="text-align: center;">
|
|
{include file='search-filter.tpl'}
|
|
</div>
|
|
</div>
|
|
|
|
{$site->adbrowse}
|
|
|
|
{if $results|@count > 0}
|
|
|
|
<form id="nzb_multi_operations_form" action="get">
|
|
<div class="well well-sm">
|
|
<div class="nzb_multi_operations">
|
|
<table width="100%">
|
|
<tr>
|
|
<td width="30%">
|
|
With Selected:
|
|
<div class="btn-group">
|
|
<input type="button" class="nzb_multi_operations_download btn btn-small btn-success" value="Download NZBs" />
|
|
<input type="button" class="nzb_multi_operations_cart btn btn-small btn-info" value="Send to my Download Basket" />
|
|
{if $sabintegrated}<input type="button" class="nzb_multi_operations_sab btn btn-small btn-primary" value="Send to queue" />{/if}
|
|
</div>
|
|
View: <strong>Covers</strong> | <a
|
|
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
|
</td>
|
|
<td width="50%">
|
|
<div style="text-align: center;">
|
|
{$pager}
|
|
</div>
|
|
</td>
|
|
<td width="20%">
|
|
<div class="pull-right">
|
|
{if isset($isadmin)}
|
|
Admin:
|
|
<div class="btn-group">
|
|
<input type="button" class="nzb_multi_operations_edit btn btn-small btn-warning" value="Edit" />
|
|
<input type="button" class="nzb_multi_operations_delete btn btn-small btn-danger" value="Delete" />
|
|
</div>
|
|
|
|
{/if}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<table style="width:100%;" class="data highlight icons table" id="coverstable">
|
|
<tr>
|
|
<th width="130" style="padding-top:0px; padding-bottom:0px;">
|
|
<input type="checkbox" class="nzb_check_all" />
|
|
</th>
|
|
|
|
<th style="padding-top:0px; padding-bottom:0px;">title<br/>
|
|
<a title="Sort Descending" href="{$orderbytitle_desc}">
|
|
<i class="fa fa-caret-down"></i>
|
|
</a>
|
|
<a title="Sort Ascending" href="{$orderbytitle_asc}">
|
|
<i class="fa fa-caret-up"></i>
|
|
</a>
|
|
</th>
|
|
|
|
<th style="padding-top:0px; padding-bottom:0px;">year<br/>
|
|
<a title="Sort Descending" href="{$orderbyyear_desc}">
|
|
<i class="fa fa-caret-down"></i>
|
|
</a>
|
|
<a title="Sort Ascending" href="{$orderbyyear_asc}">
|
|
<i class="fa fa-caret-up"></i>
|
|
</a>
|
|
</th>
|
|
|
|
<th style="padding-top:0px; padding-bottom:0px;">rating<br/>
|
|
<a title="Sort Descending" href="{$orderbyrating_desc}">
|
|
<i class="fa fa-caret-down"></i>
|
|
</a>
|
|
<a title="Sort Ascending" href="{$orderbyrating_asc}">
|
|
<i class="fa fa-caret-up"></i>
|
|
</a>
|
|
</th>
|
|
</tr>
|
|
|
|
{foreach $results as $result}
|
|
<tr class="{cycle values=",alt"}">
|
|
<td class="mid">
|
|
<div class="movcover">
|
|
<a target="_blank" href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result.imdbid}/" name="name{$result.imdbid}" title="View movie info" class="modal_imdb" rel="movie" >
|
|
<img class="shadow img-polaroid" src="{$smarty.const.WWW_TOP}/covers/movies/{if isset($result.cover) && $result.cover == 1}{$result.imdbid}-cover.jpg{else}no-cover.jpg{/if}" style="max-width: 120px; /*width: auto;*/" width="120" border="0" alt="{$result.title|escape:"htmlall"}" />
|
|
</a>
|
|
<div class="movextra">
|
|
<div style="text-align: center;">
|
|
<a target="_blank" href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result.imdbid}/" name="name{$result.imdbid}" title="View movie info" class="rndbtn modal_imdb badge" rel="movie" >Cover</a>
|
|
<a class="rndbtn badge badge-trakt" target="_blank" href="{$site->dereferrer_link}http://trakt.tv/search/imdb/tt{$result.imdbid}/" name="trakt{$result.imdbid}" title="View trakt page">Trakt</a>
|
|
<a class="rndbtn badge badge-imdb" target="_blank" href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result.imdbid}/" name="imdb{$result.imdbid}" title="View imdb page">Imdb</a>
|
|
{if !empty($cpurl) && !empty($cpapi)}
|
|
<a
|
|
id="imdb{$result.imdbid}"
|
|
href="javascript:;"
|
|
class="sendtocouch"
|
|
title="Add to CouchPotato">
|
|
<img src="{$smarty.const.WWW_TOP}/themes/shared/img/icons/couch.png">
|
|
</a>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td colspan="3" class="left">
|
|
<h4><a title="View Movie" href="{$smarty.const.WWW_TOP}/movies/?imdb={$result.imdbid}">{$result.title|escape:"htmlall"}</a> (<a class="title" title="{$result.year}" href="{$smarty.const.WWW_TOP}/movies?year={$result.year}">{$result.year}</a>) {if $result.rating != ''}{$result.rating}/10{/if}{if {$result.imdbid} != ""} <a onclick="mymovie_add('{$result.imdbid}', this);return false;" class="rndbtn btn btn-mini btn-info" href="#">Add To My Movies</a>{/if}</h4>
|
|
|
|
{if isset($result.tagline)&& $result.tagline != ''}
|
|
<b>{$result.tagline}</b>
|
|
<br />
|
|
{/if}
|
|
|
|
{if isset($result.plot) && $result.plot != ''}
|
|
{$result.plot}<br />
|
|
<br />
|
|
{/if}
|
|
|
|
{if isset($result.genre) && $result.genre != ''}
|
|
<b>Genre:</b> {$result.genre}
|
|
<br />
|
|
{/if}
|
|
|
|
{if isset($result.director) && $result.director != ''}
|
|
<b>Director:</b> {$result.director}
|
|
<br />
|
|
{/if}
|
|
|
|
{if isset($result.actors) && $result.actors != ''}
|
|
<b>Starring:</b> {$result.actors}
|
|
<br /> <br />
|
|
{/if}
|
|
|
|
<div class="movextra">
|
|
<table class="table" style="margin-bottom:0px; margin-top:10px">
|
|
{assign var="msplits" value=","|explode:$result.grp_release_id}
|
|
{assign var="mguid" value=","|explode:$result.grp_release_guid}
|
|
{assign var="mnfo" value=","|explode:$result.grp_release_nfoid}
|
|
{assign var="mgrp" value=","|explode:$result.grp_release_grpname}
|
|
{assign var="mname" value="#"|explode:$result.grp_release_name}
|
|
{assign var="mpostdate" value=","|explode:$result.grp_release_postdate}
|
|
{assign var="msize" value=","|explode:$result.grp_release_size}
|
|
{assign var="mtotalparts" value=","|explode:$result.grp_release_totalparts}
|
|
{assign var="mcomments" value=","|explode:$result.grp_release_comments}
|
|
{assign var="mgrabs" value=","|explode:$result.grp_release_grabs}
|
|
{assign var="mpass" value=","|explode:$result.grp_release_password}
|
|
{assign var="minnerfiles" value=","|explode:$result.grp_rarinnerfilecount}
|
|
{assign var="mhaspreview" value=","|explode:$result.grp_haspreview}
|
|
{foreach $msplits as $m}
|
|
<tr id="guid{$mguid[$m@index]}" {if $m@index > 0}class="mlextra"{/if}>
|
|
<td>
|
|
<div class="icon"><input type="checkbox" class="nzb_check" value="{$mguid[$m@index]}" /></div>
|
|
</td>
|
|
<td>
|
|
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}"> {$mname[$m@index]|escape:"htmlall"}</a>
|
|
<ul class="inline">
|
|
<li width="100px">Posted {$mpostdate[$m@index]|timeago}</li>
|
|
<li width="80px">{$msize[$m@index]|fsize_format:"MB"}</li>
|
|
<li width="50px"><a title="View file list" href="{$smarty.const.WWW_TOP}/filelist/{$mguid[$m@index]}">{$mtotalparts[$m@index]}</a> <i class="fa fa-file"></i></li>
|
|
<li width="50px"><a title="View comments" href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/#comments">{$mcomments[$m@index]}</a> <i class="fa fa-comments-o"></i></li>
|
|
<li width="50px">{$mgrabs[$m@index]} <i class="fa fa-cloud-download"></i></li>
|
|
<li width="50px">{if isset($mnfo[$m@index]) && $mnfo[$m@index] > 0}<a href="{$smarty.const.WWW_TOP}/nfo/{$mguid[$m@index]}" title="View Nfo" class="modal_nfo fa fa-info-sign" rel="nfo"></a>{/if}</li>
|
|
<li width="50px"><a href="{$smarty.const.WWW_TOP}/browse?g={$mgrp[$m@index]}" title="Browse releases in {$mgrp[$m@index]|replace:"alt.binaries":"a.b"}" class="fa fa-group"></a></li>
|
|
<li width="80px">{if $mhaspreview[$m@index] == 1 && $userdata.canpreview == 1}<a href="{$smarty.const.WWW_TOP}/covers/preview/{$mguid[$m@index]}_thumb.jpg" name="name{$mguid[$m@index]}" title="Screenshot" class="modal_prev label" rel="preview">Preview</a>{/if}</li>
|
|
<li width="80px">{if $mhaspreview[$m@index]}<a href="#" onclick="return false;" class="mediainfo label" title="{$mguid[$m@index]}">Media</a>{/if}</li>
|
|
</ul>
|
|
</td>
|
|
<td class="icons" style='width:100px;'>
|
|
<ul class="inline">
|
|
<li>
|
|
<a class="icon icon_nzb fa fa-cloud-download" style="text-decoration: none; color: #7ab800;" title="Download Nzb" href="{$smarty.const.WWW_TOP}/getnzb/{$mguid[$m@index]}"></a>
|
|
</li>
|
|
<li>
|
|
<a href="#" class="icon icon_cart fa fa-shopping-basket" style="text-decoration: none; color: #5c5c5c;" title="Send to my Download Basket">
|
|
</a>
|
|
</li>
|
|
{if $sabintegrated}
|
|
<li>
|
|
<a class="icon icon_sab fa fa-share" style="text-decoration: none; color: #008ab8;" href="#" title="Send to queue"></a>
|
|
</li>
|
|
{/if}
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
{if $m@index == 1 && $m@total > 2}
|
|
<tr>
|
|
<td colspan="5">
|
|
<a class="mlmore" href="#">{$m@total-2} more...</a>
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
{/foreach}
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
{if $results|@count > 10}
|
|
<div class="well well-sm">
|
|
<div class="nzb_multi_operations">
|
|
<table width="100%">
|
|
<tr>
|
|
<td width="30%">
|
|
With Selected:
|
|
<div class="btn-group">
|
|
<input type="button" class="nzb_multi_operations_download btn btn-small btn-success" value="Download NZBs" />
|
|
<input type="button" class="nzb_multi_operations_cart btn btn-small btn-info" value="Send to my Download Basket" />
|
|
{if $sabintegrated}<input type="button" class="nzb_multi_operations_sab btn btn-small btn-primary" value="Send to queue" />{/if}
|
|
</div>
|
|
<a title="Switch to List view" href="{$smarty.const.WWW_TOP}/browse?t={$category}"><i class="fa fa-lg fa-list-ol"></i></a>
|
|
</td>
|
|
<td width="50%">
|
|
<div style="text-align: center;">
|
|
{$pager}
|
|
</div>
|
|
</td>
|
|
<td width="20%">
|
|
<div class="pull-right">
|
|
{if isset($isadmin)}
|
|
Admin:
|
|
<div class="btn-group">
|
|
<input type="button" class="nzb_multi_operations_edit btn btn-small btn-warning" value="Edit" />
|
|
<input type="button" class="nzb_multi_operations_delete btn btn-small btn-danger" value="Delete" />
|
|
</div>
|
|
|
|
{/if}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
</form>
|
|
{/if}
|
|
|