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.
 
 
 
 
 
 

196 lines
8.9 KiB

{if $results|@count > 0}
{foreach $results as $result}
<div id="moviefull" style="min-height:340px;">
{if $result.cover == 1}<img class="shadow pic img-polaroid pull-right" style="margin-right:50px;" width="200px" alt="{$result.title|escape:"htmlall"} Logo" src="{$smarty.const.WWW_TOP}/covers/movies/{$result.imdbid}-cover.jpg" />{/if}
<h2 style="display:inline;">{$result.title|escape:"htmlall"} ({$result.year})</h2> <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>
<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>
<h4>{if isset($result.genre) && $result.genre != ''}{$result.genre|replace:"|":" / "}{/if}</h4>
{if $result.tagline != ''}
<p class="lead" style="margin-right:300px;">"{$result.tagline|escape:"htmlall"}"</p>
{/if}
<dl style="margin-right:300px;">
{if isset($result.plot) && $result.plot != ''}
<dt>Plot</dt>
<dd>{$result.plot|escape:"htmlall"}</dd>
{/if}
{if isset($result.rating) && $result.rating != ''}
<dt>Rating</dt>
<dd>{$result.rating}/10
{/if}
{if isset($result.director) && $result.director != ''}
<dt>Director</dt>
<dd>{$result.director|replace:"|":", "}</dd>
{/if}
{if isset($result.actor) && $result.actors != ''}
<dt>Actors</dt>
<dd>{$result.actors|replace:"|":", "}</dd>
{/if}
</dl>
</div>
<form id="nzb_multi_operations_form" action="get">
<div class="well well-sm">
<div class="nzb_multi_operations">
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 Cart" />
{if $sabintegrated}<input type="button" class="nzb_multi_operations_sab btn btn-small btn-primary" value="Send to queue" />{/if}
</div>
<div class="btn-group pull-right">
<div class="input-append">
<input class="span2" id="filter-text" type="text" placeholder="Filter">
</div>
</div>
{if isset($isadmin)}
<div class="pull-right">
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>
</div>
{/if}
</div>
</div>
<table style="width:100%;" class="data highlight icons table table-striped" id="browsetable">
<tr class="dont-filter">
<th>
<input id="chkSelectAll" type="checkbox" class="nzb_check_all" />
<label for="chkSelectAll" style="display:none;">Select All</label>
</th>
<th>name<br/>
<a title="Sort Descending" href="{$orderbyname_desc}">
<i class="fa fa-chevron-down"></i>
</a>
<a title="Sort Ascending" href="{$orderbyname_asc}">
<i class="fa fa-chevron-up"></i>
</a>
</th>
<th>category<br/>
<a title="Sort Descending" href="{$orderbycat_desc}">
<i class="fa fa-chevron-down"></i>
</a>
<a title="Sort Ascending" href="{$orderbycat_asc}">
<i class="fa fa-chevron-up"></i>
</a>
</th>
<th>posted<br/>
<a title="Sort Descending" href="{$orderbyposted_desc}">
<i class="fa fa-chevron-down"></i>
</a>
<a title="Sort Ascending" href="{$orderbyposted_asc}">
<i class="fa fa-chevron-up"></i>
</a>
</th>
<th>size<br/>
<a title="Sort Descending" href="{$orderbysize_desc}">
<i class="fa fa-chevron-down"></i>
</a>
<a title="Sort Ascending" href="{$orderbysize_asc}">
<i class="fa fa-chevron-up"></i>
</a>
</th>
<th>files<br/>
<a title="Sort Descending" href="{$orderbyfiles_desc}">
<i class="fa fa-chevron-down"></i>
</a>
<a title="Sort Ascending" href="{$orderbyfiles_asc}">
<i class="fa fa-chevron-up"></i>
</a>
</th>
<th>action</th>
</tr>
{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_comments}
{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}
{assign var="mcatname" value=","|explode:$result.grp_release_catname}
{foreach $msplits as $m}
<tr class="{cycle values=",alt"} filter"data-name="{$mname[$m@index]|escape:"htmlall"|replace:".":" "|lower}" id="guid{$mguid[$m@index]}">
<td class="check"><input id="chk{$mguid[$m@index]|substr:0:7}" type="checkbox" class="nzb_check" value="{$mguid[$m@index]}" /></td>
<td class="item">
<label for="chk{$mguid[$m@index]|substr:0:7}">
<a class="title" title="View details" href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"seourl"}">{$mname[$m@index]|escape:"htmlall"|replace:".":" "}</a>
</label>
{if $mpass[$m@index] == 2}
<i class="fa fa-lock"></i>
{elseif $mpass[$m@index] == 1}
<i class="fa fa-lock"></i>
{/if}
<div class="resextra">
<div class="btns">{strip}
{if $mnfo[$m@index] > 0}<a href="{$smarty.const.WWW_TOP}/nfo/{$mguid[$m@index]}" title="View Nfo" class="modal_nfo rndbtn badge" rel="nfo">Nfo</a>{/if}
{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 rndbtn badge" rel="preview">Preview</a>{/if}
{/strip}</div>
</div>
</td>
<td class="less"><a title="Browse {$mcatname[$m@index]}" href="{$smarty.const.WWW_TOP}/browse?t={$mcat[$m@index]}">{$mcatname[$m@index]}</a></td>
<td class="less mid" title="{$mpostdate[$m@index]}">{$mpostdate[$m@index]|timeago}</td>
<td class="less right">{$msize[$m@index]|fsize_format:"MB"}</td>
<td class="less mid">
<a title="View file list" href="{$smarty.const.WWW_TOP}/filelist/{$mguid[$m@index]}">{$mtotalparts[$m@index]}</a>&nbsp;<i class="fa fa-th-list"></i>
</td>
<td class="icons" style='width:100px;'>
<ul class="inline">
<li>
<a class="icon icon_nzb fa fa-download" style="text-decoration: none; color: #7ab800;" title="Download Nzb" href="{$smarty.const.WWW_TOP}/getnzb/{$mguid[$m@index]}/{$mname[$m@index]|escape:"url"}"></a>
</li>
<li>
<a href="#" class="icon icon_cart fa fa-shopping-cart" style="text-decoration: none; color: #5c5c5c;" title="Send to my Cart">
</a>
</li>
{if $sabintegrated}
<li>
<a class="icon icon_sab" style="text-decoration: none; color: #008ab8;" href="#" title="Send to queue">
</a>
</li>
{/if}
</ul>
</td>
</tr>
{/foreach}
</table>
</div>
<br/>
{$pager}
{if $results|@count > 10}
<div class="well well-sm">
<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-small btn-success" value="Download NZBs" />
<input type="button" class="nzb_multi_operations_cart btn btn-small btn-info" value="Send to my Cart" />
{if $sabintegrated}<input type="button" class="nzb_multi_operations_sab btn btn-small btn-primary" value="Send to queue" />{/if}
</div>
<div class="btn-group pull-right">
<div class="input-append">
<input class="span2" id="filter-text" type="text">
<span class="add-on"><i class="fa fa-search"></i></span>
</div>
</div>
{if isset($isadmin)}
<div class="pull-right">
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>
</div>
{/if}
</div>
</div>
</form>
{/if}
{/foreach}
{/if}