mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 11:49:03 +00:00
Fix the security hole for privateprofiles setting, change occurences of serverroot to fix notices.
This commit is contained in:
+15
-15
@@ -181,23 +181,23 @@ switch ($function) {
|
||||
|
||||
$page->users->addApiRequest($uid, $_SERVER['REQUEST_URI'], $hosthash);
|
||||
|
||||
$reldata = $releases->getByGuid($_GET["id"]);
|
||||
if (!$reldata)
|
||||
$relData = $releases->getByGuid($_GET["id"]);
|
||||
if (!$relData)
|
||||
showApiError(300);
|
||||
|
||||
$nfo = $releases->getReleaseNfo($reldata["id"], true);
|
||||
$nfo = $releases->getReleaseNfo($relData["id"], true);
|
||||
if (!$nfo)
|
||||
showApiError(300);
|
||||
|
||||
$nforaw = Utility::cp437toUTF($nfo["nfo"]);
|
||||
$page->smarty->assign('release',$reldata);
|
||||
$page->smarty->assign('release',$relData);
|
||||
$page->smarty->assign('nfo',$nfo);
|
||||
$page->smarty->assign('nfoutf',$nforaw);
|
||||
|
||||
if (isset($_GET["raw"]))
|
||||
{
|
||||
header("Content-type: text/x-nfo");
|
||||
header("Content-Disposition: attachment; filename=".str_replace(" ", "_", $reldata["searchname"]).".nfo");
|
||||
header("Content-Disposition: attachment; filename=".str_replace(" ", "_", $relData["searchname"]).".nfo");
|
||||
echo $nforaw;
|
||||
die();
|
||||
}
|
||||
@@ -222,11 +222,11 @@ switch ($function) {
|
||||
|
||||
$data = $rc->getCommentsByGuid($_GET["id"]);
|
||||
if ($data)
|
||||
$reldata = $data;
|
||||
$relData = $data;
|
||||
else
|
||||
$reldata = [];
|
||||
$relData = [];
|
||||
|
||||
$page->smarty->assign('comments',$reldata);
|
||||
$page->smarty->assign('comments',$relData);
|
||||
$page->smarty->assign('rsstitle',"API Comments");
|
||||
$page->smarty->assign('rssdesc',"API Comments");
|
||||
$content = trim($page->smarty->fetch('apicomments.tpl'));
|
||||
@@ -247,10 +247,10 @@ switch ($function) {
|
||||
|
||||
$page->users->addApiRequest($uid, $_SERVER['REQUEST_URI'], $hosthash);
|
||||
|
||||
$reldata = $releases->getByGuid($_GET["id"]);
|
||||
if ($reldata)
|
||||
$relData = $releases->getByGuid($_GET["id"]);
|
||||
if ($relData)
|
||||
{
|
||||
$ret = $rc->addComment($reldata["id"], $reldata["gid"], $_GET["text"], $uid, $_SERVER['REMOTE_ADDR']);
|
||||
$ret = $rc->addComment($relData["id"], $relData["gid"], $_GET["text"], $uid, $_SERVER['REMOTE_ADDR']);
|
||||
|
||||
$content = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
|
||||
$content.= "<commentadd id=\"".$ret."\" />\n";
|
||||
@@ -291,10 +291,10 @@ switch ($function) {
|
||||
$offset = 0;
|
||||
if (isset($_GET["offset"]) && is_numeric($_GET["offset"]))
|
||||
$offset = $_GET["offset"];
|
||||
$reldata = $releases->searchBook((isset($_GET["author"]) ? $_GET["author"] : ""), (isset($_GET["title"]) ? $_GET["title"] : ""), $offset, $limit, $maxage );
|
||||
$relData = $releases->searchBook((isset($_GET["author"]) ? $_GET["author"] : ""), (isset($_GET["title"]) ? $_GET["title"] : ""), $offset, $limit, $maxage );
|
||||
|
||||
$page->smarty->assign('offset',$offset);
|
||||
$page->smarty->assign('releases',$reldata);
|
||||
$page->smarty->assign('releases',$relData);
|
||||
$output = trim($page->smarty->fetch('apiresult.tpl'));
|
||||
|
||||
printOutput($relData, $outputXML, $page, $offset);
|
||||
@@ -338,10 +338,10 @@ switch ($function) {
|
||||
$offset = 0;
|
||||
if (isset($_GET["offset"]) && is_numeric($_GET["offset"]))
|
||||
$offset = $_GET["offset"];
|
||||
$reldata = $releases->searchAudio((isset($_GET["artist"]) ? $_GET["artist"] : ""), (isset($_GET["album"]) ? $_GET["album"] : ""), (isset($_GET["label"]) ? $_GET["label"] : ""), (isset($_GET["track"]) ? $_GET["track"] : ""), (isset($_GET["year"]) ? $_GET["year"] : ""), $genreId, $offset, $limit, $categoryId, $maxage );
|
||||
$relData = $releases->searchAudio((isset($_GET["artist"]) ? $_GET["artist"] : ""), (isset($_GET["album"]) ? $_GET["album"] : ""), (isset($_GET["label"]) ? $_GET["label"] : ""), (isset($_GET["track"]) ? $_GET["track"] : ""), (isset($_GET["year"]) ? $_GET["year"] : ""), $genreId, $offset, $limit, $categoryId, $maxage );
|
||||
|
||||
$page->smarty->assign('offset',$offset);
|
||||
$page->smarty->assign('releases',$reldata);
|
||||
$page->smarty->assign('releases',$relData);
|
||||
$output = trim($page->smarty->fetch('apiresult.tpl'));
|
||||
|
||||
printOutput($relData, $outputXML, $page, $offset);
|
||||
|
||||
+4
-15
@@ -1,24 +1,13 @@
|
||||
<?php
|
||||
|
||||
if (!$page->users->isLoggedIn())
|
||||
$page->show403();
|
||||
|
||||
$rc = new ReleaseComments;
|
||||
$sab = new SABnzbd($page);
|
||||
$nzbget = new NZBGet($page);
|
||||
|
||||
if (!$page->users->isLoggedIn())
|
||||
$page->show403();
|
||||
|
||||
$userID = 0;
|
||||
if (isset($_GET["id"]))
|
||||
$userID = $_GET["id"] + 0;
|
||||
elseif (isset($_GET["name"]))
|
||||
{
|
||||
$res = $page->users->getByUsername($_GET["name"]);
|
||||
if ($res)
|
||||
$userID = $res["id"];
|
||||
}
|
||||
else
|
||||
$userID = $page->users->currentUserId();
|
||||
|
||||
$userID = $page->users->currentUserId();
|
||||
$privileged = ($page->users->isAdmin($userID) || $page->users->isModerator($userID)) ? true : false;
|
||||
$privateProfiles = ($page->settings->getSetting('privateprofiles') == 1) ? true : false;
|
||||
$publicView = false;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<caps>
|
||||
<server appversion="{$site->version}" version="0.1" title="{$site->title|escape}"
|
||||
strapline="{$site->strapline|escape}" email="{$site->email}" url="{$serverroot}"
|
||||
image="{if $site->style != "" && $site->style != "/"}{$serverroot}theme/{$site->style}/images/banner.jpg{else}{$serverroot}images/banner.jpg{/if}"/>
|
||||
strapline="{$site->strapline|escape}" email="{$site->email}" url="{$smarty.const.WWW_TOP}"
|
||||
image="{if $site->style != "" && $site->style != "/"}{$smarty.const.WWW_TOP}theme/{$site->style}/images/banner.jpg{else}{$smarty.const.WWW_TOP}images/banner.jpg{/if}"/>
|
||||
<limits max="100" default="100"/>
|
||||
<registration available="yes" open="{if $site->registerstatus == 0}yes{else}no{/if}"/>
|
||||
<searching>
|
||||
|
||||
@@ -2,24 +2,24 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Api Detail</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}themes_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}themes_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$comments item=comm}
|
||||
<item>
|
||||
<title>{$comm.username}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$comm.guid}&comment={$comm.id}</guid>
|
||||
<link>{$serverroot}details/{$comm.guid}&comment={$comm.id}</link>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$comm.guid}&comment={$comm.id}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}details/{$comm.guid}&comment={$comm.id}</link>
|
||||
<pubDate>{$comm.createddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<description>{$comm.text|escape:"htmlall"}</description>
|
||||
</item>
|
||||
|
||||
@@ -2,31 +2,31 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Api Detail</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}themes_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}themes_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}
|
||||
&r={$rsstoken}{if $del=="1"}&del=1{/if}</link>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{$release.searchname}</description>
|
||||
<enclosure
|
||||
url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}"
|
||||
url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}"
|
||||
length="{$release.size}" type="application/x-nzb"/>
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}"/>
|
||||
@@ -78,10 +78,10 @@
|
||||
<newznab:attr name="imdbactors" value="{$mov.actors|escape:html}"/>
|
||||
{/if}
|
||||
{if $mov.cover == 1}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/movies/{$release.imdbid}-cover.jpg"/>
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-cover.jpg"/>
|
||||
{/if}
|
||||
{if $mov.backdrop == 1}
|
||||
<newznab:attr name="backdropurl" value="{$serverroot}covers/movies/{$release.imdbid}-backdrop.jpg"/>
|
||||
<newznab:attr name="backdropurl" value="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-backdrop.jpg"/>
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.mi_title != ""}
|
||||
<newznab:attr name="album" value="{$release.mi_title|escape:html}"/>
|
||||
@@ -99,7 +99,7 @@
|
||||
<newznab:attr name="review" value="{$release.mi_review|escape:html}"/>
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.mi_cover == "1"}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/music/{$release.musicinfoid}.jpg"/>
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/music/{$release.musicinfoid}.jpg"/>
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.music_genrename != ""}
|
||||
<newznab:attr name="genre" value="{$release.music_genrename|escape:html}"/>
|
||||
@@ -111,7 +111,7 @@
|
||||
<newznab:attr name="booktitle" value="{$release.bi_title|escape:html}"/>
|
||||
{/if}
|
||||
{if $release.bookinfoid != "" && $release.bi_cover == "1"}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/book/{$release.bookinfoid}.jpg"/>
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/book/{$release.bookinfoid}.jpg"/>
|
||||
{/if}
|
||||
{if $release.bookinfoid != "" && $release.bi_review != ""}
|
||||
<newznab:attr name="review" value="{$release.bi_review|escape:html}"/>
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$serverroot}rss-info/">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$smarty.const.WWW_TOP}rss-info/">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
||||
<atom:link href="{$smarty.const.WWW_TOP}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
||||
type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Nzb Feed</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
<item>
|
||||
<title>{$release.searchname|escape:"htmlall"}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}nfo/{$release.guid}</link>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}nfo/{$release.guid}</link>
|
||||
<pubDate>{$release.postdate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<description>{$nfoutf|escape:"htmlall"}</description>
|
||||
<enclosure url="{$serverroot}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}"
|
||||
<enclosure url="{$smarty.const.WWW_TOP}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}"
|
||||
length="{$nfoutf|count_characters:true}" type="text/x-nfo"/>
|
||||
</item>
|
||||
</channel>
|
||||
|
||||
@@ -2,37 +2,37 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} API Results</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
<newznab:response offset="{$offset}" total="{if $releases|@count > 0}{$releases[0]._totalrows}{else}0{/if}"/>
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname|escape:html}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}</link>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}</link>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{$release.searchname|escape:html}</description>
|
||||
<enclosure url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}"
|
||||
<enclosure url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}"
|
||||
length="{$release.size}" type="application/x-nzb"/>
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}"/>
|
||||
{/foreach}
|
||||
<newznab:attr name="size" value="{$release.size}"/>
|
||||
{if isset($release.coverurl) && $release.coverurl != ""}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/{$release.coverurl}"/>
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/{$release.coverurl}"/>
|
||||
{/if}
|
||||
{if $extended == "1"}
|
||||
<newznab:attr name="files" value="{$release.totalpart}"/>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
@@ -66,16 +66,16 @@
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{$serverroot}profile"><i class="fa fa-user"></i><span> My Profile</span></a></li>
|
||||
<li><a href="{$serverroot}cart"><i class="fa fa-shopping-cart"></i><span> My Cart</span></a></li>
|
||||
<li><a href="{$serverroot}queue"><i class="fa fa-cloud-download"></i><span> My Queue</span></a></li>
|
||||
<li><a href="{$serverroot}mymovies"><i class="fa fa-film"></i><span> My movies</span></a></li>
|
||||
<li><a href="{$serverroot}profileedit"><i class="fa fa-cog fa-spin"></i><span> Account Settings</span></a>
|
||||
<li><a href="{$smarty.const.WWW_TOP}profile"><i class="fa fa-user"></i><span> My Profile</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}cart"><i class="fa fa-shopping-cart"></i><span> My Cart</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}queue"><i class="fa fa-cloud-download"></i><span> My Queue</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}mymovies"><i class="fa fa-film"></i><span> My movies</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}profileedit"><i class="fa fa-cog fa-spin"></i><span> Account Settings</span></a>
|
||||
</li>
|
||||
{if isset($isadmin)}
|
||||
<li><a href="{$serverroot}admin"><i class="fa fa-cogs fa-spin"></i><span> Admin</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}admin"><i class="fa fa-cogs fa-spin"></i><span> Admin</span></a></li>
|
||||
{/if}
|
||||
<li><a href="{$serverroot}logout"><i class="fa fa-unlock-alt"></i><span> Logout</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}logout"><i class="fa fa-unlock-alt"></i><span> Logout</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- user dropdown ends -->
|
||||
@@ -119,40 +119,40 @@
|
||||
<li class="accordion">
|
||||
<a href="#"><i class="fa fa-list-ol"></i><span> Browse</span></a>
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
<li><a href="{$serverroot}newposterwall"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}newposterwall"><i
|
||||
class="fa fa-file-image-o"></i><span> New Releases</span></a></li>
|
||||
<li><a href="{$serverroot}console"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}console"><i
|
||||
class="fa fa-gamepad"></i><span> Console</span></a></li>
|
||||
<li><a href="{$serverroot}movies"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}movies"><i
|
||||
class="fa fa-film"></i><span> Movies</span></a></li>
|
||||
<li><a href="{$serverroot}music"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}music"><i
|
||||
class="fa fa-music"></i><span> Music</span></a></li>
|
||||
<li><a href="{$serverroot}games"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}games"><i
|
||||
class="fa fa-gamepad"></i><span> Games</span></a></li>
|
||||
<li><a href="{$serverroot}xxx"><i class="fa fa-ban"></i><span> XXX</span></a></li>
|
||||
<li><a href="{$serverroot}books"><i class="fa fa-book"></i><span> Books</span></a>
|
||||
<li><a href="{$smarty.const.WWW_TOP}xxx"><i class="fa fa-ban"></i><span> XXX</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}books"><i class="fa fa-book"></i><span> Books</span></a>
|
||||
</li>
|
||||
<li><a href="{$serverroot}browse"><i class="fa fa-list-ul"></i><span> Browse All Releases</span></a>
|
||||
<li><a href="{$serverroot}prehash"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}browse"><i class="fa fa-list-ul"></i><span> Browse All Releases</span></a>
|
||||
<li><a href="{$smarty.const.WWW_TOP}prehash"><i
|
||||
class="fa fa-list-ol"></i><span> PreHash</span></a>
|
||||
<li><a href="{$serverroot}predb"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}predb"><i
|
||||
class="fa fa-list-alt"></i><span> PreDB</span></a>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="accordion">
|
||||
<a href="#"><i class="fa fa-list-ol"></i><span> Articles & Links</span></a>
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
<li><a href="{$serverroot}contact-us"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}contact-us"><i
|
||||
class="fa fa-envelope-o"></i><span> Contact</span> <span
|
||||
class="fa arrow"></span></a></li>
|
||||
<li><a href="{$serverroot}search"><i class="fa fa-search"></i> Search</a></li>
|
||||
<li><a href="{$serverroot}rss"><i class="fa fa-rss"></i> RSS Feeds</a></li>
|
||||
<li><a href="{$serverroot}apihelp"><i class="fa fa-cloud"></i> API</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}search"><i class="fa fa-search"></i> Search</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}rss"><i class="fa fa-rss"></i> RSS Feeds</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}apihelp"><i class="fa fa-cloud"></i> API</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{$serverroot}logout"><i class="fa fa-unlock"></i><span> Logout</span></a>
|
||||
<li><a href="{$smarty.const.WWW_TOP}logout"><i class="fa fa-unlock"></i><span> Logout</span></a>
|
||||
{else}
|
||||
<li><a href="{$serverroot}login"><i class="fa fa-lock"></i><span> Login</span></a>
|
||||
<li><a href="{$smarty.const.WWW_TOP}login"><i class="fa fa-lock"></i><span> Login</span></a>
|
||||
{/if}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<div class="row m-b-30">
|
||||
<div class="col-sm-6">
|
||||
<form method="POST" action="{$serverroot}contact-us">
|
||||
<form method="POST" action="{$smarty.const.WWW_TOP}contact-us">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<label for="username" class="h6">Name</label>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
@@ -93,7 +93,7 @@
|
||||
</p>
|
||||
<button type="submit" class="btn btn-primary">Request Password Reset</button>
|
||||
</fieldset>
|
||||
<a href="{$serverroot}login" class="text-center">I already have a membership</a>
|
||||
<a href="{$smarty.const.WWW_TOP}login" class="text-center">I already have a membership</a>
|
||||
</form>
|
||||
</div>
|
||||
<!--/span-->
|
||||
|
||||
@@ -21,9 +21,13 @@
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{if !$privateprofiles || $isadmin || $ismod}
|
||||
<a title="View profile"
|
||||
href="{$smarty.const.WWW_TOP}/profile/?name={$result.username}">{$result.username}</a>
|
||||
<br/>
|
||||
{else}
|
||||
{$result.username}
|
||||
{/if}
|
||||
on <span title="{$result.createddate}">{$result.createddate|date_format}</span>
|
||||
<div class="hint">({$result.createddate|timeago})</div>
|
||||
</td>
|
||||
|
||||
@@ -11,15 +11,17 @@
|
||||
{foreach from=$results item=result name=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="15%;">
|
||||
{if $result.isadmin == 1}<strong>{/if}
|
||||
{if !$privateprofiles || $isadmin || $ismod}
|
||||
<a {if $smarty.foreach.result.last}id="last"{/if}
|
||||
title="{if $result.isadmin == 1}Admin{else}View profile{/if}"
|
||||
href="{$smarty.const.WWW_TOP}/profile/?name={$result.username}">{$result.username}</a>
|
||||
{if $result.isadmin == 1}</strong>{/if}
|
||||
<br/>
|
||||
{else}
|
||||
{$result.username}
|
||||
{/if}
|
||||
on <span title="{$result.createddate}">{$result.createddate|date_format}</span>
|
||||
<div class="hint">({$result.createddate|timeago})</div>
|
||||
{if $userdata.role==2}
|
||||
{if $isadmin || $ismod}
|
||||
<div>
|
||||
<a class="rndbtn confirm_action"
|
||||
href="{$smarty.const.WWW_TOP}/admin/forum-delete.php?id={$result.id}&from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
@@ -105,8 +104,8 @@
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
<a href="{$serverroot}forgottenpassword" class="text-center">I forgot my password</a><br>
|
||||
<a href="{$serverroot}register" class="text-center">Register a new membership</a>
|
||||
<a href="{$smarty.const.WWW_TOP}}forgottenpassword" class="text-center">I forgot my password</a><br>
|
||||
<a href="{$smarty.const.WWW_TOP}}register" class="text-center">Register a new membership</a>
|
||||
</div>
|
||||
<!--/span-->
|
||||
</div>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
{if $smarty.foreach.loop.first}
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}"><img
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$serverroot}covers/movies/{$result.imdbid}-cover.jpg{else}{$serverroot}templates_shared/images/nocover.png{/if}"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/movies/{$result.imdbid}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
<a target="_blank"
|
||||
@@ -187,7 +187,7 @@
|
||||
{if $smarty.foreach.loop.first}
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}"><img
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$serverroot}covers/movies/{$result.imdbid}-cover.jpg{else}{$serverroot}templates_shared/images/nocover.png{/if}"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/movies/{$result.imdbid}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
<a target="_blank"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<td>
|
||||
<div>
|
||||
<img class="shadow"
|
||||
src="{if $result['cover'] ==""}{$serverroot}templates_shared/images/nocover.png{else}{$result['cover']}{/if}"
|
||||
src="{if $result['cover'] ==""}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{else}{$result['cover']}{/if}"
|
||||
width="120" border="0" alt="{$result['title']|escape:"htmlall"}"/>
|
||||
<div>
|
||||
<a class="label label-default" target="_blank"
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
|
||||
<ShortName>{$site->title|escape}</ShortName>
|
||||
<Description>{$site->title|escape} Search Facility</Description>
|
||||
<Url type="text/html" method="get" template="{$serverroot}search/{literal}{searchTerms}{/literal}"/>
|
||||
<Url type="text/html" method="get" template="{$smarty.const.WWW_TOP}search/{literal}{searchTerms}{/literal}"/>
|
||||
<Contact>{$site->email}</Contact>
|
||||
<Image width="16" height="16">{$serverroot}templates_shared/images/favicon.ico</Image>
|
||||
<Image width="16" height="16">{$smarty.const.WWW_TOP}templates_shared/images/favicon.ico</Image>
|
||||
<Developer>newznab.com</Developer>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<moz:SearchForm>{$serverroot}</moz:SearchForm>
|
||||
<moz:UpdateUrl>{$serverroot}opensearch</moz:UpdateUrl>
|
||||
<moz:IconUpdateUrl>{$serverroot}templates_shared/images/favicon.ico</moz:IconUpdateUrl>
|
||||
<moz:SearchForm>{$smarty.const.WWW_TOP}</moz:SearchForm>
|
||||
<moz:UpdateUrl>{$smarty.const.WWW_TOP}opensearch</moz:UpdateUrl>
|
||||
<moz:IconUpdateUrl>{$smarty.const.WWW_TOP}templates_shared/images/favicon.ico</moz:IconUpdateUrl>
|
||||
<moz:UpdateInterval>7</moz:UpdateInterval>
|
||||
</OpenSearchDescription>
|
||||
@@ -36,10 +36,12 @@
|
||||
<th width="200">Username</th>
|
||||
<td>{$user.username|escape:"htmlall"}</td>
|
||||
</tr>
|
||||
{if $isadmin || !$publicview}
|
||||
<tr>
|
||||
<th width="200">E-mail</th>
|
||||
<th width="200" title="Not public">E-mail</th>
|
||||
<td>{$user.email}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<th width="200">Registered</th>
|
||||
<td>{$user.createddate|date_format}
|
||||
@@ -59,9 +61,15 @@
|
||||
{if $userinvitedby && $userinvitedby.username != ""}
|
||||
<tr>
|
||||
<th width="200">Invited By</th>
|
||||
{if $privileged || !$privateprofiles}
|
||||
<td><a title="View {$userinvitedby.username}'s profile"
|
||||
href="{$smarty.const.WWW_TOP}/profile?name={$userinvitedby.username}">{$userinvitedby.username}</a>
|
||||
</td>
|
||||
{else}
|
||||
<td>
|
||||
{$userinvitedby.username}
|
||||
</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -98,14 +106,16 @@
|
||||
<th>Downloads Total</th>
|
||||
<td>{$user.grabs}</td>
|
||||
</tr>
|
||||
{if $isadmin || !$publicview}
|
||||
<tr>
|
||||
<th>API/RSS Key</th>
|
||||
<th title="Not public">API/RSS Key</th>
|
||||
<td>
|
||||
<a href="{$serverroot}rss?t=0&dl=1&i={$user.id}&r={$user.rsstoken}">{$user.rsstoken}</a>
|
||||
<a href="{$serverroot}profileedit?action=newapikey"
|
||||
<a href="{$smarty.const.WWW_TOP}rss?t=0&dl=1&i={$user.id}&r={$user.rsstoken}">{$user.rsstoken}</a>
|
||||
<a href="{$smarty.const.WWW_TOP}profileedit?action=newapikey"
|
||||
class="label label-danger">GENERATE NEW KEY</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
@@ -115,7 +125,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-primary" href="{$serverroot}profileedit">Edit Profile</a>
|
||||
<a class="btn btn-primary" href="{$smarty.const.WWW_TOP}profileedit">Edit Profile</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
@@ -108,7 +108,7 @@
|
||||
</p>
|
||||
<button type="submit" class="btn btn-primary">Register</button>
|
||||
</fieldset>
|
||||
<a href="{$serverroot}login" class="text-center">I already have a membership</a>
|
||||
<a href="{$smarty.const.WWW_TOP}login" class="text-center">I already have a membership</a>
|
||||
</form>
|
||||
</div>
|
||||
<!--/span-->
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$serverroot}rss-info/">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$smarty.const.WWW_TOP}rss-info/">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
||||
<atom:link href="{$smarty.const.WWW_TOP}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
||||
type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Nzb Feed</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link href="{$serverroot}"/>
|
||||
<link href="{$smarty.const.WWW_TOP}"/>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname|escape:html}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link href="{$serverroot}{if $dl=="1"}getnzb{else}details{/if}/{$release.guid}{if $dl=="1"}.nzb&i={$uid}&r={$rsstoken}{/if}{if $del=="1"}&del=1{/if}"/>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link href="{$smarty.const.WWW_TOP}{if $dl=="1"}getnzb{else}details{/if}/{$release.guid}{if $dl=="1"}.nzb&i={$uid}&r={$rsstoken}{/if}{if $del=="1"}&del=1{/if}"/>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{if isset($api) && $api=="1"}{$release.searchname}{else}
|
||||
@@ -28,32 +28,32 @@
|
||||
<div>
|
||||
{if isset($release_cover) && $release.cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;"
|
||||
src="{$serverroot}covers/movies/{$release.imdbid}-cover.jpg" width="120" border="0"
|
||||
src="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-cover.jpg" width="120" border="0"
|
||||
alt="{$release.searchname|escape:"htmlall"}"/>
|
||||
{/if}
|
||||
{if isset($release.mu_cover) && $release.mu_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;"
|
||||
src="{$serverroot}covers/music/{$release.musicinfoid}.jpg" width="120" border="0"
|
||||
src="{$smarty.const.WWW_TOP}covers/music/{$release.musicinfoid}.jpg" width="120" border="0"
|
||||
alt="{$release.searchname|escape:"htmlall"}"/>
|
||||
{/if}
|
||||
{if isset($release.co_cover) && $release.co_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;"
|
||||
src="{$serverroot}covers/console/{$release.consoleinfoid}.jpg" width="120" border="0"
|
||||
src="{$smarty.const.WWW_TOP}covers/console/{$release.consoleinfoid}.jpg" width="120" border="0"
|
||||
alt="{$release.searchname|escape:"htmlall"}"/>
|
||||
{/if}
|
||||
{if isset($release.bo_cover) && $release.bo_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;"
|
||||
src="{$serverroot}covers/book/{$release.bookinfoid}.jpg" width="120" border="0"
|
||||
src="{$smarty.const.WWW_TOP}covers/book/{$release.bookinfoid}.jpg" width="120" border="0"
|
||||
alt="{$release.searchname|escape:"htmlall"}"/>
|
||||
{/if}
|
||||
<ul>
|
||||
<li>ID: <a href="{$serverroot}details/{$release.guid}">{$release.guid}</a></li>
|
||||
<li>ID: <a href="{$smarty.const.WWW_TOP}details/{$release.guid}">{$release.guid}</a></li>
|
||||
<li>Name: {$release.searchname}</li>
|
||||
<li>Size: {$release.size|fsize_format:"MB"} </li>
|
||||
<li>Attributes: Category - <a
|
||||
href="{$serverroot}browse?t={$release.categoryid}">{$release.category_name}</a>
|
||||
href="{$smarty.const.WWW_TOP}browse?t={$release.categoryid}">{$release.category_name}</a>
|
||||
</li>
|
||||
<li>Groups: <a href="{$serverroot}browse?g={$release.group_name}">{$release.group_name}</a>
|
||||
<li>Groups: <a href="{$smarty.const.WWW_TOP}browse?g={$release.group_name}">{$release.group_name}</a>
|
||||
</li>
|
||||
<li>Poster: {$release.fromname|escape:"htmlall"}</li>
|
||||
<li>PostDate: {$release.postdate|phpdate_format:"DATE_RSS"}</li>
|
||||
@@ -61,7 +61,7 @@
|
||||
Password: {if $release.passwordstatus == 0}None{elseif $release.passwordstatus == 1}Possibly Passworded Archive{elseif $release.passwordstatus == 2}Probably not viable{elseif $release.passwordstatus == 10}Passworded Archive{else}Unknown{/if}</li>
|
||||
{if isset($release.nfoid) && $release.nfoid != ""}
|
||||
<li>Nfo:
|
||||
<a href="{$serverroot}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}">{$release.searchname}
|
||||
<a href="{$smarty.const.WWW_TOP}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}">{$release.searchname}
|
||||
.nfo</a></li>
|
||||
{/if}
|
||||
{if isset($release.parentCategoryid) && $release.parentCategoryid == 2000}
|
||||
@@ -145,7 +145,7 @@
|
||||
</description>
|
||||
{if $dl=="1"}
|
||||
<enclosure
|
||||
url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}"
|
||||
url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}"
|
||||
length="{$release.size}" type="application/x-nzb" />{/if}
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}"/>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="col-xlg-12 portlets">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body pagination2">
|
||||
<form method="get" action="{$serverroot}searchraw">
|
||||
<form method="get" action="{$smarty.const.WWW_TOP}searchraw">
|
||||
<div style="text-align:center;">
|
||||
<label for="search" style="display:none;">Search</label>
|
||||
<input id="search" name="search" value="{$search|escape:'htmlall'}" type="text"/>
|
||||
@@ -34,7 +34,7 @@
|
||||
{elseif $search == ""}
|
||||
{else}
|
||||
{$site->adbrowse}
|
||||
<form method="post" id="dl" name="dl" action="{$serverroot}searchraw">
|
||||
<form method="post" id="dl" name="dl" action="{$smarty.const.WWW_TOP}searchraw">
|
||||
<table style="width:100%;" class="data" id="browsetable">
|
||||
<tr>
|
||||
<!--<th width="10"></th>-->
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{else}
|
||||
<img class="pull-right" style="margin-right:50px; max-height:278px;"
|
||||
alt="{$result.title|escape:"htmlall"} Logo"
|
||||
src="{$serverroot}templates_shared/images/nomoviecover.jpg"/>
|
||||
src="{$smarty.const.WWW_TOP}templates_shared/images/nomoviecover.jpg"/>
|
||||
{/if}
|
||||
<span class="h1" style="display:inline;">{$result.title|escape:"htmlall"} ({$result.year})</span><a
|
||||
class="btn btn-transparent btn-primary" target="_blank"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
title="Delete release">Delete</a>
|
||||
{/if}
|
||||
{if $movie && $release.rageid < 0}
|
||||
<a class="label label-default" href="{$serverroot}movies?imdb={$release.imdbid}"
|
||||
<a class="label label-default" href="{$smarty.const.WWW_TOP}movies?imdb={$release.imdbid}"
|
||||
title="View all releases for this movie">Movie View</a>
|
||||
<a class="label label-default" target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$release.imdbid}/"
|
||||
@@ -34,7 +34,7 @@
|
||||
{/if}
|
||||
{/if}
|
||||
{if $anidb && $release.anidbid > 0}
|
||||
<a class="label label-default" href="{$serverroot}anime/{$release.anidbid}"
|
||||
<a class="label label-default" href="{$smarty.const.WWW_TOP}anime/{$release.anidbid}"
|
||||
title="View all releases from this anime">View all episodes</a>
|
||||
<a class="label label-default"
|
||||
href="{$site->dereferrer_link}http://anidb.net/perl-bin/animedb.pl?show=anime&aid={$anidb.anidbid}"
|
||||
@@ -46,7 +46,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="{$serverroot}series/{$release.rageid}"
|
||||
<a class="label label-default" href="{$smarty.const.WWW_TOP}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}"
|
||||
@@ -577,18 +577,25 @@
|
||||
</tr>
|
||||
{foreach from=$comments item=comment}
|
||||
<tr>
|
||||
<td width="150">{if $comment.sourceid == 0}
|
||||
<td width="150">
|
||||
{if $comment.sourceid == 0}
|
||||
{if !$privateprofiles || $isadmin || $ismod}
|
||||
<a
|
||||
title="View {$comment.username}'s profile"
|
||||
href="{$smarty.const.WWW_TOP}/profile?name={$comment.username}">{$comment.username}</a>{else}{$comment.username}
|
||||
href="{$smarty.const.WWW_TOP}/profile?name={$comment.username}">{$comment.username}</a>
|
||||
{else}
|
||||
{$comment.username}
|
||||
<br/>
|
||||
<span style="color: #ce0000;">(syndicated)</span>
|
||||
{/if}
|
||||
<br/>{$comment.createddate|date_format}
|
||||
</td>
|
||||
<td>
|
||||
{$comment.text|escape:"htmlall"|nl2br}
|
||||
<br/>{$comment.createddate|date_format} ({$comment.createddate|timeago} ago)
|
||||
</td>
|
||||
{if $comment.shared == 2}
|
||||
<td style="color:#6B2447">{$comment.text|escape:"htmlall"|nl2br}</td>
|
||||
{else}
|
||||
<td>{$comment.text|escape:"htmlall"|nl2br}</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
{if $smarty.foreach.loop.first}
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}"><img
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$serverroot}covers/xxx/{$result.id}-cover.jpg{else}{$serverroot}templates_shared/images/nocover.png{/if}"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/xxx/{$result.id}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
{if $result.classused == "ade"}
|
||||
@@ -221,7 +221,7 @@
|
||||
{if $smarty.foreach.loop.first}
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}"><img
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$serverroot}covers/xxx/{$result.id}-cover.jpg{else}{$serverroot}templates_shared/images/nocover.png{/if}"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/xxx/{$result.id}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
{if $result.classused == "ade"}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<caps>
|
||||
<server appversion="{$site->version}" version="0.1" title="{$site->title|escape}" strapline="{$site->strapline|escape}" email="{$site->email}" url="{$serverroot}" image="{if $site->style != "" && $site->style != "/"}{$serverroot}theme/{$site->style}/images/banner.jpg{else}{$serverroot}images/banner.jpg{/if}" />
|
||||
<server appversion="{$site->version}" version="0.1" title="{$site->title|escape}" strapline="{$site->strapline|escape}" email="{$site->email}" url="{$smarty.const.WWW_TOP}" image="{if $site->style != "" && $site->style != "/"}{$smarty.const.WWW_TOP}theme/{$site->style}/images/banner.jpg{else}{$smarty.const.WWW_TOP}images/banner.jpg{/if}" />
|
||||
<limits max="100" default="100"/>
|
||||
|
||||
<registration available="yes" open="{if $site->registerstatus == 0}yes{else}no{/if}" />
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml" />
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Api Detail</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}themes_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}themes_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$comments item=comm}
|
||||
<item>
|
||||
<title>{$comm.username}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$comm.guid}&comment={$comm.id}</guid>
|
||||
<link>{$serverroot}details/{$comm.guid}&comment={$comm.id}</link>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$comm.guid}&comment={$comm.id}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}details/{$comm.guid}&comment={$comm.id}</link>
|
||||
<pubDate>{$comm.createddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<description>{$comm.text|escape:"htmlall"}</description>
|
||||
</item>
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml" />
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Api Detail</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}themes_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}themes_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}</link>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}</link>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{$release.searchname}</description>
|
||||
<enclosure url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}" length="{$release.size}" type="application/x-nzb" />
|
||||
<enclosure url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}" length="{$release.size}" type="application/x-nzb" />
|
||||
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}" />
|
||||
@@ -60,9 +60,9 @@
|
||||
{/if}
|
||||
{if $mov.actors != ""} <newznab:attr name="imdbactors" value="{$mov.actors|escape:html}" />
|
||||
{/if}
|
||||
{if $mov.cover == 1} <newznab:attr name="coverurl" value="{$serverroot}covers/movies/{$release.imdbid}-cover.jpg" />
|
||||
{if $mov.cover == 1} <newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-cover.jpg" />
|
||||
{/if}
|
||||
{if $mov.backdrop == 1} <newznab:attr name="backdropurl" value="{$serverroot}covers/movies/{$release.imdbid}-backdrop.jpg" />
|
||||
{if $mov.backdrop == 1} <newznab:attr name="backdropurl" value="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-backdrop.jpg" />
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.mi_title != ""} <newznab:attr name="album" value="{$release.mi_title|escape:html}" />
|
||||
{/if}
|
||||
@@ -74,7 +74,7 @@
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.mi_review != ""} <newznab:attr name="review" value="{$release.mi_review|escape:html}" />
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.mi_cover == "1"} <newznab:attr name="coverurl" value="{$serverroot}covers/music/{$release.musicinfoid}.jpg" />
|
||||
{if $release.musicinfoid != "" && $release.mi_cover == "1"} <newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/music/{$release.musicinfoid}.jpg" />
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.music_genrename != ""} <newznab:attr name="genre" value="{$release.music_genrename|escape:html}" />
|
||||
{/if}
|
||||
@@ -82,7 +82,7 @@
|
||||
{/if}
|
||||
{if $release.bookinfoid != "" && $release.bi_title != ""} <newznab:attr name="booktitle" value="{$release.bi_title|escape:html}" />
|
||||
{/if}
|
||||
{if $release.bookinfoid != "" && $release.bi_cover == "1"} <newznab:attr name="coverurl" value="{$serverroot}covers/book/{$release.bookinfoid}.jpg" />
|
||||
{if $release.bookinfoid != "" && $release.bi_cover == "1"} <newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/book/{$release.bookinfoid}.jpg" />
|
||||
{/if}
|
||||
{if $release.bookinfoid != "" && $release.bi_review != ""} <newznab:attr name="review" value="{$release.bi_review|escape:html}" />
|
||||
{/if}
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$serverroot}rss-info/">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$smarty.const.WWW_TOP}rss-info/">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{$smarty.const.WWW_TOP}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self" type="application/rss+xml" />
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Nzb Feed</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates/nntmux/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates/nntmux/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
<item>
|
||||
<title>{$release.searchname|escape:"htmlall"}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}nfo/{$release.guid}</link>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}nfo/{$release.guid}</link>
|
||||
<pubDate>{$release.postdate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<description>{$nfoutf|escape:"htmlall"}</description>
|
||||
<enclosure url="{$serverroot}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}" length="{$nfoutf|count_characters:true}" type="text/x-nfo" />
|
||||
<enclosure url="{$smarty.const.WWW_TOP}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}" length="{$nfoutf|count_characters:true}" type="text/x-nfo" />
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml" />
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} API Results</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates/nntmux/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates/nntmux/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
<newznab:response offset="{$offset}" total="{if $releases|@count > 0}{$releases[0]._totalrows}{else}0{/if}" />
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname|escape:html}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}</link>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}</link>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{$release.searchname|escape:html}</description>
|
||||
<enclosure url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}" length="{$release.size}" type="application/x-nzb" />
|
||||
<enclosure url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}" length="{$release.size}" type="application/x-nzb" />
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}" />
|
||||
{/foreach}
|
||||
<newznab:attr name="size" value="{$release.size}" />
|
||||
{if isset($release.coverurl) && $release.coverurl != ""}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/{$release.coverurl}" />
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/{$release.coverurl}" />
|
||||
{/if}
|
||||
{if $extended == "1"}
|
||||
<newznab:attr name="files" value="{$release.totalpart}" />
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
|
||||
<ShortName>{$site->title|escape}</ShortName>
|
||||
<Description>{$site->title|escape} Search Facility</Description>
|
||||
<Url type="text/html" method="get" template="{$serverroot}search/{literal}{searchTerms}{/literal}"/>
|
||||
<Url type="text/html" method="get" template="{$smarty.const.WWW_TOP}search/{literal}{searchTerms}{/literal}"/>
|
||||
<Contact>{$site->email}</Contact>
|
||||
<Image width="16" height="16">{$serverroot}templates/nntmux/images/favicon.ico</Image>
|
||||
<Image width="16" height="16">{$smarty.const.WWW_TOP}templates/nntmux/images/favicon.ico</Image>
|
||||
<Developer>newznab.com</Developer>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<moz:SearchForm>{$serverroot}</moz:SearchForm>
|
||||
<moz:UpdateUrl>{$serverroot}opensearch</moz:UpdateUrl>
|
||||
<moz:IconUpdateUrl>{$serverroot}templates/nntmux/images/favicon.ico</moz:IconUpdateUrl>
|
||||
<moz:SearchForm>{$smarty.const.WWW_TOP}</moz:SearchForm>
|
||||
<moz:UpdateUrl>{$smarty.const.WWW_TOP}opensearch</moz:UpdateUrl>
|
||||
<moz:IconUpdateUrl>{$smarty.const.WWW_TOP}templates/nntmux/images/favicon.ico</moz:IconUpdateUrl>
|
||||
<moz:UpdateInterval>7</moz:UpdateInterval>
|
||||
</OpenSearchDescription>
|
||||
@@ -60,7 +60,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
{if $isadmin || !$publicview}<tr><th title="Not public">Excluded Categories:</th><td>{$exccats|replace:",":"<br/>"}</td></tr>{/if}
|
||||
{if $page->settings->getSetting('sabintegrationtype') == 2 && $user.id==$userdata.id}
|
||||
{if $page->settings->getSetting('sabintegrationtype') == 2 && (!$publicview || $isadmin)}
|
||||
<tr><th>SABnzbd Integration:</th>
|
||||
<td>
|
||||
Url: {if $saburl == ''}N/A{else}{$saburl}{/if}<br/>
|
||||
@@ -70,14 +70,13 @@
|
||||
Storage: {if $sabsetting == ''}N/A{else}{$sabsetting}{/if}
|
||||
</td>
|
||||
{/if}
|
||||
{if !$publicview || $isadmin}
|
||||
<tr>
|
||||
<th>CouchPotato Integration:</th>
|
||||
<td>
|
||||
Url: {if $user.cp_url == ''}N/A{else}{$user.cp_url}{/if}<br/>
|
||||
Key: {if $user.cp_api == ''}N/A{else}{$user.cp_api}{/if}<br/>
|
||||
</td>
|
||||
|
||||
{if ($user.id==$userdata.id)}
|
||||
<tr>
|
||||
<th>NZBVortex</th>
|
||||
<td>
|
||||
@@ -86,15 +85,9 @@
|
||||
Server URL: <a href="{$user.nzbvortex_server_url}" target="_blank">{$user.nzbvortex_server_url}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $user.id==$userdata.id}
|
||||
<tr><th>My TV Shows:</th><td><a href="{$smarty.const.WWW_TOP}/myshows">Manage my shows</a></td></tr>
|
||||
<tr><th>My Movies:</th><td><a href="{$smarty.const.WWW_TOP}/mymovies">Manage my movies</a></td></tr>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $user.id==$userdata.id}<tr><th></th><td><a href="{$smarty.const.WWW_TOP}/profileedit">Edit</a></td></tr>{/if}
|
||||
<tr><th></th><td><a href="{$smarty.const.WWW_TOP}/profileedit">Edit</a></td></tr>{/if}
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$serverroot}rss-info/">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$smarty.const.WWW_TOP}rss-info/">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{$smarty.const.WWW_TOP}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self" type="application/rss+xml" />
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Nzb Feed</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates/nntmux/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates/nntmux/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname|escape:html}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}{if $dl=="1"}getnzb{else}details{/if}/{$release.guid}{if $dl=="1"}.nzb&i={$uid}&r={$rsstoken}{/if}{if $del=="1"}&del=1{/if}</link>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}{if $dl=="1"}getnzb{else}details{/if}/{$release.guid}{if $dl=="1"}.nzb&i={$uid}&r={$rsstoken}{/if}{if $del=="1"}&del=1{/if}</link>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{if isset($api) && $api=="1"}{$release.searchname}{else}
|
||||
<![CDATA[{strip}
|
||||
<div>
|
||||
{if isset($release_cover) && $release.cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;" src="{$serverroot}covers/movies/{$release.imdbid}-cover.jpg" width="120" border="0" alt="{$release.searchname|escape:"htmlall"}" />
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;" src="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-cover.jpg" width="120" border="0" alt="{$release.searchname|escape:"htmlall"}" />
|
||||
{/if}
|
||||
{if isset($release.mu_cover) && $release.mu_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;" src="{$serverroot}covers/music/{$release.musicinfoid}.jpg" width="120" border="0" alt="{$release.searchname|escape:"htmlall"}" />
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;" src="{$smarty.const.WWW_TOP}covers/music/{$release.musicinfoid}.jpg" width="120" border="0" alt="{$release.searchname|escape:"htmlall"}" />
|
||||
{/if}
|
||||
{if isset($release.co_cover) && $release.co_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;" src="{$serverroot}covers/console/{$release.consoleinfoid}.jpg" width="120" border="0" alt="{$release.searchname|escape:"htmlall"}" />
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;" src="{$smarty.const.WWW_TOP}covers/console/{$release.consoleinfoid}.jpg" width="120" border="0" alt="{$release.searchname|escape:"htmlall"}" />
|
||||
{/if}
|
||||
{if isset($release.bo_cover) && $release.bo_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;" src="{$serverroot}covers/book/{$release.bookinfoid}.jpg" width="120" border="0" alt="{$release.searchname|escape:"htmlall"}" />
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;" src="{$smarty.const.WWW_TOP}covers/book/{$release.bookinfoid}.jpg" width="120" border="0" alt="{$release.searchname|escape:"htmlall"}" />
|
||||
{/if}
|
||||
<ul>
|
||||
<li>ID: <a href="{$serverroot}details/{$release.guid}">{$release.guid}</a></li>
|
||||
<li>ID: <a href="{$smarty.const.WWW_TOP}details/{$release.guid}">{$release.guid}</a></li>
|
||||
<li>Name: {$release.searchname}</li>
|
||||
<li>Size: {$release.size|fsize_format:"MB"} </li>
|
||||
<li>Attributes: Category - <a href="{$serverroot}browse?t={$release.categoryid}">{$release.category_name}</a></li>
|
||||
<li>Groups: <a href="{$serverroot}browse?g={$release.group_name}">{$release.group_name}</a></li>
|
||||
<li>Attributes: Category - <a href="{$smarty.const.WWW_TOP}browse?t={$release.categoryid}">{$release.category_name}</a></li>
|
||||
<li>Groups: <a href="{$smarty.const.WWW_TOP}browse?g={$release.group_name}">{$release.group_name}</a></li>
|
||||
<li>Poster: {$release.fromname|escape:"htmlall"}</li>
|
||||
<li>PostDate: {$release.postdate|phpdate_format:"DATE_RSS"}</li>
|
||||
<li>Password: {if $release.passwordstatus == 0}None{elseif $release.passwordstatus == 1}Possibly Passworded Archive{elseif $release.passwordstatus == 2}Probably not viable{elseif $release.passwordstatus == 10}Passworded Archive{else}Unknown{/if}</li>
|
||||
{if isset($release.nfoid) && $release.nfoid != ""}
|
||||
<li>Nfo: <a href="{$serverroot}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}">{$release.searchname}.nfo</a></li>
|
||||
<li>Nfo: <a href="{$smarty.const.WWW_TOP}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}">{$release.searchname}.nfo</a></li>
|
||||
{/if}
|
||||
{if isset($release.parentCategoryid) && $release.parentCategoryid == 2000}
|
||||
{if $release.imdbid != ""}
|
||||
@@ -107,7 +107,7 @@
|
||||
{/strip}]]>
|
||||
{/if}
|
||||
</description>
|
||||
{if $dl=="1"}<enclosure url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}" length="{$release.size}" type="application/x-nzb" />{/if}
|
||||
{if $dl=="1"}<enclosure url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}" length="{$release.size}" type="application/x-nzb" />{/if}
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}" />
|
||||
{/foreach}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{$smarty.const.WWW_TOP}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self" type="application/rss+xml" />
|
||||
<title>{$site->title|escape}{if $rsstitle!=""} {$rsstitle|escape:"htmlall"}{/if}</title>
|
||||
<description>{$site->title|escape} RSS Feed</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates/nntmux/images/banner.jpg</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates/nntmux/images/banner.jpg</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<caps>
|
||||
<server appversion="{$site->version}" version="0.1" title="{$site->title|escape}"
|
||||
strapline="{$site->strapline|escape}" email="{$site->email}" url="{$serverroot}"
|
||||
image="{if $site->style != "" && $site->style != "/"}{$serverroot}theme/{$site->style}/images/banner.jpg{else}{$serverroot}images/banner.jpg{/if}"/>
|
||||
strapline="{$site->strapline|escape}" email="{$site->email}" url="{$smarty.const.WWW_TOP}"
|
||||
image="{if $site->style != "" && $site->style != "/"}{$smarty.const.WWW_TOP}theme/{$site->style}/images/banner.jpg{else}{$smarty.const.WWW_TOP}images/banner.jpg{/if}"/>
|
||||
<limits max="100" default="100"/>
|
||||
<registration available="yes" open="{if $site->registerstatus == 0}yes{else}no{/if}"/>
|
||||
<searching>
|
||||
|
||||
@@ -2,24 +2,24 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Api Detail</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}themes_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}themes_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$comments item=comm}
|
||||
<item>
|
||||
<title>{$comm.username}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$comm.guid}&comment={$comm.id}</guid>
|
||||
<link>{$serverroot}details/{$comm.guid}&comment={$comm.id}</link>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$comm.guid}&comment={$comm.id}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}details/{$comm.guid}&comment={$comm.id}</link>
|
||||
<pubDate>{$comm.createddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<description>{$comm.text|escape:"htmlall"}</description>
|
||||
</item>
|
||||
|
||||
@@ -2,31 +2,31 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Api Detail</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}themes_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}themes_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}
|
||||
&r={$rsstoken}{if $del=="1"}&del=1{/if}</link>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{$release.searchname}</description>
|
||||
<enclosure
|
||||
url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}"
|
||||
url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}"
|
||||
length="{$release.size}" type="application/x-nzb"/>
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}"/>
|
||||
@@ -78,10 +78,10 @@
|
||||
<newznab:attr name="imdbactors" value="{$mov.actors|escape:html}"/>
|
||||
{/if}
|
||||
{if $mov.cover == 1}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/movies/{$release.imdbid}-cover.jpg"/>
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-cover.jpg"/>
|
||||
{/if}
|
||||
{if $mov.backdrop == 1}
|
||||
<newznab:attr name="backdropurl" value="{$serverroot}covers/movies/{$release.imdbid}-backdrop.jpg"/>
|
||||
<newznab:attr name="backdropurl" value="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-backdrop.jpg"/>
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.mi_title != ""}
|
||||
<newznab:attr name="album" value="{$release.mi_title|escape:html}"/>
|
||||
@@ -99,7 +99,7 @@
|
||||
<newznab:attr name="review" value="{$release.mi_review|escape:html}"/>
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.mi_cover == "1"}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/music/{$release.musicinfoid}.jpg"/>
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/music/{$release.musicinfoid}.jpg"/>
|
||||
{/if}
|
||||
{if $release.musicinfoid != "" && $release.music_genrename != ""}
|
||||
<newznab:attr name="genre" value="{$release.music_genrename|escape:html}"/>
|
||||
@@ -111,7 +111,7 @@
|
||||
<newznab:attr name="booktitle" value="{$release.bi_title|escape:html}"/>
|
||||
{/if}
|
||||
{if $release.bookinfoid != "" && $release.bi_cover == "1"}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/book/{$release.bookinfoid}.jpg"/>
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/book/{$release.bookinfoid}.jpg"/>
|
||||
{/if}
|
||||
{if $release.bookinfoid != "" && $release.bi_review != ""}
|
||||
<newznab:attr name="review" value="{$release.bi_review|escape:html}"/>
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$serverroot}rss-info/">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$smarty.const.WWW_TOP}rss-info/">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
||||
<atom:link href="{$smarty.const.WWW_TOP}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
||||
type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Nzb Feed</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
<item>
|
||||
<title>{$release.searchname|escape:"htmlall"}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}nfo/{$release.guid}</link>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}nfo/{$release.guid}</link>
|
||||
<pubDate>{$release.postdate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<description>{$nfoutf|escape:"htmlall"}</description>
|
||||
<enclosure url="{$serverroot}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}"
|
||||
<enclosure url="{$smarty.const.WWW_TOP}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}"
|
||||
length="{$nfoutf|count_characters:true}" type="text/x-nfo"/>
|
||||
</item>
|
||||
</channel>
|
||||
|
||||
@@ -2,37 +2,37 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" encoding="utf-8">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}api" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="{$smarty.const.WWW_TOP}api" rel="self" type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} API Results</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
<newznab:response offset="{$offset}" total="{if $releases|@count > 0}{$releases[0]._totalrows}{else}0{/if}"/>
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname|escape:html}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link>{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}</link>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link>{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}</link>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{$release.searchname|escape:html}</description>
|
||||
<enclosure url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}"
|
||||
<enclosure url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}"
|
||||
length="{$release.size}" type="application/x-nzb"/>
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}"/>
|
||||
{/foreach}
|
||||
<newznab:attr name="size" value="{$release.size}"/>
|
||||
{if isset($release.coverurl) && $release.coverurl != ""}
|
||||
<newznab:attr name="coverurl" value="{$serverroot}covers/{$release.coverurl}"/>
|
||||
<newznab:attr name="coverurl" value="{$smarty.const.WWW_TOP}covers/{$release.coverurl}"/>
|
||||
{/if}
|
||||
{if $extended == "1"}
|
||||
<newznab:attr name="files" value="{$release.totalpart}"/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
@@ -104,31 +104,31 @@
|
||||
<!-- Menu Body -->
|
||||
<li class="user-body">
|
||||
<div class="col-xs-12 text-center">
|
||||
<a href="{$serverroot}cart"><i class="fa fa-shopping-cart"></i> My Cart</a>
|
||||
<a href="{$smarty.const.WWW_TOP}cart"><i class="fa fa-shopping-cart"></i> My Cart</a>
|
||||
</div>
|
||||
<div class="col-xs-12 text-center">
|
||||
<a href="{$serverroot}queue"><i class="fa fa-list-alt"></i> My Queue</a>
|
||||
<a href="{$smarty.const.WWW_TOP}queue"><i class="fa fa-list-alt"></i> My Queue</a>
|
||||
</div>
|
||||
<div class="col-xs-12 text-center">
|
||||
<a href="{$serverroot}mymovies"><i class="fa fa-film"></i> My Movies</a>
|
||||
<a href="{$smarty.const.WWW_TOP}mymovies"><i class="fa fa-film"></i> My Movies</a>
|
||||
</div>
|
||||
<div class="col-xs-12 text-center">
|
||||
<a href="{$serverroot}profileedit"><i class="fa fa-cog fa-spin"></i> Account Settings</a>
|
||||
<a href="{$smarty.const.WWW_TOP}profileedit"><i class="fa fa-cog fa-spin"></i> Account Settings</a>
|
||||
</div>
|
||||
{if isset($isadmin)}
|
||||
<div class="col-xs-12 text-center">
|
||||
<a href="{$serverroot}admin"><i class="fa fa-cogs fa-spin"></i> Admin</a>
|
||||
<a href="{$smarty.const.WWW_TOP}admin"><i class="fa fa-cogs fa-spin"></i> Admin</a>
|
||||
</div>
|
||||
{/if}
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<div class="pull-left">
|
||||
<a href="{$serverroot}profile" class="btn btn-default btn-flat"><i
|
||||
<a href="{$smarty.const.WWW_TOP}profile" class="btn btn-default btn-flat"><i
|
||||
class="fa fa-user"></i> Profile</a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="{$serverroot}logout" class="btn btn-default btn-flat"><i
|
||||
<a href="{$smarty.const.WWW_TOP}logout" class="btn btn-default btn-flat"><i
|
||||
class="fa fa-unlock-alt"></i> Sign out</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -184,39 +184,39 @@
|
||||
<li class="treeview">
|
||||
<a href="#"><i class="fa fa-list-ol"></i><span> Browse</span></a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="{$serverroot}newposterwall"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}newposterwall"><i
|
||||
class="fa fa-file-image-o"></i><span> New Releases</span></a></li>
|
||||
<li><a href="{$serverroot}console"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}console"><i
|
||||
class="fa fa-gamepad"></i><span> Console</span></a></li>
|
||||
<li><a href="{$serverroot}movies"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}movies"><i
|
||||
class="fa fa-film"></i><span> Movies</span></a></li>
|
||||
<li><a href="{$serverroot}music"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}music"><i
|
||||
class="fa fa-music"></i><span> Music</span></a></li>
|
||||
<li><a href="{$serverroot}games"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}games"><i
|
||||
class="fa fa-gamepad"></i><span> Games</span></a></li>
|
||||
<li><a href="{$serverroot}xxx"><i class="fa fa-ban"></i><span> XXX</span></a></li>
|
||||
<li><a href="{$serverroot}books"><i class="fa fa-book"></i><span> Books</span></a></li>
|
||||
<li><a href="{$serverroot}browse"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}xxx"><i class="fa fa-ban"></i><span> XXX</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}books"><i class="fa fa-book"></i><span> Books</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}browse"><i
|
||||
class="fa fa-list-ul"></i><span> Browse All Releases</span></a></li>
|
||||
<li><a href="{$serverroot}prehash"><i class="fa fa-list-ol"></i><span> PreHash</span></a>
|
||||
<li><a href="{$smarty.const.WWW_TOP}prehash"><i class="fa fa-list-ol"></i><span> PreHash</span></a>
|
||||
</li>
|
||||
<li><a href="{$serverroot}predb"><i class="fa fa-list-alt"></i><span> PreDB</span></a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}predb"><i class="fa fa-list-alt"></i><span> PreDB</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#"><i class="fa fa-list-ol"></i><span> Articles & Links</span></a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="{$serverroot}contact-us"><i
|
||||
<li><a href="{$smarty.const.WWW_TOP}contact-us"><i
|
||||
class="fa fa-envelope-o"></i><span> Contact</span> <span
|
||||
class="fa arrow"></span></a></li>
|
||||
<li><a href="{$serverroot}search"><i class="fa fa-search"></i> Search</a></li>
|
||||
<li><a href="{$serverroot}rss"><i class="fa fa-rss"></i> RSS Feeds</a></li>
|
||||
<li><a href="{$serverroot}apihelp"><i class="fa fa-cloud"></i> API</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}search"><i class="fa fa-search"></i> Search</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}rss"><i class="fa fa-rss"></i> RSS Feeds</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}apihelp"><i class="fa fa-cloud"></i> API</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{$serverroot}logout"><i class="fa fa-unlock"></i><span> Sign out</span></a>
|
||||
<li><a href="{$smarty.const.WWW_TOP}logout"><i class="fa fa-unlock"></i><span> Sign out</span></a>
|
||||
{else}
|
||||
<li><a href="{$serverroot}login"><i class="fa fa-lock"></i><span> Login</span></a>
|
||||
<li><a href="{$smarty.const.WWW_TOP}login"><i class="fa fa-lock"></i><span> Login</span></a>
|
||||
{/if}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
/* ]]> */
|
||||
</script>
|
||||
<meta charset="UTF-8">
|
||||
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
<div class="row m-b-30">
|
||||
<div class="col-sm-6">
|
||||
<form method="POST" action="{$serverroot}contact-us">
|
||||
<form method="POST" action="{$smarty.const.WWW_TOP}contact-us">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<label for="username" class="h6">Name</label>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
|
||||
@@ -21,9 +21,13 @@
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{if !$privateprofiles || $isadmin || $ismod}
|
||||
<a title="View profile"
|
||||
href="{$smarty.const.WWW_TOP}/profile/?name={$result.username}">{$result.username}</a>
|
||||
<br/>
|
||||
{else}
|
||||
{$result.username}
|
||||
{/if}
|
||||
on <span title="{$result.createddate}">{$result.createddate|date_format}</span>
|
||||
<div class="hint">({$result.createddate|timeago})</div>
|
||||
</td>
|
||||
|
||||
@@ -11,15 +11,17 @@
|
||||
{foreach from=$results item=result name=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="15%;">
|
||||
{if $result.isadmin == 1}<strong>{/if}
|
||||
{if !$privateprofiles || $isadmin || $ismod}
|
||||
<a {if $smarty.foreach.result.last}id="last"{/if}
|
||||
title="{if $result.isadmin == 1}Admin{else}View profile{/if}"
|
||||
href="{$smarty.const.WWW_TOP}/profile/?name={$result.username}">{$result.username}</a>
|
||||
{if $result.isadmin == 1}</strong>{/if}
|
||||
<br/>
|
||||
{else}
|
||||
{$result.username}
|
||||
{/if}
|
||||
on <span title="{$result.createddate}">{$result.createddate|date_format}</span>
|
||||
<div class="hint">({$result.createddate|timeago})</div>
|
||||
{if $userdata.role==2}
|
||||
{if $isadmin || $ismod}
|
||||
<div>
|
||||
<a class="rndbtn confirm_action"
|
||||
href="{$smarty.const.WWW_TOP}/admin/forum-delete.php?id={$result.id}&from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
@@ -64,8 +63,8 @@
|
||||
</div><!-- /.col -->
|
||||
</div>
|
||||
</form>
|
||||
<a href="{$serverroot}forgottenpassword" class="text-center">I forgot my password</a><br>
|
||||
<a href="{$serverroot}register" class="text-center">Register a new membership</a>
|
||||
<a href="{$smarty.const.WWW_TOP}forgottenpassword" class="text-center">I forgot my password</a><br>
|
||||
<a href="{$smarty.const.WWW_TOP}register" class="text-center">Register a new membership</a>
|
||||
<!-- jQuery 2.1.4 -->
|
||||
<script src="{$smarty.const.WWW_TOP}/templates/omicron/plugins/jQuery/jQuery-2.1.4.min.js"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
{if $smarty.foreach.loop.first}
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}"><img
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$serverroot}covers/movies/{$result.imdbid}-cover.jpg{else}{$serverroot}templates_shared/images/nocover.png{/if}"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/movies/{$result.imdbid}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
<a target="_blank"
|
||||
@@ -187,7 +187,7 @@
|
||||
{if $smarty.foreach.loop.first}
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}"><img
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$serverroot}covers/movies/{$result.imdbid}-cover.jpg{else}{$serverroot}templates_shared/images/nocover.png{/if}"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/movies/{$result.imdbid}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
<a target="_blank"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<td>
|
||||
<div>
|
||||
<img class="shadow"
|
||||
src="{if $result['cover'] ==""}{$serverroot}templates_shared/images/nocover.png{else}{$result['cover']}{/if}"
|
||||
src="{if $result['cover'] ==""}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{else}{$result['cover']}{/if}"
|
||||
width="120" border="0" alt="{$result['title']|escape:"htmlall"}"/>
|
||||
<div>
|
||||
<a class="label label-default" target="_blank"
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
|
||||
<ShortName>{$site->title|escape}</ShortName>
|
||||
<Description>{$site->title|escape} Search Facility</Description>
|
||||
<Url type="text/html" method="get" template="{$serverroot}search/{literal}{searchTerms}{/literal}"/>
|
||||
<Url type="text/html" method="get" template="{$smarty.const.WWW_TOP}search/{literal}{searchTerms}{/literal}"/>
|
||||
<Contact>{$site->email}</Contact>
|
||||
<Image width="16" height="16">{$serverroot}templates_shared/images/favicon.ico</Image>
|
||||
<Image width="16" height="16">{$smarty.const.WWW_TOP}templates_shared/images/favicon.ico</Image>
|
||||
<Developer>newznab.com</Developer>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<moz:SearchForm>{$serverroot}</moz:SearchForm>
|
||||
<moz:UpdateUrl>{$serverroot}opensearch</moz:UpdateUrl>
|
||||
<moz:IconUpdateUrl>{$serverroot}templates_shared/images/favicon.ico</moz:IconUpdateUrl>
|
||||
<moz:SearchForm>{$smarty.const.WWW_TOP}</moz:SearchForm>
|
||||
<moz:UpdateUrl>{$smarty.const.WWW_TOP}opensearch</moz:UpdateUrl>
|
||||
<moz:IconUpdateUrl>{$smarty.const.WWW_TOP}templates_shared/images/favicon.ico</moz:IconUpdateUrl>
|
||||
<moz:UpdateInterval>7</moz:UpdateInterval>
|
||||
</OpenSearchDescription>
|
||||
@@ -36,10 +36,12 @@
|
||||
<th width="200">Username</th>
|
||||
<td>{$user.username|escape:"htmlall"}</td>
|
||||
</tr>
|
||||
{if $isadmin || !$publicview}
|
||||
<tr>
|
||||
<th width="200">E-mail</th>
|
||||
<th width="200" title="Not public">E-mail</th>
|
||||
<td>{$user.email}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<th width="200">Registered</th>
|
||||
<td>{$user.createddate|date_format}
|
||||
@@ -59,9 +61,15 @@
|
||||
{if $userinvitedby && $userinvitedby.username != ""}
|
||||
<tr>
|
||||
<th width="200">Invited By</th>
|
||||
{if $privileged || !$privateprofiles}
|
||||
<td><a title="View {$userinvitedby.username}'s profile"
|
||||
href="{$smarty.const.WWW_TOP}/profile?name={$userinvitedby.username}">{$userinvitedby.username}</a>
|
||||
</td>
|
||||
{else}
|
||||
<td>
|
||||
{$userinvitedby.username}
|
||||
</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -98,14 +106,16 @@
|
||||
<th>Downloads Total</th>
|
||||
<td>{$user.grabs}</td>
|
||||
</tr>
|
||||
{if $isadmin || !$publicview}
|
||||
<tr>
|
||||
<th>API/RSS Key</th>
|
||||
<th title="Not public">API/RSS Key</th>
|
||||
<td>
|
||||
<a href="{$serverroot}rss?t=0&dl=1&i={$user.id}&r={$user.rsstoken}">{$user.rsstoken}</a>
|
||||
<a href="{$serverroot}profileedit?action=newapikey"
|
||||
<a href="{$smarty.const.WWW_TOP}rss?t=0&dl=1&i={$user.id}&r={$user.rsstoken}">{$user.rsstoken}</a>
|
||||
<a href="{$smarty.const.WWW_TOP}profileedit?action=newapikey"
|
||||
class="label label-danger">GENERATE NEW KEY</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
@@ -115,7 +125,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-primary" href="{$serverroot}profileedit">Edit Profile</a>
|
||||
{if $isadmin || !$publicview}
|
||||
<a class="btn btn-primary" href="{$smarty.const.WWW_TOP}profileedit">Edit Profile</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
|
||||
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
|
||||
/* ]]> */
|
||||
@@ -40,7 +40,7 @@
|
||||
<body class="register-page">
|
||||
<div class="register-box">
|
||||
<div class="register-logo">
|
||||
<a href="{$serverroot}"><b>{$site->title}</b></a>
|
||||
<a href="{$smarty.const.WWW_TOP}"><b>{$site->title}</b></a>
|
||||
</div>
|
||||
<div class="register-box-body">
|
||||
<p class="login-box-msg">Register a new membership</p>
|
||||
@@ -67,7 +67,7 @@
|
||||
<div class="col-xs-8">
|
||||
<div class="checkbox icheck">
|
||||
<label>
|
||||
<input type="checkbox"> I agree to the <a href="{$serverroot}terms-and-conditions">terms</a>
|
||||
<input type="checkbox"> I agree to the <a href="{$smarty.const.WWW_TOP}terms-and-conditions">terms</a>
|
||||
</label>
|
||||
</div>
|
||||
</div><!-- /.col -->
|
||||
@@ -77,7 +77,7 @@
|
||||
<hr>
|
||||
{$page->smarty->fetch('captcha.tpl')}
|
||||
</div>
|
||||
<a href="{$serverroot}login" class="text-center">I already have a membership</a>
|
||||
<a href="{$smarty.const.WWW_TOP}login" class="text-center">I already have a membership</a>
|
||||
</form>
|
||||
</div><!-- /.form-box -->
|
||||
</div><!-- /.register-box -->
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$serverroot}rss-info/">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="{$smarty.const.WWW_TOP}rss-info/">
|
||||
<channel>
|
||||
<atom:link href="{$serverroot}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
||||
<atom:link href="{$smarty.const.WWW_TOP}{$smarty.server.REQUEST_URI|escape:"htmlall"|substr:1}" rel="self"
|
||||
type="application/rss+xml"/>
|
||||
<title>{$site->title|escape}</title>
|
||||
<description>{$site->title|escape} Nzb Feed</description>
|
||||
<link>{$serverroot}</link>
|
||||
<link>{$smarty.const.WWW_TOP}</link>
|
||||
<language>en-gb</language>
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates_shared/images/logo.png</url>
|
||||
<url>{$smarty.const.WWW_TOP}templates_shared/images/logo.png</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link href="{$serverroot}"/>
|
||||
<link href="{$smarty.const.WWW_TOP}"/>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
</image>
|
||||
{foreach from=$releases item=release}
|
||||
<item>
|
||||
<title>{$release.searchname|escape:html}</title>
|
||||
<guid isPermaLink="true">{$serverroot}details/{$release.guid}</guid>
|
||||
<link href="{$serverroot}{if $dl=="1"}getnzb{else}details{/if}/{$release.guid}{if $dl=="1"}.nzb&i={$uid}&r={$rsstoken}{/if}{if $del=="1"}&del=1{/if}"/>
|
||||
<comments>{$serverroot}details/{$release.guid}#comments</comments>
|
||||
<guid isPermaLink="true">{$smarty.const.WWW_TOP}details/{$release.guid}</guid>
|
||||
<link href="{$smarty.const.WWW_TOP}{if $dl=="1"}getnzb{else}details{/if}/{$release.guid}{if $dl=="1"}.nzb&i={$uid}&r={$rsstoken}{/if}{if $del=="1"}&del=1{/if}"/>
|
||||
<comments>{$smarty.const.WWW_TOP}details/{$release.guid}#comments</comments>
|
||||
<pubDate>{$release.adddate|phpdate_format:"DATE_RSS"}</pubDate>
|
||||
<category>{$release.category_name|escape:html}</category>
|
||||
<description>{if isset($api) && $api=="1"}{$release.searchname}{else}
|
||||
@@ -28,32 +28,32 @@
|
||||
<div>
|
||||
{if isset($release_cover) && $release.cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;"
|
||||
src="{$serverroot}covers/movies/{$release.imdbid}-cover.jpg" width="120" border="0"
|
||||
src="{$smarty.const.WWW_TOP}covers/movies/{$release.imdbid}-cover.jpg" width="120" border="0"
|
||||
alt="{$release.searchname|escape:"htmlall"}"/>
|
||||
{/if}
|
||||
{if isset($release.mu_cover) && $release.mu_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;"
|
||||
src="{$serverroot}covers/music/{$release.musicinfoid}.jpg" width="120" border="0"
|
||||
src="{$smarty.const.WWW_TOP}covers/music/{$release.musicinfoid}.jpg" width="120" border="0"
|
||||
alt="{$release.searchname|escape:"htmlall"}"/>
|
||||
{/if}
|
||||
{if isset($release.co_cover) && $release.co_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;"
|
||||
src="{$serverroot}covers/console/{$release.consoleinfoid}.jpg" width="120" border="0"
|
||||
src="{$smarty.const.WWW_TOP}covers/console/{$release.consoleinfoid}.jpg" width="120" border="0"
|
||||
alt="{$release.searchname|escape:"htmlall"}"/>
|
||||
{/if}
|
||||
{if isset($release.bo_cover) && $release.bo_cover == 1}
|
||||
<img style="margin-left:10px;margin-bottom:10px;float:right;"
|
||||
src="{$serverroot}covers/book/{$release.bookinfoid}.jpg" width="120" border="0"
|
||||
src="{$smarty.const.WWW_TOP}covers/book/{$release.bookinfoid}.jpg" width="120" border="0"
|
||||
alt="{$release.searchname|escape:"htmlall"}"/>
|
||||
{/if}
|
||||
<ul>
|
||||
<li>ID: <a href="{$serverroot}details/{$release.guid}">{$release.guid}</a></li>
|
||||
<li>ID: <a href="{$smarty.const.WWW_TOP}details/{$release.guid}">{$release.guid}</a></li>
|
||||
<li>Name: {$release.searchname}</li>
|
||||
<li>Size: {$release.size|fsize_format:"MB"} </li>
|
||||
<li>Attributes: Category - <a
|
||||
href="{$serverroot}browse?t={$release.categoryid}">{$release.category_name}</a>
|
||||
href="{$smarty.const.WWW_TOP}browse?t={$release.categoryid}">{$release.category_name}</a>
|
||||
</li>
|
||||
<li>Groups: <a href="{$serverroot}browse?g={$release.group_name}">{$release.group_name}</a>
|
||||
<li>Groups: <a href="{$smarty.const.WWW_TOP}browse?g={$release.group_name}">{$release.group_name}</a>
|
||||
</li>
|
||||
<li>Poster: {$release.fromname|escape:"htmlall"}</li>
|
||||
<li>PostDate: {$release.postdate|phpdate_format:"DATE_RSS"}</li>
|
||||
@@ -61,7 +61,7 @@
|
||||
Password: {if $release.passwordstatus == 0}None{elseif $release.passwordstatus == 1}Possibly Passworded Archive{elseif $release.passwordstatus == 2}Probably not viable{elseif $release.passwordstatus == 10}Passworded Archive{else}Unknown{/if}</li>
|
||||
{if isset($release.nfoid) && $release.nfoid != ""}
|
||||
<li>Nfo:
|
||||
<a href="{$serverroot}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}">{$release.searchname}
|
||||
<a href="{$smarty.const.WWW_TOP}api?t=getnfo&id={$release.guid}&raw=1&i={$uid}&r={$rsstoken}">{$release.searchname}
|
||||
.nfo</a></li>
|
||||
{/if}
|
||||
{if isset($release.parentCategoryid) && $release.parentCategoryid == 2000}
|
||||
@@ -145,7 +145,7 @@
|
||||
</description>
|
||||
{if $dl=="1"}
|
||||
<enclosure
|
||||
url="{$serverroot}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}"
|
||||
url="{$smarty.const.WWW_TOP}getnzb/{$release.guid}.nzb&i={$uid}&r={$rsstoken}{if $del=="1"}&del=1{/if}"
|
||||
length="{$release.size}" type="application/x-nzb" />{/if}
|
||||
{foreach from=$release.category_ids|parray:"," item=cat}
|
||||
<newznab:attr name="category" value="{$cat}"/>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="col-xlg-12 portlets">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body pagination2">
|
||||
<form method="get" action="{$serverroot}searchraw">
|
||||
<form method="get" action="{$smarty.const.WWW_TOP}searchraw">
|
||||
<div style="text-align:center;">
|
||||
<label for="search" style="display:none;">Search</label>
|
||||
<input id="search" name="search" value="{$search|escape:'htmlall'}" type="text"/>
|
||||
@@ -34,7 +34,7 @@
|
||||
{elseif $search == ""}
|
||||
{else}
|
||||
{$site->adbrowse}
|
||||
<form method="post" id="dl" name="dl" action="{$serverroot}searchraw">
|
||||
<form method="post" id="dl" name="dl" action="{$smarty.const.WWW_TOP}searchraw">
|
||||
<table style="width:100%;" class="data" id="browsetable">
|
||||
<tr>
|
||||
<!--<th width="10"></th>-->
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var WWW_TOP = "{$smarty.const.WWW_TOP}";
|
||||
var SERVERROOT = "{$serverroot}";
|
||||
var SERVERROOT = "{$smarty.const.WWW_TOP}";
|
||||
/* ]]> */
|
||||
</script>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{else}
|
||||
<img class="pull-right" style="margin-right:50px; max-height:278px;"
|
||||
alt="{$result.title|escape:"htmlall"} Logo"
|
||||
src="{$serverroot}templates_shared/images/nomoviecover.jpg"/>
|
||||
src="{$smarty.const.WWW_TOP}templates_shared/images/nomoviecover.jpg"/>
|
||||
{/if}
|
||||
<span class="h1" style="display:inline;">{$result.title|escape:"htmlall"} ({$result.year})</span><a
|
||||
class="btn btn-transparent btn-primary" target="_blank"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
title="Delete release">Delete</a>
|
||||
{/if}
|
||||
{if $movie && $release.rageid < 0}
|
||||
<a class="label label-default" href="{$serverroot}movies?imdb={$release.imdbid}"
|
||||
<a class="label label-default" href="{$smarty.const.WWW_TOP}movies?imdb={$release.imdbid}"
|
||||
title="View all releases for this movie">Movie View</a>
|
||||
<a class="label label-default" target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.imdb.com/title/tt{$release.imdbid}/"
|
||||
@@ -34,7 +34,7 @@
|
||||
{/if}
|
||||
{/if}
|
||||
{if $anidb && $release.anidbid > 0}
|
||||
<a class="label label-default" href="{$serverroot}anime/{$release.anidbid}"
|
||||
<a class="label label-default" href="{$smarty.const.WWW_TOP}anime/{$release.anidbid}"
|
||||
title="View all releases from this anime">View all episodes</a>
|
||||
<a class="label label-default"
|
||||
href="{$site->dereferrer_link}http://anidb.net/perl-bin/animedb.pl?show=anime&aid={$anidb.anidbid}"
|
||||
@@ -46,7 +46,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="{$serverroot}series/{$release.rageid}"
|
||||
<a class="label label-default" href="{$smarty.const.WWW_TOP}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}"
|
||||
@@ -577,18 +577,25 @@
|
||||
</tr>
|
||||
{foreach from=$comments item=comment}
|
||||
<tr>
|
||||
<td width="150">{if $comment.sourceid == 0}
|
||||
<td width="150">
|
||||
{if $comment.sourceid == 0}
|
||||
{if !$privateprofiles || $isadmin || $ismod}
|
||||
<a
|
||||
title="View {$comment.username}'s profile"
|
||||
href="{$smarty.const.WWW_TOP}/profile?name={$comment.username}">{$comment.username}</a>{else}{$comment.username}
|
||||
href="{$smarty.const.WWW_TOP}/profile?name={$comment.username}">{$comment.username}</a>
|
||||
{else}
|
||||
{$comment.username}
|
||||
<br/>
|
||||
<span style="color: #ce0000;">(syndicated)</span>
|
||||
{/if}
|
||||
<br/>{$comment.createddate|date_format}
|
||||
</td>
|
||||
<td>
|
||||
{$comment.text|escape:"htmlall"|nl2br}
|
||||
<br/>{$comment.createddate|date_format} ({$comment.createddate|timeago} ago)
|
||||
</td>
|
||||
{if $comment.shared == 2}
|
||||
<td style="color:#6B2447">{$comment.text|escape:"htmlall"|nl2br}</td>
|
||||
{else}
|
||||
<td>{$comment.text|escape:"htmlall"|nl2br}</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
{if $smarty.foreach.loop.first}
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}"><img
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$serverroot}covers/xxx/{$result.id}-cover.jpg{else}{$serverroot}templates_shared/images/nocover.png{/if}"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/xxx/{$result.id}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
{if $result.classused == "ade"}
|
||||
@@ -221,7 +221,7 @@
|
||||
{if $smarty.foreach.loop.first}
|
||||
<a href="{$smarty.const.WWW_TOP}/details/{$mguid[$m@index]}/{$mname[$m@index]|escape:"htmlall"}"><img
|
||||
class="cover"
|
||||
src="{if $result.cover == 1}{$serverroot}covers/xxx/{$result.id}-cover.jpg{else}{$serverroot}templates_shared/images/nocover.png{/if}"
|
||||
src="{if $result.cover == 1}{$smarty.const.WWW_TOP}covers/xxx/{$result.id}-cover.jpg{else}{$smarty.const.WWW_TOP}templates_shared/images/nocover.png{/if}"
|
||||
width="100" border="0"
|
||||
alt="{$result.title|escape:"htmlall"}"/></a>
|
||||
{if $result.classused == "ade"}
|
||||
|
||||
Reference in New Issue
Block a user