mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 01:38:54 +00:00
Fix the order for getRss function in rss.php.
This commit is contained in:
@@ -15,9 +15,9 @@ class AdminPage extends BasePage
|
||||
|
||||
$tplpaths = [];
|
||||
if ($this->settings->getSetting('style') != "default")
|
||||
$tplpaths["style_admin"] = WWW_DIR.'templates/'.$this->settings->getSetting('style').'/views/admin';
|
||||
$tplpaths["admin"] = WWW_DIR.'templates/default/views/admin';
|
||||
$tplpaths["frontend"] = WWW_DIR.'templates/default/views/frontend';
|
||||
$tplpaths["style_admin"] = WWW_DIR.'templates_shared/views/admin';
|
||||
$tplpaths["admin"] = WWW_DIR.'templates_shared/views/admin';
|
||||
$tplpaths["frontend"] = WWW_DIR.'templates/nntmux/views/frontend';
|
||||
$this->smarty->setTemplateDir($tplpaths);
|
||||
|
||||
$users = new Users();
|
||||
|
||||
@@ -75,7 +75,7 @@ class BasePage
|
||||
$this->smarty->setTemplateDir(
|
||||
[
|
||||
'user_frontend' => NN_WWW . 'templates/' . $this->settings->getSetting('style') . '/views/frontend',
|
||||
'frontend' => NN_WWW . 'templates/default/views/frontend'
|
||||
'frontend' => NN_WWW . 'templates/nntmux/views/frontend'
|
||||
]
|
||||
);
|
||||
$this->smarty->setCompileDir(SMARTY_DIR.'templates_c'.DIRECTORY_SEPARATOR);
|
||||
@@ -107,7 +107,7 @@ class BasePage
|
||||
$this->smarty->setTemplateDir(
|
||||
[
|
||||
'user_frontend' => NN_WWW . 'templates/' . $this->userdata['style'] . '/views/frontend',
|
||||
'frontend' => NN_WWW . 'templates/default/views/frontend'
|
||||
'frontend' => NN_WWW . 'templates/nntmux/views/frontend'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -16,6 +16,6 @@ else
|
||||
//print "<h3 class=\"tooltiphead\">rar archive contains...</h3>\n";
|
||||
print "<ul>\n";
|
||||
foreach ($files as $f)
|
||||
print "<li>".htmlentities($f["name"], ENT_QUOTES)." ".($f["passworded"] == 1?"<img width=\"12\" src=\"".WWW_TOP."/templates/default/images/icons/lock.gif\" />":"")."</li>\n";
|
||||
print "<li>".htmlentities($f["name"], ENT_QUOTES)." ".($f["passworded"] == 1?"<img width=\"12\" src=\"".WWW_TOP."/templates/nntmux/images/icons/lock.gif\" />":"")."</li>\n";
|
||||
print "</ul>";
|
||||
}
|
||||
@@ -32,7 +32,7 @@
|
||||
{foreach from=$results item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
|
||||
{assign var="icon" value='templates/default/images/fileicons/'|cat:$result.pathinfo.extension|cat:".png"}
|
||||
{assign var="icon" value='templates/charisma/images/fileicons/'|cat:$result.pathinfo.extension|cat:".png"}
|
||||
{if $result.isdir == "1"}
|
||||
{assign var="icon" value='folder'}
|
||||
{elseif $result.pathinfo.extension == "" || !is_file("$icon")}
|
||||
@@ -42,7 +42,7 @@
|
||||
{/if}
|
||||
|
||||
<td><img title=".{$result.pathinfo.extension}" alt="{$result.pathinfo.extension}"
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/fileicons/{$icon}.png"/></td>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/fileicons/{$icon}.png"/></td>
|
||||
<td class="item">
|
||||
{if $result.isdir == 1}
|
||||
<a href="?sp={$subpath|escape:"url"}{$result.name|escape:"url"}&lm={if $lm}1{else}0{/if}">{$result.name|escape:"htmlall"}</a>
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
<div style="width: 20px; float: left; margin: 7px 0 0 0">
|
||||
{if $nzb['isPaused'] eq 1}
|
||||
<img src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/blah.png"
|
||||
<img src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/blah.png"
|
||||
style="float: left; margin: 0 5px 0 0"/>
|
||||
{else}
|
||||
<img src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/bigsmile.png"
|
||||
<img src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/bigsmile.png"
|
||||
style="float: left; margin: 0 5px 0 0"/>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -28,25 +28,25 @@
|
||||
<div style="border-right: 2px solid #eee; width: 41px; float: left; margin: 0 5px 0 0">
|
||||
{if $nzb['isPaused'] eq 1}
|
||||
<a class="vortex-resume" title="Resume" href="{$nzb['id']}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/play.png"/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/play.png"/></a>
|
||||
{else}
|
||||
<a class="vortex-pause" title="Pause" href="{$nzb['id']}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/pause.png"/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/pause.png"/></a>
|
||||
{/if}
|
||||
<a class="vortex-filelist" title="View filelist" href="{$nzb['id']}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/tv.png"/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/tv.png"/></a>
|
||||
</div>
|
||||
<div class="vortex-controls" style="float: left">
|
||||
<a class="vortex-moveup" title="Move up in queue" href="{$nzb['id']}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/arrow2_n.png"/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/arrow2_n.png"/></a>
|
||||
<a class="vortex-movedown" title="Move down in queue" href="{$nzb['id']}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/arrow2_s.png"/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/arrow2_s.png"/></a>
|
||||
<a class="vortex-movebottom" title="Move to bottom of queue" href="{$nzb['id']}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/arrow3_s.png"/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/arrow3_s.png"/></a>
|
||||
<a class="vortex-movetop" title="Move to top of queue" href="{$nzb['id']}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/arrow3_n.png"/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/arrow3_n.png"/></a>
|
||||
<a class="vortex-trash" title="Cancel and delete NZB" href="{$nzb['id']}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/trash.png"/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/trash.png"/></a>
|
||||
</div>
|
||||
<br style="clear: both"/>
|
||||
</div>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<Description>{$site->title|escape} Search Facility</Description>
|
||||
<Url type="text/html" method="get" template="{$serverroot}search/{literal}{searchTerms}{/literal}"/>
|
||||
<Contact>{$site->email}</Contact>
|
||||
<Image width="16" height="16">{$serverroot}templates/default/images/favicon.ico</Image>
|
||||
<Image width="16" height="16">{$serverroot}templates/charisma/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/default/images/favicon.ico</moz:IconUpdateUrl>
|
||||
<moz:IconUpdateUrl>{$serverroot}templates/charisma/images/favicon.ico</moz:IconUpdateUrl>
|
||||
<moz:UpdateInterval>7</moz:UpdateInterval>
|
||||
</OpenSearchDescription>
|
||||
@@ -147,19 +147,19 @@
|
||||
{if isset($sabintegrated)}
|
||||
<a class="icon icon_sab" href="#" title="Send to Sab">
|
||||
<img class="icon icon_sab" alt="Send to my Sabnzbd"
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/sabup.png">
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/sabup.png">
|
||||
</a>
|
||||
{/if}
|
||||
{if $weHasVortex}
|
||||
<a class="icon icon_nzbvortex" href="#" title="Send to NZBVortex">
|
||||
<img class="icon icon_nzbvortex" alt="Send to my NZBVortex"
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/bigsmile.png">
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/bigsmile.png">
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($nzbgetintegrated)}<a class="icon icon_nzbget" title="Send to NZBGet"
|
||||
href="#"><img class="icon icon_nzbget"
|
||||
alt="Send to NZBget"
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/nzbgetup.png">
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/nzbgetup.png">
|
||||
</a>{/if}
|
||||
{if isset($isadmin)}
|
||||
<br/>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<td width="20">{$smarty.foreach.iteration.index+1}</td>
|
||||
<td>{$file.title|escape:'htmlall'}</td>
|
||||
|
||||
{assign var="icon" value='templates/default/images/fileicons/'|cat:$file.ext|cat:".png"}
|
||||
{assign var="icon" value='templates/charisma/images/fileicons/'|cat:$file.ext|cat:".png"}
|
||||
{if $file.ext == "" || !is_file("$icon")}
|
||||
{assign var="icon" value='file'}
|
||||
{else}
|
||||
@@ -33,7 +33,7 @@
|
||||
{/if}
|
||||
|
||||
<td><img title=".{$file.ext}" alt="{$file.ext}"
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/fileicons/{$icon}.png"/></td>
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/fileicons/{$icon}.png"/></td>
|
||||
<td class="less right">{if $completion < 100}<span class="warning">{$completion}
|
||||
%</span>{else}{$completion}%{/if}</td>
|
||||
<td class="less right">{if $file.size < 100000}{$file.size|fsize_format:"KB"}{else}{$file.size|fsize_format:"MB"}{/if}</td>
|
||||
|
||||
@@ -206,7 +206,7 @@
|
||||
{if isset($sabintegrated)}
|
||||
<a class="icon icon_sab" href="#" title="Send to Sab">
|
||||
<img class="icon icon_sab" alt="Send to my Sabnzbd"
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/sabup.png">
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/sabup.png">
|
||||
</a>
|
||||
{/if}
|
||||
{if $weHasVortex}
|
||||
@@ -214,14 +214,14 @@
|
||||
title="Send to NZBVortex">
|
||||
<img class="icon icon_nzbvortex"
|
||||
alt="Send to my NZBVortex"
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/vortex/bigsmile.png">
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/vortex/bigsmile.png">
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($nzbgetintegrated)}<a class="icon icon_nzbget"
|
||||
title="Send to NZBGet"
|
||||
href="#"><img
|
||||
class="icon icon_nzbget" alt="Send to NZBget"
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/icons/nzbgetup.png">
|
||||
src="{$smarty.const.WWW_TOP}/templates/charisma/images/icons/nzbgetup.png">
|
||||
</a>{/if}
|
||||
{if isset($isadmin)}
|
||||
<br/>
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
<h2>Admin Functions</h2>
|
||||
<ul>
|
||||
<li><a title="Home" href="{$smarty.const.WWW_TOP}/..{$site->home_link}">Home</a></li>
|
||||
<li><a title="Admin Home" href="{$smarty.const.WWW_TOP}/">Admin Home</a></li>
|
||||
<li><a title="Edit Site" href="{$smarty.const.WWW_TOP}/site-edit.php">Edit Site</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/content-add.php?action=add">Add</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/content-list.php">Edit</a> Content Page</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/menu-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/menu-edit.php?action=add">Add</a> Menu Items</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/category-list.php?action=add">Edit</a> Categories</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/group-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/group-edit.php">Add</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/group-bulk.php">BulkAdd</a> Groups</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/regex-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/regex-edit.php?action=add">Add</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/regex-test.php">Test</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/regex-submit.php">Send</a> Regex</li>
|
||||
<li class="has-sub"><a href="#">Categorization</a>
|
||||
<ul>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/category_regexes-edit.php?action=add">Add</a></li>
|
||||
<li class="last"><a href="{$smarty.const.WWW_TOP}/category_regexes-list.php">View</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-sub"><a href="#">Collections</a>
|
||||
<ul>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/collection_regexes-edit.php?action=add">Add</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/collection_regexes-test.php?action=add">Test</a></li>
|
||||
<li class="last"><a href="{$smarty.const.WWW_TOP}/collection_regexes-list.php">View</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-sub"><a href="#">Release Names</a>
|
||||
<ul>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/release_naming_regexes-edit.php?action=add">Add</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/release_naming_regexes-test.php?action=add">Test</a></li>
|
||||
<li class="last"><a href="{$smarty.const.WWW_TOP}/release_naming_regexes-list.php">View</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/binaryblacklist-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/binaryblacklist-edit.php?action=add">Add</a> Blacklist</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/release-list.php">View Releases</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/preview-list.php">View Previews</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/rage-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/rage-edit.php?action=add">Add</a> TVRage List</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/thetvdb-list.php">View TheTVDB List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/movie-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/movie-add.php">Add</a> Movie List</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/anidb-list.php">View AniDB List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/game-list.php">View Games</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/music-list.php">View Music List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/console-list.php">View Console List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/book-list.php">View Book List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/nzb-import.php">Import</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/nzb-export.php">Export</a> Nzb's</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/opcachestats.php">Opcache Statistics</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/db-optimise.php">Optimise</a> Tables</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/comments-list.php">View Comments</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/spotnab-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/spotnab-edit.php?action=add">Add</a> Spotnab Sources</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/sharing.php">Comment Sharing Settings</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/user-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/user-edit.php?action=add">Add</a> Users</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/role-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/role-edit.php?action=add">Add</a> Roles</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/site-stats.php">Site Stats</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/site-debug.php">Debug</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/tmux-edit.php">Tmux Settings</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/view-logs.php">View Logs</a></li>
|
||||
</ul>
|
||||
@@ -1,106 +0,0 @@
|
||||
|
||||
<div id="updatePanel">
|
||||
|
||||
{if $success}
|
||||
|
||||
<h4>Successfully updated!</h4>
|
||||
{if $from != ''}
|
||||
<script type="text/javascript">
|
||||
window.location = "{$from}";
|
||||
</script>
|
||||
{/if}
|
||||
|
||||
{else}
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$('#release').submit(function(){return false;});
|
||||
|
||||
$('#save').click(function() {
|
||||
var formData = $('#release').serialize();
|
||||
$.post($('#release').attr('action') + '&' + formData, function(resp){
|
||||
$('#updatePanel').html(resp);
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<form id="release" action="{$smarty.const.WWW_TOP}/ajax_release-admin/?action=doedit" method="get">
|
||||
|
||||
{foreach from=$idArr item=id}
|
||||
<input type="hidden" name="id[]" value="{$id}" />
|
||||
{/foreach}
|
||||
<input type="hidden" name="from" value="{$from}" />
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="category">Category</label>:</td>
|
||||
<td>
|
||||
{html_options id="category" name=category options=$catlist selected=$release.categoryid}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="grabs">Grabs</label>:</td>
|
||||
<td>
|
||||
<input id="grabs" class="short" name="grabs" type="text" value="{$release.grabs}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="rageid">Tv Rage Id</label>:</td>
|
||||
<td>
|
||||
<input id="rageid" class="short" name="rageid" type="text" value="{$release.rageid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="tvdbid">TheTVDB id</label>:</td>
|
||||
<td>
|
||||
<input id="tvdbid" class="short" name="tvdbid" type="text" value="{$release.tvdbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="anidbid">AniDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="anidbid" class="short" name="anidbid" type="text" value="{$release.anidbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="season">Season</label>:</td>
|
||||
<td>
|
||||
<input id="season" class="short" name="season" type="text" value="{$release.season}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="episode">Episode</label>:</td>
|
||||
<td>
|
||||
<input id="episode" class="short" name="episode" type="text" value="{$release.episode}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="episode">IMDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="imdbid" class="short" name="imdbid" type="text" value="{$release.imdbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" id="save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
@@ -1,119 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<input type="hidden" name="from" value="{$smarty.get.from}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="anidbid">AniDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="anidbid" class="long" name="anidbid" type="text" value="{$anime.anidbid|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Anime Name</label>:</td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$anime.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="type">Type</label>:</td>
|
||||
<td>
|
||||
<input id="type" class="long" name="type" type="text" value="{$anime.type|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="startdate">Start date</label>:</td>
|
||||
<td>
|
||||
<input id="startdate" class="long" name="startdate" type="text" value="{$anime.startdate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="enddate">End date</label>:</td>
|
||||
<td>
|
||||
<input id="enddate" class="long" name="enddate" type="text" value="{$anime.enddate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="related">Related</label>:</td>
|
||||
<td>
|
||||
<input id="related" class="long" name="related" type="text" value="{$anime.related|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="creators">Creators</label>:</td>
|
||||
<td>
|
||||
<input id="creators" class="long" name="creators" type="text" value="{$anime.creators|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="description">Description</label>:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="description" name="description">{$anime.description|escape:'htmlall'}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="rating">Rating</label>:</td>
|
||||
<td>
|
||||
<input id="rating" class="long" name="rating" type="text" value="{$anime.rating|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="categories">Categories</label>:</td>
|
||||
<td>
|
||||
<input id="categories" class="long" name="categories" type="text" value="{$anime.categories|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="characters">Characters</label>:</td>
|
||||
<td>
|
||||
<input id="characters" class="long" name="characters" type="text" value="{$anime.characters|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="epnos">Episode numbers</label>:</td>
|
||||
<td>
|
||||
<input id="epnos" class="long" name="epnos" type="text" value="{$anime.epnos|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="airdates">Episode air dates</label>:</td>
|
||||
<td>
|
||||
<input id="airdates" class="long" name="airdates" type="text" value="{$anime.airdates|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="episodetitles">Episode titles</label>:</td>
|
||||
<td>
|
||||
<input id="episodetitles" class="long" name="episodetitles" type="text" value="{$anime.episodetitles|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,41 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $anidblist}
|
||||
|
||||
<div style="float:right;">
|
||||
|
||||
<form name="anidbsearch" action="">
|
||||
<label for="animetitle">Title</label>
|
||||
<input id="animetitle" type="text" name="animetitle" value="{$animetitle}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{$pager}
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th style="width:60px;">AniDB Id</th>
|
||||
<th>Title</th>
|
||||
<th style="width:100px;" class="mid">Options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$anidblist item=anidb}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less"><a href="http://anidb.net/perl-bin/animedb.pl?show=anime&aid={$anidb.anidbid}" title="View in AniDB">{$anidb.anidbid}</a></td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/anidb-edit.php?id={$anidb.anidbid}">{$anidb.title|escape:"htmlall"}</a></td>
|
||||
<td class="mid"><a title="Delete this AniDB entry" href="{$smarty.const.WWW_TOP}/anidb-delete.php?id={$anidb.anidbid}">delete</a> | <a title="Remove this anidbid from all releases" href="{$smarty.const.WWW_TOP}/anidb-remove.php?id={$anidb.anidbid}">remove</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No AniDB episodes available.</p>
|
||||
{/if}
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
Removed anidbid from {$numtv} releases.
|
||||
@@ -1,95 +0,0 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta name="description" content="" />
|
||||
<title>{$site->title|default:'newznab'} - {$page->meta_title|default:$page->title}</title>
|
||||
<link href="{$smarty.const.WWW_TOP}/../templates/nntmux/styles/style.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
<link href="{$smarty.const.WWW_TOP}/../templates/nntmux/styles/admin.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
<link rel="shortcut icon" type="image/ico" href="{$smarty.const.WWW_TOP}/../templates/nntmux/images/favicon.ico"/>
|
||||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="{$smarty.const.WWW_TOP}/../templates/nntmux/scripts/sorttable.js"></script>
|
||||
<script type="text/javascript" src="{$smarty.const.WWW_TOP}/../templates/nntmux/scripts/utils-admin.js"></script>
|
||||
<script type="text/javascript" src="{$smarty.const.WWW_TOP}/../templates/nntmux/scripts/jquery.multifile.js"></script>
|
||||
<script type="text/javascript" src="{$smarty.const.WWW_TOP}/../templates/nntmux/scripts/jquery.autosize-min.js"></script>
|
||||
<script type="text/javascript">var WWW_TOP = "{$smarty.const.WWW_TOP}/..";</script>
|
||||
|
||||
{$page->head}
|
||||
</head>
|
||||
<body>
|
||||
<div id="logo" style="cursor: pointer;">
|
||||
<h1><a href="/"></a></h1>
|
||||
<p><em></em></p>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div id="header">
|
||||
<div id="menu">
|
||||
</div>
|
||||
<!-- end #menu -->
|
||||
</div>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<div id="adpanel">
|
||||
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
{$page->content}
|
||||
</div>
|
||||
<!-- end #content -->
|
||||
|
||||
<div id="sidebar">
|
||||
<ul>
|
||||
<li>
|
||||
{$admin_menu}
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!-- end #sidebar -->
|
||||
|
||||
<div style="clear: both;"> </div>
|
||||
|
||||
</div>
|
||||
<!-- end #page -->
|
||||
|
||||
<div id="searchfooter">
|
||||
<center>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>
|
||||
{$site->footer}
|
||||
<br /><br /><br />Copyright © {$smarty.now|date_format:"%Y"} {$site->title}. All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
<!-- end #footer -->
|
||||
|
||||
{if $site->google_analytics_acc != ''}
|
||||
{literal}
|
||||
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{/literal}{$site->google_analytics_acc}{literal}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
_gaq.push(['_trackPageLoadTime']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,71 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Group:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input type="text" id="groupname" name="groupname" value="{$regex.groupname|escape:html}" />
|
||||
<div class="hint">The full name of a valid newsgroup. (Wildcard in the format 'alt.binaries.*')</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Regex:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<div class="hint">The regex to be applied. (Note: Beginning and Ending / are already included)</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Description:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<div class="hint">A description for this regex</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="msgcol">Message Field</label>:</td>
|
||||
<td>
|
||||
{html_radios id="msgcol" name='msgcol' values=$msgcol_ids output=$msgcol_names selected=$regex.msgcol separator='<br />'}
|
||||
<div class="hint">Which field in the message to apply the black/white list to.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="status">Active</label>:</td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$regex.status separator='<br />'}
|
||||
<div class="hint">Only active regexes are applied during the release process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="optype">Type</label>:</td>
|
||||
<td>
|
||||
{html_radios id="optype" name='optype' values=$optype_ids output=$optype_names selected=$regex.optype separator='<br />'}
|
||||
<div class="hint">Black will exclude all messages for a group which match this regex. White will include only those which match.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,37 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<p>
|
||||
Binaries can be prevented from being added to the index at all if they match a regex provided in the blacklist. They can also be included only if they match a regex (whitelist).
|
||||
</p>
|
||||
|
||||
<div id="message"></div>
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th style="width:20px;">id</th>
|
||||
<th>group</th>
|
||||
<th>regex</th>
|
||||
<th class="mid">type</th>
|
||||
<th class="mid">field</th>
|
||||
<th class="mid">status</th>
|
||||
<th class="mid">Options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$binlist item=bin}
|
||||
<tr id="row-{$bin.id}" class="{cycle values=",alt"}">
|
||||
<td>{$bin.id}</td>
|
||||
<td title="{$bin.description}">{$bin.groupname|replace:"alt.binaries":"a.b"}</td>
|
||||
<td>
|
||||
{$bin.regex|escape:html}<br>
|
||||
<i>{$bin.description}</i>
|
||||
</td>
|
||||
<td>{if $bin.optype==1}black{else}white{/if}</td>
|
||||
<td>{if $bin.msgcol==1}subject{elseif $bin.msgcol==2}poster{else}messageid{/if}</td>
|
||||
<td>{if $bin.status==1}active{else}disabled{/if}</td>
|
||||
<td width="80" class="mid"><a href="{$smarty.const.WWW_TOP}/binaryblacklist-edit.php?id={$bin.id}">edit</a> | <a href="javascript:ajax_binaryblacklist_delete({$bin.id})">delete</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
@@ -1,71 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
|
||||
<input type="hidden" name="id" value="{$book.id}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Title</label>:</td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$book.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="asin">ASIN</label>:</td>
|
||||
<td>
|
||||
<input id="asin" name="asin" type="text" value="{$book.asin|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="url">URL</label>:</td>
|
||||
<td>
|
||||
<input id="url" class="long" name="url" type="text" value="{$book.url|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="author">Author</label>:</td>
|
||||
<td>
|
||||
<input id="author" class="long" name="author" type="text" value="{$book.author|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="publisher">Publisher</label>:</td>
|
||||
<td>
|
||||
<input id="publisher" class="long" name="publisher" type="text" value="{$book.publisher|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="publishdate">Published Date</label>:</td>
|
||||
<td>
|
||||
<input id="publishdate" name="publishdate" type="text" value="{$book.publishdate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="cover">Cover Image</label>:</td>
|
||||
<td>
|
||||
<input type="file" id="cover" name="cover" />
|
||||
{if $book.cover == 1}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/../covers/book/{$book.id}.jpg" alt="" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,29 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $booklist}
|
||||
{$pager}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>id</th>
|
||||
<th>Title</th>
|
||||
<th>Author</th>
|
||||
<th width="80" class="mid">Created</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$booklist item=book}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$book.id}</td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/book-edit.php?id={$book.id}">{$book.title}</a></td>
|
||||
<td>{$book.author}</td>
|
||||
<td class="mid">{$book.createddate|date_format}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No books available.</p>
|
||||
{/if}
|
||||
@@ -1,68 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td>Title:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$category.id}" />
|
||||
{$category.title}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Parent:</td>
|
||||
<td>
|
||||
{$category.parentid}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Description:</td>
|
||||
<td>
|
||||
<input type="text" class="long" name="description" value="{$category.description}" />
|
||||
</td>
|
||||
</tr>
|
||||
<td>Minimum Size (Bytes):</td>
|
||||
<td>
|
||||
<input type="text" class="short" name="minsizetoformrelease" value="{$category.minsizetoformrelease}" />
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<td>Maximum Size (Bytes):</td>
|
||||
<td>
|
||||
<input type="text" class="short" name="maxsizetoformrelease" value="{$category.maxsizetoformrelease}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="status">Active</label>:</td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$category.status separator='<br />'}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="disablepreview">Disable Preview</label>:</td>
|
||||
<td>
|
||||
{html_radios id="disablepreview" name='disablepreview' values=$status_ids output=$status_names selected=$category.disablepreview separator='<br />'}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,43 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<p>
|
||||
Make a category inactive to remove it from the menu. This does not prevent binaries being matched into an appropriate category. Disable preview prevents ffmpeg being used for releases in the category.
|
||||
</p>
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>id</th>
|
||||
<th>title</th>
|
||||
<th>parent</th>
|
||||
<th>min size</th>
|
||||
<th>max size</th>
|
||||
<th>active</th>
|
||||
<th>disable preview</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$categorylist item=category}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>{$category.id}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/category-edit.php?id={$category.id}">{$category.title}</a></td>
|
||||
<td>
|
||||
{if $category.parentid != null}
|
||||
{$category.parentName}
|
||||
{else}
|
||||
n/a
|
||||
{/if}
|
||||
</td>
|
||||
<td class="mid">
|
||||
{if $category.minsizetoformrelease != 0 }{$category.minsizetoformrelease|fsize_format:"MB"}{/if}
|
||||
</td>
|
||||
<td class="mid">
|
||||
{if $category.maxsizetoformrelease != 0 }{$category.maxsizetoformrelease|fsize_format:"MB"}{/if}
|
||||
</td>
|
||||
<td>{if $category.status == "1"}Yes{else}No{/if}</td>
|
||||
<td class="mid">{if $category.disablepreview == "1"}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
@@ -1,73 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td><label for="group_regex">Group:</label></td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input type="text" id="group_regex" name="group_regex" value="{$regex.group_regex|escape:html}" />
|
||||
<div class="hint">
|
||||
Regex to match against a group or multiple groups.<br />
|
||||
Delimiters are already added, and PCRE_CASELESS is added after for case insensitivity.
|
||||
An example of matching a single group: alt\.binaries\.example<br />
|
||||
An example of matching multiple groups: alt\.binaries.*
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="regex">Regex:</label></td>
|
||||
<td>
|
||||
<textarea id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
Regex to use when categorizing releases.<br />
|
||||
The regex delimiters are not added, you MUST add them. See <a href="http://php.net/manual/en/regexp.reference.delimiters.php">this</a> page.<br />
|
||||
To make the regex case insensitive, add i after the last delimiter.<br />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="description">Description:</label></td>
|
||||
<td>
|
||||
<textarea id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
Description for this regex.<br />
|
||||
You can include an example usenet subject this regex would match on.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="ordinal">Ordinal:</label></td>
|
||||
<td>
|
||||
<input class="ordinal" id="ordinal" name="ordinal" type="text" value="{$regex.ordinal}" />
|
||||
<div class="hint">
|
||||
The order to run this regex in.<br />
|
||||
Must be a number, 0 or higher.<br />
|
||||
If multiple regex have the same ordinal, MySQL will randomly sort them.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="status">Active:</label></td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$regex.status separator='<br />'}
|
||||
<div class="hint">Only active regex are used during the collection matching process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="category_id">Category:</label></td>
|
||||
<td>
|
||||
{html_options id="category_id" name='category_id' values=$category_ids output=$category_names selected=$regex.category_id}
|
||||
<div class="hint">Select a category which releases matched to this regex will go into.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,47 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>This page lists regex used for categorizing releases.<br />
|
||||
You can recategorize all releases by running misc/update/update_releases.php 6 true
|
||||
</p>
|
||||
<div id="message"></div>
|
||||
|
||||
<form name="groupsearch" action="" style="margin-bottom:5px;">
|
||||
<label for="group">Search a group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
{if $regex}
|
||||
|
||||
<div>{$pager}</div>
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th style="width:20px;">id</th>
|
||||
<th>group</th>
|
||||
<th style="width:25px;">edit</th>
|
||||
<th>description</th>
|
||||
<th style="width:40px;">delete</th>
|
||||
<th>ordinal</th>
|
||||
<th>status</th>
|
||||
<th>regex</th>
|
||||
<th>category id</th>
|
||||
</tr>
|
||||
{foreach from=$regex item=row}
|
||||
<tr id="row-{$row.id}" class="{cycle values=",alt"}">
|
||||
<td>{$row.id}</td>
|
||||
<td>{$row.group_regex}</td>
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/category_regexes-edit.php?id={$row.id}">Edit</a></td>
|
||||
<td>{$row.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this regex"><a href="javascript:ajax_category_regex_delete({$row.id})" onclick="return confirm('Are you sure? This will delete the regex from this list.');" >Delete</a></td>
|
||||
<td>{$row.ordinal}</td>
|
||||
{if $row.status==1}
|
||||
<td style="color:#00CC66">Active</td>
|
||||
{else}
|
||||
<td style="color:#FF0000">Disabled</td>
|
||||
{/if}
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/category_regexes-edit.php?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a></td>
|
||||
<td>{$row.category_id}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<div style="margin-top: 15px">{$pager}</div>
|
||||
{/if}
|
||||
@@ -1,73 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td><label for="group_regex">Group:</label></td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input type="text" id="group_regex" name="group_regex" value="{$regex.group_regex|escape:html}" />
|
||||
<div class="hint">
|
||||
Regex to match against a group or multiple groups.<br />
|
||||
Delimiters are already added, and PCRE_CASELESS is added after for case insensitivity.
|
||||
An example of matching a single group: alt\.binaries\.example<br />
|
||||
An example of matching multiple groups: alt\.binaries.*
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="regex">Regex:</label></td>
|
||||
<td>
|
||||
<textarea id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
The regex to use when matching (grouping) collections.<br />
|
||||
The regex delimiters are not added, you MUST add them. See <a href="http://php.net/manual/en/regexp.reference.delimiters.php">this</a> page.<br />
|
||||
To make the regex case insensitive, add i after the last delimiter.<br />
|
||||
You MUST include at least one regex capture group.<br />
|
||||
You MUST name your regex capture groups (the ones you want to be included).<br />
|
||||
A string will be created from your matched capture groups.<br />
|
||||
The string will form part of a "collection hash".<br />
|
||||
The collection hash is used to group many parts together, to form the finalized release.<br />
|
||||
The usenet group and name of the poster are added automatically when hashing.<br />
|
||||
Capture groups are sorted alphabetically (by capture group name) when concatenating the string.<br />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="description">Description:</label></td>
|
||||
<td>
|
||||
<textarea id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
Description for this regex.<br />
|
||||
You can include an example usenet subject this regex would match on.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="ordinal">Ordinal:</label></td>
|
||||
<td>
|
||||
<input class="ordinal" id="ordinal" name="ordinal" type="text" value="{$regex.ordinal}" />
|
||||
<div class="hint">
|
||||
The order to run this regex in.<br />
|
||||
Must be a number, 0 or higher.<br />
|
||||
If multiple regex have the same ordinal, MySQL will randomly sort them.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="status">Active:</label></td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$regex.status separator='<br />'}
|
||||
<div class="hint">Only active regex are used during the collection matching process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,43 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>This page lists regex used for grouping usenet collections.</p>
|
||||
<div id="message"></div>
|
||||
|
||||
<form name="groupsearch" action="" style="margin-bottom:5px;">
|
||||
<label for="group">Search a group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
{if $regex}
|
||||
|
||||
<div>{$pager}</div>
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th style="width:20px;">id</th>
|
||||
<th>group</th>
|
||||
<th style="width:25px;">edit</th>
|
||||
<th>description</th>
|
||||
<th style="width:40px;">delete</th>
|
||||
<th>ordinal</th>
|
||||
<th>status</th>
|
||||
<th>regex</th>
|
||||
</tr>
|
||||
{foreach from=$regex item=row}
|
||||
<tr id="row-{$row.id}" class="{cycle values=",alt"}">
|
||||
<td>{$row.id}</td>
|
||||
<td>{$row.group_regex}</td>
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/collection_regexes-edit.php?id={$row.id}">Edit</a></td>
|
||||
<td>{$row.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this regex"><a href="javascript:ajax_collection_regex_delete({$row.id})" onclick="return confirm('Are you sure? This will delete the regex from this list.');" >Delete</a></td>
|
||||
<td>{$row.ordinal}</td>
|
||||
{if $row.status==1}
|
||||
<td style="color:#00CC66">Active</td>
|
||||
{else}
|
||||
<td style="color:#FF0000">Disabled</td>
|
||||
{/if}
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/collection_regexes-edit.php?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<div style="margin-top: 15px">{$pager}</div>
|
||||
{/if}
|
||||
@@ -1,44 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>This page is used for testing regex for grouping usenet collections.<br />Enter the group name to test and a regex. Limit is how many collections to show max on the page, 0 for no limit(slow).</p>
|
||||
|
||||
{if $tpg}
|
||||
<form name="search" action="" method="post" style="margin-bottom:5px;">
|
||||
<label for="group" style="padding-right:1px">Group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group|htmlentities}" size="20" /><br />
|
||||
<label for="regex" style="padding-right:1px">Regex:</label>
|
||||
<input id="regex" type="text" name="regex" value="{$regex|htmlentities}" size="100" /><br/>
|
||||
<label for="limit" style="padding-right:7px">Limit:</label>
|
||||
<input id="limit" type="text" name="limit" value="{$limit}" size="8" /><br/>
|
||||
<input type="submit" value="Test" />
|
||||
</form>
|
||||
{if $data}
|
||||
|
||||
{foreach from=$data key=hash item=collection}
|
||||
<table style="margin-top:10px;" class="data">
|
||||
<tr>
|
||||
<th>{$hash}<br />Current Files: {count($collection)}</th>
|
||||
</tr>
|
||||
</table>
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>current parts</th>
|
||||
<th>total parts</th>
|
||||
<th>poster</th>
|
||||
<th>old hash</th>
|
||||
</tr>
|
||||
{foreach from=$collection item=row}
|
||||
<tr id="row-{$row.new_collection_hash}" class="{cycle values=",alt"}">
|
||||
<td>{$row.file_name}</td>
|
||||
<td>{$row.file_current_parts}</td>
|
||||
<td>{$row.file_total_parts}</td>
|
||||
<td>{$row.collection_poster}</td>
|
||||
<td>{$row.old_collection_hash}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{else}
|
||||
<p>The Table Per Group setting is required to be on to use this page, for performance reasons.</p>
|
||||
{/if}
|
||||
@@ -1,38 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $commentslist}
|
||||
{$pager}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>user</th>
|
||||
<th>date</th>
|
||||
<th>comment</th>
|
||||
<th>host</th>
|
||||
<th class="mid">options</th>
|
||||
</tr>
|
||||
|
||||
|
||||
{foreach from=$commentslist item=comment}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>
|
||||
{if $comment.sourceid == 0}<a title="View {$comment.username}'s profile" href="{$smarty.const.WWW_TOP}/user-edit.php?id={$comment.userid}">{$comment.username}</a>{else}{$comment.username}<br/><span style="color: #ce0000;">(syndicated)</span>{/if}
|
||||
</td>
|
||||
<td width="70" title="{$comment.createddate}">{$comment.createddate|date_format} ({$comment.createddate|timeago}
|
||||
ago)
|
||||
</td>
|
||||
<td>{$comment.text|escape:"htmlall"|nl2br}</td>
|
||||
<td>{$comment.host}</td>
|
||||
<td class="mid" width="70">
|
||||
{if $comment.guid != ""}<a href="{$smarty.const.WWW_TOP}/../details/{$comment.guid}#comments">view</a> | {/if}
|
||||
<a class="confirm_action" href="{$smarty.const.WWW_TOP}/comments-delete.php?id={$comment.id}">delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
{else}
|
||||
<p>No comments available</p>
|
||||
{/if}
|
||||
@@ -1,96 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
|
||||
<input type="hidden" name="id" value="{$console.id}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Title</label>:</td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$console.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="asin">ASIN</label>:</td>
|
||||
<td>
|
||||
<input id="asin" name="asin" type="text" value="{$console.asin|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="url">URL</label>:</td>
|
||||
<td>
|
||||
<input id="url" class="long" name="url" type="text" value="{$console.url|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="salesrank">Sales Rank</label>:</td>
|
||||
<td>
|
||||
<input id="salesrank" class="short" type="text" name="salesrank" value="{$console.salesrank|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="platform">Platform</label>:</td>
|
||||
<td>
|
||||
<input id="platform" class="long" name="platform" type="text" value="{$console.platform|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="publisher">Publisher</label>:</td>
|
||||
<td>
|
||||
<input id="publisher" class="long" name="publisher" type="text" value="{$console.publisher|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="releasedate">Release Date</label>:</td>
|
||||
<td>
|
||||
<input id="releasedate" name="releasedate" type="text" value="{$console.releasedate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="esrb">Rating</label>:</td>
|
||||
<td>
|
||||
<input id="esrb" class="short" name="esrb" type="text" value="{$console.esrb|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="genre">Genre</label>:</td>
|
||||
<td>
|
||||
<select id="genre" name="genre">
|
||||
{foreach from=$genres item=gen}
|
||||
<option {if $gen.id == $console.genreID}selected="selected"{/if} value="{$gen.id}">{$gen.title|escape:'htmlall'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="cover">Cover Image</label>:</td>
|
||||
<td>
|
||||
<input type="file" id="cover" name="cover" />
|
||||
{if $console.cover == 1}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/../covers/console/{$console.id}.jpg" alt="" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,30 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $consolelist}
|
||||
{$pager}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>id</th>
|
||||
<th>Title</th>
|
||||
<th>Platform</th>
|
||||
<th>Created</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$consolelist item=console}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$console.id}</td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/console-edit.php?id={$console.id}">{$console.title}</a></td>
|
||||
<td>{$console.platform}</td>
|
||||
<td>{$console.createddate|date_format}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No games available.</p>
|
||||
{/if}
|
||||
@@ -1,74 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td><label for="title">Title:</label></td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$content->id}" />
|
||||
<input id="title" class="long" name="title" type="text" value="{$content->title}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="url">Url:</label></td>
|
||||
<td>
|
||||
<input id="url" class="long" name="url" type="text" value="{$content->url}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="body">Body:</label></td>
|
||||
<td>
|
||||
<textarea id="body" name="body">{$content->body}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="metadescription">Meta Description:</label></td>
|
||||
<td>
|
||||
<textarea id="metadescription" name="metadescription">{$content->metadescription}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="metakeywords">Meta Keywords:</label></td>
|
||||
<td>
|
||||
<textarea id="metakeywords" name="metakeywords">{$content->metakeywords}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="contenttype">Content Type:</label></td>
|
||||
<td>
|
||||
{html_options id="contenttype" name='contenttype' options=$contenttypelist selected=$content->contenttype}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="role">Visible To:</label></td>
|
||||
<td>
|
||||
{html_options id="role" name='role' options=$rolelist selected=$content->role}
|
||||
<div class="hint">Only appropriate for articles and useful links</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="showinmenu">Show In Menu:</label></td>
|
||||
<td>
|
||||
{html_radios id="showinmenu" name='showinmenu' values=$yesno_ids output=$yesno_names selected=$content->showinmenu separator='<br />'}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="status">Status:</label></td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$content->status separator='<br />'}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="ordinal">Ordinal:</label></td>
|
||||
<td>
|
||||
<input id="ordinal" name="ordinal" type="text" value="{$content->ordinal}" />
|
||||
<div class="hint">If you set the ordinal = 1, then a all ordinals greater than 0 will be renumbered. This allows new content to be at the top without having to renumber all previous content.<br />If you set ordinal = 0, it will be at the top, sorted by ID(order added)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,57 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<table class="data Sortable highlight">
|
||||
<tr>
|
||||
<th style="width:60px;">ordinal</th>
|
||||
<th style="width:30px;">id</th>
|
||||
<th>title</th>
|
||||
<th>url</th>
|
||||
<th>type</th>
|
||||
<th>status</th>
|
||||
<th>role</th>
|
||||
<th>in menu</th>
|
||||
<th>body</th>
|
||||
<th>options</th>
|
||||
</tr>
|
||||
{foreach from=$contentlist item=content}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>{$content->ordinal}</td>
|
||||
<td>{$content->id}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/content-add.php?id={$content->id}" title="Edit {$content->title}">{$content->title}</a></td>
|
||||
<td><a title="Preview in new window" href="{$smarty.const.WWW_TOP}/{$content->url}c{$content->id}" target="null">{$content->url}c{$content->id}</a></td>
|
||||
<td>
|
||||
{if $content->contenttype == "1"}
|
||||
Useful Link
|
||||
{elseif $content->contenttype == "2"}
|
||||
Article
|
||||
{elseif $content->contenttype == "3"}
|
||||
Homepage
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
{if $content->status == "1"}
|
||||
Enabled
|
||||
{else}
|
||||
Disabled
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
{if $content->role == "0"}
|
||||
Everyone
|
||||
{elseif $content->role == "1"}
|
||||
Users
|
||||
{elseif $content->role == "2"}
|
||||
Admins
|
||||
{/if}
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
{if $content->showinmenu == "1"}
|
||||
Yes
|
||||
{else}
|
||||
No
|
||||
{/if}
|
||||
</td>
|
||||
<td title="{$content->body|escape:'htmlall'}">{$content->body|truncate:100|escape:'htmlall'}</td>
|
||||
<td>{if $content->contenttype != "3"}<a class="confirm_action" href="{$smarty.const.WWW_TOP}/content-delete.php?id={$content->id}">delete</a>{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
@@ -1,16 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable">
|
||||
|
||||
<tr>
|
||||
<th>message</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$tablelist item=table}
|
||||
<tr>
|
||||
<td>{$table} optimised/repaired</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
@@ -1,75 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<input type="hidden" name="id" value="{$game.id}" />
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td><label for="title">Title:</label></td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$game.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="asin">Game ID:</label></td>
|
||||
<td>
|
||||
<input id="asin" name="asin" type="text" value="{$game.asin|escape:'htmlall'}" />
|
||||
<br />
|
||||
(Game ID of the url posted below, if unknown put 0)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="url">URL:</label></td>
|
||||
<td>
|
||||
<input id="url" class="long" name="url" type="text" value="{$game.url|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="trailerurl">Trailer URL:</label></td>
|
||||
<td>
|
||||
<input id="trailerurl" class="long" name="trailerurl" type="text" value="{$game.trailer|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="publisher">Publisher:</label></td>
|
||||
<td>
|
||||
<input id="publisher" class="long" name="publisher" type="text" value="{$game.publisher|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="releasedate">Release Date:</label></td>
|
||||
<td>
|
||||
<input id="releasedate" name="releasedate" type="text" value="{$game.releasedate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="esrb">Rating:</label></td>
|
||||
<td>
|
||||
<input id="esrb" class="short" name="esrb" type="text" value="{$game.esrb|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="genre_list">Genre:</label></td>
|
||||
<td>
|
||||
<select id="genre_list" name="genre" />
|
||||
{foreach from=$genres item=gen}
|
||||
<option {if $gen.id == $game.genre_id}selected="selected"{/if} value="{$gen.id}">{$gen.title|escape:'htmlall'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="cover">Cover Image:</label></td>
|
||||
<td>
|
||||
<input type="file" id="cover" name="cover" />
|
||||
{if $game.cover == 1}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/../covers/games/{$game.id}.jpg" alt="" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,22 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
{if $gamelist}
|
||||
{$pager}
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Title</th>
|
||||
<th>Genre</th>
|
||||
<th>Created</th>
|
||||
</tr>
|
||||
{foreach from=$gamelist item=game}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$game.id}</td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/game-edit.php?id={$game.id}">{$game.title}</a></td>
|
||||
<td>{$game.genretitle}</td>
|
||||
<td>{$game.createddate|date_format}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{else}
|
||||
<p>No games available.</p>
|
||||
{/if}
|
||||
@@ -1,60 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $groupmsglist}
|
||||
<table class="data Sortable">
|
||||
|
||||
<tr>
|
||||
<th>group</th>
|
||||
<th>msg</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$groupmsglist item=group}
|
||||
<tr>
|
||||
<td>{$group.group}</td>
|
||||
<td>{$group.msg}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<p>View <a href="group-list.php">all groups</a>.</p>
|
||||
|
||||
{else}
|
||||
<p>Regex of groups to add to the site.</p>
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td width="90">Group List:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="groupfilter" name="groupfilter"></textarea>
|
||||
<div class="hint">A regular expression to match against group names e.g. alt.binaries.cd.image.linux|alt.binaries.warez.linux</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="active">Active</label>:</td>
|
||||
<td>
|
||||
{html_radios id="active" name='active' values=$yesno_ids output=$yesno_names selected=1 separator='<br />'}
|
||||
<div class="hint">Inactive groups will not have headers downloaded for them.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="backfill">Backfill:</label></td>
|
||||
<td>
|
||||
{html_radios id="backfill" name='backfill' values=$yesno_ids output=$yesno_names selected=0 separator='<br />'}
|
||||
<div class="hint">Inactive groups will not have backfill headers downloaded for them.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Add Groups" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
{/if}
|
||||
@@ -1,74 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td>Name:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$group.id}" />
|
||||
<input id="name" class="long" name="name" type="text" value="{$group.name}" />
|
||||
<div class="hint">Changing the name to an invalid group will break things.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="description">Description:</label></td>
|
||||
<td>
|
||||
<textarea id="description" name="description">{$group.description}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="backfill_target">Backfill Days</label></td>
|
||||
<td>
|
||||
<input class="small" id="backfill_target" name="backfill_target" type="text" value="{$group.backfill_target}" />
|
||||
<div class="hint">Number of days to attempt to backfill this group. Adjust as necessary.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="minfilestoformrelease">Minimum Files <br/>To Form Release</label></td>
|
||||
<td>
|
||||
<input class="small" id="minfilestoformrelease" name="minfilestoformrelease" type="text" value="{$group.minfilestoformrelease}" />
|
||||
<div class="hint">The minimum number of files to make a release. i.e. if set to two, then releases which only contain one file will not be created. If left blank, will use the site wide setting.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="minsizetoformrelease">Minimum File Size to Make a Release:</label></td>
|
||||
<td>
|
||||
<input class="small" id="minsizetoformrelease" name="minsizetoformrelease" type="text" value="{$group.minsizetoformrelease}" />
|
||||
<div class="hint">The minimum total size in bytes to make a release. If left blank, will use the site wide setting.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="first_record">First Record ID:</label></td>
|
||||
<td>
|
||||
<input class="small" id="first_record" name="first_record" type="text" value="{$group.first_record}" />
|
||||
<div class="hint">The oldest record number for the group.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="last_record">Last Record ID:</label></td>
|
||||
<td>
|
||||
<input class="small" id="last_record" name="last_record" type="text" value="{$group.last_record}" />
|
||||
<div class="hint">The newest record number for the group.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="active">Active:</label></td>
|
||||
<td>
|
||||
{html_radios id="active" name='active' values=$yesno_ids output=$yesno_names selected=$group.active separator='<br />'}
|
||||
<div class="hint">Inactive groups will not have headers downloaded for them.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="backfill">Backfill:</label></td>
|
||||
<td>
|
||||
{html_radios id="backfill" name='backfill' values=$yesno_ids output=$yesno_names selected=$group.backfill separator='<br />'}
|
||||
<div class="hint">If set to false, backfill.php will ignore this group. This works even if the above setting is no.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,84 +0,0 @@
|
||||
<div id="group_list">
|
||||
<h1>{$page->title}</h1>
|
||||
<p>
|
||||
Below is a list of all usenet groups available to be indexed. Click 'Activate' to start indexing a group. Backfill works independently of active.
|
||||
</p>
|
||||
{if $grouplist}
|
||||
<div style="position:relative;margin-bottom:5px;">
|
||||
<form name="groupsearch" action="" style="margin-bottom:5px;">
|
||||
<label for="groupname">Group</label>
|
||||
<input id="groupname" type="text" name="groupname" value="{$groupname}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
<div style="position:absolute;">
|
||||
{$pager}
|
||||
</div>
|
||||
<div style="text-align:center;">
|
||||
<a title="Reset all groups" href="javascript:ajax_all_reset()" class="all_reset" onclick="return confirm('Are you sure? This will reset all groups, deleting all collections/binaries/parts (does not delete releases).');" >Reset all</a> |
|
||||
<a title="Delete all releases, collections/binaries/parts from all groups" href="javascript:ajax_all_purge()" class="all_purge" onclick="return confirm('Are you sure? This will delete all releases, collections/binaries/parts.');">Purge all</a><br />
|
||||
<a title="List all groups Activated for Update_Binaries" href="{$smarty.const.WWW_TOP}/group-list-active.php">Active Groups</a> |
|
||||
<a title="List all groups NOT Activated for Update_Binaries" href="{$smarty.const.WWW_TOP}/group-list-inactive.php">Inactive Groups</a> |
|
||||
<a title="List all groups" href="{$smarty.const.WWW_TOP}/group-list.php">All Groups</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="message">msg</div>
|
||||
<table style="width:100%;" class="data highlight Sortable">
|
||||
<tr>
|
||||
<th>group</th>
|
||||
<th>First Post</th>
|
||||
<th>Last Post</th>
|
||||
<th>last updated</th>
|
||||
<th>active</th>
|
||||
<th>backfill</th>
|
||||
<th>releases</th>
|
||||
<th>Min Files</th>
|
||||
<th>Min Size</th>
|
||||
<th>Backfill Days</th>
|
||||
<th>options</th>
|
||||
</tr>
|
||||
{foreach from=$grouplist item=group}
|
||||
<tr id="grouprow-{$group.id}" class="{cycle values=",alt"}">
|
||||
<td>
|
||||
<a href="{$smarty.const.WWW_TOP}/group-edit.php?id={$group.id}">{$group.name|replace:"alt.binaries":"a.b"}</a>
|
||||
<div class="hint">{$group.description}</div>
|
||||
</td>
|
||||
<td class="less">{$group.first_record_postdate}<br />{$group.first_record_postdate|timeago}</td>
|
||||
<td class="less">{$group.last_record_postdate}<br />{$group.last_record_postdate|timeago}</td>
|
||||
<td class="less">{$group.last_updated|timeago} ago</td>
|
||||
<td class="less" id="group-{$group.id}">{if $group.active=="1"}<a href="javascript:ajax_group_status({$group.id}, 0)" class="group_active">Deactivate</a>{else}<a href="javascript:ajax_group_status({$group.id}, 1)" class="group_deactive">Activate</a>{/if}</td>
|
||||
<td class="less" id="backfill-{$group.id}">{if $group.backfill=="1"}<a href="javascript:ajax_backfill_status({$group.id}, 0)" class="backfill_active">Deactivate</a>{else}<a href="javascript:ajax_backfill_status({$group.id}, 1)" class="backfill_deactive">Activate</a>{/if}</td>
|
||||
<td class="less">{$group.num_releases}</td>
|
||||
<td class="less">{if $group.minfilestoformrelease==""}n/a{else}{$group.minfilestoformrelease}{/if}</td>
|
||||
<td class="less">{if $group.minsizetoformrelease==""}n/a{else}{$group.minsizetoformrelease|fsize_format:"MB"}{/if}</td>
|
||||
<td class="less">{$group.backfill_target}</td>
|
||||
<td class="less" id="groupdel-{$group.id}">
|
||||
<a title="Reset this group" href="javascript:ajax_group_reset({$group.id})" class="group_reset">Reset</a> |
|
||||
<a title="Delete this group and all of its releases" href="javascript:ajax_group_delete({$group.id})" class="group_delete" onclick="return confirm('Are you sure? This will delete the group from this list.');" >Delete</a> |
|
||||
<a title="Remove all releases from this group" href="javascript:ajax_group_purge({$group.id})" class="group_purge" onclick="return confirm('Are you sure? This will delete all releases, binaries/parts in the selected group');" >Purge</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<div style="position:relative;margin-top:5px;">
|
||||
<div style="position:absolute;">
|
||||
{$pager}
|
||||
</div>
|
||||
<div style="text-align:center;">
|
||||
<form name="groupsearch" action="" style="margin-bottom:5px;">
|
||||
<label for="groupname">Group</label>
|
||||
<input id="groupname" type="text" name="groupname" value="{$groupname}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
<a title="Reset all groups" href="javascript:ajax_all_reset()" class="all_reset" onclick="return confirm('Are you sure? This will reset all groups, deleting all collections/binaries/parts (does not delete releases).');" >Reset all</a> |
|
||||
<a title="Delete all releases, binaries/parts from all groups" href="javascript:ajax_all_purge()" class="all_purge" onclick="return confirm('Are you sure? This will delete all releases, collections/binaries/parts.');">Purge all</a><br />
|
||||
<a title="List all groups Activated for Update_Binaries" href="{$smarty.const.WWW_TOP}/group-list-active.php">Active Groups</a> |
|
||||
<a title="List all groups NOT Activated for Update_Binaries" href="{$smarty.const.WWW_TOP}/group-list-inactive.php">Inactive Groups</a> |
|
||||
<a title="List all groups" href="{$smarty.const.WWW_TOP}/group-list.php">All Groups</a>
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
<p>No groups available (eg. none have been added).</p>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -1,53 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<div style="{if $site->showadminwelcome != "1"}display:none;{/if}" id="adminwelcome">
|
||||
<p>
|
||||
Welcome to newznab. In this area you will be able to configure many aspects of your site.<br>
|
||||
If this is your first time here, you need to start the scripts that will fill newznab.
|
||||
</p>
|
||||
|
||||
<ol style="list-style-type:decimal; line-height: 180%;">
|
||||
<li style="margin-bottom: 15px;">Configure your <a href="{$smarty.const.WWW_TOP}/site-edit.php">site options</a>. The defaults will work fine.</li>
|
||||
<li style="margin-bottom: 15px;">There is a default list of usenet groups provided. To get started, you will need to <a href="{$smarty.const.WWW_TOP}/group-list.php">activate some groups</a>. <u>Do not</u> activate every group if its your first time setting this up. Try one or two first.
|
||||
You can also <a href="{$smarty.const.WWW_TOP}/group-edit.php">add your own groups</a> manually.</li>
|
||||
<li style="margin-bottom: 15px;">Next you will want to get the latest headers. <b>This should be done from the command line</b>, using the linux or windows shell scripts found in /misc/update_scripts/nix_scripts (or win_scripts for windows users), as it can take some time. If this is your first time dont bother with the init scripts just open a command prompt...
|
||||
<div style="padding-left:20px; font-family:courier;">cd /var/www/newznab/misc/update_scripts<br/>php update_binaries.php</div>
|
||||
</li>
|
||||
<li style="margin-bottom: 15px;">After obtaining headers, the next step is to create releases. <b>This is best done from the command line</b> using the linux or windows shell scripts found in /misc/update_scripts/nix_scripts (or win_scripts for windows users). If this is your first time dont bother with the init scripts just open a command prompt...
|
||||
<div style="padding-left:20px; font-family:courier;">cd /var/www/newznab/misc/update_scripts<br/>php update_releases.php</div>
|
||||
</li>
|
||||
<li style="margin-bottom: 15px;">If you intend to keep using newznab, it is best to sign up for your own api keys from <a href="http://www.themoviedb.org/account/signup">tmdb</a>, <a href="http://developer.rottentomatoes.com/">rotten tomatoes</a> and <a href="http://aws.amazon.com/">amazon</a>.</li>
|
||||
<li>If you like newznab and intend to continue using it, please consider <a href="http://www.newznab.com/">sending a donation</a> to the team who write and maintain it.</li>
|
||||
</ol>
|
||||
|
||||
<a onclick="ajax_welcome_msg(false); return false;" href="#">hide this welcome message</a>
|
||||
</div>
|
||||
|
||||
<div style="{if $site->showadminwelcome != "0"}display:none;{/if}" id="adminhome">
|
||||
|
||||
<h2>Status Alerts</h2>
|
||||
|
||||
{if $statusmsgs|@count > 0}
|
||||
|
||||
<table class="data" style="width:75%;">
|
||||
<tr>
|
||||
<th style="width:20px" class="left">#</th>
|
||||
<th class="left">Item</th>
|
||||
<th style="width:20px"></th>
|
||||
</tr>
|
||||
{foreach from=$statusmsgs item=result name=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>{$smarty.foreach.result.iteration}</td>
|
||||
<td>{$result.msg}</td>
|
||||
<td>{if $result.url != ""}<a href="{$result.url}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/icons/{$result.icon}.png"/></a>{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{else}
|
||||
<p>There are currently no status alerts.</p>
|
||||
{/if}
|
||||
|
||||
<br/>
|
||||
<a onclick="ajax_welcome_msg(true); return false;" href="#">show welcome message</a>
|
||||
</div>
|
||||
@@ -1,70 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Title</label>:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$menu.id}" />
|
||||
<input id="title" class="long" name="title" type="text" value="{$menu.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="href">Href</label>:</td>
|
||||
<td>
|
||||
<input id="href" class="long" name="href" type="text" value="{$menu.href|escape:'htmlall'}" />
|
||||
<div class="hint">Use full http:// path for external URLs, otherwise use no prefix.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="tooltip">Tooltip</label>:</td>
|
||||
<td>
|
||||
<input id="tooltip" class="long" name="tooltip" type="text" value="{$menu.tooltip|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="menueval">Evaluate</label>:</td>
|
||||
<td>
|
||||
<input id="menueval" class="long" name="menueval" type="text" value="{$menu.menueval|escape:'htmlall'}" />
|
||||
<div class="hint">Smarty expression returning -1 if the menu item should be disabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="role">Role</label>:</td>
|
||||
<td>
|
||||
{html_radios id="role" name='role' values=$role_ids output=$role_names selected=$menu.role separator='<br />'}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="ordinal">Ordinal</label>:</td>
|
||||
<td>
|
||||
<input id="ordinal" class="short" name="ordinal" type="text" value="{$menu.ordinal}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="newwindow">New Window</label>:</td>
|
||||
<td>
|
||||
{html_radios id="newwindow" name='newwindow' values=$yesno_ids output=$yesno_names selected=$menu.newwindow separator='<br />'}
|
||||
<div class="hint">Whether the menu item should open in a new window.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,32 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $menulist}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>href</th>
|
||||
<th>tooltip</th>
|
||||
<th>role</th>
|
||||
<th>ordinal</th>
|
||||
<th>new window</th>
|
||||
<th>options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$menulist item=menu}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td title="Edit {$menu.title}"><a href="{$smarty.const.WWW_TOP}/menu-edit.php?id={$menu.id}">{$menu.title|escape:"htmlall"}</a></td>
|
||||
<td>{$menu.href}</td>
|
||||
<td>{$menu.tooltip}</td>
|
||||
<td>{if $menu.role == 0}Guests{elseif $menu.role == 1}Users{elseif $menu.role == 2}Admin{else}Other{/if}</td>
|
||||
<td class="mid">{$menu.ordinal}</td>
|
||||
<td class="mid">{if $menu.newwindow == 1}Yes{else}No{/if}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/menu-delete.php?id={$menu.id}">delete</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
{else}
|
||||
<p>No menus available.</p>
|
||||
{/if}
|
||||
@@ -1,30 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}" method="post">
|
||||
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Enter the full 7 digit IMDB id into the box below and click Add.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="title">IMDB id</label>:</td>
|
||||
<td>
|
||||
<input id="id" class="long" name="id" type="text" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Add" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,112 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
|
||||
<input type="hidden" name="id" value="{$movie.imdbid}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="title">IMDB id</label>:</td>
|
||||
<td>{$movie.imdbid}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="title">TMDb id</label>:</td>
|
||||
<td>{$movie.tmdbID}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Title</label>:</td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$movie.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="tagline">Tagline</label>:</td>
|
||||
<td>
|
||||
<input id="tagline" class="long" name="tagline" type="text" value="{$movie.tagline|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="plot">Plot</label>:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="plot" name="plot">{$movie.plot|escape:'htmlall'}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="year">Year</label>:</td>
|
||||
<td>
|
||||
<input id="year" class="short" name="year" type="text" value="{$movie.year|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="rating">Rating</label>:</td>
|
||||
<td>
|
||||
<input id="rating" class="short" name="rating" type="text" value="{$movie.rating|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="genre">Genre</label>:</td>
|
||||
<td>
|
||||
<input id="genre" class="long" name="genre" type="text" value="{$movie.genre|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="director">Director</label>:</td>
|
||||
<td>
|
||||
<input id="director" class="long" name="director" type="text" value="{$movie.director|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="actors">Actors</label>:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="actors" name="actors">{$movie.actors|escape:'htmlall'}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="language">Language</label>:</td>
|
||||
<td>
|
||||
<input id="language" class="long" name="language" type="text" value="{$movie.language|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="cover">Cover Image</label>:</td>
|
||||
<td>
|
||||
<input type="file" id="cover" name="cover" />
|
||||
{if $movie.cover == 1}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/covers/movies/{$movie.imdbid}-cover.jpg" alt="" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="backdrop">Backdrop Image</label>:</td>
|
||||
<td>
|
||||
<input type="file" name="backdrop" />
|
||||
{if $movie.backdrop == 1}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/covers/movies/{$movie.imdbid}-backdrop.jpg" alt="" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,51 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $movielist}
|
||||
|
||||
<div style="float:right;">
|
||||
|
||||
<form name="moviesearch" action="">
|
||||
<label for="moviename">Title</label>
|
||||
<input id="moviename" type="text" name="moviename" value="{$moviename}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{$pager}
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>IMDB id</th>
|
||||
<th>TMDb id</th>
|
||||
<th>Title</th>
|
||||
<th class="mid">Cover</th>
|
||||
<th class="mid">Backdrop</th>
|
||||
<th class="mid" style="width:80px;">Created</th>
|
||||
<th style="width:100px;" class="mid">options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$movielist item=movie}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less"><a href="http://www.imdb.com/title/tt{$movie.imdbid}" title="View in IMDB">{$movie.imdbid}</a></td>
|
||||
<td class="less"><a href="http://www.themoviedb.org/movie/{$movie.tmdbID}" title="View in TMDb">{$movie.tmdbID}</a></td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/movie-edit.php?id={$movie.imdbid}">{$movie.title} ({$movie.year})</a></td>
|
||||
<td class="less mid">{if $movie.cover == "1"}Yes{else}No{/if}</td>
|
||||
<td class="less mid">{if $movie.backdrop == "1"}Yes{else}No{/if}</td>
|
||||
<td class="less mid">{$movie.createddate|date_format}</td>
|
||||
<td class="mid">
|
||||
<a title="update" href="{$smarty.const.WWW_TOP}/movie-add.php?id={$movie.imdbid}&update=1">update</a> |
|
||||
<a title="delete" href="{$smarty.const.WWW_TOP}/movie-delete.php?id={$movie.imdbid}">delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No Movies available.</p>
|
||||
{/if}
|
||||
@@ -1,104 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
|
||||
<input type="hidden" name="id" value="{$music.id}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Title</label>:</td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$music.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="asin">ASIN</label>:</td>
|
||||
<td>
|
||||
<input id="asin" name="asin" type="text" value="{$music.asin|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="url">URL</label>:</td>
|
||||
<td>
|
||||
<input id="url" class="long" name="url" type="text" value="{$music.url|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="salesrank">Sales Rank</label>:</td>
|
||||
<td>
|
||||
<input id="salesrank" class="short" type="text" name="salesrank" value="{$music.salesrank|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="artist">Artist</label>:</td>
|
||||
<td>
|
||||
<input id="artist" class="long" name="artist" type="text" value="{$music.artist|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="publisher">Publisher</label>:</td>
|
||||
<td>
|
||||
<input id="publisher" class="long" name="publisher" type="text" value="{$music.publisher|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="releasedate">Release Date</label>:</td>
|
||||
<td>
|
||||
<input id="releasedate" name="releasedate" type="text" value="{$music.releasedate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="year">Year</label>:</td>
|
||||
<td>
|
||||
<input id="year" class="short" name="year" type="text" value="{$music.year|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="genre">Genre</label>:</td>
|
||||
<td>
|
||||
<select id="genre" name="genre">
|
||||
{foreach from=$genres item=gen}
|
||||
<option {if $gen.id == $music.genreID}selected="selected"{/if} value="{$gen.id}">{$gen.title|escape:'htmlall'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="tracks">Tracks</label>:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="tracks" name="tracks">{$music.tracks|escape:'htmlall'}</textarea>
|
||||
<div class="hint">Tracks separated by | (pipe) delimeter</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="cover">Cover Image</label>:</td>
|
||||
<td>
|
||||
<input type="file" id="cover" name="cover" />
|
||||
{if $music.cover == 1}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/../covers/music/{$music.id}.jpg" alt="" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,30 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $musiclist}
|
||||
{$pager}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>id</th>
|
||||
<th>Title</th>
|
||||
<th>Artist</th>
|
||||
<th class="mid">Created</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$musiclist item=music}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$music.id}</td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/music-edit.php?id={$music.id}">{$music.title} ({$music.year})</a></td>
|
||||
<td>{$music.artist}</td>
|
||||
<td width="80" class="mid">{$music.createddate|date_format}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No Music available.</p>
|
||||
{/if}
|
||||
@@ -1,66 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<p>
|
||||
Export nzbs from the system into a folder. Specify the full file path to a folder.
|
||||
<br/>
|
||||
If you are exporting a large number of nzb files, run this script from the command line and pass in the folder path as the first argument. e.g. php scriptname outputpath from(optional) to(optional) groupid(optional use -1) categoryid(optional)<br/>
|
||||
<span style="font-family:courier;display:block;padding:5px 0 15px 0;">
|
||||
php admin/nzb-export.php /path/to/export/into 01/01/2008 01/01/2010 -1 1050
|
||||
</span>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
<form action="{$SCRIPT_NAME}" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="folder">Folder</label>:</td>
|
||||
<td>
|
||||
<input id="folder" class="long" name="folder" type="text" value="{$folder}" />
|
||||
<div class="hint">Windows file paths should be specified with forward slashes e.g. c:/temp/</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="postfrom">Posted Between</label>:</td>
|
||||
<td>
|
||||
<input id="postfrom" class="date" name="postfrom" type="text" value="{$fromdate}" />
|
||||
<label for="postto"> and </label>
|
||||
<input id="postto" class="date" name="postto" type="text" value="{$todate}" />
|
||||
<div class="hint">Posted to usenet inbetween a date range specified in the format dd/mm/yyyy</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="group">Group</label>:</td>
|
||||
<td>
|
||||
{html_options id="group" name='group' options=$grouplist selected=$group}
|
||||
<div class="hint">Posted to this newsgroup</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="categoryid">Category</label>:</td>
|
||||
<td>
|
||||
{html_options id="categoryid" name='categoryid' options=$catlist selected=$cat}
|
||||
<div class="hint">Posted to this category</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Export" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<div>
|
||||
{$output}
|
||||
</div>
|
||||
@@ -1,74 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>
|
||||
Import NZB's from a folder or via the browser into the system. Specify the full file path to a folder containing NZB's.
|
||||
<br />
|
||||
Importing will add the release to your database, compress the NZB and store it in the nzbfiles/ folder.
|
||||
</p>
|
||||
<ul>
|
||||
<li>If you are importing a large number of NZB files, run the nzb-import.php script in misc/testing/ from the command line and pass in the folder path as the first argument.</li>
|
||||
<li>If you are running the script in misc/testing/ from the command line you can pass "true" (no quotes) as the second argument to use the NZB filename as the release name.</li>
|
||||
<li>Groups contained in the NZB's should be added to the site before the import is run.</li>
|
||||
<li>If you re-import the same NZB it will not be added a second time.</li>
|
||||
<li>If imported sucessfully the NZB will be deleted.</li>
|
||||
</ul>
|
||||
<fieldset>
|
||||
<legend>Import From Directory</legend>
|
||||
<form action="{$SCRIPT_NAME}#results" method="POST">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="folder">Folder:</label></td>
|
||||
<td>
|
||||
<input id="folder" class="long" name="folder" type="text" value="" />
|
||||
<div class="hint">Windows file paths should be specified with forward slashes e.g. c:/temp/</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="usefilename">Use Filename:</label></td>
|
||||
<td>
|
||||
<input type="checkbox" name="usefilename" />
|
||||
<div class="hint">Use the NZB's filename as the release name. Else the name inside the NZB will be used.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="deleteNZB">Delete NZBs:</label></td>
|
||||
<td>
|
||||
<input type="checkbox" name="deleteNZB" />
|
||||
<div class="hint">Delete the NZB when we have successfully imported it?</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Import" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Import From Browser</legend>
|
||||
<form action="{$SCRIPT_NAME}#results" method="POST" enctype="multipart/form-data">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="uploadedfiles[]">File:</label></td>
|
||||
<td>
|
||||
<input name="uploadedfiles[]" type="file" class="multi accept-nzb"/>
|
||||
<div class="hint">Select one or more .nzb files.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<b>These NZBs will not be deleted once imported.</b><br />
|
||||
<input type="submit" value="Import" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
{if $output != ""}
|
||||
<div>
|
||||
<a id="results"></a>
|
||||
<h1>Import Results</h1>
|
||||
{$output}
|
||||
</div>
|
||||
{/if}
|
||||
@@ -1,43 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<label for="previewcat"> Select Category :
|
||||
<select id="previewcat" name="previewcat">
|
||||
<option class="grouping" value="-1">All</option>
|
||||
{foreach from=$catlist item=parentcat}
|
||||
<option {if $previewcat==$parentcat.id}selected="selected"{/if} class="grouping" value="{$parentcat.id}">{$parentcat.title}</option>
|
||||
{foreach from=$parentcat.subcatlist item=subcat}
|
||||
<option {if $previewcat==$subcat.id}selected="selected"{/if} value="{$subcat.id}"> {$subcat.title}</option>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
</select>
|
||||
</label>
|
||||
|
||||
<br/><br/>
|
||||
|
||||
{if $releaselist}
|
||||
{$pager}
|
||||
|
||||
<table style="margin-top:10px;" class="data highlight">
|
||||
|
||||
<tr>
|
||||
<th>preview</th>
|
||||
<th>options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$releaselist item=release}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td title="{$release.name}">
|
||||
<img src="{$smarty.const.WWW_TOP}/../covers/preview/{$release.guid}_thumb.jpg" />
|
||||
<br/>
|
||||
<a href="{$smarty.const.WWW_TOP}/release-edit.php?id={$release.id}">{$release.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
|
||||
</td>
|
||||
<td><!--<a href="{$smarty.const.WWW_TOP}/preview-delete.php?id={$release.id}">delete</a>--></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No results.</p>
|
||||
{/if}
|
||||
@@ -1,87 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<a href="?action=update&id={$rage.id}">Update from TV Rage</a>
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<input type="hidden" name="from" value="{$smarty.get.from}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="rageid">Rage Id</label>:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$rage.id}" />
|
||||
<input id="rageid" class="short" name="rageid" type="text" value="{$rage.rageid}" />
|
||||
<div class="hint">The numeric TVRage Id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="releasetitle">Show Name</label>:</td>
|
||||
<td>
|
||||
<input id="releasetitle" class="long" name="releasetitle" type="text" value="{$rage.releasetitle|escape:'htmlall'}" />
|
||||
<div class="hint">The title of the TV show.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="description">Description</label>:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="description" name="description">{$rage.description|escape:'htmlall'}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="genre">Show Genres</label>:</td>
|
||||
<td>
|
||||
<input id="genre" class="long" name="genre" type="text" value="{$rage.genre|escape:'htmlall'}" />
|
||||
<div class="hint">The genres for the TV show. Separated by pipes ( | )</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="country">Show Country</label>:</td>
|
||||
<td>
|
||||
<input id="country" name="country" type="text" value="{$rage.country|escape:'htmlall'}" maxlength="2" />
|
||||
<div class="hint">The country for the TV show.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="imagedata">Series Image</label>:</td>
|
||||
<td>
|
||||
{if $rage.imgdata != ""}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/../getimage?type=tvrage&id={$rage.id}">
|
||||
{/if}
|
||||
<input type="file" id="imagedata" name="imagedata">
|
||||
<div class="hint">Shown in the TV series view page.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
|
||||
<input onclick="doDelete(); return false;" type="button" value="Delete" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function doDelete()
|
||||
{
|
||||
if (confirm('Are you sure?'))
|
||||
{
|
||||
window.location = "rage-delete.php?id={$rage.id}&from={$smarty.get.from}";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -1,44 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $tvragelist}
|
||||
|
||||
<div style="float:right;">
|
||||
|
||||
<form name="ragesearch" action="">
|
||||
<label for="ragename">Title</label>
|
||||
<input id="ragename" type="text" name="ragename" value="{$ragename}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{$pager}
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th style="width:50px;">rageid</th>
|
||||
<th>title</th>
|
||||
<th class="mid" style="width:80px;">date</th>
|
||||
<th class="mid">options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$tvragelist item=tvrage}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less"><a href="http://www.tvrage.com/shows/id-{$tvrage.rageid}" title="View in TvRage">{$tvrage.rageid}</a></td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/rage-edit.php?id={$tvrage.id}">{$tvrage.releasetitle|escape:"htmlall"}</a></td>
|
||||
<td class="mid less">{$tvrage.createddate|date_format}</td>
|
||||
<td class="mid"><a title="delete this rage entry" href="{$smarty.const.WWW_TOP}/rage-delete.php?id={$tvrage.id}">delete</a> | <a title="remove this rageid from all releases" href="{$smarty.const.WWW_TOP}/rage-remove.php?id={$tvrage.rageid}">remove</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
{$pager}
|
||||
|
||||
{else}
|
||||
<p>No TVRage episodes available.</p>
|
||||
{/if}
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
Removed rageid from {$numtv} releases.
|
||||
@@ -1,78 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $regex.id > 0 && $regex.id < 100000 && $site->reqidurl != ""}
|
||||
<div class="error">Warning: Editing system regex, these changes will be overwritten next update releases.</div>
|
||||
{/if}
|
||||
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Group:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input id="groupname" name="groupname" value="{$regex.groupname|escape:html}" />
|
||||
<div class="hint">The full name of a valid newsgroup. This value can be a regular expression. Use .* to apply regex to all newsgroups.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Regex:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<div class="hint">The regex to be applied.<br />
|
||||
Regex requires at least 1 named capturing group in the form of (?P<name>) to work.<br />
|
||||
If the subjects contains the number of parts (ie [1/10]) then it is wise to also use (?P<parts>) to match the parts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Description:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<div class="hint">A description for this regex</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="category">Category</label>:</td>
|
||||
<td>
|
||||
{html_options id="category" name=category options=$catlist selected=$regex.categoryid}
|
||||
<div class="hint">If this regex indicates the release category then supply it here. If left blank the standard method of determining the category will apply.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Ordinal:</td>
|
||||
<td>
|
||||
<input id="ordinal" class="short" name="ordinal" value="{$regex.ordinal|escape:html}" />
|
||||
<div class="hint">The zero-based order in which the regex should be applied.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="status">Active</label>:</td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$regex.status separator='<br />'}
|
||||
<div class="hint">Only active regexes are applied during the release process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,51 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<p>
|
||||
Regexs are applied to group message subjects into releases. The capture groups are named to hold the release name and number of parts.
|
||||
They are applied to messages from that group in order, then any general regexs are applied in order afterwards.
|
||||
</p>
|
||||
<p>
|
||||
The group name is a regular expression, so if you want to apply a regex to a number of groups then append an asterix a.b.blah.* to the end,
|
||||
<br/> or use a.b.group1|a.b.group2
|
||||
</p>
|
||||
|
||||
<div id="message">msg</div>
|
||||
|
||||
{html_options id="regexGroupSelect" name=category options=$reggrouplist selected=$selectedgroup}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th style="width:20px;">id</th>
|
||||
<th>group</th>
|
||||
<th>regex</th>
|
||||
<th>poster</th>
|
||||
<th>category</th>
|
||||
<th>status</th>
|
||||
<th>releases</th>
|
||||
<th>last match</th>
|
||||
<th>ordinal</th>
|
||||
<th style="display:none;width:60px;">Order</th>
|
||||
<th style="width:75px;">Options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$regexlist item=regex}
|
||||
<tr id="row-{$regex.id}" class="{cycle values=",alt"}">
|
||||
<td><a id="{$regex.id}"></a>{$regex.id}</td>
|
||||
<td title="{$regex.description}">{if $regex.groupname==""}all{else}{$regex.groupname|replace:"alt.binaries":"a.b"}{/if}</td>
|
||||
<td title="Edit regex"><a href="{$smarty.const.WWW_TOP}/regex-edit.php?id={$regex.id}">{$regex.regex|escape:html}</a><br>
|
||||
{$regex.description}</td>
|
||||
<td>{$regex.poster}</td>
|
||||
<td title="{$regex.categoryid}">{if $regex.categoryid!=""}{$regex.categoryTitle}{/if}</td>
|
||||
<td>{if $regex.status==1}active{else}disabled{/if}</td>
|
||||
<td class="right">{$regex.num_releases}</td>
|
||||
<td class="mid">{$regex.max_releasedate}</td>
|
||||
<td style="text-align:center;">{$regex.ordinal}</td>
|
||||
<td style="display:none;"><a title="Move up" href="#">up</a> | <a title="Move down" href="#">down</a></td>
|
||||
<td><a href="javascript:ajax_releaseregex_delete({$regex.id})">delete</a>{if $regex.groupname != ""} | <a href="{$smarty.const.WWW_TOP}/regex-test.php?action=test&groupname={$regex.groupname}®ex={$regex.regex|urlencode}">test</a>{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
@@ -1,38 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<p>Use this feature to submit any regex you have added locally to newznab. We'll have a look at integrating them into the master list. No data other than regex's with an id greater than 10000 will be sent.</p>
|
||||
|
||||
{if $upload_status eq 'OK'}
|
||||
<div style="background-color: #CDEB8B; color: #fff; padding: 20px">
|
||||
<strong>Your regexes were uploaded. Thank you for contributing.</strong>
|
||||
</div>
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
{if $upload_status eq 'BAD'}
|
||||
<div style="background-color: #CC0000; color: #fff; padding: 20px">
|
||||
<strong>Failed to upload your regexes :-( - please try again.</strong>
|
||||
</div>
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
{if $regex_error}
|
||||
<p><strong>No avalible user regex's. Please add some and visit this page again.</strong></p>
|
||||
{else}
|
||||
<form action="{$SCRIPT_NAME}" method="post" name="submit_regex">
|
||||
<input type="hidden" name="regex_submit_please" value="1" />
|
||||
<input type="submit" name="submit" value="Submit regular expressions" />
|
||||
</form>
|
||||
|
||||
<br />
|
||||
|
||||
<p>
|
||||
<strong>Regexes to be submitted:</strong>
|
||||
<br />
|
||||
<pre>
|
||||
{$regex_contents|print_r}
|
||||
</pre>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
@@ -1,146 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<form action="{$SCRIPT_NAME}" method="GET">
|
||||
<input type="hidden" name="action" value="test" />
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="groupname">Group</label>:</td>
|
||||
<td>
|
||||
<input type="text" id="groupname" name="groupname" value="{$groupname|escape:html}" />
|
||||
or
|
||||
<select name="groupid">
|
||||
{html_options values=$gid output=$gnames selected=$groupID}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="regex">Regex</label>:</td>
|
||||
<td>
|
||||
<input type="text" id="regex" name="regex" class="long" value="{$regex|escape:html}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="regex">Poster</label>:</td>
|
||||
<td>
|
||||
<input type="text" id="poster" name="poster" class="long" value="{$poster|escape:html}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="checkbox" id="unreleased" name="unreleased" {if $unreleased == 'on'}checked="checked"{/if} /> <label for="unreleased">Ignore binaries that are blacklisted or already matched by an existing regex</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="checkbox" id="matchagainstbins" name="matchagainstbins" {if $matchagainstbins == 'on'}checked="checked"{/if} /> <label for="matchagainstbins">Run regex against binaries table instead of regextesting table</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Test Regex" /> <a href="{$smarty.const.WWW_TOP}/regex-edit.php?action=addtest®ex={$regex|urlencode}&groupname={$group}&poster={$poster|urlencode}">Add Regex</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
{if $matches}
|
||||
{$pager}
|
||||
<table style="width:100%;margin-top:10px;" class="data Sortable highlight">
|
||||
{foreach from=$matches item=match}
|
||||
|
||||
{if $match@iteration mod 10 == 1}
|
||||
<tr>
|
||||
<th width="15%">name</th>
|
||||
<th width="21%">poster</th>
|
||||
<th width="8%">Bin Count</th>
|
||||
<th width="8%">Bin Size</th>
|
||||
<th width="10%">Regex id</th>
|
||||
<th width="10%">Req id</th>
|
||||
<th width="20%">Group</th>
|
||||
<th width="8%">Age</th>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<tr {if $match.bininfo[0].blacklistID == 1}style="background-color:#ff9;"{elseif $match.bininfo[0].regexid != ''}style="background-color:#9f6;"{else}class="{cycle values=",alt"}{/if}">
|
||||
<td colspan="8">
|
||||
<table width="100%" class="innerdata">
|
||||
<tr>
|
||||
<td colspan="8"><b>{$match.name|escape:html}</b><br /><small>{$match.bininfo[0].name|escape:html}</small></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%"><small>{$match.catname|escape:"htmlall"}</small></td>
|
||||
<td width="21%"><small>{$match.bininfo[0].fromname|escape:"htmlall"}</small></td>
|
||||
<td width="8%"><small>{$match.bincount}{if $match.reltotalparts != ''}/{$match.reltotalparts}{/if}</small></td>
|
||||
<td width="8%"><small>{$match.totalsize|fsize_format:"MB"}</small></td>
|
||||
<td width="10%"><small><a href="regex-list.php#{$match.bininfo[0].regexid}">{$match.bininfo[0].regexid}</a></small></td>
|
||||
<td width="10%"><small>{$match.reqid}</small></td>
|
||||
<td width="20%"><small>{$match.bininfo[0].groupname|replace:"alt.binaries":"a.b"}</small></td>
|
||||
<td width="8%"><small>{$match.bininfo[0].date|timeago}</small></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
<br />{$pager}
|
||||
{/if}
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h2>Fetch Binaries for Testing</h2>
|
||||
|
||||
<form action="{$SCRIPT_NAME}" method="get">
|
||||
<input type="hidden" name="action" value="fetch" />
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="groupname">Group</label>:</td>
|
||||
<td>
|
||||
<input type="text" id="groupname" name="groupname" value="{$groupname|escape:html}" />
|
||||
or
|
||||
<select name="groupid">
|
||||
{html_options values=$gid output=$gnames selected=$groupID}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="numarticles">Articles:</td>
|
||||
<td>
|
||||
<input type="text" class="short" id="numarticles" name="numarticles" value="{$numarticles}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="checkbox" id="clearexistingbins" name="clearexistingbins" /><label for="clearexistingbins">Clear existing</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Fetch Binaries" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,162 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<input type="hidden" name="from" value="{$smarty.get.from}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="name">Original Name</label>:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$release.id}" />
|
||||
<input id="name" class="long" name="name" type="text" value="{$release.name|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="searchname">Search Name</label>:</td>
|
||||
<td>
|
||||
<input id="searchname" class="long" name="searchname" type="text" value="{$release.searchname|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{if $updatename != ""}
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input onclick="document.getElementById('searchname').value='{$updatename|escape:javascript}'; document.getElementById('name').value='{$updatename|escape:javascript}';return false;" type="button" value="Update Name to {$updatename|escape:'htmlall'}"/>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<tr>
|
||||
<td><label for="fromname">From Name</label>:</td>
|
||||
<td>
|
||||
<input id="fromname" class="long" name="fromname" type="text" value="{$release.fromname|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="category">Category</label>:</td>
|
||||
<td>
|
||||
{html_options id="category" name=category options=$catlist selected=$release.categoryid}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="totalpart">Parts</label>:</td>
|
||||
<td>
|
||||
<input id="totalpart" class="short" name="totalpart" type="text" value="{$release.totalpart}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="grabs">Grabs</label>:</td>
|
||||
<td>
|
||||
<input id="grabs" class="short" name="grabs" type="text" value="{$release.grabs}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="rageid">Tv Rage Id</label>:</td>
|
||||
<td>
|
||||
<input id="rageid" class="short" name="rageid" type="text" value="{$release.rageid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="tvdbid">TheTVDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="tvdbid" class="short" name="tvdbid" type="text" value="{$release.tvdbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="anidbid">AniDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="anidbid" class="short" name="anidbid" type="text" value="{$release.anidbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="seriesfull">Series Full</label>:</td>
|
||||
<td>
|
||||
<input id="seriesfull" class="long" name="seriesfull" type="text" value="{$release.seriesfull}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="season">Season</label>:</td>
|
||||
<td>
|
||||
<input id="season" class="short" name="season" type="text" value="{$release.season}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="episode">Episode</label>:</td>
|
||||
<td>
|
||||
<input id="episode" class="short" name="episode" type="text" value="{$release.episode}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="imdbid">IMDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="imdbid" class="long" name="imdbid" type="text" value="{$release.imdbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="consoleinfoid">Console Id</label>:</td>
|
||||
<td>
|
||||
<input id="consoleinfoid" class="short" name="consoleinfoid" type="text" value="{$release.consoleinfoid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Group:</td>
|
||||
<td>
|
||||
{$release.group_name}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Regex id:</td>
|
||||
<td>
|
||||
{$release.regexid}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="size">Size</label>:</td>
|
||||
<td>
|
||||
<input id="size" class="long" name="size" type="text" value="{$release.size}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="postdate">Posted Date</label>:</td>
|
||||
<td>
|
||||
<input id="postdate" class="long" name="postdate" type="text" value="{$release.postdate}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="adddate">Added Date</label>:</td>
|
||||
<td>
|
||||
<input id="adddate" class="long" name="adddate" type="text" value="{$release.adddate}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,24 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<h2>For {$rel.searchname|escape:'htmlall'}</h2>
|
||||
|
||||
<table style="width:100%;" class="data Sortable">
|
||||
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>filename</th>
|
||||
<th>size</th>
|
||||
<th>date</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$binaries item=binary}
|
||||
<tr>
|
||||
<td width="20" title="{$binary.relpart}/{$binary.reltotalpart}">{$binary.relpart}</td>
|
||||
<td title="{$binary.name|escape:'htmlall'}">{$binary.filename}</td>
|
||||
<td class="less">{$binary.size|fsize_format:"MB"}</td>
|
||||
<td class="less" title="{$binary.date}">{$binary.date|date_format}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
@@ -1,37 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $releaselist}
|
||||
{$pager}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>category</th>
|
||||
<th>size</th>
|
||||
<th>files</th>
|
||||
<th>postdate</th>
|
||||
<th>adddate</th>
|
||||
<th>grabs</th>
|
||||
<th>options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$releaselist item=release}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td title="{$release.name}"><a href="{$smarty.const.WWW_TOP}/release-edit.php?id={$release.id}">{$release.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a></td>
|
||||
<td class="less">{$release.category_name}</td>
|
||||
<td class="less right">{$release.size|fsize_format:"MB"}</td>
|
||||
<td class="less mid"><a href="release-files.php?id={$release.guid}">{$release.totalpart}</a></td>
|
||||
<td class="less">{$release.postdate|date_format}</td>
|
||||
<td class="less">{$release.adddate|date_format}</td>
|
||||
<td class="less mid">{$release.grabs}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/release-delete.php?id={$release.id}">delete</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No releases available.</p>
|
||||
{/if}
|
||||
@@ -1,71 +0,0 @@
|
||||
<h1 xmlns="http://www.w3.org/1999/html">{$page->title}</h1>
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td><label for="group_regex">Group:</label></td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input type="text" id="group_regex" name="group_regex" value="{$regex.group_regex|escape:html}" />
|
||||
<div class="hint">
|
||||
Regex to match against a group or multiple groups.<br />
|
||||
Delimiters are already added, and PCRE_CASELESS is added after for case insensitivity.<br /> >
|
||||
An example of matching a single group: alt\.binaries\.example<br />
|
||||
An example of matching multiple groups: alt\.binaries.*
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="regex">Regex:</label></td>
|
||||
<td>
|
||||
<textarea id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
The regex to use when trying to name a release using the usenet subject.<br />
|
||||
The regex delimiters are not added, you MUST add them. See <a href="http://php.net/manual/en/regexp.reference.delimiters.php">this</a> page.<br />
|
||||
To make the regex case insensitive, add i after the last delimiter.<br />
|
||||
You MUST include at least one regex capture group.<br />
|
||||
You MUST name your regex capture groups (the ones you want included).<br />
|
||||
The named capture groups will be concatenated into a string.<br />
|
||||
Capture groups are sorted alphabetically (by capture group name) when concatenating the string.<br />
|
||||
Capture groups named 'reqid' and 'parts' are ignored.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="description">Description:</label></td>
|
||||
<td>
|
||||
<textarea id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
Description for this regex.<br />
|
||||
You can include an example usenet subject this regex would match on.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="ordinal">Ordinal:</label></td>
|
||||
<td>
|
||||
<input class="ordinal" id="ordinal" name="ordinal" type="text" value="{$regex.ordinal}" />
|
||||
<div class="hint">
|
||||
The order to run this regex in.<br />
|
||||
Must be a number, 0 or higher.<br />
|
||||
If multiple regex have the same ordinal, MySQL will randomly sort them.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="status">Active:</label></td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$regex.status separator='<br />'}
|
||||
<div class="hint">Only active regex are used during the collection matching process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,43 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>This page lists regex used for getting names for releases from usenet subjects.</p>
|
||||
<div id="message"></div>
|
||||
|
||||
<form name="groupsearch" action="" style="margin-bottom:5px;">
|
||||
<label for="group">Search a group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
{if $regex}
|
||||
|
||||
<div>{$pager}</div>
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th style="width:20px;">id</th>
|
||||
<th>group</th>
|
||||
<th style="width:25px;">edit</th>
|
||||
<th>description</th>
|
||||
<th style="width:40px;">delete</th>
|
||||
<th>ordinal</th>
|
||||
<th>status</th>
|
||||
<th>regex</th>
|
||||
</tr>
|
||||
{foreach from=$regex item=row}
|
||||
<tr id="row-{$row.id}" class="{cycle values=",alt"}">
|
||||
<td>{$row.id}</td>
|
||||
<td>{$row.group_regex}</td>
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/release_naming_regexes-edit.php?id={$row.id}">Edit</a></td>
|
||||
<td>{$row.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this regex"><a href="javascript:ajax_release_naming_regex_delete({$row.id})" onclick="return confirm('Are you sure? This will delete the regex from this list.');" >Delete</a></td>
|
||||
<td>{$row.ordinal}</td>
|
||||
{if $row.status==1}
|
||||
<td style="color:#00CC66">Active</td>
|
||||
{else}
|
||||
<td style="color:#FF0000">Disabled</td>
|
||||
{/if}
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/release_naming_regexes-edit.php?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<div style="margin-top: 15px">{$pager}</div>
|
||||
{/if}
|
||||
@@ -1,35 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>This page is used for testing regex for getting release names from usenet subject.
|
||||
<br />Maximum releases to display will limit the amount of results displayed on the page. 0 for no limit.
|
||||
<br />Query limit will limit the amount of releases to select from MySQL (setting this high can be very slow). 0 for no limit.
|
||||
</p>
|
||||
|
||||
<form name="search" action="" method="post" style="margin-bottom:5px;">
|
||||
<label for="group" style="padding-right:1px">Group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group|htmlentities}" size="20" /><br />
|
||||
<label for="regex" style="padding-right:1px">Regex:</label>
|
||||
<input id="regex" type="text" name="regex" value="{$regex|htmlentities}" size="100" /><br/>
|
||||
<label for="showlimit" style="padding-right:7px">Maximum releases to display:</label>
|
||||
<input id="showlimit" type="text" name="showlimit" value="{$showlimit}" size="8" /><br/>
|
||||
<label for="querylimit" style="padding-right:7px">Query limit:</label>
|
||||
<input id="querylimit" type="text" name="querylimit" value="{$querylimit}" size="8" /><br/>
|
||||
<input type="submit" value="Test" />
|
||||
</form>
|
||||
{if $data}
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th>Release id</th>
|
||||
<th>Usenet Subject</th>
|
||||
<th>Old Search Name</th>
|
||||
<th>New Search Name</th>
|
||||
</tr>
|
||||
{foreach from=$data key=id item=names}
|
||||
<tr id="row-{$id}" class="{cycle values=",alt"}">
|
||||
<td>{$id}</td>
|
||||
<td>{$names.subject}</td>
|
||||
<td>{$names.old_name}</td>
|
||||
<td>{$names.new_name}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
@@ -1,92 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td>Name:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$role.id}" />
|
||||
{if $role.id != '' && $role.id < 4}{$role.name}<input type="hidden" name="name" value="{$role.name}" />{else}<input name="name" type="text" value="{$role.name}" /><div class="hint">The name of the role</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Api Requests:</td>
|
||||
<td>
|
||||
<input name="apirequests" type="text" value="{$role.apirequests}" />
|
||||
<div class="hint">Number of api requests allowed per 24 hour period</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Download Requests:</td>
|
||||
<td>
|
||||
<input name="downloadrequests" type="text" value="{$role.downloadrequests}" />
|
||||
<div class="hint">Number of downloads allowed per 24 hour period</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Invites:</td>
|
||||
<td>
|
||||
<input name="defaultinvites" type="text" value="{$role.defaultinvites}" />
|
||||
<div class="hint">Default number of invites to give users on account creation</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Can Preview:</td>
|
||||
<td>
|
||||
{html_radios id="canpreview" name='canpreview' values=$yesno_ids output=$yesno_names selected=$role.canpreview separator='<br />'}
|
||||
<div class="hint">Whether the role can preview screenshots</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Can Pre:</td>
|
||||
<td>
|
||||
{html_radios id="canpre" name='canpre' values=$yesno_ids output=$yesno_names selected=$role.canpre separator='<br />'}
|
||||
<div class="hint">Whether the role can view pre data</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Hide Ads:</td>
|
||||
<td>
|
||||
{html_radios id="hidetads" name='hidetads' values=$yesno_ids output=$yesno_names selected=$role.hideads separator='<br />'}
|
||||
<div class="hint">Whether ad's are hidden</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{if $role.id != ''}
|
||||
<tr>
|
||||
<td>Is Default Role:</td>
|
||||
<td>
|
||||
{html_radios id="role" name='isdefault' values=$yesno_ids output=$yesno_names selected=$role.isdefault separator='<br />'}
|
||||
<div class="hint">Make this the default role for new users</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Excluded Categories</td>
|
||||
<td>
|
||||
{html_options style="height:105px;" multiple=multiple name="exccat[]" options=$catlist selected=$roleexccat}
|
||||
<div class="hint">Use Ctrl and click to exclude multiple categories. This will prevent users with this role from <br/>seeing these categories in the menu or search results.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,34 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<table style="margin-top:10px;" class="data highlight">
|
||||
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>request limit</th>
|
||||
<th>download limit</th>
|
||||
<th>invites</th>
|
||||
<th>can preview</th>
|
||||
<th>can pre</th>
|
||||
<th>hide ads</th>
|
||||
<th>default roles</th>
|
||||
<th>options</th>
|
||||
</tr>
|
||||
|
||||
|
||||
{foreach from=$userroles item=role}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td><a href="{$smarty.const.WWW_TOP}/role-edit.php?id={$role.id}">{$role.name}</a></td>
|
||||
<td>{$role.apirequests}</td>
|
||||
<td>{$role.downloadrequests}</td>
|
||||
<td>{$role.defaultinvites}</td>
|
||||
<td>{if $role.canpreview == 1}Yes{else}No{/if}</td>
|
||||
<td>{if $role.canpre == 1}Yes{else}No{/if}</td>
|
||||
<td>{if $role.hideads == 1}Yes{else}No{/if}</td>
|
||||
<td>{if $role.isdefault=="1"}Yes{else}No{/if}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/role-edit.php?id={$role.id}">edit</a> {if $role.id>"3"}<a class="confirm_action" href="{$smarty.const.WWW_TOP}/role-delete.php?id={$role.id}">delete</a>{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
@@ -1,197 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<div style="width:700px">
|
||||
<strong>
|
||||
<strong>
|
||||
Note: If you are running nntpproxy you will not be able to upload comments, turn off the post option if you are using it.<br />
|
||||
If you turn on or off the Alternate NNTP provider you will need to click the reset button to reset sharing settings.
|
||||
</strong>
|
||||
</strong>
|
||||
<br />
|
||||
<div id="message" style="width:717px;">msg</div>
|
||||
{if $local}
|
||||
<form action="{$SCRIPT_NAME}" method="post">
|
||||
<fieldset style="width:717px;">
|
||||
<legend>Local sharing settings.</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width: 100px;"><label for="sharing_name">Site Name:</label></td>
|
||||
<td>
|
||||
<input id="sharing_name" class="long" name="sharing_name" type="text" value="{$local.site_name}" />
|
||||
<div>This is your site name, changing this will update other sites running sharing also, it must not contain spaces (use underscores _).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 100px;"><label for="sharing_maxpush">Max Uploads:</label></td>
|
||||
<td>
|
||||
<input id="sharing_maxpush" class="short" name="sharing_maxpush" type="text" value="{$local.max_push}" />
|
||||
<div>This is how many comments to upload per run (the more you increase this, the longer it takes).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 100px;"><label for="sharing_maxdownload">Max Downloads:</label></td>
|
||||
<td>
|
||||
<input id="sharing_maxdownload" class="short" name="sharing_maxdownload" type="text" value="{$local.max_download}" />
|
||||
<div>This is how many comments to download per run.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 100px;"><label for="sharing_maxpull">Max Headers:</label></td>
|
||||
<td>
|
||||
<input id="sharing_maxpull" class="short" name="sharing_maxpull" type="text" value="{$local.max_pull}" />
|
||||
<div>This is how many headers to download and look through for comments per run.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="sharing_enabled">Enabled:</label></td>
|
||||
<td>
|
||||
<div>
|
||||
<strong id="enabled-1">
|
||||
{if $local.enabled == "1"}
|
||||
<a title="Click this to disable sharing." href="javascript:ajax_sharing_enabled(1, 0)" class="sharing_enabled_active">[DISABLE]</a>
|
||||
{else}
|
||||
<a title="Click this to enable sharing." href="javascript:ajax_sharing_enabled(1, 1)" class="sharing_enabled_deactive">[ENABLE]</a>
|
||||
{/if}
|
||||
</strong>
|
||||
Is the sharing/retrieving enabled? This overrides posting/fetching.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="sharing_posting">Posting:</label></td>
|
||||
<td>
|
||||
<div>
|
||||
<strong id="posting-1">
|
||||
{if $local.posting == "1"}
|
||||
<a title="Click this to disable posting." href="javascript:ajax_sharing_posting(1, 0)" class="sharing_posting_active">[DISABLE]</a>
|
||||
{else}
|
||||
<a title="Click this to enable posting." href="javascript:ajax_sharing_posting(1, 1)" class="sharing_posting_deactive">[ENABLE]</a>
|
||||
{/if}
|
||||
</strong>
|
||||
If you turn this on, this will post your comments to usenet. <br />
|
||||
<strong>This requires posting rights to usenet!</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="sharing_fetching">Fetching:</label></td>
|
||||
<td>
|
||||
<div>
|
||||
<strong id="fetching-1">
|
||||
{if $local.fetching == "1"}
|
||||
<a title="Click this to disable fetching." href="javascript:ajax_sharing_fetching(1, 0)" class="sharing_fetching_active">[DISABLE]</a>
|
||||
{else}
|
||||
<a title="Click this to enable fetching." href="javascript:ajax_sharing_fetching(1, 1)" class="sharing_fetching_deactive">[ENABLE]</a>
|
||||
{/if}
|
||||
</strong>
|
||||
If you turn this on, this will download comments from usenet.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="sharing_auto">Auto-Enable:</label></td>
|
||||
<td>
|
||||
<div>
|
||||
<strong id="auto-1">
|
||||
{if $local.auto_enable == "1"}
|
||||
<a title="Click this to disable auto-enable." href="javascript:ajax_sharing_auto(1, 0)" class="sharing_auto_active">[DISABLE]</a>
|
||||
{else}
|
||||
<a title="Click this to enable auto-enable." href="javascript:ajax_sharing_auto(1, 1)" class="sharing_auto_deactive">[ENABLE]</a>
|
||||
{/if}
|
||||
</strong>
|
||||
This will auto-enable new sites as we see them.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="sharing_hide">Hide Users:</label></td>
|
||||
<td>
|
||||
<div>
|
||||
<strong id="hide-1">
|
||||
{if $local.hide_users == "1"}
|
||||
<a title="Click this to disable hiding users." href="javascript:ajax_sharing_hide(1, 0)" class="sharing_hide_active">[DISABLE]</a>
|
||||
{else}
|
||||
<a title="Click this to enable hiding users." href="javascript:ajax_sharing_hide(1, 1)" class="sharing_hide_deactive">[ENABLE]</a>
|
||||
{/if}
|
||||
</strong>
|
||||
This will hide user names from being visible on remote sites.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="sharing_startposition">Backfill:</label></td>
|
||||
<td>
|
||||
<div>
|
||||
<strong id="startposition-1">
|
||||
{if $local.start_position == "1"}
|
||||
<a title="Click this to disable backfill." href="javascript:ajax_sharing_startposition(1, 0)" class="sharing_startposition_active">[DISABLE]</a>
|
||||
{else}
|
||||
<a title="Click this to enable backfill." href="javascript:ajax_sharing_startposition(1, 1)" class="sharing_startposition_deactive">[ENABLE]</a>
|
||||
{/if}
|
||||
</strong>
|
||||
When pulling the first time, or after resetting, start from the beginning of the group (takes more time).<br />
|
||||
<strong>With the backfill setting it will take a few runs before you find anything the first time because the group has articles other than comments in it.</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100px;"><label for="sharing_reset">Reset settings:</label></td>
|
||||
<td>
|
||||
<div>
|
||||
<strong id="reset-1">
|
||||
<a href="javascript:ajax_sharing_reset(1)" class="sharing_reset" onclick="return confirm('Are you sure? You will lose all your settings!');">[RESET]</a>
|
||||
</strong>
|
||||
<strong>This will reset your sharing settings (if you need to change Usenet Provider for example).</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<input type="submit" value="Save Settings" />
|
||||
</form>
|
||||
<br />
|
||||
{else}
|
||||
<p>You have not run Sharing yet, until you run it this page will contain no settings.</p>
|
||||
{/if}
|
||||
|
||||
{if $sites}
|
||||
<div style="margin-bottom:5px;">These are the remote websites we have seen so far:</div>
|
||||
{$pager}
|
||||
<div style="float:right;">
|
||||
<a href="javascript:ajax_sharing_toggle_all(1);" onclick="setTimeout('history.go(0);',700);" class="sharing_toggle_all">[Enable All]</a>
|
||||
<a href="javascript:ajax_sharing_toggle_all(0);" onclick="setTimeout('history.go(0);',700);" class="sharing_toggle_all">[Disable All]</a>
|
||||
</div>
|
||||
<table style="margin-top:5px;margin-bottom:5px;width:733px" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th style="width:22px;text-align:center;">id</th>
|
||||
<th style="width:300px;text-align:center;">Name</th>
|
||||
<th style="width:100px;text-align:center;">First seen</th>
|
||||
<th style="width:100px;text-align:center;">Last seen</th>
|
||||
<th style="width:50px;text-align:center;">Status</th>
|
||||
<th style="width:70px;text-align:center;">Comments</th>
|
||||
<th style="width:40px;text-align:center;"></th>
|
||||
</tr>
|
||||
{foreach from=$sites item=site}
|
||||
<tr id="row-{$site.id}" class="{cycle values=",alt"}">
|
||||
<td style="text-align:center;">{$site.id}</td>
|
||||
<td style="text-align:center;">{$site.site_name}</td>
|
||||
<td style="text-align:center;">{$site.first_time|timeago}</td>
|
||||
<td style="text-align:center;">{$site.last_time|timeago}</td>
|
||||
<td style="text-align:center;" id="site-{$site.id}">
|
||||
{if $site.enabled=="1"}
|
||||
<a href="javascript:ajax_sharing_site_status({$site.id}, 0)" class="sharing_site_active">Disable</a>
|
||||
{else}
|
||||
<a href="javascript:ajax_sharing_site_status({$site.id}, 1)" class="sharing_site_deactive">Enable</a>
|
||||
{/if}
|
||||
</td>
|
||||
<td style="text-align:center;">{$site.comments}</td>
|
||||
<td style="text-align:center;">
|
||||
<a href="javascript:ajax_sharing_site_purge({$site.id})" class="sharing_site_purge" onclick="return confirm('Are you sure? This will delete all comments from this site!');">Purge</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No remote sites found in your database.</p>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -1,20 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<p>Below is a dump of system settings and mysql table status to assist others in debuging problems.
|
||||
Items like private 3rd party keys have been removed, however <b>*note*</b> full paths to binaries and web files
|
||||
are included - so exercise caution when <a target="null" href="https://newznab.privatepaste.com/">pasting online</a>.</p>
|
||||
|
||||
<textarea rows="50" cols="50" style="width:100%;height:500px;">
|
||||
|
||||
{$site|print_r}
|
||||
|
||||
{foreach from=$mysql item=data}
|
||||
{$data.name} Index Size ({$data.indexsize|fsize_format:"MB"}) Data Size ({$data.datasize|fsize_format:"MB"})
|
||||
{/foreach}
|
||||
|
||||
Totalsize ({$mysqltotalsize|fsize_format:"MB"})
|
||||
|
||||
</textarea>
|
||||
|
||||
<br/>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,186 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $topgrabs|count > 0}
|
||||
<h2>Top Grabbers</h2>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight">
|
||||
<tr>
|
||||
<th>User</th>
|
||||
<th>Grabs</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$topgrabs item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%"><a href="{$smarty.const.WWW_TOP}/user-edit.php?id={$result.id}">{$result.username}</a></td>
|
||||
<td>{$result.grabs}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<br/><br/>
|
||||
{/if}
|
||||
|
||||
<h2>Signups</h2>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight Sortable">
|
||||
<tr>
|
||||
<th>Month</th>
|
||||
<th>Signups</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$usersbymonth item=result}
|
||||
{assign var="totusers" value=$totusers+$result.num}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%">{$result.mth}</td>
|
||||
<td>{$result.num}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr><td><strong>Total</strong></td><td><strong>{$totusers}</strong></td></tr>
|
||||
</table>
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<h2>Users by Role</h2>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight Sortable">
|
||||
<tr>
|
||||
<th>Role</th>
|
||||
<th>Users</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$usersbyrole item=result}
|
||||
{assign var="totrusers" value=$totrusers+$result.num}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%">{$result.name}</td>
|
||||
<td>{$result.num}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr><td><strong>Total</strong></td><td><strong>{$totrusers}</strong></td></tr>
|
||||
</table>
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<h2>Users by Hosthash</h2>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight Sortable">
|
||||
<tr>
|
||||
<th>Hosthash</th>
|
||||
<th>User IDs (Edit)</th>
|
||||
<th>User Names (Profiles)</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$usersbyhosthash item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
|
||||
<td width="25%">{$result.hosthash}</td>
|
||||
<td>
|
||||
{assign var="usersplits" value=","|explode:$result.user_string}
|
||||
{foreach from=$usersplits item=usersplit}
|
||||
<a href="{$smarty.const.WWW_TOP}/user-edit.php?id={$usersplit}">{$usersplit}</a>
|
||||
{/foreach}
|
||||
</td>
|
||||
<td>
|
||||
{assign var="usernsplits" value=","|explode:$result.user_names}
|
||||
{foreach from=$usernsplits item=usernsplit}
|
||||
<a href="{$smarty.const.WWW_TOP}/../profile?name={$usernsplit}">{$usernsplit}</a>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<h2>Access by Date</h2>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight Sortable">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Last Day</th>
|
||||
<th>2-7 Days</th>
|
||||
<th>8-30 Days</th>
|
||||
<th>1-3 Months</th>
|
||||
<th>3-6 Months</th>
|
||||
<th>+6 Months</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$loginsbymonth item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%">{$result.type}</td>
|
||||
<td>{$result.1day}</td>
|
||||
<td>{$result.7day}</td>
|
||||
<td>{$result.1month}</td>
|
||||
<td>{$result.3month}</td>
|
||||
<td>{$result.6month}</td>
|
||||
<td>{$result.12month}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
<br/><br/>
|
||||
|
||||
{if $topdownloads|count > 0}
|
||||
<h2>Top Downloads</h2>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight">
|
||||
<tr>
|
||||
<th>Release</th>
|
||||
<th>Grabs</th>
|
||||
<th>Days Ago</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$topdownloads item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%"><a href="{$smarty.const.WWW_TOP}/../details/{$result.guid}">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>
|
||||
{if $isadmin}<a href="{$smarty.const.WWW_TOP}/release-edit.php?id={$result.id}">[Edit]</a>{/if}</td>
|
||||
<td>{$result.grabs}</td>
|
||||
<td>{$result.adddate|timeago}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<br/><br/>
|
||||
{/if}
|
||||
|
||||
<h2>Releases Added In Last 7 Days</h2>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight">
|
||||
<tr>
|
||||
<th>Category</th>
|
||||
<th>Releases</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$recent item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%">{$result.title}</td>
|
||||
<td>{$result.count}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<br/><br/>
|
||||
|
||||
{if $topcomments|count > 0}
|
||||
<h2>Top Comments</h2>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight">
|
||||
<tr>
|
||||
<th>Release</th>
|
||||
<th>Comments</th>
|
||||
<th>Days Ago</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$topcomments item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%"><a href="{$smarty.const.WWW_TOP}/../details/{$result.guid}/#comments">{$result.searchname|escape:"htmlall"|replace:".":" "}</a></td>
|
||||
<td>{$result.comments}</td>
|
||||
<td>{$result.adddate|timeago}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
{/if}
|
||||
@@ -1,55 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td>Name:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$source.id}" />
|
||||
<input name="description" type="text" value="{$source.description}" />
|
||||
<div class="hint">A name or description for the source.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Poster Username:</td>
|
||||
<td>
|
||||
<input name="username" type="text" value="{$source.username}" />
|
||||
<div class="hint">The username part of the poster. eg nntp</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Poster E-mail:</td>
|
||||
<td>
|
||||
<input name="useremail" type="text" value="{$source.useremail}" />
|
||||
<div class="hint">The email part of the poster. eg spot@nntp.com</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Usenet Group:</td>
|
||||
<td>
|
||||
<input name="usenetgroup" type="text" value="{$source.usenetgroup}" />
|
||||
<div class="hint">Group to search when looking up posts for this source.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Public Key:</td>
|
||||
<td>
|
||||
<textarea class="autosize" name="publickey">{$source.publickey|escape:html}</textarea>
|
||||
<div class="hint">Public Key needed to decode the posts specific for this source.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,44 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $spotnab|@count == 0}
|
||||
No available sources. <a href="spotnab-edit.php?action=add">Add one?</a>
|
||||
{else}
|
||||
|
||||
<table style="margin-top:10px;" class="data highlight">
|
||||
|
||||
<tr>
|
||||
<th>source description</th>
|
||||
<th>current status</th>
|
||||
<th>comments</th>
|
||||
<th>last broadcast</th>
|
||||
<th>last update</th>
|
||||
<th>options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$spotnab item=source}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td><a href="{$smarty.const.WWW_TOP}/spotnab-edit.php?id={$source.id}">{$source.description}</a></td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/spotnab-list.php?id={$source.id}&toggle={if $source.active=="1"}0{else}1{/if}" {if $source.active=="0"}style="color: #ce0000;"{/if}>{if $source.active=="1"}active{else}inactive{/if}</a></td>
|
||||
<td>{$source.comments}</td>
|
||||
<td>
|
||||
{if $source.lastbroadcast != null}
|
||||
{$source.lastbroadcast}
|
||||
{else}
|
||||
n/a
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
{if $source.lastupdate != null}
|
||||
{$source.lastupdate}
|
||||
{else}
|
||||
n/a
|
||||
{/if}
|
||||
</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/spotnab-edit.php?id={$source.id}">edit</a> <a class="confirm_action" href="{$smarty.const.WWW_TOP}/spotnab-delete.php?id={$source.id}">delete</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
{/if}
|
||||
@@ -1,124 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<input type="hidden" name="from" value="{$smarty.get.from}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="tvdbid">tvdbid</label>:</td>
|
||||
<td>
|
||||
<input id="tvdbid" class="long" name="tvdbid" type="text" value="{$series.tvdbid|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="actors">actors</label>:</td>
|
||||
<td>
|
||||
<input id="actors" class="long" name="actors" type="text" value="{$series.actors|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="airsday">airsday</label>:</td>
|
||||
<td>
|
||||
<input id="airsday" class="long" name="airsday" type="text" value="{$series.airsday|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="airstime">airstime</label>:</td>
|
||||
<td>
|
||||
<input id="airstime" class="long" name="airstime" type="text" value="{$series.airstime|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="contentrating">contentrating</label>:</td>
|
||||
<td>
|
||||
<input id="contentrating" class="long" name="contentrating" type="text" value="{$series.contentrating|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="firstaired">firstaired</label>:</td>
|
||||
<td>
|
||||
<input id="firstaired" class="long" name="firstaired" type="text" value="{$series.firstaired|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="genre">genre</label>:</td>
|
||||
<td>
|
||||
<input id="genre" class="long" name="genre" type="text" value="{$series.genre|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="imdbid">imdbid</label>:</td>
|
||||
<td>
|
||||
<input id="imdbid" class="long" name="imdbid" type="text" value="{$series.imdbid|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="network">network</label>:</td>
|
||||
<td>
|
||||
<input id="network" class="long" name="network" type="text" value="{$series.network|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="overview">overview</label>:</td>
|
||||
<td>
|
||||
<input id="overview" class="long" name="overview" type="text" value="{$series.overview|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="rating">rating</label>:</td>
|
||||
<td>
|
||||
<input id="rating" class="long" name="rating" type="text" value="{$series.rating|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="ratingcount">ratingcount</label>:</td>
|
||||
<td>
|
||||
<input id="ratingcount" class="long" name="ratingcount" type="text" value="{$series.ratingcount|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="runtime">runtime</label>:</td>
|
||||
<td>
|
||||
<input id="runtime" class="long" name="runtime" type="text" value="{$series.runtime|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="seriesname">seriesname</label>:</td>
|
||||
<td>
|
||||
<input id="seriesname" class="long" name="seriesname" type="text" value="{$series.seriesname|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="status">status</label>:</td>
|
||||
<td>
|
||||
<input id="status" class="long" name="status" type="text" value="{$series.status|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,40 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $serieslist}
|
||||
|
||||
<div style="float:right;">
|
||||
|
||||
<form name="thetvdbsearch" action="">
|
||||
<label for="seriesname">Title</label>
|
||||
<input id="seriesname" type="text" name="seriesname" value="{$seriesname}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{$pager}
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th style="width:90px;">TheTVDB id</th>
|
||||
<th>Title</th>
|
||||
<th style="width:120px;" class="mid">Options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$serieslist item=thetvdb}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less"><a href="{$site->dereferrer_link}http://thetvdb.com/?tab=series&id={$thetvdb.tvdbid}" title="View in TheTVDB">{$thetvdb.tvdbid}</a></td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/thetvdb-edit.php?id={$thetvdb.tvdbid}">{$thetvdb.seriesname|escape:"htmlall"}</a></td>
|
||||
<td class="mid"><a title="Delete this TheTVDB entry" href="{$smarty.const.WWW_TOP}/thetvdb-delete.php?id={$thetvdb.tvdbid}">delete</a> | <a title="Remove this tvdbid from all releases" href="{$smarty.const.WWW_TOP}/thetvdb-remove.php?id={$thetvdb.tvdbid}">remove</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No TheTVDB episodes available.</p>
|
||||
{/if}
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
Removed tvdbid from {$numtv} releases.
|
||||
@@ -1,784 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<fieldset>
|
||||
<legend>Tmux - How It Works</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="explain">Information:</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="explanation">Tmux is a screen multiplexer and at least version 1.6 is required. It is used
|
||||
here to allow multiple windows per session and multiple panes per window.<br/><br/>
|
||||
Each script is run in its own shell environment. It is not looped, but allowed to run once and then
|
||||
exit. This notifies tmux that the pane is dead and can then be respawned with another iteration of
|
||||
the script in a new shell environment. <br/>
|
||||
This allows for scripts that crash to be restarted without user intervention.<br/><br/>
|
||||
You can run multiple tmux sessions, but they all must have an associated tmux.conf file and all
|
||||
sessions must use the same tmux.conf file.<br/><br/>
|
||||
|
||||
<h3><b>NOTICE:</b></h3> If "Save Tmux Settings" is the last thing you did on this page or if it is
|
||||
the active element and if you have this page set to autorefresh or you refresh instead of following
|
||||
a link to this page, you will set the db with the settings currently on this page, not reload from
|
||||
db. This could cause tmux scripts to start while optimize or patch the database is running.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Monitor</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="running">Tmux Scripts Running:</label></td>
|
||||
<td>
|
||||
{html_radios id="running" name='running' values=$yesno_ids output=$yesno_names selected=$ftmux->running separator='<br />'}
|
||||
<div class="hint">This is the shutdown, true/on, it runs, false/off and all scripts are terminated. This
|
||||
will start/stop all panes without terminating the monitor pane. This is not instant, it does not
|
||||
kill any panes, it simply does not aloow any pane to restart if set to false.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="monitor_delay">Monitor Loop Timer:</label></td>
|
||||
<td>
|
||||
<input id="monitor_delay" name="monitor_delay" class="short" type="text"
|
||||
value="{$ftmux->monitor_delay}"/>
|
||||
|
||||
<div class="hint">The time between query refreshes of monitor information, in seconds. This has no
|
||||
effect on any other pane, except in regards to the kill switches. The other panes are checked every
|
||||
10 seconds. The lower the number, the more often it queries the database for numbers.<br/>
|
||||
<b>As the database gets larger in size, the longer this set of queries takes to process.</b><br/>
|
||||
this has been mitigated by using memcache on the count queries. The will stay in cache for whatever
|
||||
you have set in config.ini, default is 900 seconds.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="tmux_session">Tmux Session:</label></td>
|
||||
<td>
|
||||
<input id="tmux_session" name="tmux_session" class="long" type="text" value="{$ftmux->tmux_session}"/>
|
||||
|
||||
<div class="hint">Enter the session name to be used by tmux, no spaces allowed in the name, this can't
|
||||
be changed after scripts start. If you are running multiple servers, you could put your hostname
|
||||
here
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="monitor_path">Monitor a Ramdisk:</label></td>
|
||||
<td>
|
||||
<input id="monitor_path" name="monitor_path" class="long" type="text"
|
||||
value="{$ftmux->monitor_path}"/><br/>
|
||||
<input id="monitor_path_a" name="monitor_path_a" class="long" type="text"
|
||||
value="{$ftmux->monitor_path_a}"/><br/>
|
||||
<input id="monitor_path_b" name="monitor_path_b" class="long" type="text"
|
||||
value="{$ftmux->monitor_path_b}"/>
|
||||
|
||||
<div class="hint">Enter a path here to have Monitor monitor its usage and free space. Must be a valid
|
||||
path.<br/>To use this example, add to fstab and edit path, gid and uid, then mount as user not root:<br/>tmpfs
|
||||
/var/www/newznab/nzbfiles/tmpunrar tmpfs
|
||||
user,uid=1000,gid=33,nodev,nodiratime,nosuid,size=1G,mode=777 0 0<br/>
|
||||
gid == group id == /etc/groups, uid == user id == /etc/passwd
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="explain">Information:</label></td>
|
||||
<td>
|
||||
<div class="explanation">
|
||||
Monitor is the name of the script that monitors all of the tmux panes and windows. It stops/stops
|
||||
scripts based on user settings. It queries the database to provide stats from your newznab database.<br/><br/>
|
||||
There are 2 columns of numbers, 'In Process' and 'In Database'. The 'In Process' is all releases
|
||||
that need to be postprocessed. The 'In Database' is the number of releases matching that
|
||||
category.<br/><br/>
|
||||
The 'In Process' column has 2 sets of numbers, the total for each category that needs to be
|
||||
postprocessed and inside the parenthesis is the difference from when the script started to what it
|
||||
is now.<br/><br/>
|
||||
The 'In Database' column also has 2 sets of numbers, the total releases for each category and inside
|
||||
the parenthesis is the percentage that category is to the total number of releases.<br/><br/>
|
||||
The Misc row means something different in both columns. The 'In Process' column is all releases that
|
||||
have not had 'Additional' run on them. This includes 100% of all releases, not just the Misc
|
||||
Category.<br/><br/>
|
||||
The 'In Database' Misc means the number of releases that have not been categorized in any other
|
||||
category.<br/>
|
||||
The counts for parts, binaries and predb totals are estimates and can vary wildly between queries.
|
||||
It is too slow to query the db for real counts, when using InnoDB. All of the other counts are
|
||||
actual counts.<br/><br/>
|
||||
The 'In Process' predb is the total unmatched predb and inside the parenthesis is the 'matched'
|
||||
changed since the script started. The 'In Database' is the total matched predb's you have and the
|
||||
number inside the parenthesis is the percentage of total releases that you have matched to a predb
|
||||
release.<br/><br/>
|
||||
The 'In Process' NZBs are total nzbs, inside the parenthesis is distinct nzbs and 'In Database' are
|
||||
nzbs that have all parts available and will be processed on next run.<br/><br/>
|
||||
The 'In Process' requestid is the number waiting to be processed and inside the parenthesis is the
|
||||
number changed since the script started. The 'In Database' is the total matches of releases to
|
||||
requestIDs and inside the parenthesis is percentage of total releases that you have matched to a
|
||||
requestid.<br/><br/>
|
||||
The 'In Process' rows PC and Pron are simply subsets of the 'In Process' row Misc. There is no
|
||||
postprocessing specifically for these categories. The 'In Database' is the actual count for the
|
||||
category.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Sequential</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="sequential">Run Sequential:</label></td>
|
||||
<td>
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="sequential" name='sequential' values=$sequential_ids output=$sequential_names selected=$ftmux->sequential}
|
||||
<div class="hint">Basic Sequential runs update_binaries, backfill and update releases_sequentially.<br/>Changing
|
||||
requires restart.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="seq_timer">Sequential Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="seq_timer" name="seq_timer" class="short" type="text" value="{$ftmux->seq_timer}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="explain">Information:</label></td>
|
||||
<td>
|
||||
<div class="explanation">I do not recommend using sequential, as it is not tested enough.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Update Binaries</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="binaries">Update Binaries:</label></td>
|
||||
<td>
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="binaries" name='binaries' values=$binaries_ids output=$binaries_names selected=$ftmux->binaries}
|
||||
<div class="hint">Choose to run update_binaries. Update binaries gets from your last_record to now.<br/>Simple
|
||||
Threaded Update runs 1 group per thread.<br/>Complete Threaded Update splits all work across
|
||||
multiple threads(binaries_safe_threaded.py).
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="bins_timer">Update Binaries Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="bins_timer" name="bins_timer" class="short" type="text" value="{$ftmux->bins_timer}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="bins_kill_timer">Binaries Kill Timer:</label></td>
|
||||
<td>
|
||||
<input id="bins_kill_timer" name="bins_kill_timer" class="short" type="text"
|
||||
value="{$ftmux->bins_kill_timer}"/>
|
||||
|
||||
<div class="hint">The time update_binaries is allowed to run with no updates.Time is in minutes.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Backfill</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="backfill">Backfill:</label></td>
|
||||
<td>
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="backfill" name='backfill' values=$backfill_ids output=$backfill_names selected=$ftmux->backfill}
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="backfill_order" name='backfill_order' values=$backfill_group_ids output=$backfill_group selected=$ftmux->backfill_order}
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="backfill_days" name='backfill_days' values=$backfill_days_ids output=$backfill_days selected=$ftmux->backfill_days}
|
||||
<div class="hint">Choose to run backfill type. Backfill gets from your first_record back.<br/>
|
||||
Disabled - Disables backfill from running.<br/>
|
||||
Safe - Backfills 1 group by backfill days (set in admin-view groups), using the number of threads
|
||||
set in admin. This downloads Backfill Quantity times the Backfill Threads, each
|
||||
loop(backfill_safe_threaded.py). <br \>
|
||||
example: you have Backfill Threads = 10, Backfill Quantity = 20k, Max Messages = 5k: you will run 10
|
||||
threads, queue of 40 and download 200k headers.<br/>
|
||||
Interval - Backfills the number of groups (set in tmux), by backfill days (set in admin-view
|
||||
groups), completely.<br/>
|
||||
All - Backfills the number of groups (set in tmux), by Backfill Quantity (set in tmux), up to
|
||||
backfill days (set in admin-view groups)<br/>
|
||||
These settings are all per loop and does not use backfill date. Approximately every 80 minutes,
|
||||
every activated backfill group will be backfilled (5k headers).This extra step is not necessary and
|
||||
is not used when using Sequential.<br/>
|
||||
Newest - Sorts the group selection with the least backfill days backfilled, first.<br/>
|
||||
Oldest - Sorts the group selection with the most backfill days backfilled, first.<br/>
|
||||
Alphabetical - Sorts the group selection from a to z.<br/>
|
||||
Alphabetical Reverse - Sorts the group selection from z to a.<br /a>
|
||||
Most Posts - Sorts the group selection by the highest number of posts, first.<br /a>
|
||||
Fewest Posts - Sorts the group selection by the lowest number of posts, first.<br/>
|
||||
Backfill days - Days per Group from admin->view group or the Safe Backfill Date from admin->tmux.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="backfill_qty">Backfill Quantity:</label></td>
|
||||
<td>
|
||||
<input id="backfill_qty" name="backfill_qty" class="short" type="text" value="{$ftmux->backfill_qty}"/>
|
||||
|
||||
<div class="hint">When not running backfill intervals, you select the number of headers per group per
|
||||
thread to download.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="backfill_groups">Backfill Groups:</label></td>
|
||||
<td>
|
||||
<input id="backfill_groups" name="backfill_groups" class="short" type="text"
|
||||
value="{$ftmux->backfill_groups}"/>
|
||||
|
||||
<div class="hint">When running backfill the groups are sorted by the backfill method chosen above.
|
||||
Select the number of groups to backfill per loop.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="back_timer">Backfill Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="back_timer" name="back_timer" class="short" type="text" value="{$ftmux->back_timer}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="progressive">Variable Sleep Timer:</label></td>
|
||||
<td>
|
||||
{html_radios id="progressive" name='progressive' values=$yesno_ids output=$yesno_names selected=$ftmux->progressive separator='<br />'}
|
||||
<div class="hint">This will vary the backfill sleep depending on how many collections you have.<br/>ie
|
||||
50k collections would make sleep timer 100 seconds and 20k releases would make sleep timer 40
|
||||
seconds.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Import nzbs</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="import">Import nzbs:</label></td>
|
||||
<td>
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="import" name='import' values=$import_ids output=$import_names selected=$ftmux->import}
|
||||
<div class="hint">Choose to run import nzb script true/false. This can point to a single folder with
|
||||
multiple subfolders on just the one folder. If you run this threaded, it will run 1 folder per
|
||||
thread.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="nzbs">Nzbs Folder:</label></td>
|
||||
<td>
|
||||
<input id="nzbs" class="long" name="nzbs" type="text" value="{$ftmux->nzbs}"/>
|
||||
|
||||
<div class="hint">Set the path to the nzb dump you downloaded from torrents, this is the path to bulk
|
||||
files folder of nzbs. This is by default, recursive and threaded. You set the threads in Advanced
|
||||
Settings.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="import_count">Import nzbs per process:</label></td>
|
||||
<td>
|
||||
<input id="import_count" name="import_count" class="short" type="text" value="{$ftmux->import_count}"/>
|
||||
<div class="hint">How many NZB files to import per process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="import_timer">Import nzbs Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="import_timer" name="import_timer" class="short" type="text" value="{$ftmux->import_timer}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="explain">Information:</label></td>
|
||||
<td>
|
||||
<div class="explanation">This will import all nzbs in the given path. If in your path you have nzbs in
|
||||
the root folder and subfolders(regardless of nzbs inside), threaded scripts will ignore all nzbs in
|
||||
the root path. Then each subfolder is threaded.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Update Releases</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="releases">Update Releases:</label></td>
|
||||
<td>
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="releases" name='releases' values=$releases_ids output=$releases_names selected=$ftmux->releases}
|
||||
<div class="hint">Create releases, this is really only necessary to turn off when you only want to post
|
||||
process. This runs "Categorizes releases in misc sections using the search name" on first loop and
|
||||
has 33% chance of running on any other loop. Then runs update_releases.php 1 false to create new
|
||||
releases.<br/>Threaded is only used with tablepergroup and is required if using tpg.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="rel_timer">Update Releases Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="rel_timer" name="rel_timer" class="short" type="text" value="{$ftmux->rel_timer}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Postprocessing</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="post">Postprocess Additional:</label></td>
|
||||
<td>
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="post" name='post' values=$post_ids output=$post_names selected=$ftmux->post}
|
||||
<div class="hint">Choose to do deep rar inspection, preview and sample creation and/or nfo processing.
|
||||
true/false
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="post_timer">Postprocess Additional Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="post_timer" name="post_timer" class="short" type="text" value="{$ftmux->post_timer}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="post_kill_timer">Postprocess Kill Timer:</label></td>
|
||||
<td>
|
||||
<input id="post_kill_timer" name="post_kill_timer" class="short" type="text"
|
||||
value="{$ftmux->post_kill_timer}"/>
|
||||
|
||||
<div class="hint">The time postprocess is allowed to run with no updates to the screen.Time is in
|
||||
seconds. Activity is detected when the history for the pane changes. The clock is restarted every
|
||||
time activity is detected.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="post_amazon">Postprocess Amazon:</label></td>
|
||||
<td>
|
||||
{html_radios id="post_amazon" name='post_amazon' values=$yesno_ids output=$yesno_names selected=$ftmux->post_amazon separator='<br />'}
|
||||
<div class="hint">Choose to do books, music and games lookups true/false</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="post_timer_amazon">Postprocess Amazon Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="post_timer_amazon" name="post_timer_amazon" class="short" type="text"
|
||||
value="{$ftmux->post_timer_amazon}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="post_non">Postprocess Non-Amazon:</label></td>
|
||||
<td>
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="post_non" name='post_non' values=$post_non_ids output=$post_non_names selected=$ftmux->post_non}
|
||||
<div class="hint">Choose to do movies, anime and tv lookups. true/false</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="post_timer">Postprocess Non-Amazon Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="post_timer_non" name="post_timer_non" class="short" type="text"
|
||||
value="{$ftmux->post_timer_non}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Comment Sharing</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="run_sharing">Comment Sharing :</label></td>
|
||||
<td>
|
||||
{html_radios id="run_sharing" name='run_sharing' values=$yesno_ids output=$yesno_names
|
||||
selected=$ftmux->run_sharing separator='<br />'}
|
||||
|
||||
<div class="hint">Run Comment Sharing from within tmux if you have it enabled in Admin->Comment Sharing
|
||||
Settings.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="sharing_timer">Comments Sharing Timer:</label></td>
|
||||
<td>
|
||||
<input class="short" id="sharing_timer" name="sharing_timer" type="text"
|
||||
value="{$ftmux->sharing_timer}"/>
|
||||
|
||||
<div class="hint">Set the sleep time between updates</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Fix Release Names</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="fix_names">Fix Release Names:</label></td>
|
||||
<td>
|
||||
{html_radios id="fix_names" name='fix_names' values=$yesno_ids output=$yesno_names selected=$ftmux->fix_names separator='<br />'}
|
||||
<div class="hint">Choose to try to fix Releases Names using NFOs, par2 files, filenames, md5 and
|
||||
sha1. true/false
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="fix_timer">Fix Release Names Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="fix_timer" name="fix_timer" class="short" type="text" value="{$ftmux->fix_timer}"/>
|
||||
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Remove Crap Releases</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="fix_crap">Remove Crap Releases:</label></td>
|
||||
<td>
|
||||
{html_radios id="fix_crap_opt" name='fix_crap_opt' onchange="enableFixCrapCustom()" values=$fix_crap_radio_names output=$fix_crap_radio_names selected=$ftmux->fix_crap_opt separator='<br />'}
|
||||
<br>
|
||||
<div class="checkbox-grid">
|
||||
{if $ftmux->fix_crap_opt == "Custom"}
|
||||
{html_checkboxes id="fix_crap" name='fix_crap' values=$fix_crap_check_names output=$fix_crap_check_names selected=explode(', ', $ftmux->fix_crap)}
|
||||
{else}
|
||||
{html_checkboxes id="fix_crap" name='fix_crap' disabled="true" readonly="true" values=$fix_crap_check_names output=$fix_crap_check_names selected=explode(', ', $ftmux->fix_crap)}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="hint">Choose to run Remove Crap Releases. You can enable all or some.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="crap_timer">Remove Crap Releases Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="crap_timer" name="crap_timer" class="short" type="text" value="{$ftmux->crap_timer}"/>
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Decrypt Hashes</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="dehash">Decrypt Hash Based Release Names:</label></td>
|
||||
<td>
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="dehash" name='dehash' values=$dehash_ids output=$dehash_names selected=$ftmux->dehash}
|
||||
<div class="hint">Choose to run Decrypt Hashes true/false</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="dehash_timer">Decrypt Hashes Sleep Timer:</label></td>
|
||||
<td>
|
||||
<input id="dehash_timer" name="dehash_timer" class="short" type="text" value="{$ftmux->dehash_timer}"/>
|
||||
<div class="hint">The time to sleep from the time the loop ends until it is restarted, in seconds.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="explain">Information:</label></td>
|
||||
<td>
|
||||
<div class="explanation">Decrypt hashes works by matching a hashed release to the md5 of a release in
|
||||
the predb.<br/>
|
||||
Included in the same pane is Update Predb. This scrapes several predb sites and then tries to match
|
||||
against releases.<br/>
|
||||
This should be run along with fixReleasenames.php, this is faster, but only looks at releases.names.
|
||||
fixReleasenames.php goes further and looks at releasefiles.name.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Update TV/Theater</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="update_tv">Update TV and Theater Schedules:</label></td>
|
||||
<td>
|
||||
{html_radios id="update_tv" name='update_tv' values=$yesno_ids output=$yesno_names selected=$ftmux->update_tv separator='<br />'}
|
||||
<div class="hint">Choose to run Update TV and Theater Schedules true/false</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="tv_timer">Update TV and Theater Start Timer:</label></td>
|
||||
<td>
|
||||
<input id="tv_timer" name="tv_timer" class="short" type="text" value="{$ftmux->tv_timer}"/>
|
||||
|
||||
<div class="hint">This is a start timer. The default is 12 hours. This means that if enabled, is will
|
||||
start/run every 12 hours, no matter how long it runs for.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>PreDb IRC Scraper</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="scrape_cz">Scrape Irc Channels:</label></td>
|
||||
<td>
|
||||
{html_radios id="scrape" name='scrape' values=$yesno_ids output=$yesno_names
|
||||
selected=$ftmux->scrape separator='<br />'}
|
||||
<div class="hint">Choose to run IRCScraper on irc channels. Setting SCRAPE_IRC_C_Z_BOOL parameter to
|
||||
true or false in settings.php will toggle between the servers. The pane for this can not be
|
||||
created after tmux starts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="explain">Information:</label></td>
|
||||
<td>
|
||||
<div class="explanation">IRC Scraper will scrape several predb channels from the enabled servers.<br/>
|
||||
Copy settings_example.php to settings.php in /lib/IRCScraper and change the settings.<br/>
|
||||
As a minimum you should set the username and make sure it is unique.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Miscellaneous</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="niceness">Niceness:</label></td>
|
||||
<td>
|
||||
<input id="niceness" name="niceness" class="short" type="text" value="{$ftmux->niceness}"/>
|
||||
|
||||
<div class="hint">This sets the 'nice'ness of each script, default is 19, the lowest, the highest is -20
|
||||
anything between -1 and -20 require root/sudo to run
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="collections_kill">Maximum Collections:</label></td>
|
||||
<td>
|
||||
<input id="collections_kill" name="collections_kill" class="short" type="text"
|
||||
value="{$ftmux->collections_kill}"/>
|
||||
<div class="hint">Set this to any number above 0 and when it is exceeded, backfill and update binaries
|
||||
will be terminated. 0 disables.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="postprocess_kill">Maximum Postprocess:</label></td>
|
||||
<td>
|
||||
<input id="postprocess_kill" name="postprocess_kill" class="short" type="text"
|
||||
value="{$ftmux->postprocess_kill}"/>
|
||||
|
||||
<div class="hint">Set this to any number above 0 and when it is exceeded, import, backfill and update
|
||||
binaries will be terminated. 0 disables.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="write_logs">Logging:</label></td>
|
||||
<td>
|
||||
{html_radios id="write_logs" name='write_logs' values=$yesno_ids output=$yesno_names selected=$ftmux->write_logs separator='<br />'}
|
||||
<div class="hint">Set this to write each panes output to a per pane per day log file. This adds GMT date
|
||||
to the filename.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="powerline">Powerline Status Bar:</label></td>
|
||||
<td>
|
||||
{html_radios id="powerline" name='powerline' values=$yesno_ids output=$yesno_names selected=$ftmux->powerline separator='<br />'}
|
||||
<div class="hint">Choose to use the Powerline tmux status bar. To make this pretty, you need to install
|
||||
a patched font. This can be found on <a href="https://github.com/jonnyboy/powerline-fonts">my
|
||||
fork</a> or <a href="https://github.com/Lokaltog/powerline-fonts">the original git</a><br \>You
|
||||
will need to copy the default theme located at powerline/powerline/themes/default.sh to
|
||||
powerline/powerline/themes/tmux.sh and edit that file for what is displayed, colors, etc.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="safebackfilldate">Safe Backfill Date:</label></td>
|
||||
<td>
|
||||
<input class="small" id="safebackfilldate" name="safebackfilldate" type="text"
|
||||
value="{$ftmux->safebackfilldate}"/>
|
||||
|
||||
<div class="hint">The target date for safe backfill. Format: YYYY-MM-DD</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Server Monitors</legend>
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="showquery">Display Query Times:</label></td>
|
||||
<td>
|
||||
{html_radios id="showquery" name='showquery' values=$yesno_ids output=$yesno_names selected=$ftmux->showquery separator='<br />'}
|
||||
<div class="hint">Choose to display the query times for each set of queries. true/false.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="htop">htop:</label></td>
|
||||
<td>
|
||||
{html_radios id="htop" name='htop' values=$yesno_ids output=$yesno_names selected=$ftmux->htop separator='<br />'}
|
||||
<div class="hint">htop - an interactive process viewer for Linux. The pane for this can not be created
|
||||
after tmux starts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="nmon">nmon:</label></td>
|
||||
<td>
|
||||
{html_radios id="nmon" name='nmon' values=$yesno_ids output=$yesno_names selected=$ftmux->nmon separator='<br />'}
|
||||
<div class="hint">nmon is short for Nigel's performance Monitor for Linux. The pane for this can not be
|
||||
created after tmux starts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="vnstat">vnstat:</label></td>
|
||||
<td>
|
||||
{html_radios id="vnstat" name='vnstat' values=$yesno_ids output=$yesno_names selected=$ftmux->vnstat separator='<br />'}
|
||||
<input id="vnstat_ARGS" name="vnstat_ARGS" class="text" type="text" value="{$ftmux->vnstat_ARGS}"/>
|
||||
|
||||
<div class="hint">vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log
|
||||
of network traffic for the selected interface(s). Any additional arguments should be placed in the
|
||||
text box. The pane for this can not be created after tmux starts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="tcptrack">tcptrack:</label></td>
|
||||
<td>
|
||||
{html_radios id="tcptrack" name='tcptrack' values=$yesno_ids output=$yesno_names selected=$ftmux->tcptrack separator='<br />'}
|
||||
<input id="tcptrack_args" name="tcptrack_args" class="text" type="text"
|
||||
value="{$ftmux->tcptrack_args}"/>
|
||||
|
||||
<div class="hint">tcptrack displays the status of TCP connections that it sees on a given network
|
||||
interface. tcptrack monitors their state and displays information such as state, source/destination
|
||||
addresses and bandwidth usage in a sorted, updated list very much like the top(1) command. <br/>Any
|
||||
additional arguments should be placed in the text box. <br/>You may need to run "sudo setcap
|
||||
cap_net_raw+ep /usr/bin/tcptrack", to be able to run as user. The pane for this can not be created
|
||||
after tmux starts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="bwmng">bwm-ng:</label></td>
|
||||
<td>
|
||||
{html_radios id="bwmng" name='bwmng' values=$yesno_ids output=$yesno_names selected=$ftmux->bwmng separator='<br />'}
|
||||
<div class="hint">bwm-ng can be used to monitor the current bandwidth of all or some specific network
|
||||
interfaces or disks (or partitions). The pane for this can not be created after tmux starts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="mytop">mytop:</label></td>
|
||||
<td>
|
||||
{html_radios id="mytop" name='mytop' values=$yesno_ids output=$yesno_names selected=$ftmux->mytop separator='<br />'}
|
||||
<div class="hint">mytop - display MySQL server performance info like `top'. <br/>You will need to create
|
||||
~/.mytop, an example can be found in 'perldoc mytop'. The pane for this can not be created after
|
||||
tmux starts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="showprocesslist">Show Process List:</label></td>
|
||||
<td>
|
||||
{html_radios id="showprocesslist" name='showprocesslist' values=$yesno_ids output=$yesno_names selected=$ftmux->showprocesslist separator='<br />'}
|
||||
<input id="processupdate" name="processupdate" class="short" type="text"
|
||||
value="{$ftmux->processupdate}"/>
|
||||
|
||||
<div class="hint">This runs the watch command in its own pane. This could be used for a live 'slow query
|
||||
monitor'. Just set the time above and only the queries that exceed it will be displayed.<br/>mysql
|
||||
-e "SELECT time, state, rows_examined, info FROM information_schema.processlist WHERE command !=
|
||||
\"Sleep\" AND time >= .5 ORDER BY time DESC \G"<br/>This shows a grid like layout with the full test
|
||||
of the running queries.<br/>You will need to create a ~/.my.cnf for this to work properlly. The pane
|
||||
for this can not be created after tmux starts and modifying the time above will have no effect until
|
||||
a restart occurs.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="console">Console:</label></td>
|
||||
<td>
|
||||
{html_radios id="console" name='console' values=$yesno_ids output=$yesno_names selected=$ftmux->console separator='<br />'}
|
||||
<div class="hint">Open an empty bash shell. The pane for this can not be created after tmux starts.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:180px;"><label for="debuginfo">Debug information:</label></td>
|
||||
<td>
|
||||
{html_radios id="debuginfo" name='debuginfo' values=$yesno_ids output=$yesno_names selected=$ftmux->debuginfo separator='<br />'}
|
||||
<div class="hint">For developers. Whether to echo debug information in some scripts.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<input type="submit" value="Save Tmux Settings"/>
|
||||
|
||||
</form>
|
||||
@@ -1,128 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td>Name:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$user.id}"/>
|
||||
<input autocomplete="off" class="long" name="username" type="text" value="{$user.username}"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Email:</td>
|
||||
<td>
|
||||
<input autocomplete="off" class="long" name="email" type="text" value="{$user.email}"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Password:</td>
|
||||
<td>
|
||||
<input autocomplete="off" class="long" name="password" type="password" value=""/>
|
||||
{if $user.id}
|
||||
<div class="hint">Only enter a password if you want to change it.</div>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{if $user.id}
|
||||
<tr>
|
||||
<td>Grabs:</td>
|
||||
<td>
|
||||
<input class="short" name="grabs" type="text" value="{$user.grabs}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Invites:</td>
|
||||
<td>
|
||||
<input class="short" name="invites" type="text" value="{$user.invites}"/>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td>Movie View:</td>
|
||||
<td>
|
||||
<input name="movieview" type="checkbox" value="1" {if $user.movieview=="1"}checked="checked"{/if} />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Music View:</td>
|
||||
<td>
|
||||
<input name="musicview" type="checkbox" value="1" {if $user.musicview=="1"}checked="checked"{/if} />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Game View:</td>
|
||||
<td>
|
||||
<input name="gameview" type="checkbox" value="1" {if $user.gameview=="1"}checked="checked"{/if}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>XXX View:</td>
|
||||
<td>
|
||||
<input name="xxxview" type="checkbox" value="1" {if $user.xxxview=="1"}checked="checked"{/if}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Console View:</td>
|
||||
<td>
|
||||
<input name="consoleview" type="checkbox" value="1" {if $user.consoleview=="1"}checked="checked"{/if} />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Book View:</td>
|
||||
<td>
|
||||
<input name="bookview" type="checkbox" value="1" {if $user.bookview=="1"}checked="checked"{/if} />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="role">Role</label>:</td>
|
||||
<td>
|
||||
{html_radios id="role" name='role' values=$role_ids output=$role_names selected=$user.role separator='<br />'}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a id="notes"></a>Notes:</td>
|
||||
<td>
|
||||
<textarea class="autosize" maxlength="255" id="notes" name="notes">{$user.notes|escape:html}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save"/>
|
||||
|
||||
{if $user.id != ""}
|
||||
<input onclick="return doDelete();" type="button" value="Delete"/>
|
||||
<script type="text/javascript">
|
||||
function doDelete() {
|
||||
if (confirm('Are you sure?'))
|
||||
window.location = 'user-delete.php?id={$user.id}&redir=user-list.php';
|
||||
else
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<div style="float:right;">
|
||||
|
||||
<form name="usersearch" action="">
|
||||
<label for="username">username</label>
|
||||
<input id="username" type="text" name="username" value="{$username}" size="10" />
|
||||
|
||||
<label for="email">email</label>
|
||||
<input id="email" type="text" name="email" value="{$email}" size="10" />
|
||||
|
||||
<label for="host">host</label>
|
||||
<input id="host" type="text" name="host" value="{$host}" size="10" />
|
||||
|
||||
<label for="role">role</label>
|
||||
<select name="role">
|
||||
<option value="">-- any --</option>
|
||||
{html_options values=$role_ids output=$role_names selected=$role}
|
||||
</select>
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{$pager}
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight">
|
||||
|
||||
<tr>
|
||||
<th>name<br/><a title="Sort Descending" href="{$orderbyusername_desc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_down.gif" alt="" /></a><a title="Sort Ascending" href="{$orderbyusername_asc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_up.gif" alt="" /></a></th>
|
||||
<th>email<br/><a title="Sort Descending" href="{$orderbyemail_desc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_down.gif" alt="" /></a><a title="Sort Ascending" href="{$orderbyemail_asc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_up.gif" alt="" /></a></th>
|
||||
<th>host<br/><a title="Sort Descending" href="{$orderbyhost_desc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_down.gif" alt="" /></a><a title="Sort Ascending" href="{$orderbyhost_asc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_up.gif" alt="" /></a></th>
|
||||
<th>join date<br/><a title="Sort Descending" href="{$orderbycreateddate_desc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_down.gif" alt="" /></a><a title="Sort Ascending" href="{$orderbycreateddate_asc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_up.gif" alt="" /></a></th>
|
||||
<th>last login<br/><a title="Sort Descending" href="{$orderbylastlogin_desc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_down.gif" alt="" /></a><a title="Sort Ascending" href="{$orderbylastlogin_asc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_up.gif" alt="" /></a></th>
|
||||
<th>api access<br/><a title="Sort Descending" href="{$orderbyapiaccess_desc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_down.gif" alt="" /></a><a title="Sort Ascending" href="{$orderbyapiaccess_asc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_up.gif" alt="" /></a></th>
|
||||
<th class="mid">grabs<br/><a title="Sort Descending" href="{$orderbygrabs_desc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_down.gif" alt="" /></a><a title="Sort Ascending" href="{$orderbygrabs_asc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_up.gif" alt="" /></a></th>
|
||||
<th class="mid">invites</th>
|
||||
<th class="mid">notes</th>
|
||||
<th>role<br/><a title="Sort Descending" href="{$orderbyrole_desc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_down.gif" alt="" /></a><a title="Sort Ascending" href="{$orderbyrole_asc}"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/sorting/arrow_up.gif" alt="" /></a></th>
|
||||
<th>options</th>
|
||||
</tr>
|
||||
|
||||
|
||||
{foreach from=$userlist item=user}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td><a title="Edit user" href="{$smarty.const.WWW_TOP}/user-edit.php?id={$user.id}">{$user.username}</a></td>
|
||||
<td><a title="View profile" href="{$smarty.const.WWW_TOP}/../profile?id={$user.id}">{$user.email}</a></td>
|
||||
<td>{$user.host}</td>
|
||||
<td title="{$user.createddate}">{$user.createddate|date_format}</td>
|
||||
<td title="{$user.lastlogin}">{$user.lastlogin|date_format}</td>
|
||||
<td title="{$user.apiaccess}">{$user.apiaccess|date_format}</td>
|
||||
<td class="mid">{$user.grabs}</td>
|
||||
<td class="mid">{$user.invites}</td>
|
||||
<td class="mid"><a title="{if $user.notes|count_characters > 0}View{else}Add{/if} Notes" href="{$smarty.const.WWW_TOP}/user-edit.php?id={$user.id}#notes"><img src="{$smarty.const.WWW_TOP}/../templates/nntmux/images/icons/{if $user.notes|count_characters > 0}note_edit.png{else}note_add.png{/if}" alt="" /></a></td>
|
||||
<td>{$user.rolename}</td>
|
||||
<td>{if $user.role!="2"}<a class="confirm_action" href="{$smarty.const.WWW_TOP}/user-delete.php?id={$user.id}">delete</a>{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
@@ -1,34 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<br /><br />
|
||||
{if $data}
|
||||
{$pager}
|
||||
<table style="width:100%;margin-top:10px;" class="data highlight">
|
||||
<tr>
|
||||
<th>
|
||||
<select name="logtype" id="logtype" onchange="window.location='{$smarty.const.WWW_TOP}/view-logs.php?t=' + this.value;">
|
||||
{foreach from=$types item=newtype}
|
||||
<option {if $type == $newtype}selected="selected"{/if} value="{$newtype}">
|
||||
{$newtype}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</th>
|
||||
</tr>
|
||||
{foreach from=$data item=log}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>{$log}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<br />
|
||||
{$pager}
|
||||
{else}
|
||||
<h3>Nothing found, maybe you need to turn on logging in : {$path}</h3>
|
||||
<select name="logtype" id="logtype" onchange="window.location='{$smarty.const.WWW_TOP}/view-logs.php?t=' + this.value;">
|
||||
{foreach from=$types item=newtype}
|
||||
<option {if $type == $newtype}selected="selected"{/if} value="{$newtype}">
|
||||
{$newtype}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{/if}
|
||||
@@ -67,39 +67,39 @@
|
||||
<tr>
|
||||
<th width="130"><input type="checkbox" class="nzb_check_all"/></th>
|
||||
<th>title<br/><a title="Sort Descending" href="{$orderbytitle_desc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_down.gif"
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_down.gif"
|
||||
alt=""/></a><a title="Sort Ascending" href="{$orderbytitle_asc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
</th>
|
||||
<th>genre<br/><a title="Sort Descending" href="{$orderbygenre_desc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_down.gif"
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_down.gif"
|
||||
alt=""/></a><a title="Sort Ascending" href="{$orderbygenre_asc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
</th>
|
||||
<th>release date<br/><a title="Sort Descending" href="{$orderbyreleasedate_desc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_down.gif"
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_down.gif"
|
||||
alt=""/></a><a title="Sort Ascending" href="{$orderbyreleasedate_asc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
</th>
|
||||
<th>posted<br/><a title="Sort Descending" href="{$orderbyposted_desc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_down.gif"
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_down.gif"
|
||||
alt=""/></a><a title="Sort Ascending" href="{$orderbyposted_asc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
</th>
|
||||
<th>size<br/><a title="Sort Descending" href="{$orderbysize_desc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_down.gif"
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_down.gif"
|
||||
alt=""/></a><a title="Sort Ascending" href="{$orderbysize_asc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
</th>
|
||||
<th>files<br/><a title="Sort Descending" href="{$orderbyfiles_desc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_down.gif"
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_down.gif"
|
||||
alt=""/></a><a title="Sort Ascending" href="{$orderbyfiles_asc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
</th>
|
||||
<th>stats<br/><a title="Sort Descending" href="{$orderbystats_desc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_down.gif"
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_down.gif"
|
||||
alt=""/></a><a title="Sort Ascending" href="{$orderbystats_asc}"><img
|
||||
src="{$smarty.const.WWW_TOP}/templates/default/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
src="{$smarty.const.WWW_TOP}/templates/nntmux/images/sorting/arrow_up.gif" alt=""/></a>
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<webMaster>{$site->email} ({$site->title|escape})</webMaster>
|
||||
<category>{$site->meta_keywords}</category>
|
||||
<image>
|
||||
<url>{$serverroot}templates/default/images/banner.jpg</url>
|
||||
<url>{$serverroot}templates/nntmux/images/banner.jpg</url>
|
||||
<title>{$site->title|escape}</title>
|
||||
<link>{$serverroot}</link>
|
||||
<description>Visit {$site->title|escape} - {$site->strapline|escape}</description>
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
<h2>Admin Functions</h2>
|
||||
<ul>
|
||||
<li><a title="Home" href="{$smarty.const.WWW_TOP}/..{$site->home_link}">Home</a></li>
|
||||
<li><a title="Admin Home" href="{$smarty.const.WWW_TOP}/">Admin Home</a></li>
|
||||
<li><a title="Edit Site" href="{$smarty.const.WWW_TOP}/site-edit.php">Edit Site</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/content-add.php?action=add">Add</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/content-list.php">Edit</a> Content Page</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/menu-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/menu-edit.php?action=add">Add</a> Menu Items</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/category-list.php?action=add">Edit</a> Categories</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/group-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/group-edit.php">Add</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/group-bulk.php">BulkAdd</a> Groups</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/regex-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/regex-edit.php?action=add">Add</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/regex-test.php">Test</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/regex-submit.php">Send</a> Regex</li>
|
||||
<li class="has-sub"><a href="#">Categorization</a>
|
||||
<ul>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/category_regexes-edit.php?action=add">Add</a></li>
|
||||
<li class="last"><a href="{$smarty.const.WWW_TOP}/category_regexes-list.php">View</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-sub"><a href="#">Collections</a>
|
||||
<ul>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/collection_regexes-edit.php?action=add">Add</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/collection_regexes-test.php?action=add">Test</a></li>
|
||||
<li class="last"><a href="{$smarty.const.WWW_TOP}/collection_regexes-list.php">View</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-sub"><a href="#">Release Names</a>
|
||||
<ul>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/release_naming_regexes-edit.php?action=add">Add</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/release_naming_regexes-test.php?action=add">Test</a></li>
|
||||
<li class="last"><a href="{$smarty.const.WWW_TOP}/release_naming_regexes-list.php">View</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/binaryblacklist-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/binaryblacklist-edit.php?action=add">Add</a> Blacklist</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/release-list.php">View Releases</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/preview-list.php">View Previews</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/rage-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/rage-edit.php?action=add">Add</a> TVRage List</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/thetvdb-list.php">View TheTVDB List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/movie-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/movie-add.php">Add</a> Movie List</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/anidb-list.php">View AniDB List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/game-list.php">View Games</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/music-list.php">View Music List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/console-list.php">View Console List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/book-list.php">View Book List</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/nzb-import.php">Import</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/nzb-export.php">Export</a> Nzb's</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/opcachestats.php">Opcache Statistics</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/db-optimise.php">Optimise</a> Tables</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/comments-list.php">View Comments</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/spotnab-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/spotnab-edit.php?action=add">Add</a> Spotnab Sources</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/sharing.php">Comment Sharing Settings</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/user-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/user-edit.php?action=add">Add</a> Users</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/role-list.php">View</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/role-edit.php?action=add">Add</a> Roles</li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/site-stats.php">Site Stats</a> <a style="padding:0;" href="{$smarty.const.WWW_TOP}/site-debug.php">Debug</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/tmux-edit.php">Tmux Settings</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/view-logs.php">View Logs</a></li>
|
||||
</ul>
|
||||
@@ -1,106 +0,0 @@
|
||||
|
||||
<div id="updatePanel">
|
||||
|
||||
{if $success}
|
||||
|
||||
<h4>Successfully updated!</h4>
|
||||
{if $from != ''}
|
||||
<script type="text/javascript">
|
||||
window.location = "{$from}";
|
||||
</script>
|
||||
{/if}
|
||||
|
||||
{else}
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$('#release').submit(function(){return false;});
|
||||
|
||||
$('#save').click(function() {
|
||||
var formData = $('#release').serialize();
|
||||
$.post($('#release').attr('action') + '&' + formData, function(resp){
|
||||
$('#updatePanel').html(resp);
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<form id="release" action="{$smarty.const.WWW_TOP}/ajax_release-admin/?action=doedit" method="get">
|
||||
|
||||
{foreach from=$idArr item=id}
|
||||
<input type="hidden" name="id[]" value="{$id}" />
|
||||
{/foreach}
|
||||
<input type="hidden" name="from" value="{$from}" />
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="category">Category</label>:</td>
|
||||
<td>
|
||||
{html_options id="category" name=category options=$catlist selected=$release.categoryid}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="grabs">Grabs</label>:</td>
|
||||
<td>
|
||||
<input id="grabs" class="short" name="grabs" type="text" value="{$release.grabs}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="rageid">Tv Rage Id</label>:</td>
|
||||
<td>
|
||||
<input id="rageid" class="short" name="rageid" type="text" value="{$release.rageid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="tvdbid">TheTVDB id</label>:</td>
|
||||
<td>
|
||||
<input id="tvdbid" class="short" name="tvdbid" type="text" value="{$release.tvdbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="anidbid">AniDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="anidbid" class="short" name="anidbid" type="text" value="{$release.anidbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="season">Season</label>:</td>
|
||||
<td>
|
||||
<input id="season" class="short" name="season" type="text" value="{$release.season}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="episode">Episode</label>:</td>
|
||||
<td>
|
||||
<input id="episode" class="short" name="episode" type="text" value="{$release.episode}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="episode">IMDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="imdbid" class="short" name="imdbid" type="text" value="{$release.imdbid}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" id="save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
@@ -1,119 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<input type="hidden" name="from" value="{$smarty.get.from}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="anidbid">AniDB Id</label>:</td>
|
||||
<td>
|
||||
<input id="anidbid" class="long" name="anidbid" type="text" value="{$anime.anidbid|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Anime Name</label>:</td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$anime.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="type">Type</label>:</td>
|
||||
<td>
|
||||
<input id="type" class="long" name="type" type="text" value="{$anime.type|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="startdate">Start date</label>:</td>
|
||||
<td>
|
||||
<input id="startdate" class="long" name="startdate" type="text" value="{$anime.startdate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="enddate">End date</label>:</td>
|
||||
<td>
|
||||
<input id="enddate" class="long" name="enddate" type="text" value="{$anime.enddate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="related">Related</label>:</td>
|
||||
<td>
|
||||
<input id="related" class="long" name="related" type="text" value="{$anime.related|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="creators">Creators</label>:</td>
|
||||
<td>
|
||||
<input id="creators" class="long" name="creators" type="text" value="{$anime.creators|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="description">Description</label>:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="description" name="description">{$anime.description|escape:'htmlall'}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="rating">Rating</label>:</td>
|
||||
<td>
|
||||
<input id="rating" class="long" name="rating" type="text" value="{$anime.rating|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="categories">Categories</label>:</td>
|
||||
<td>
|
||||
<input id="categories" class="long" name="categories" type="text" value="{$anime.categories|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="characters">Characters</label>:</td>
|
||||
<td>
|
||||
<input id="characters" class="long" name="characters" type="text" value="{$anime.characters|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="epnos">Episode numbers</label>:</td>
|
||||
<td>
|
||||
<input id="epnos" class="long" name="epnos" type="text" value="{$anime.epnos|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="airdates">Episode air dates</label>:</td>
|
||||
<td>
|
||||
<input id="airdates" class="long" name="airdates" type="text" value="{$anime.airdates|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="episodetitles">Episode titles</label>:</td>
|
||||
<td>
|
||||
<input id="episodetitles" class="long" name="episodetitles" type="text" value="{$anime.episodetitles|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,41 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $anidblist}
|
||||
|
||||
<div style="float:right;">
|
||||
|
||||
<form name="anidbsearch" action="">
|
||||
<label for="animetitle">Title</label>
|
||||
<input id="animetitle" type="text" name="animetitle" value="{$animetitle}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{$pager}
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<table style="width:100%;margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th style="width:60px;">AniDB Id</th>
|
||||
<th>Title</th>
|
||||
<th style="width:100px;" class="mid">Options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$anidblist item=anidb}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less"><a href="http://anidb.net/perl-bin/animedb.pl?show=anime&aid={$anidb.anidbid}" title="View in AniDB">{$anidb.anidbid}</a></td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/anidb-edit.php?id={$anidb.anidbid}">{$anidb.title|escape:"htmlall"}</a></td>
|
||||
<td class="mid"><a title="Delete this AniDB entry" href="{$smarty.const.WWW_TOP}/anidb-delete.php?id={$anidb.anidbid}">delete</a> | <a title="Remove this anidbid from all releases" href="{$smarty.const.WWW_TOP}/anidb-remove.php?id={$anidb.anidbid}">remove</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No AniDB episodes available.</p>
|
||||
{/if}
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
Removed anidbid from {$numtv} releases.
|
||||
@@ -1,95 +0,0 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta name="description" content="" />
|
||||
<title>{$site->title|default:'newznab'} - {$page->meta_title|default:$page->title}</title>
|
||||
<link href="{$smarty.const.WWW_TOP}/../templates/omicron/styles/style.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
<link href="{$smarty.const.WWW_TOP}/../templates/omicron/styles/admin.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
<link rel="shortcut icon" type="image/ico" href="{$smarty.const.WWW_TOP}/../templates/omicron/images/favicon.ico"/>
|
||||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="{$smarty.const.WWW_TOP}/../templates/omicron/scripts/sorttable.js"></script>
|
||||
<script type="text/javascript" src="{$smarty.const.WWW_TOP}/../templates/omicron/scripts/utils-admin.js"></script>
|
||||
<script type="text/javascript" src="{$smarty.const.WWW_TOP}/../templates/omicron/scripts/jquery.multifile.js"></script>
|
||||
<script type="text/javascript" src="{$smarty.const.WWW_TOP}/../templates/omicron/scripts/jquery.autosize-min.js"></script>
|
||||
<script type="text/javascript">var WWW_TOP = "{$smarty.const.WWW_TOP}/..";</script>
|
||||
|
||||
{$page->head}
|
||||
</head>
|
||||
<body>
|
||||
<div id="logo" style="cursor: pointer;">
|
||||
<h1><a href="/"></a></h1>
|
||||
<p><em></em></p>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div id="header">
|
||||
<div id="menu">
|
||||
</div>
|
||||
<!-- end #menu -->
|
||||
</div>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<div id="adpanel">
|
||||
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
{$page->content}
|
||||
</div>
|
||||
<!-- end #content -->
|
||||
|
||||
<div id="sidebar">
|
||||
<ul>
|
||||
<li>
|
||||
{$admin_menu}
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!-- end #sidebar -->
|
||||
|
||||
<div style="clear: both;"> </div>
|
||||
|
||||
</div>
|
||||
<!-- end #page -->
|
||||
|
||||
<div id="searchfooter">
|
||||
<center>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>
|
||||
{$site->footer}
|
||||
<br /><br /><br />Copyright © {$smarty.now|date_format:"%Y"} {$site->title}. All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
<!-- end #footer -->
|
||||
|
||||
{if $site->google_analytics_acc != ''}
|
||||
{literal}
|
||||
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{/literal}{$site->google_analytics_acc}{literal}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
_gaq.push(['_trackPageLoadTime']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,71 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Group:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input type="text" id="groupname" name="groupname" value="{$regex.groupname|escape:html}" />
|
||||
<div class="hint">The full name of a valid newsgroup. (Wildcard in the format 'alt.binaries.*')</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Regex:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<div class="hint">The regex to be applied. (Note: Beginning and Ending / are already included)</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Description:</td>
|
||||
<td>
|
||||
<textarea class="autosize" id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<div class="hint">A description for this regex</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="msgcol">Message Field</label>:</td>
|
||||
<td>
|
||||
{html_radios id="msgcol" name='msgcol' values=$msgcol_ids output=$msgcol_names selected=$regex.msgcol separator='<br />'}
|
||||
<div class="hint">Which field in the message to apply the black/white list to.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="status">Active</label>:</td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$regex.status separator='<br />'}
|
||||
<div class="hint">Only active regexes are applied during the release process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="optype">Type</label>:</td>
|
||||
<td>
|
||||
{html_radios id="optype" name='optype' values=$optype_ids output=$optype_names selected=$regex.optype separator='<br />'}
|
||||
<div class="hint">Black will exclude all messages for a group which match this regex. White will include only those which match.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,37 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<p>
|
||||
Binaries can be prevented from being added to the index at all if they match a regex provided in the blacklist. They can also be included only if they match a regex (whitelist).
|
||||
</p>
|
||||
|
||||
<div id="message"></div>
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th style="width:20px;">id</th>
|
||||
<th>group</th>
|
||||
<th>regex</th>
|
||||
<th class="mid">type</th>
|
||||
<th class="mid">field</th>
|
||||
<th class="mid">status</th>
|
||||
<th class="mid">Options</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$binlist item=bin}
|
||||
<tr id="row-{$bin.id}" class="{cycle values=",alt"}">
|
||||
<td>{$bin.id}</td>
|
||||
<td title="{$bin.description}">{$bin.groupname|replace:"alt.binaries":"a.b"}</td>
|
||||
<td>
|
||||
{$bin.regex|escape:html}<br>
|
||||
<i>{$bin.description}</i>
|
||||
</td>
|
||||
<td>{if $bin.optype==1}black{else}white{/if}</td>
|
||||
<td>{if $bin.msgcol==1}subject{elseif $bin.msgcol==2}poster{else}messageid{/if}</td>
|
||||
<td>{if $bin.status==1}active{else}disabled{/if}</td>
|
||||
<td width="80" class="mid"><a href="{$smarty.const.WWW_TOP}/binaryblacklist-edit.php?id={$bin.id}">edit</a> | <a href="javascript:ajax_binaryblacklist_delete({$bin.id})">delete</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
@@ -1,71 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
|
||||
<input type="hidden" name="id" value="{$book.id}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Title</label>:</td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$book.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="asin">ASIN</label>:</td>
|
||||
<td>
|
||||
<input id="asin" name="asin" type="text" value="{$book.asin|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="url">URL</label>:</td>
|
||||
<td>
|
||||
<input id="url" class="long" name="url" type="text" value="{$book.url|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="author">Author</label>:</td>
|
||||
<td>
|
||||
<input id="author" class="long" name="author" type="text" value="{$book.author|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="publisher">Publisher</label>:</td>
|
||||
<td>
|
||||
<input id="publisher" class="long" name="publisher" type="text" value="{$book.publisher|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="publishdate">Published Date</label>:</td>
|
||||
<td>
|
||||
<input id="publishdate" name="publishdate" type="text" value="{$book.publishdate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="cover">Cover Image</label>:</td>
|
||||
<td>
|
||||
<input type="file" id="cover" name="cover" />
|
||||
{if $book.cover == 1}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/../covers/book/{$book.id}.jpg" alt="" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,29 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $booklist}
|
||||
{$pager}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>id</th>
|
||||
<th>Title</th>
|
||||
<th>Author</th>
|
||||
<th width="80" class="mid">Created</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$booklist item=book}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$book.id}</td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/book-edit.php?id={$book.id}">{$book.title}</a></td>
|
||||
<td>{$book.author}</td>
|
||||
<td class="mid">{$book.createddate|date_format}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
<br/>
|
||||
{$pager}
|
||||
{else}
|
||||
<p>No books available.</p>
|
||||
{/if}
|
||||
@@ -1,68 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td>Title:</td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$category.id}" />
|
||||
{$category.title}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Parent:</td>
|
||||
<td>
|
||||
{$category.parentid}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Description:</td>
|
||||
<td>
|
||||
<input type="text" class="long" name="description" value="{$category.description}" />
|
||||
</td>
|
||||
</tr>
|
||||
<td>Minimum Size (Bytes):</td>
|
||||
<td>
|
||||
<input type="text" class="short" name="minsizetoformrelease" value="{$category.minsizetoformrelease}" />
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<td>Maximum Size (Bytes):</td>
|
||||
<td>
|
||||
<input type="text" class="short" name="maxsizetoformrelease" value="{$category.maxsizetoformrelease}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="status">Active</label>:</td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$category.status separator='<br />'}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="disablepreview">Disable Preview</label>:</td>
|
||||
<td>
|
||||
{html_radios id="disablepreview" name='disablepreview' values=$status_ids output=$status_names selected=$category.disablepreview separator='<br />'}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,43 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<p>
|
||||
Make a category inactive to remove it from the menu. This does not prevent binaries being matched into an appropriate category. Disable preview prevents ffmpeg being used for releases in the category.
|
||||
</p>
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>id</th>
|
||||
<th>title</th>
|
||||
<th>parent</th>
|
||||
<th>min size</th>
|
||||
<th>max size</th>
|
||||
<th>active</th>
|
||||
<th>disable preview</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$categorylist item=category}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>{$category.id}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/category-edit.php?id={$category.id}">{$category.title}</a></td>
|
||||
<td>
|
||||
{if $category.parentid != null}
|
||||
{$category.parentName}
|
||||
{else}
|
||||
n/a
|
||||
{/if}
|
||||
</td>
|
||||
<td class="mid">
|
||||
{if $category.minsizetoformrelease != 0 }{$category.minsizetoformrelease|fsize_format:"MB"}{/if}
|
||||
</td>
|
||||
<td class="mid">
|
||||
{if $category.maxsizetoformrelease != 0 }{$category.maxsizetoformrelease|fsize_format:"MB"}{/if}
|
||||
</td>
|
||||
<td>{if $category.status == "1"}Yes{else}No{/if}</td>
|
||||
<td class="mid">{if $category.disablepreview == "1"}Yes{else}No{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
@@ -1,73 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td><label for="group_regex">Group:</label></td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input type="text" id="group_regex" name="group_regex" value="{$regex.group_regex|escape:html}" />
|
||||
<div class="hint">
|
||||
Regex to match against a group or multiple groups.<br />
|
||||
Delimiters are already added, and PCRE_CASELESS is added after for case insensitivity.
|
||||
An example of matching a single group: alt\.binaries\.example<br />
|
||||
An example of matching multiple groups: alt\.binaries.*
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="regex">Regex:</label></td>
|
||||
<td>
|
||||
<textarea id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
Regex to use when categorizing releases.<br />
|
||||
The regex delimiters are not added, you MUST add them. See <a href="http://php.net/manual/en/regexp.reference.delimiters.php">this</a> page.<br />
|
||||
To make the regex case insensitive, add i after the last delimiter.<br />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="description">Description:</label></td>
|
||||
<td>
|
||||
<textarea id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
Description for this regex.<br />
|
||||
You can include an example usenet subject this regex would match on.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="ordinal">Ordinal:</label></td>
|
||||
<td>
|
||||
<input class="ordinal" id="ordinal" name="ordinal" type="text" value="{$regex.ordinal}" />
|
||||
<div class="hint">
|
||||
The order to run this regex in.<br />
|
||||
Must be a number, 0 or higher.<br />
|
||||
If multiple regex have the same ordinal, MySQL will randomly sort them.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="status">Active:</label></td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$regex.status separator='<br />'}
|
||||
<div class="hint">Only active regex are used during the collection matching process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="category_id">Category:</label></td>
|
||||
<td>
|
||||
{html_options id="category_id" name='category_id' values=$category_ids output=$category_names selected=$regex.category_id}
|
||||
<div class="hint">Select a category which releases matched to this regex will go into.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,47 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>This page lists regex used for categorizing releases.<br />
|
||||
You can recategorize all releases by running misc/update/update_releases.php 6 true
|
||||
</p>
|
||||
<div id="message"></div>
|
||||
|
||||
<form name="groupsearch" action="" style="margin-bottom:5px;">
|
||||
<label for="group">Search a group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
{if $regex}
|
||||
|
||||
<div>{$pager}</div>
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th style="width:20px;">id</th>
|
||||
<th>group</th>
|
||||
<th style="width:25px;">edit</th>
|
||||
<th>description</th>
|
||||
<th style="width:40px;">delete</th>
|
||||
<th>ordinal</th>
|
||||
<th>status</th>
|
||||
<th>regex</th>
|
||||
<th>category id</th>
|
||||
</tr>
|
||||
{foreach from=$regex item=row}
|
||||
<tr id="row-{$row.id}" class="{cycle values=",alt"}">
|
||||
<td>{$row.id}</td>
|
||||
<td>{$row.group_regex}</td>
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/category_regexes-edit.php?id={$row.id}">Edit</a></td>
|
||||
<td>{$row.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this regex"><a href="javascript:ajax_category_regex_delete({$row.id})" onclick="return confirm('Are you sure? This will delete the regex from this list.');" >Delete</a></td>
|
||||
<td>{$row.ordinal}</td>
|
||||
{if $row.status==1}
|
||||
<td style="color:#00CC66">Active</td>
|
||||
{else}
|
||||
<td style="color:#FF0000">Disabled</td>
|
||||
{/if}
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/category_regexes-edit.php?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a></td>
|
||||
<td>{$row.category_id}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<div style="margin-top: 15px">{$pager}</div>
|
||||
{/if}
|
||||
@@ -1,73 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
{if $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<table class="input">
|
||||
<tr>
|
||||
<td><label for="group_regex">Group:</label></td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input type="text" id="group_regex" name="group_regex" value="{$regex.group_regex|escape:html}" />
|
||||
<div class="hint">
|
||||
Regex to match against a group or multiple groups.<br />
|
||||
Delimiters are already added, and PCRE_CASELESS is added after for case insensitivity.
|
||||
An example of matching a single group: alt\.binaries\.example<br />
|
||||
An example of matching multiple groups: alt\.binaries.*
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="regex">Regex:</label></td>
|
||||
<td>
|
||||
<textarea id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
The regex to use when matching (grouping) collections.<br />
|
||||
The regex delimiters are not added, you MUST add them. See <a href="http://php.net/manual/en/regexp.reference.delimiters.php">this</a> page.<br />
|
||||
To make the regex case insensitive, add i after the last delimiter.<br />
|
||||
You MUST include at least one regex capture group.<br />
|
||||
You MUST name your regex capture groups (the ones you want to be included).<br />
|
||||
A string will be created from your matched capture groups.<br />
|
||||
The string will form part of a "collection hash".<br />
|
||||
The collection hash is used to group many parts together, to form the finalized release.<br />
|
||||
The usenet group and name of the poster are added automatically when hashing.<br />
|
||||
Capture groups are sorted alphabetically (by capture group name) when concatenating the string.<br />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="description">Description:</label></td>
|
||||
<td>
|
||||
<textarea id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<div class="hint">
|
||||
Description for this regex.<br />
|
||||
You can include an example usenet subject this regex would match on.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="ordinal">Ordinal:</label></td>
|
||||
<td>
|
||||
<input class="ordinal" id="ordinal" name="ordinal" type="text" value="{$regex.ordinal}" />
|
||||
<div class="hint">
|
||||
The order to run this regex in.<br />
|
||||
Must be a number, 0 or higher.<br />
|
||||
If multiple regex have the same ordinal, MySQL will randomly sort them.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="status">Active:</label></td>
|
||||
<td>
|
||||
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$regex.status separator='<br />'}
|
||||
<div class="hint">Only active regex are used during the collection matching process.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,43 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>This page lists regex used for grouping usenet collections.</p>
|
||||
<div id="message"></div>
|
||||
|
||||
<form name="groupsearch" action="" style="margin-bottom:5px;">
|
||||
<label for="group">Search a group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group}" size="15" />
|
||||
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
{if $regex}
|
||||
|
||||
<div>{$pager}</div>
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th style="width:20px;">id</th>
|
||||
<th>group</th>
|
||||
<th style="width:25px;">edit</th>
|
||||
<th>description</th>
|
||||
<th style="width:40px;">delete</th>
|
||||
<th>ordinal</th>
|
||||
<th>status</th>
|
||||
<th>regex</th>
|
||||
</tr>
|
||||
{foreach from=$regex item=row}
|
||||
<tr id="row-{$row.id}" class="{cycle values=",alt"}">
|
||||
<td>{$row.id}</td>
|
||||
<td>{$row.group_regex}</td>
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/collection_regexes-edit.php?id={$row.id}">Edit</a></td>
|
||||
<td>{$row.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this regex"><a href="javascript:ajax_collection_regex_delete({$row.id})" onclick="return confirm('Are you sure? This will delete the regex from this list.');" >Delete</a></td>
|
||||
<td>{$row.ordinal}</td>
|
||||
{if $row.status==1}
|
||||
<td style="color:#00CC66">Active</td>
|
||||
{else}
|
||||
<td style="color:#FF0000">Disabled</td>
|
||||
{/if}
|
||||
<td title="Edit this regex"><a href="{$smarty.const.WWW_TOP}/collection_regexes-edit.php?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<div style="margin-top: 15px">{$pager}</div>
|
||||
{/if}
|
||||
@@ -1,44 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
<p>This page is used for testing regex for grouping usenet collections.<br />Enter the group name to test and a regex. Limit is how many collections to show max on the page, 0 for no limit(slow).</p>
|
||||
|
||||
{if $tpg}
|
||||
<form name="search" action="" method="post" style="margin-bottom:5px;">
|
||||
<label for="group" style="padding-right:1px">Group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group|htmlentities}" size="20" /><br />
|
||||
<label for="regex" style="padding-right:1px">Regex:</label>
|
||||
<input id="regex" type="text" name="regex" value="{$regex|htmlentities}" size="100" /><br/>
|
||||
<label for="limit" style="padding-right:7px">Limit:</label>
|
||||
<input id="limit" type="text" name="limit" value="{$limit}" size="8" /><br/>
|
||||
<input type="submit" value="Test" />
|
||||
</form>
|
||||
{if $data}
|
||||
|
||||
{foreach from=$data key=hash item=collection}
|
||||
<table style="margin-top:10px;" class="data">
|
||||
<tr>
|
||||
<th>{$hash}<br />Current Files: {count($collection)}</th>
|
||||
</tr>
|
||||
</table>
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>current parts</th>
|
||||
<th>total parts</th>
|
||||
<th>poster</th>
|
||||
<th>old hash</th>
|
||||
</tr>
|
||||
{foreach from=$collection item=row}
|
||||
<tr id="row-{$row.new_collection_hash}" class="{cycle values=",alt"}">
|
||||
<td>{$row.file_name}</td>
|
||||
<td>{$row.file_current_parts}</td>
|
||||
<td>{$row.file_total_parts}</td>
|
||||
<td>{$row.collection_poster}</td>
|
||||
<td>{$row.old_collection_hash}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{else}
|
||||
<p>The Table Per Group setting is required to be on to use this page, for performance reasons.</p>
|
||||
{/if}
|
||||
@@ -1,38 +0,0 @@
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
{if $commentslist}
|
||||
{$pager}
|
||||
|
||||
<table style="margin-top:10px;" class="data Sortable highlight">
|
||||
|
||||
<tr>
|
||||
<th>user</th>
|
||||
<th>date</th>
|
||||
<th>comment</th>
|
||||
<th>host</th>
|
||||
<th class="mid">options</th>
|
||||
</tr>
|
||||
|
||||
|
||||
{foreach from=$commentslist item=comment}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>
|
||||
{if $comment.sourceid == 0}<a title="View {$comment.username}'s profile" href="{$smarty.const.WWW_TOP}/user-edit.php?id={$comment.userid}">{$comment.username}</a>{else}{$comment.username}<br/><span style="color: #ce0000;">(syndicated)</span>{/if}
|
||||
</td>
|
||||
<td width="70" title="{$comment.createddate}">{$comment.createddate|date_format} ({$comment.createddate|timeago}
|
||||
ago)
|
||||
</td>
|
||||
<td>{$comment.text|escape:"htmlall"|nl2br}</td>
|
||||
<td>{$comment.host}</td>
|
||||
<td class="mid" width="70">
|
||||
{if $comment.guid != ""}<a href="{$smarty.const.WWW_TOP}/../details/{$comment.guid}#comments">view</a> | {/if}
|
||||
<a class="confirm_action" href="{$smarty.const.WWW_TOP}/comments-delete.php?id={$comment.id}">delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
{else}
|
||||
<p>No comments available</p>
|
||||
{/if}
|
||||
@@ -1,96 +0,0 @@
|
||||
|
||||
<h1>{$page->title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
|
||||
<input type="hidden" name="id" value="{$console.id}" />
|
||||
|
||||
<table class="input">
|
||||
|
||||
<tr>
|
||||
<td><label for="title">Title</label>:</td>
|
||||
<td>
|
||||
<input id="title" class="long" name="title" type="text" value="{$console.title|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="asin">ASIN</label>:</td>
|
||||
<td>
|
||||
<input id="asin" name="asin" type="text" value="{$console.asin|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="url">URL</label>:</td>
|
||||
<td>
|
||||
<input id="url" class="long" name="url" type="text" value="{$console.url|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="salesrank">Sales Rank</label>:</td>
|
||||
<td>
|
||||
<input id="salesrank" class="short" type="text" name="salesrank" value="{$console.salesrank|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="platform">Platform</label>:</td>
|
||||
<td>
|
||||
<input id="platform" class="long" name="platform" type="text" value="{$console.platform|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="publisher">Publisher</label>:</td>
|
||||
<td>
|
||||
<input id="publisher" class="long" name="publisher" type="text" value="{$console.publisher|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="releasedate">Release Date</label>:</td>
|
||||
<td>
|
||||
<input id="releasedate" name="releasedate" type="text" value="{$console.releasedate|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="esrb">Rating</label>:</td>
|
||||
<td>
|
||||
<input id="esrb" class="short" name="esrb" type="text" value="{$console.esrb|escape:'htmlall'}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="genre">Genre</label>:</td>
|
||||
<td>
|
||||
<select id="genre" name="genre">
|
||||
{foreach from=$genres item=gen}
|
||||
<option {if $gen.id == $console.genreid}selected="selected"{/if} value="{$gen.id}">{$gen.title|escape:'htmlall'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label for="cover">Cover Image</label>:</td>
|
||||
<td>
|
||||
<input type="file" id="cover" name="cover" />
|
||||
{if $console.cover == 1}
|
||||
<img style="max-width:200px; display:block;" src="{$smarty.const.WWW_TOP}/../covers/console/{$console.id}.jpg" alt="" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="submit" value="Save" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</form>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user