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.
 
 
 
 
 
 

180 lines
7.6 KiB

<div class="header">
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
/ {if isset($catsplit[0])} {$catsplit[0]}{/if} / {if isset($catsplit[1])} {$catsplit[1]}{/if}
</ol>
</div>
</div>
{$site->adbrowse}
{if $results|@count > 0}
<form id="nzb_multi_operations_form" action="get">
<div class="box-body"
<div class="row">
<div class="col-xlg-12 portlets">
<div class="panel panel-default">
<div class="panel-body pagination2">
<div class="row">
<div class="col-md-8">
{if isset($shows)}
<p>
<a href="{$smarty.const.WWW_TOP}/series"
title="View available TV series">Series List</a> |
<a title="Manage your shows" href="{$smarty.const.WWW_TOP}/myshows">Manage
My Shows</a> |
<a title="All releases in your shows as an RSS feed"
href="{$smarty.const.WWW_TOP}/rss?t=-3&amp;dl=1&amp;i={$userdata.id}&amp;r={$userdata.rsstoken}">Rss
Feed</a>
</p>
{/if}
<div class="nzb_multi_operations">
{if $covgroup != ''}View:
<a href="{$smarty.const.WWW_TOP}/{$covgroup}?t={$category}">Covers
</a>
|
<b>List</b>
<br/>
{/if}
With Selected:
<div class="btn-group">
<input type="button"
class="nzb_multi_operations_download btn btn-sm btn-success"
value="Download NZBs"/>
<input type="button"
class="nzb_multi_operations_cart btn btn-sm btn-info"
value="Send to my Download Basket"/>
{if isset($sabintegrated)}
<input type="button"
class="nzb_multi_operations_sab btn btn-sm btn-primary"
value="Send to Queue"/>
{/if}
{if isset($isadmin)}
<input type="button"
class="nzb_multi_operations_edit btn btn-sm btn-warning"
value="Edit"/>
<input type="button"
class="nzb_multi_operations_delete btn btn-sm btn-danger"
value="Delete"/>
{/if}
</div>
</div>
</div>
<div class="col-md-4">
{$pager}
</div>
</div>
<hr>
<table class="data table table-condensed table-striped table-responsive table-hover" cellspacing="0"
cellpadding="0" style="table-layout: auto;">
<thead>
<tr>
<th><input id="chkSelectAll" type="checkbox" class="nzb_check_all"/></th>
<th>Name
<a title="Sort Descending" href="{$orderbyname_desc}">
<i class="fa-icon-caret-down text-muted"> </i>
</a>
<a title="Sort Ascending" href="{$orderbyname_asc}">
<i class="fa-icon-caret-up text-muted"> </i>
</a>
</th>
<th>Category</th>
<th>Posted</th>
<th>Size</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{foreach $results as $result}
<tr id="guid{$result.guid}">
<td class="check"><input id="chk{$result.guid|substr:0:7}"
type="checkbox" class="nzb_check"
value="{$result.guid}"/></td>
<td>
<a href="{$smarty.const.WWW_TOP}/details/{$result.guid}"
class="title">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>{if !empty($result.failed)} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
<br/>
<span class="label label-default">{$result.grabs}
Grab{if $result.grabs != 1}s{/if}</span>
{if $result.nfoid > 0}<span><a
href="{$smarty.const.WWW_TOP}/nfo/{$result.guid}"
class="modal_nfo label label-default" rel="nfo">NFO</a></span>{/if}
{if $result.jpgstatus == 1 && $userdata.canpreview == 1}<span><a
href="{$smarty.const.WWW_TOP}/covers/sample/{$result.guid}_thumb.jpg"
name="name{$result.guid}" class="modal_prev label label-default" rel="preview">Sample</a></span>{/if}
{if $result.haspreview == 1 && $userdata.canpreview == 1}<span><a
href="{$smarty.const.WWW_TOP}/covers/preview/{$result.guid}_thumb.jpg"
name="name{$result.guid}" class="modal_prev label label-default" rel="preview">Preview</a></span>{/if}
{if $result.videos_id > 0}<span class="label label-default"><a
href="{$smarty.const.WWW_TOP}/series/{$result.videos_id}">View TV</a></span>{/if}
{if isset($result.firstaired) && $result.firstaired != ""}<span class="label label-default" title="{$result.guid}">
Aired {if $result.firstaired|strtotime > $smarty.now}in future{else}{$result.firstaired|daysago}{/if}</span>{/if}
{if $result.anidbid > 0}<span class="label label-default"><a
href="{$smarty.const.WWW_TOP}/anime/{$result.anidbid}">View Anime</a></span>{/if}
{if !empty($result.failed)}<span class="label label-default">
<i class ="fa fa-thumbs-o-up"></i> {$result.grabs} Grab{if $result.grabs != 1}s{/if} / <i class ="fa fa-thumbs-o-down"></i> {$result.failed} Failed Download{if $result.failed != 1}s{/if}</span>{/if} </td>
<td><span class="label label-default">{$result.category_name}</span>
</td>
<td>{$result.postdate|timeago}</td>
<td>{$result.size|fsize_format:"MB"}</td>
<td>
<a href="{$smarty.const.WWW_TOP}/getnzb/{$result.guid}" class="icon_nzb text-muted" style="background-image: none"><i
class="fa fa-cloud-download text-muted"
title="Download NZB"></i></a>
<a href="{$smarty.const.WWW_TOP}/details/{$result.guid}/#comments"><i
class="fa fa-comments-o text-muted"
title="Comments"></i></a>
<a href="#" class="icon_cart text-muted" style="background-image: none"><i
class="fa fa-shopping-basket" title="Send to my Download Basket"></i></a>
{if isset($sabintegrated)}
<a href="#" class="icon_sab text-muted" style="background-image: none"><i class="fa fa-share-o"
title="Send to my Queue"></i></a>
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
<hr>
<div class="row">
<div class="col-md-8">
<div class="nzb_multi_operations">
{if isset($section) && $section != ''}View:
<a href="{$smarty.const.WWW_TOP}/{$section}?t={$category}">Covers</a>
|
<b>List</b>
<br/>
{/if}
With Selected:
<div class="btn-group">
<input type="button"
class="nzb_multi_operations_download btn btn-sm btn-success"
value="Download NZBs"/>
<input type="button"
class="nzb_multi_operations_cart btn btn-sm btn-info"
value="Send to my Download Basket"/>
{if isset($sabintegrated)}
<input type="button"
class="nzb_multi_operations_sab btn btn-sm btn-primary"
value="Send to Queue"/>
{/if}
{if isset($isadmin)}
<input type="button"
class="nzb_multi_operations_edit btn btn-sm btn-warning"
value="Edit"/>
<input type="button"
class="nzb_multi_operations_delete btn btn-sm btn-danger"
value="Delete"/>
{/if}
</div>
</div>
</div>
<div class="col-md-4">
{$pager}
</div>
</div>
</div>
</div>
</div>
</div>
</form>
{/if}