mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Add failed count information to many of the pages as statistic info. Add changelog, contributing notes and license.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
2015-09-24 DariusIII
|
||||
- Add failed downloads count to releases.
|
||||
@@ -0,0 +1,8 @@
|
||||
If you want to contribute to newznab-tmux project, you should follow couple of simple rules:
|
||||
|
||||
1. Your pull requests (PR) should be named as follows: branch-username-shortdescription (i.e. dev-dariusiii-fixedshit).
|
||||
|
||||
2. For dev regexless branch PR need to be done for dev-regexless branch, for dev into dev branch.
|
||||
|
||||
3. Pull requests will not be accepted for master branch. They will be rejected.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
This project is licensed under GPLv2 license. Parts of the code have their own licenses and are in their respective folders.
|
||||
@@ -5,7 +5,7 @@ require_once dirname(__FILE__) . '/../../www/config.php';
|
||||
|
||||
use newznab\db\Settings;
|
||||
|
||||
$console = new Console(true);
|
||||
$console = new Console(['Echo' => true, 'Settings' => $pdo]);
|
||||
|
||||
$db = new Settings();
|
||||
|
||||
|
||||
@@ -210,6 +210,7 @@ class Books
|
||||
. "GROUP_CONCAT(r.totalpart ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_totalparts, "
|
||||
. "GROUP_CONCAT(r.comments ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_comments, "
|
||||
. "GROUP_CONCAT(r.grabs ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_grabs, "
|
||||
. "GROUP_CONCAT(r.failed ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_failed,"
|
||||
. "boo.*, r.bookinfoid, groups.name AS group_name, rn.id as nfoid FROM releases r "
|
||||
. "LEFT OUTER JOIN groups ON groups.id = r.groupid "
|
||||
. "LEFT OUTER JOIN releasenfo rn ON rn.releaseid = r.id "
|
||||
|
||||
@@ -228,6 +228,7 @@ class Games
|
||||
. "GROUP_CONCAT(r.totalpart ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_totalparts, "
|
||||
. "GROUP_CONCAT(r.comments ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_comments, "
|
||||
. "GROUP_CONCAT(r.grabs ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_grabs, "
|
||||
. "GROUP_CONCAT(r.failed ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_failed,"
|
||||
. "con.*, YEAR (con.releasedate) as year, r.gamesinfo_id, groups.name AS group_name,
|
||||
rn.id as nfoid FROM releases r "
|
||||
. "LEFT OUTER JOIN groups ON groups.id = r.groupid "
|
||||
|
||||
@@ -206,6 +206,7 @@ class Konsole
|
||||
. "GROUP_CONCAT(r.totalpart ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_totalparts, "
|
||||
. "GROUP_CONCAT(r.comments ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_comments, "
|
||||
. "GROUP_CONCAT(r.grabs ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_grabs, "
|
||||
. "GROUP_CONCAT(r.failed ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_failed,"
|
||||
. "con.*, r.consoleinfoid, groups.name AS group_name, rn.id as nfoid FROM releases r "
|
||||
. "LEFT OUTER JOIN groups ON groups.id = r.groupid "
|
||||
. "LEFT OUTER JOIN releasenfo rn ON rn.releaseid = r.id "
|
||||
|
||||
@@ -314,6 +314,7 @@ class Movie
|
||||
GROUP_CONCAT(r.totalpart ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_totalparts,
|
||||
GROUP_CONCAT(r.comments ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_comments,
|
||||
GROUP_CONCAT(r.grabs ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_grabs,
|
||||
GROUP_CONCAT(r.failed ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_failed,
|
||||
m.*, groups.name AS group_name, rn.id as nfoid FROM releases r
|
||||
LEFT OUTER JOIN groups ON groups.id = r.groupid
|
||||
LEFT OUTER JOIN releasenfo rn ON rn.releaseid = r.id
|
||||
|
||||
@@ -238,6 +238,7 @@ class Musik
|
||||
. "GROUP_CONCAT(r.totalpart ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_totalparts, "
|
||||
. "GROUP_CONCAT(r.comments ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_comments, "
|
||||
. "GROUP_CONCAT(r.grabs ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_grabs, "
|
||||
. "GROUP_CONCAT(r.failed ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_failed,"
|
||||
. "m.*, r.musicinfoid, groups.name AS group_name, rn.id as nfoid FROM releases r "
|
||||
. "LEFT OUTER JOIN groups ON groups.id = r.groupid "
|
||||
. "LEFT OUTER JOIN releasenfo rn ON rn.releaseid = r.id "
|
||||
|
||||
@@ -1593,6 +1593,16 @@ class Releases
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $guid
|
||||
*/
|
||||
public function updateFail($guid)
|
||||
{
|
||||
$this->pdo->queryExec(
|
||||
sprintf('UPDATE releases SET failed = failed + 1 WHERE guid = %s', $this->pdo->escapeString($guid))
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
@@ -1813,6 +1823,8 @@ class Releases
|
||||
)
|
||||
);
|
||||
|
||||
$this->updateFail($guid);
|
||||
|
||||
$alternate = $this->pdo->queryOneRow(sprintf('SELECT * FROM releases r
|
||||
WHERE r.searchname %s
|
||||
AND r.guid NOT IN (SELECT guid FROM dnzb_failures WHERE userid = %d)',
|
||||
|
||||
@@ -201,6 +201,7 @@ class XXX
|
||||
GROUP_CONCAT(r.totalpart ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_totalparts,
|
||||
GROUP_CONCAT(r.comments ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_comments,
|
||||
GROUP_CONCAT(r.grabs ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_grabs,
|
||||
GROUP_CONCAT(r.failed ORDER BY r.postdate DESC SEPARATOR ',') AS grp_release_failed,
|
||||
xxx.*, UNCOMPRESS(xxx.plot) AS plot, groups.name AS group_name, rn.id as nfoid FROM releases r
|
||||
LEFT OUTER JOIN groups ON groups.id = r.groupid
|
||||
LEFT OUTER JOIN releasenfo rn ON rn.releaseid = r.id
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
require_once './config.php';
|
||||
|
||||
$page = new AdminPage();
|
||||
$console = new Console();
|
||||
$console = new Console(['Settings' => $page->settings]);
|
||||
$gen = new Genres();
|
||||
$id = 0;
|
||||
|
||||
@@ -53,4 +53,4 @@ if (isset($_REQUEST["id"]))
|
||||
}
|
||||
|
||||
$page->content = $page->smarty->fetch('console-edit.tpl');
|
||||
$page->render();
|
||||
$page->render();
|
||||
@@ -3,8 +3,7 @@
|
||||
require_once './config.php';
|
||||
|
||||
$page = new AdminPage();
|
||||
|
||||
$con = new Console();
|
||||
$con = new Console(['Settings' => $page->settings]);
|
||||
|
||||
$page->title = "Console List";
|
||||
|
||||
@@ -23,4 +22,4 @@ $consolelist = $con->getRange($offset, ITEMS_PER_PAGE);
|
||||
$page->smarty->assign('consolelist',$consolelist);
|
||||
|
||||
$page->content = $page->smarty->fetch('console-list.tpl');
|
||||
$page->render();
|
||||
$page->render();
|
||||
@@ -1,12 +1,11 @@
|
||||
<?php
|
||||
|
||||
$console = new Console;
|
||||
|
||||
if (!$page->users->isLoggedIn())
|
||||
$page->show403();
|
||||
|
||||
if (isset($_GET["id"]) && ctype_digit($_GET["id"]))
|
||||
{
|
||||
$console = new Console(['Settings' => $page->settings]);
|
||||
$con = $console->getConsoleInfo($_GET['id']);
|
||||
if (!$con)
|
||||
$page->show404();
|
||||
@@ -32,5 +31,4 @@ if (isset($_GET["id"]) && ctype_digit($_GET["id"]))
|
||||
echo $page->content;
|
||||
else
|
||||
$page->render();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -132,7 +132,7 @@ if (isset($_GET["id"]))
|
||||
|
||||
$con = '';
|
||||
if ($data['consoleinfoid'] != '') {
|
||||
$c = new Console();
|
||||
$c = new Konsole();
|
||||
$con = $c->getConsoleInfo($data['consoleinfoid']);
|
||||
}
|
||||
|
||||
|
||||
@@ -79,6 +79,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -86,12 +87,12 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-2 small-gutter-left">
|
||||
<a title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/book/{if $result.cover == 1}{$result.bookinfoid}.jpg{else}no-cover.jpg{/if}"
|
||||
width="140" border="0"
|
||||
alt="{$result.author|escape:"htmlall"} - {$result.title|escape:"htmlall"}"/>
|
||||
alt="{$result.author|escape:"htmlall"} - {$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
|
||||
</a>
|
||||
{if isset($resulturl) && $result.url != ""}<a
|
||||
class="label label-default" target="_blank"
|
||||
@@ -105,8 +106,13 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$mgrp[$m@index]}"
|
||||
title="Browse releases in {$mgrp[$m@index]|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-hover btn-default btn-xs"><i class="fa fa-thumbs-o-down"></i><span
|
||||
class="badge"> {$mfailed[$m@index]}
|
||||
Failed Download{if $mfailed[$m@index] != 1}s{/if}</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="col-md-10 small-gutter-left">
|
||||
<h4><a title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">{$result.author|escape:"htmlall"}
|
||||
- {$result.title|escape:"htmlall"}</a></h4>
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
value="{$result.guid}"/></td>
|
||||
<td>
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$result.guid}/{$result.searchname|escape:"htmlall"}"
|
||||
class="title">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>
|
||||
class="title">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>{if $result.failed > 0} <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>
|
||||
@@ -117,6 +117,8 @@
|
||||
Aired {if $result.tvairdate|strtotime > $smarty.now}in future{else}{$result.tvairdate|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 $result.failed > 0}<span class="label label-default">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$result.grabs} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$result.failed} Failed Downloads</span>{/if}
|
||||
</td>
|
||||
<td><span class="label label-default">{$result.category_name}</span>
|
||||
</td>
|
||||
|
||||
@@ -96,6 +96,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -104,12 +105,12 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-2 small-gutter-left">
|
||||
<a title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/console/{if $result.cover == 1}{$result.consoleinfoid}.jpg{else}no-cover.jpg{/if}"
|
||||
width="140" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/>
|
||||
alt="{$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
|
||||
</a>
|
||||
{if $result.url != ""}<a class="label label-default"
|
||||
target="_blank"
|
||||
@@ -124,8 +125,12 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.group_name}"
|
||||
title="Browse releases in {$result.group_name|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="col-md-10 small-gutter-left">
|
||||
<h4><a title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">{$result.title|escape:"htmlall"}</a>
|
||||
</h4>
|
||||
|
||||
@@ -93,6 +93,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -101,12 +102,12 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-2 small-gutter-left">
|
||||
<a title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/games/{if $result.cover == 1}{$result.gamesinfo_id}.jpg{else}no-cover.jpg{/if}"
|
||||
width="140" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/>
|
||||
alt="{$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
|
||||
</a>
|
||||
{if $result.classused == "gb"}<a class="label label-default"
|
||||
target="_blank"
|
||||
@@ -139,8 +140,12 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.group_name}"
|
||||
title="Browse releases in {$result.group_name|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="col-md-10 small-gutter-left">
|
||||
<h4><a title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">{$result.title|escape:"htmlall"}</a>
|
||||
(<a class="title" title="{$result.year}"
|
||||
@@ -150,9 +155,9 @@
|
||||
<tr>
|
||||
<td id="guid{$mguid[$m@index]}">
|
||||
<label>
|
||||
<input type="checkbox"
|
||||
class="nzb_check"
|
||||
value="{$mguid[$m@index]}" id="chksingle"/>
|
||||
<input type="checkbox"
|
||||
class="nzb_check"
|
||||
value="{$mguid[$m@index]}" id="chksingle"/>
|
||||
</label>
|
||||
<span class="label label-default">{$msize[$m@index]|fsize_format:"MB"}</span>
|
||||
<span class="label label-default">Posted {$mpostdate[$m@index]|timeago}
|
||||
|
||||
@@ -120,8 +120,8 @@
|
||||
<div class="col-md-6 small-gutter-right movie-height">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="row small-gutter-left">
|
||||
<div class="col-md-3 small-gutter-left">
|
||||
{foreach from=$result.languages item=movielanguage}
|
||||
{release_flag($movielanguage, browse)}
|
||||
{/foreach}
|
||||
@@ -135,6 +135,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -144,7 +145,7 @@
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/movies/{$result.imdbid}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/no-cover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
alt="{$result.title|escape:"htmlall"}"/> {if $mfailed[$m@index]} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed for some users"></i>{/if}</a>
|
||||
<a target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result.imdbid}/"
|
||||
name="imdb{$result.imdbid}" title="View IMDB page"
|
||||
@@ -161,7 +162,7 @@
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.grp_release_grpname}"
|
||||
title="Browse releases in {$result.grp_release_grpname|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="col-md-9 small-gutter-left">
|
||||
<span class="release-title"><a class="text-muted"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">{$result.title|escape:"htmlall"}</a></span>
|
||||
<div class="release-subtitle">{if $result.genre != ''}
|
||||
@@ -219,6 +220,10 @@
|
||||
title="Add to CouchPotato"
|
||||
><i class="fa fa-send-o"></i></span>
|
||||
{/if}
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -231,11 +236,11 @@
|
||||
<!-- /Left -->
|
||||
{else}
|
||||
<!-- Right -->
|
||||
<div class="col-md-6 movie-height">
|
||||
<div class="col-md-6 small-gutter-left movie-height">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="row small-gutter-left">
|
||||
<div class="col-md-3 small-gutter-left">
|
||||
{foreach from=$result.languages item=movielanguage}
|
||||
{release_flag($movielanguage, browse)}
|
||||
{/foreach}
|
||||
@@ -249,6 +254,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -258,7 +264,7 @@
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/movies/{$result.imdbid}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/no-cover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
alt="{$result.title|escape:"htmlall"}"/> {if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}</a>
|
||||
<a target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result.imdbid}/"
|
||||
name="imdb{$result.imdbid}" title="View IMDB page"
|
||||
@@ -275,7 +281,7 @@
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.grp_release_grpname}"
|
||||
title="Browse releases in {$result.grp_release_grpname|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="col-md-9 small-gutter-left">
|
||||
<span class="release-title"><a class="text-muted"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">{$result.title|escape:"htmlall"}</a></span>
|
||||
<div class="release-subtitle">{if $result.genre != ''}
|
||||
@@ -326,13 +332,17 @@
|
||||
{/if}
|
||||
{if $cpurl != '' && $cpapi != ''}
|
||||
<span class="btn btn-hover btn-default btn-xs sendtocouch text-muted"
|
||||
target="blackhole"
|
||||
href="javascript:"
|
||||
rel="{$cpurl}/api/{$cpapi}/movie.add/?identifier=tt{$result.imdbid}&title={$result.title}"
|
||||
name="CP{$result.imdbid}"
|
||||
title="Add to CouchPotato"
|
||||
target="blackhole"
|
||||
href="javascript:"
|
||||
rel="{$cpurl}/api/{$cpapi}/movie.add/?identifier=tt{$result.imdbid}&title={$result.title}"
|
||||
name="CP{$result.imdbid}"
|
||||
title="Add to CouchPotato"
|
||||
><i class="fa fa-send-o"></i></span>
|
||||
{/if}
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -105,6 +105,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -113,12 +114,12 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-2 small-gutter-left">
|
||||
<a title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/music/{if $result.cover == 1}{$result.musicinfoid}.jpg{else}no-cover.jpg{/if}"
|
||||
width="140" border="0"
|
||||
alt="{$result.artist|escape:"htmlall"} - {$result.title|escape:"htmlall"}"/>
|
||||
alt="{$result.artist|escape:"htmlall"} - {$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
|
||||
</a>
|
||||
{if $result.url != ""}<a class="label label-default"
|
||||
target="_blank"
|
||||
@@ -133,8 +134,12 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.group_name}"
|
||||
title="Browse releases in {$result.group_name|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="col-md-10 small-gutter-left">
|
||||
<h4><a title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">{$result.artist|escape:"htmlall"}
|
||||
- {$result.title|escape:"htmlall"}</a> (<a class="title"
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
<td class="item">
|
||||
<label for="chk{$result.guid|substr:0:7}">
|
||||
<a class="title" title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$result.guid}/{$result.searchname|escape:"htmlall"}">{$result.searchname|escape:"htmlall"|truncate:150:"...":true}</a></label value="Searchname">
|
||||
href="{$smarty.const.WWW_TOP}/details/{$result.guid}/{$result.searchname|escape:"htmlall"}">{$result.searchname|escape:"htmlall"|truncate:150:"...":true}</a>{if $result.failed > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}</label value="Searchname">
|
||||
<div class="resextra">
|
||||
<div class="btns" style="float:right">
|
||||
{release_flag($result.searchname, browse)}
|
||||
@@ -266,6 +266,8 @@
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.group_name|escape:"htmlall"}"
|
||||
title="Browse {$result.group_name}">{$result.group_name|escape:"htmlall"|replace:"alt.binaries.":"a.b."}</a>
|
||||
{/if}
|
||||
{if $result.failed > 0}<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}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
<div class="col-xlg-12 portlets">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body pagination2">
|
||||
<h1>{$release.searchname|escape:"htmlall"}</h1>
|
||||
<h1>{$release.searchname|escape:"htmlall"} {if $release.failed > 0}<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$release.grabs} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$release.failed} Failed Downloads</span>{/if}</h1>
|
||||
{if isset($isadmin)}
|
||||
<a class="label label-warning"
|
||||
href="{$smarty.const.WWW_TOP}/admin/release-edit.php?id={$release.id}&from={$smarty.server.REQUEST_URI}"
|
||||
@@ -114,7 +115,7 @@
|
||||
{if isset($xxx.trailers) && $xxx.trailers != ''}
|
||||
<li><a href="#pane2" data-toggle="tab">Trailer</a></li>
|
||||
{/if}
|
||||
{if isset($nfo.nfo) && $nfo.nfo != ""}
|
||||
{if isset($nfo.nfo) && $nfo.nfo != ''}
|
||||
<li><a href="#pane3" data-toggle="tab">NFO</a></li>
|
||||
{/if}
|
||||
{if isset($similars) && $similars|@count > 1}
|
||||
@@ -139,8 +140,8 @@
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div id="pane1" class="tab-pane active">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="row small-gutter-left">
|
||||
<div class="col-md-3 small-gutter-left">
|
||||
{if $movie && $release.rageid < 0 && $movie.cover == 1}
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/movies/{$movie.imdbid}-cover.jpg"
|
||||
width="185"
|
||||
@@ -229,7 +230,7 @@
|
||||
<p id="demo"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="col-md-9 small-gutter-left">
|
||||
<table cellpadding="0" cellspacing="0"
|
||||
width="100%">
|
||||
<tbody>
|
||||
@@ -449,6 +450,11 @@
|
||||
<td>{$release.grabs}
|
||||
time{if $release.grabs==1}{else}s{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="140">Failed Download</th>
|
||||
<td>{$release.failed}
|
||||
time{if $release.failed==1}{else}s{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="140">Password
|
||||
</th>
|
||||
|
||||
@@ -102,8 +102,8 @@
|
||||
<div class="col-md-6 small-gutter-right movie-height">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="row small-gutter-left">
|
||||
<div class="col-md-3 small-gutter-left">
|
||||
{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}
|
||||
@@ -114,6 +114,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -123,7 +124,7 @@
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/xxx/{$result.id}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/no-cover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
alt="{$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}</a>
|
||||
{if $result.classused == "ade"}
|
||||
<a
|
||||
target="_blank"
|
||||
@@ -189,8 +190,12 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.grp_release_grpname}"
|
||||
title="Browse releases in {$result.grp_release_grpname|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="col-md-9 small-gutter-left">
|
||||
<span class="release-title"><a class="text-muted"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">{$result.title|escape:"htmlall"}</a></span>
|
||||
<div class="release-subtitle">{if $result.genre != ''}{$result.genre}, {/if}</div>
|
||||
@@ -241,11 +246,11 @@
|
||||
<!-- /Left -->
|
||||
{else}
|
||||
<!-- Right -->
|
||||
<div class="col-md-6 movie-height">
|
||||
<div class="col-md-6 small-gutter-left movie-height">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="row small-gutter-left">
|
||||
<div class="col-md-3 small-gutter-left">
|
||||
{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}
|
||||
@@ -256,6 +261,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -265,7 +271,7 @@
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/xxx/{$result.id}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/no-cover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
alt="{$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}</a>
|
||||
{if $result.classused == "ade"}
|
||||
<a
|
||||
target="_blank"
|
||||
@@ -331,8 +337,12 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.grp_release_grpname}"
|
||||
title="Browse releases in {$result.grp_release_grpname|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="col-md-9 small-gutter-left">
|
||||
<span class="release-title"><a class="text-muted"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">{$result.title|escape:"htmlall"}</a></span>
|
||||
<div class="release-subtitle">{if $result.genre != ''}{$result.genre}, {/if}</div>
|
||||
|
||||
@@ -79,6 +79,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -91,7 +92,7 @@
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/book/{if $result.cover == 1}{$result.bookinfoid}.jpg{else}no-cover.jpg{/if}"
|
||||
width="140" border="0"
|
||||
alt="{$result.author|escape:"htmlall"} - {$result.title|escape:"htmlall"}"/>
|
||||
alt="{$result.author|escape:"htmlall"} - {$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
|
||||
</a>
|
||||
{if isset($resulturl) && $result.url != ""}<a
|
||||
class="label label-default" target="_blank"
|
||||
@@ -105,6 +106,11 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$mgrp[$m@index]}"
|
||||
title="Browse releases in {$mgrp[$m@index]|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-hover btn-default btn-xs"><i class="fa fa-thumbs-o-down"></i><span
|
||||
class="badge"> {$mfailed[$m@index]}
|
||||
Failed Download{if $mfailed[$m@index] != 1}s{/if}</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-10 small-gutter-left">
|
||||
<h4><a title="View details"
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
value="{$result.guid}"/></td>
|
||||
<td>
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$result.guid}/{$result.searchname|escape:"htmlall"}"
|
||||
class="title">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>
|
||||
class="title">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>{if $result.failed > 0} <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>
|
||||
@@ -117,6 +117,8 @@
|
||||
Aired {if $result.tvairdate|strtotime > $smarty.now}in future{else}{$result.tvairdate|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 $result.failed > 0}<span class="label label-default">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$result.grabs} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$result.failed} Failed Downloads</span>{/if}
|
||||
</td>
|
||||
<td><span class="label label-default">{$result.category_name}</span>
|
||||
</td>
|
||||
|
||||
@@ -96,6 +96,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -109,7 +110,7 @@
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/console/{if $result.cover == 1}{$result.consoleinfoid}.jpg{else}no-cover.jpg{/if}"
|
||||
width="140" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/>
|
||||
alt="{$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
|
||||
</a>
|
||||
{if $result.url != ""}<a class="label label-default"
|
||||
target="_blank"
|
||||
@@ -124,6 +125,10 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.group_name}"
|
||||
title="Browse releases in {$result.group_name|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-10 small-gutter-left">
|
||||
<h4><a title="View details"
|
||||
|
||||
@@ -93,6 +93,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -106,7 +107,7 @@
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/games/{if $result.cover == 1}{$result.gamesinfo_id}.jpg{else}no-cover.jpg{/if}"
|
||||
width="140" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/>
|
||||
alt="{$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
|
||||
</a>
|
||||
{if $result.classused == "gb"}<a class="label label-default"
|
||||
target="_blank"
|
||||
@@ -139,6 +140,10 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.group_name}"
|
||||
title="Browse releases in {$result.group_name|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-10 small-gutter-left">
|
||||
<h4><a title="View details"
|
||||
|
||||
@@ -135,6 +135,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -144,7 +145,7 @@
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/movies/{$result.imdbid}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/no-cover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
alt="{$result.title|escape:"htmlall"}"/> {if $mfailed[$m@index]} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed for some users"></i>{/if}</a>
|
||||
<a target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result.imdbid}/"
|
||||
name="imdb{$result.imdbid}" title="View IMDB page"
|
||||
@@ -219,6 +220,10 @@
|
||||
title="Add to CouchPotato"
|
||||
><i class="fa fa-send-o"></i></span>
|
||||
{/if}
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -249,6 +254,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -258,7 +264,7 @@
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/movies/{$result.imdbid}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/no-cover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
alt="{$result.title|escape:"htmlall"}"/> {if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}</a>
|
||||
<a target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$result.imdbid}/"
|
||||
name="imdb{$result.imdbid}" title="View IMDB page"
|
||||
@@ -333,6 +339,10 @@
|
||||
title="Add to CouchPotato"
|
||||
><i class="fa fa-send-o"></i></span>
|
||||
{/if}
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -105,6 +105,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -118,7 +119,7 @@
|
||||
href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}">
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/music/{if $result.cover == 1}{$result.musicinfoid}.jpg{else}no-cover.jpg{/if}"
|
||||
width="140" border="0"
|
||||
alt="{$result.artist|escape:"htmlall"} - {$result.title|escape:"htmlall"}"/>
|
||||
alt="{$result.artist|escape:"htmlall"} - {$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}
|
||||
</a>
|
||||
{if $result.url != ""}<a class="label label-default"
|
||||
target="_blank"
|
||||
@@ -133,6 +134,10 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.group_name}"
|
||||
title="Browse releases in {$result.group_name|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-10 small-gutter-left">
|
||||
<h4><a title="View details"
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
<td class="item">
|
||||
<label for="chk{$result.guid|substr:0:7}">
|
||||
<a class="title" title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/details/{$result.guid}/{$result.searchname|escape:"htmlall"}">{$result.searchname|escape:"htmlall"|truncate:150:"...":true}</a></label value="Searchname">
|
||||
href="{$smarty.const.WWW_TOP}/details/{$result.guid}/{$result.searchname|escape:"htmlall"}">{$result.searchname|escape:"htmlall"|truncate:150:"...":true}</a>{if $result.failed > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}</label value="Searchname">
|
||||
<div class="resextra">
|
||||
<div class="btns" style="float:right">
|
||||
{release_flag($result.searchname, browse)}
|
||||
@@ -266,6 +266,8 @@
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.group_name|escape:"htmlall"}"
|
||||
title="Browse {$result.group_name}">{$result.group_name|escape:"htmlall"|replace:"alt.binaries.":"a.b."}</a>
|
||||
{/if}
|
||||
{if $result.failed > 0}<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}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
<div class="col-xlg-12 portlets">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body pagination2">
|
||||
<h1>{$release.searchname|escape:"htmlall"}</h1>
|
||||
<h1>{$release.searchname|escape:"htmlall"} {if $release.failed > 0}<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$release.grabs} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$release.failed} Failed Downloads</span>{/if}</h1>
|
||||
{if isset($isadmin)}
|
||||
<a class="label label-warning"
|
||||
href="{$smarty.const.WWW_TOP}/admin/release-edit.php?id={$release.id}&from={$smarty.server.REQUEST_URI}"
|
||||
@@ -48,7 +49,7 @@
|
||||
{if $rage && $release.rageid > 0}
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/add/{$release.rageid}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="label label-success">Add to My Shows</a>
|
||||
<a class="label label-default" href="{$serverroor}series/{$release.rageid}"
|
||||
<a class="label label-default" href="{$serverroot}series/{$release.rageid}"
|
||||
title="View all releases for this series">View all episodes</a>
|
||||
<a class="label label-default" target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.tvrage.com/shows/id-{$release.rageid}"
|
||||
@@ -449,6 +450,11 @@
|
||||
<td>{$release.grabs}
|
||||
time{if $release.grabs==1}{else}s{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="140">Failed Download</th>
|
||||
<td>{$release.failed}
|
||||
time{if $release.failed==1}{else}s{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="140">Password
|
||||
</th>
|
||||
|
||||
@@ -114,6 +114,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -123,7 +124,7 @@
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/xxx/{$result.id}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/no-cover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
alt="{$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}</a>
|
||||
{if $result.classused == "ade"}
|
||||
<a
|
||||
target="_blank"
|
||||
@@ -189,6 +190,10 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.grp_release_grpname}"
|
||||
title="Browse releases in {$result.grp_release_grpname|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-9 small-gutter-left">
|
||||
<span class="release-title"><a class="text-muted"
|
||||
@@ -256,6 +261,7 @@
|
||||
{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="mfailed" value=","|explode:$result.grp_release_failed}
|
||||
{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}
|
||||
@@ -265,7 +271,7 @@
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/xxx/{$result.id}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/no-cover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
alt="{$result.title|escape:"htmlall"}"/>{if $mfailed[$m@index] > 0} <i class="fa fa-exclamation-circle" style="color: red" title="This release has failed to download for some users"></i>{/if}</a>
|
||||
{if $result.classused == "ade"}
|
||||
<a
|
||||
target="_blank"
|
||||
@@ -331,6 +337,10 @@
|
||||
<a class="label label-default"
|
||||
href="{$smarty.const.WWW_TOP}/browse?g={$result.grp_release_grpname}"
|
||||
title="Browse releases in {$result.grp_release_grpname|replace:"alt.binaries":"a.b"}">Group</a>
|
||||
{if $mfailed[$m@index] > 0}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
<i class ="fa fa-thumbs-o-up"></i> {$mgrabs[$m@index]} Grabs / <i class ="fa fa-thumbs-o-down"></i> {$mfailed[$m@index]} Failed Downloads</span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-9 small-gutter-left">
|
||||
<span class="release-title"><a class="text-muted"
|
||||
|
||||
Reference in New Issue
Block a user