Empty commit

This commit is contained in:
Git 2012-08-19 08:00:19 +00:00
parent d41d2fb8fd
commit cc32775f24
105 changed files with 626 additions and 416 deletions

View File

@ -465,6 +465,7 @@ function compare($X, $Y){
show_header($Name, 'browse,requests,bbcode');
?>
<div class="thin">
<div class="header">
<h2><?=display_str($Name)?><? if ($RevisionID) { ?> (Revision #<?=$RevisionID?>)<? } if ($VanityHouseArtist) { ?> [Vanity House] <? } ?></h2>
<div class="linkbox">
<? if (check_perms('site_submit_requests')) { ?>
@ -515,6 +516,7 @@ function compare($X, $Y){
</a>
<? } ?>
</div>
</div>
<div class="sidebar">
<? if($Image) { ?>
<div class="box box_image">

View File

@ -390,6 +390,7 @@ function display_name($ReleaseType) {
show_header($Name, 'browse,requests,artists,bbcode');
?>
<div class="thin">
<div class="header">
<h2><?=$Name?><? if ($RevisionID) { ?> (Revision #<?=$RevisionID?>)<? } if ($VanityHouseArtist) { ?> [Vanity House] <? } ?></h2>
<span style="font-size: 0.7em;float:right;">
<a href="#" onclick="editOrdering();return false;" class="" id="editlayout">[Edit ordering]</a>
@ -447,6 +448,7 @@ function display_name($ReleaseType) {
</a>
<? } ?>
</div>
</div>
<div class="sidebar">
<? if($Image) { ?>
<div class="box box_image">

View File

@ -122,7 +122,9 @@
} else {
show_header('Merging Artists');
?>
<div class="header">
<h2>Confirm merge</h2>
</div>
<form action="artist.php" method="post">
<input type="hidden" name="action" value="change_artistid" />
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />

View File

@ -33,7 +33,9 @@
show_header('Edit artist');
?>
<div class="thin">
<div class="header">
<h2>Edit <a href="artist.php?id=<?=$ArtistID?>"><?=$Name?></a></h2>
</div>
<div class="box pad">
<form action="artist.php" method="post">
<input type="hidden" name="action" value="edit" />

View File

@ -26,7 +26,9 @@
// Start printing form
?>
<div class="thin">
<div class="header">
<h2>Revision history for <a href="artist.php?id=<?=$ArtistID?>"><?=$Name?></a></h2>
</div>
<?
$Wiki->revision_history(); // the wiki class takes over from here
?>

View File

@ -25,20 +25,21 @@
$Results = get_groups($GroupIDs);
$Results = $Results['matches'];
?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=files">Just those you've snatched</a>
<? } else { ?>
<a href="better.php?method=files&amp;filter=all">Show all</a>
<? } ?>
</div>
<div class="header">
<? if($All) { ?>
<h2>All torrents trumpable for bad file names</h2>
<? } else { ?>
<h2>Torrents trumpable for bad file names, that you've snatched</h2>
<? } ?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=files">Just those you've snatched</a>
<? } else { ?>
<a href="better.php?method=files&amp;filter=all">Show all</a>
<? } ?>
</div>
</div>
<div class="thin box pad">
<h3>There are <?=count($TorrentsInfo)?> torrents remaining</h3>
<table>

View File

@ -25,20 +25,22 @@
$Results = get_groups($GroupIDs);
$Results = $Results['matches'];
?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=folders">Just those you've snatched</a>
<? } else { ?>
<a href="better.php?method=folders&amp;filter=all">Show all</a>
<? } ?>
</div>
<div class="header">
<? if($All) { ?>
<h2>All torrents trumpable for folder names</h2>
<? } else { ?>
<h2>Torrents trumpable for folder names, that you've snatched</h2>
<? } ?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=folders">Just those you've snatched</a>
<? } else { ?>
<a href="better.php?method=folders&amp;filter=all">Show all</a>
<? } ?>
</div>
</div>
<div class="thin box pad">
<h3>There are <?=count($TorrentsInfo)?> torrents remaining</h3>
<table>

View File

@ -25,20 +25,22 @@
$Results = get_groups($GroupIDs);
$Results = $Results['matches'];
?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=tags">Just those you've snatched</a>
<? } else { ?>
<a href="better.php?method=tags&amp;filter=all">Show all</a>
<? } ?>
</div>
<div class="header">
<? if($All) { ?>
<h2>All torrents trumpable for tags</h2>
<? } else { ?>
<h2>Torrents trumpable for tags, that you've snatched</h2>
<? } ?>
<div class="linkbox">
<? if($All) { ?>
<a href="better.php?method=tags">Just those you've snatched</a>
<? } else { ?>
<a href="better.php?method=tags&amp;filter=all">Show all</a>
<? } ?>
</div>
</div>
<div class="thin box pad">
<h3>There are <?=count($TorrentsInfo)?> torrents remaining</h3>
<table>

View File

@ -31,6 +31,7 @@
?>
<div class="thin">
<div class="header">
<h2><?=$Title?></h2>
<div class="linkbox">
<a href="bookmarks.php?type=torrents">[Torrents]</a>
@ -38,6 +39,7 @@
<a href="bookmarks.php?type=collages">[Collages]</a>
<a href="bookmarks.php?type=requests">[Requests]</a>
</div>
</div>
<div class="box pad" align="center">
<? if (count($ArtistList) == 0) { ?>
<br /><h2>You have not bookmarked any artists.</h2>

View File

@ -310,6 +310,7 @@ function compare($X, $Y){
show_header($Title, 'browse,collage');
?>
<div class="thin">
<div class="header">
<h2><? if (!$Sneaky) { ?><a href="feeds.php?feed=torrents_bookmarks_t_<?=$LoggedUser['torrent_pass']?>&amp;user=<?=$LoggedUser['ID']?>&amp;auth=<?=$LoggedUser['RSS_Auth']?>&amp;passkey=<?=$LoggedUser['torrent_pass']?>&amp;authkey=<?=$LoggedUser['AuthKey']?>&amp;name=<?=urlencode(SITE_NAME.': Bookmarked Torrents')?>"><img src="<?=STATIC_SERVER?>/common/symbols/rss.png" alt="RSS feed" /></a>&nbsp;<? } ?><?=$Title?></h2>
<div class="linkbox">
<a href="bookmarks.php?type=torrents">[Torrents]</a>
@ -321,6 +322,7 @@ function compare($X, $Y){
<a href="bookmarks.php?action=remove_snatched&amp;auth=<?=$LoggedUser['AuthKey']?>" onclick="return confirm('Are you sure you want to remove the bookmarks for all items you\'ve snatched?');">[Remove Snatched]</a>
<? } ?>
</div>
</div>
<? if (count($TorrentList) == 0) { ?>
<div class="box pad" align="center">
<h2>You have not bookmarked any torrents.</h2>

View File

@ -8,7 +8,9 @@
if(empty($IRCKey)) {
?>
<div class="thin">
<div class="header">
<h3 id="irc">IRC Rules - Please read these carefully!</h3>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<p>
<strong>Please set your IRC Key on your <a href="user.php?action=edit&amp;userid=<?=$LoggedUser['ID']?>">profile</a> first! For more information on IRC, please read the <a href="wiki.php?action=article&amp;name=IRC+-+How+to+join">wiki article</a>.</strong>
@ -20,7 +22,9 @@
if(!isset($_POST["accept"])) {
?>
<div class="thin">
<div class="header">
<h3 id="irc">IRC Rules - Please read these carefully!</h3>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<ul>
<li>
@ -88,7 +92,9 @@
}
?>
<div class="thin">
<div class="header">
<h3 id="general">IRC</h3>
</div>
<div class="box pad" style="padding:10px 0px 10px 0px;">
<div style="padding:0px 10px 10px 20px;">
<p>If you have an IRC client, visit <a href="wiki.php?action=article&amp;name=IRC+-+How+to+join">this wiki entry</a> for more information how to connect. (IRC Applet users are automatically identified with Drone.)</p>

View File

@ -53,6 +53,7 @@
show_header('Comments for collage '.$Name, 'comments,bbcode');
?>
<div class="thin">
<div class="header">
<h2>
<a href="collages.php">Collages</a> &gt;
<a href="collages.php?id=<?=$CollageID?>"><?=$Name?></a>
@ -63,6 +64,7 @@
echo $Pages;
?>
</div>
</div>
<?
//---------- Begin printing

View File

@ -141,11 +141,13 @@
show_header(($BookmarkView)?'Your bookmarked collages':'Browse collages');
?>
<div class="thin">
<div class="header">
<? if ($BookmarkView) { ?>
<h2>Your bookmarked collages</h2>
<? } else { ?>
<h2>Browse collages<?=(!empty($UserLink) ? (isset($CollageIDs) ? ' with contributions by '.$UserLink : ' started by '.$UserLink) : '')?></h2>
<? } ?>
</div>
<? if (!$BookmarkView) { ?>
<div>
<form action="" method="get">

View File

@ -364,6 +364,7 @@ function compare($X, $Y){
show_header($Name,'browse,collage,bbcode');
?>
<div class="thin">
<div class="header">
<h2><?=$Name?></h2>
<div class="linkbox">
<a href="collages.php">[List of collages]</a>
@ -392,6 +393,7 @@ function compare($X, $Y){
<a href="collages.php?action=delete&amp;collageid=<?=$CollageID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" onclick="return confirm('Are you sure you want to delete this collage?.');">[Delete]</a>
<? } ?>
</div>
</div>
<div class="sidebar">
<div class="box box_category">
<div class="head"><strong>Category</strong></div>

View File

@ -11,7 +11,9 @@
show_header('Edit collage');
?>
<div class="thin">
<div class="header">
<h2>Edit collage <a href="collages.php?id=<?=$CollageID?>"><?=$Name?></a></h2>
</div>
<form action="collages.php" method="post">
<input type="hidden" name="action" value="edit_handle" />
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />

View File

@ -37,7 +37,9 @@
<script src="static/functions/jquery.tablesorter.min.js" type="text/javascript"></script>
<script src="static/functions/sort.js" type="text/javascript"></script>
<div class="thin">
<div class="header">
<h2>Manage collage <a href="collages.php?id=<?=$CollageID?>"><?=$Name?></a></h2>
</div>
<table width="100%">
<tr class="colhead"><td>Sorting</td></tr>
<tr>
@ -70,7 +72,7 @@
</tr>
</thead>
<tbody>
<?php
<?
$Number = 0;
foreach ($TorrentList as $GroupID=>$Group) {
@ -113,7 +115,7 @@
</td>
</form>
</tr>
<?php } ?>
<? } ?>
</tbody>
</table>
<div class="drag_drop_save hidden">
@ -129,4 +131,4 @@
</div>
</form>
</div>
<?php show_footer(); ?>
<? show_footer(); ?>

View File

@ -93,16 +93,18 @@
$DB->set_query_id($Comments);
?><div class="thin">
<h2>
<?=$Header?>
</h2>
<div class="header">
<h2><?=$Header?></h2>
<? if ($OtherLink !== '') { ?>
<div class="linkbox">
<?=$OtherLink?>
<br /><br />
</div>
<? } ?>
</div>
<div class="linkbox">
<?=$Pages?>
</div>
<?php
<?
while(list($UserID, $TorrentID, $GroupID, $Title, $PostID, $Body, $AddedTime, $EditedTime, $EditorID) = $DB->next_record()) {
$UserInfo = user_info($UserID);

View File

@ -3,7 +3,9 @@
show_header('Donation Canceled');
?>
<div class="thin">
<div class="header">
<h3 id="forums">Donation Canceled</h3>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<p>It's the thought that counts. Please reconsider donating in the future.</p>
</div>

View File

@ -3,7 +3,9 @@
show_header('Donation Complete');
?>
<div class="thin">
<div class="header">
<h3 id="forums">Donation Complete</h3>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<p>Thank you for your donation! If this is your first time donating you will now have received 2 invitations and a <img src="<?=STATIC_SERVER?>common/symbols/donor.png" alt="Donor" />.</p>
</div>

View File

@ -23,7 +23,9 @@
<!-- Donate -->
<div class="thin">
<? if (check_perms('site_debug')) { ?>
<div class="header">
<h3>Test IPN</h3>
</div>
<div class="box pad">
<form method="post" action="donate.php">
<input type="hidden" name="action" value="ipn">
@ -43,7 +45,9 @@
<?
}
?>
<div class="header">
<h3>Donate</h3>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<p>We accept donations to cover the costs associated with running the site and tracker. These costs come from the rental and purchase of the hardware the site runs on (Servers, Components, etc.), in addition to operating expenses (Bandwidth, Power, etc.).</p>
<p>Because we do not have any advertisements or sponsorships and this service is provided free of charge, we are entirely reliant upon user donations. If you are financially able, please consider making a donation to help us pay the bills!</p>

View File

@ -22,7 +22,9 @@
<!-- Donate -->
<div class="thin">
<? if (check_perms('site_debug')) { ?>
<div class="header">
<h3>Test IPN</h3>
</div>
<div class="box pad">
<form method="post" action="donate.php">
<input type="hidden" name="action" value="ipn">
@ -42,7 +44,9 @@
<?
}
?>
<div class="header">
<h3>Donate</h3>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<p>We accept donations to cover the costs associated with running the site and tracker. These costs come from the rental and purchase of the hardware the site runs on (Servers, Components, etc.), in addition to operating expenses (Bandwidth, Power, etc.).</p>
<p>Because we do not have any advertisements or sponsorships and this service is provided free of charge, we are entirely reliant upon user donations. If you are financially able, please consider making a donation to help us pay the bills!</p>

View File

@ -50,7 +50,9 @@ function notify ($Channel, $Message) {
show_header($Title);
?>
<div class="thin">
<div class="header">
<h2><?=$Title?></h2>
</div>
<div class="box pad">
<p><?=$Description?></p>
</div>

View File

@ -33,6 +33,7 @@
show_header();
?>
<div class="thin box pad">
<div class="header">
<h2>
<a href="forums.php">Forums</a>
&gt;
@ -40,6 +41,7 @@
&gt;
Edit forum specific rules
</h2>
</div>
<table>
<tr class="colhead">
<td>Thread ID</td>

View File

@ -47,7 +47,9 @@
// Start printing stuff
?>
<div class="thin">
<div class="header">
<h2>Friends list</h2>
</div>
<div class="linkbox">
<?
// Pagination

View File

@ -20,7 +20,9 @@
show_header('Compose', 'inbox,bbcode');
?>
<div class="thin">
<div class="header">
<h2>Send a message to <a href="user.php?id=<?=$ToID?>"><?=$Username?></a></h2>
</div>
<form action="inbox.php" method="post" id="messageform">
<div class="box pad">
<input type="hidden" name="action" value="takecompose" />

View File

@ -41,7 +41,9 @@
$DB->set_query_id($Log);
?>
<div class="thin">
<div class="header">
<h2>Site log</h2>
</div>
<div>
<form action="" method="get">
<table cellpadding="6" cellspacing="1" border="0" class="border" width="100%">
@ -57,8 +59,6 @@
</form>
</div>
<div class="linkbox">
<?
$Pages=get_pages($Page,$Results,LOG_ENTRIES_PER_PAGE,9);

View File

@ -68,7 +68,9 @@ function toggle_visibility(id) {
}
?>
<div class="thin">
<div class="header">
<h3 id="general">Disabled IRC</h3>
</div>
<div class="box pad" style="padding:10px 0px 10px 0px;">
<div style="padding:0px 10px 10px 20px;">
<p>Please read the topic carefully.</p>

View File

@ -103,7 +103,9 @@
show_header('Report a '.$Type['title'],'bbcode');
?>
<div class="thin">
<div class="header">
<h2>Report <?=$Type['title']?></h2>
</div>
<h3>Reporting guidelines</h3>
<div class="box pad">
<p>Following these guidelines will help the moderators deal with your report in a timely fashion. </p>

View File

@ -71,26 +71,28 @@
// Start printing stuff
?>
<div class="thin">
<h2>Active Reports</h2>
<div class="linkbox">
<div class="header">
<h2>Active Reports</h2>
<div class="linkbox">
<a href="reports.php">New</a> |
<a href="reports.php?view=old">Old</a> |
<a href="reports.php?action=stats">Stats</a>
</div>
<div class="linkbox">
</div>
</div>
<div class="linkbox">
<?
// pagination
$Pages = get_pages($Page,$Results,REPORTS_PER_PAGE,11);
echo $Pages;
// pagination
$Pages = get_pages($Page,$Results,REPORTS_PER_PAGE,11);
echo $Pages;
?>
</div>
</div>
<?
while(list($ReportID, $SnitchID, $SnitchName, $ThingID, $Short, $ReportedTime, $Reason, $Status) = $DB->next_record()) {
$Type = $Types[$Short];
$Reference = "reports.php?id=".$ReportID."#report".$ReportID;
?>
<div id="report<?=$ReportID?>">
<form action="reports.php" method="post">
<div id="report<?=$ReportID?>">
<form action="reports.php" method="post">
<div>
<input type="hidden" name="reportid" value="<?=$ReportID?>" />
<input type="hidden" name="action" value="takeresolve" />
@ -205,18 +207,18 @@
</tr>
<? } ?>
</table>
</form>
</div>
<br />
</form>
</div>
<br />
<?
$DB->set_query_id($Reports);
}
?>
</div>
<div class="linkbox">
<div class="linkbox">
<?
echo $Pages;
?>
</div>
</div>
<?
show_footer();

View File

@ -7,11 +7,13 @@
show_header('Other reports stats');
?>
<h2>Other reports stats!</h2>
<div class="linkbox">
<div class="header">
<h2>Other reports stats!</h2>
<div class="linkbox">
<a href="reports.php">New</a> |
<a href="reports.php?view=old">Old</a> |
<a href="reports.php?action=stats">Stats</a>
</div>
</div>
<div class="box pad thin" style="padding: 0px 0px 0px 20px; margin-left: auto; margin-right: auto">
<?

View File

@ -19,7 +19,9 @@
?>
<div class="thin">
<div class="header">
<h2>Report a torrent</h2>
</div>
<form action="reportsv2.php?action=takereport" enctype="multipart/form-data" method="post" id="report_table">
<div>

View File

@ -22,10 +22,11 @@ function Taste(torrent_id, report_id, taste) {
});
}
</script>
<?
include('header.php');
?>
<h2>New reports, auto assigned!</h2>
<div class="header">
<h2>New reports, auto assigned!</h2>
<? include('header.php'); ?>
</div>
<div class="buttonbox thin center">
<input type="button" onclick="AddMore();" value="Add More" /><input type="text" name="repop_amount" id="repop_amount" size="2" value="10" />
| <span title="Changes whether to automatically replace resolved ones with new ones"><input type="checkbox" checked="checked" id="dynamic"/> <label for="dynamic">Dynamic</label></span>

View File

@ -7,9 +7,12 @@
}
show_header('Reports V2!', 'reportsv2');
include('header.php');
?>
<h2>Search</h2>
<div class="header">
<h2>Search</h2>
<? include('header.php'); ?>
</div>
<br />
On hold until FZeroX fixes the main torrents search, then I will steal all his work and claim it as my own.
<?

View File

@ -187,10 +187,12 @@
$PageLinks=get_pages($Page,$Results,REPORTS_PER_PAGE,11);
show_header('Reports V2!', 'reportsv2,bbcode');
include('header.php');
?>
<h2><?=$Title?></h2>
<div class="header">
<h2><?=$Title?></h2>
<? include('header.php'); ?>
</div>
<div class="buttonbox thin center">
<? if($View != "resolved") { ?>
<span title="Resolves *all* checked reports with their respective resolutions"><input type="button" onclick="MultiResolve();" value="Multi-Resolve" /></span>

View File

@ -10,7 +10,7 @@
}
show_header('Reports V2!', 'reportsv2');
include('header.php');
//Grab owners ID, just for examples
$DB->query("SELECT ID, Username FROM users_main ORDER BY ID ASC LIMIT 1");
@ -18,7 +18,10 @@
$Owner = display_str($Owner);
?>
<h2>Reports v2 Information!</h2>
<div class="header">
<h2>Reports v2 Information!</h2>
<? include('header.php'); ?>
</div>
<br />
<div class="box pad thin" style="padding: 0px 0px 0px 20px; width: 70%; margin-left: auto; margin-right: auto">
<table><tr><td style="width: 50%;">

View File

@ -121,7 +121,9 @@
show_header(($NewRequest ? "Create a request" : "Edit a request"), 'requests');
?>
<div class="thin">
<div class="header">
<h2><?=($NewRequest ? "Create a request" : "Edit a request")?></h2>
</div>
<div class="box pad">
<form action="" method="post" id="request_form" onsubmit="Calculate();">

View File

@ -85,6 +85,7 @@
?>
<div class="thin">
<div class="header">
<h2><a href="requests.php">Requests</a> &gt; <?=$CategoryName?> &gt; <?=$DisplayLink?></h2>
<div class="linkbox">
<? if($CanEdit) { ?>
@ -118,11 +119,10 @@
$google_url = "https://www.google.com/search?&tbm=shop&q=" . $encoded_artist . " " . $encoded_title;
?>
<a href="<? echo $worldcat_url; ?>">[Find in Library]</a>
<a href="<? echo $google_url; ?>">[Find in Stores]</a>
</div>
<a href="<? echo $worldcat_url; ?>">[Find in Library]</a>
<a href="<? echo $google_url; ?>">[Find in Stores]</a>
</div>
</div>
<div class="sidebar">
<? if($CategoryID != 0) { ?>
<div class="box box_image box_image_albumart box_albumart"><!-- .box_albumart deprecated -->

View File

@ -285,6 +285,7 @@
?>
<div class="thin">
<div class="header">
<h2><?=$Title?></h2>
<div class="linkbox">
<? if (!$BookmarkView) { ?>
@ -302,6 +303,7 @@
<a href="bookmarks.php?type=requests">[Requests]</a>
<? } ?>
</div>
</div>
<div>
<form action="" method="get">
<? if ($BookmarkView) { ?>

View File

@ -245,6 +245,7 @@ show_header($Title, 'requests');
?>
<div class="thin">
<div class="header">
<h2><?=$Title?></h2>
<div class="linkbox">
<? if(check_perms('site_submit_requests')){ ?>
@ -255,6 +256,7 @@ show_header($Title, 'requests');
<a href="requests.php?type=voted">[Requests I've voted on]</a>
<? } ?>
</div>
</div>
<div class="center">
<form action="" method="get">
<input type="hidden" name="submit" value="true" />

View File

@ -8,7 +8,9 @@
}
?>
<div class="thin">
<div class="header">
<h2 class="center">Client Whitelist</h2>
</div>
<div class="box pad">
<p>Client rules are how we maintain the integrity of our swarms. This allows us to filter out disruptive and dishonest clients that may hurt the performance of either the tracker or individual peers.</p>
<table cellpadding="5" cellspacing="1" border="0" class="border" width="100%">

View File

@ -3,7 +3,9 @@
show_header('Collages Rules');
?>
<div class="thin">
<h2 class="center">Collages</h2>
<div class="header">
<h2 class="center">Collages</h2>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<ul>
<li>Collages in the Discography, Staff Picks, Label, and Charts categories must be based on fact, and not opinion. If something is a published Best Of (for instance, "Pitchfork's Best Albums of the 1990's") then it should go in the Charts category.</li>

View File

@ -3,7 +3,9 @@
show_header('Ratio Requirements');
?>
<div class="thin">
<h2 class="center">Ratio Rules</h2>
<div class="header">
<h2 class="center">Ratio Rules</h2>
</div>
<div class="box pad">
<p>
Your ratio is the amount you've uploaded divided by the amount you've downloaded.

View File

@ -3,7 +3,9 @@
show_header('Request Rules');
?>
<div class="thin">
<h2 class="center">Requests</h2>
<div class="header">
<h2 class="center">Requests</h2>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<ul>
<li>

View File

@ -4,7 +4,9 @@
?>
<!-- General Rules -->
<div class="thin">
<div class="header">
<h3 id="general">Golden Rules</h3>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<ul>
<li>

View File

@ -4,7 +4,9 @@
?>
<!-- General Rules -->
<div class="thin">
<div class="header">
<h3 id="general">Tagging rules</h3>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
<ul>
<li>Tags should be comma separated, and you should use a period ('.') to separate words inside a tag - eg. '<strong style="color:green;">hip.hop</strong>'.

View File

@ -292,16 +292,28 @@ function next_hour() {
$DB->query("UPDATE users_info SET Warned='0000-00-00 00:00:00' WHERE Warned<'$sqltime'");
// If a user has downloaded more than 10 gigs while on ratio watch, banhammer
// If a user has downloaded more than 10 gigs while on ratio watch disable leeching and send message
$DB->query("SELECT ID FROM users_info AS i JOIN users_main AS m ON m.ID=i.UserID
WHERE i.RatioWatchEnds!='0000-00-00 00:00:00'
AND i.RatioWatchDownload+10*1024*1024*1024<m.Downloaded
And m.Enabled='1'");
$UserIDs = $DB->collect('ID');
$UserIDs = $DB->collect('ID' );
if(count($UserIDs) > 0) {
disable_users($UserIDs, "Disabled by ratio watch system for downloading more than 10 gigs on ratio watch.", 2);
$Subject = 'Leeching Disabled';
$Message = 'You have downloaded more then 10gb while on Ratio Watch. Your Leeching privleges have been disabled. Please reread the rules and refer to this guide on how to improve your ratio https://ssl.what.cd/wiki.php?action=article&id=110';
foreach($UserIDs as $UserID) {
send_pm($UserID,0,db_string($Subject),db_string($Message));
}
$DB->query("UPDATE users_info AS i JOIN users_main AS m ON m.ID=i.UserID
SET
m.can_leech='0',
i.AdminComment=CONCAT('$sqltime - Leeching ability disabled by ratio watch system - required ratio: ', m.RequiredRatio,'
' , i.AdminComment)
WHERE m.ID IN(".implode(',',$UserIDs).")");
}
}

View File

@ -10,7 +10,9 @@
?>
<div class="thin">
<div class="header">
<h2><?=SITE_NAME?> Staff</h2>
</div>
<div class="box pad" style="padding:0px 10px 10px 10px;">
<br />
<h3>Contact Staff</h3>

View File

@ -11,6 +11,7 @@
?>
<div class="thin">
<div class="header">
<h2>Staff PMs - Manage common responses</h2>
<div class="linkbox">
<? if ($IsStaff) { ?>
@ -22,9 +23,10 @@
<? if ($ConvID = (int)$_GET['convid']) { ?>
<a href="staffpm.php?action=viewconv&id=<?=$ConvID?>">[Back to conversation]</a>
<? } ?>
<br />
<br />
</div>
</div>
<br />
<br />
<div id="commonresponses" class="center">
<br />
<div id="ajax_message_0" class="hidden center alertbar"></div>

View File

@ -79,6 +79,7 @@
// Start page
?>
<div class="thin">
<div class="header">
<h2><?=$ViewString?> Staff PMs</h2>
<div class="linkbox">
<? if ($IsStaff) {
@ -87,8 +88,11 @@
<a href="staffpm.php?view=unanswered">[All unanswered]</a>
<a href="staffpm.php?view=open">[Open]</a>
<a href="staffpm.php?view=resolved">[Resolved]</a>
</div>
</div>
<br />
<br />
<div class="linkbox">
<?=$Pages?>
</div>
<div class="box pad" id="inbox">

View File

@ -23,12 +23,14 @@
// Start page
?>
<div class="thin">
<div class="header">
<h2>Staff PMs</h2>
<div class="linkbox">
<a href="#" onClick="$('#compose').toggle();">[Compose New]</a>
<br />
<br />
</div>
</div>
<br />
<br />
<? print_compose_staff_pm(true); ?>
<div class="box pad" id="inbox">
<?

View File

@ -30,6 +30,7 @@
?>
<div id="thin">
<div class="header">
<h2>Staff PM - <?=display_str($Subject)?></h2>
<div class="linkbox">
<?
@ -54,10 +55,10 @@
<?
}
?>
<br />
<br />
?> </div>
</div>
<br />
<br />
<div id="inbox">
<?
// Get messages

View File

@ -11,7 +11,9 @@
WHERE BitcoinAddress IS NOT NULL ORDER BY m.Username ASC");
?>
<div class="thin">
<div class="header">
<h3><?=$Balance?></h3>
</div>
<table>
<tr>
<th>Username</th>

View File

@ -74,8 +74,9 @@
$DB->set_query_id($Bans);
?>
<h2>IP Bans</h2>
<div class="header">
<h2>IP Bans</h2>
</div>
<div>
<form action="" method="get">
<table cellpadding="6" cellspacing="1" border="0" class="border" width="100%">

View File

@ -12,7 +12,9 @@
LEFT JOIN users_main AS um ON um.ID=d.UserID
ORDER BY d.Time DESC");
?>
<h2>Do Not Uploads</h2>
<div class="header">
<h2>Do Not Uploads</h2>
</div>
<table>
<tr class="colhead">
<td>Name</td>

View File

@ -12,7 +12,9 @@
FROM email_blacklist AS eb
ORDER BY eb.Time DESC");
?>
<h2>Email Blacklist</h2>
<div class="header">
<h2>Email Blacklist</h2>
</div>
<table>
<tr class="colhead">
<td>Email</td>

View File

@ -48,8 +48,9 @@ function class_list($Selected=0){
FROM forums
ORDER BY CategoryID, Sort ASC');
?>
<h2>Forum control panel</h2>
<div class="header">
<h2>Forum control panel</h2>
</div>
<table width="100%">
<tr class="colhead">
<td>Category</td>

View File

@ -21,8 +21,10 @@
ORDER BY l.BannedUntil ASC');
?>
<div class="thin">
<h2>Login Watch Management</h2>
<table width="100%">
<div class="header">
<h2>Login Watch Management</h2>
</div>
<table width="100%">
<tr class="colhead">
<td>IP</td>
<td>User</td>
@ -74,6 +76,6 @@
<?
}
?>
</table>
</table>
</div>
<? show_footer(); ?>

View File

@ -28,7 +28,9 @@
}
?>
<div class="thin">
<div class="header">
<h2><?= ($_GET['action'] == 'news')? 'Create a news post' : 'Edit news post';?></h2>
</div>
<form action="tools.php" method="post">
<div class="box pad">
<input type="hidden" name="action" value="<?= ($_GET['action'] == 'news')? 'takenewnews' : 'takeeditnews';?>" />

View File

@ -1 +1 @@
<? if (!check_perms('users_mod')) { error(403); } if (isset($_POST['doit'])) { authorize(); if (isset($_POST['oldtags'])) { $OldTagIDs = $_POST['oldtags']; foreach ($OldTagIDs AS $OldTagID) { if (!is_number($OldTagID)) { error(403); } } $OldTagIDs = implode(', ', $OldTagIDs); $DB->query("UPDATE tags SET TagType = 'other' WHERE ID IN ($OldTagIDs)"); } if ($_POST['newtag']) { $TagName = sanitize_tag($_POST['newtag']); $DB->query("SELECT t.ID FROM tags AS t WHERE t.Name LIKE '".$TagName."'"); list($TagID) = $DB->next_record(); if($TagID) { $DB->query("UPDATE tags SET TagType = 'genre' WHERE ID = $TagID"); } else { // Tag doesn't exist yet - create tag $DB->query("INSERT INTO tags (Name, UserID, TagType, Uses) VALUES ('".$TagName."', ".$LoggedUser['ID'].", 'genre', 0)"); $TagID = $DB->inserted_id(); } } $Cache->delete_value('genre_tags'); } show_header('Official Tags'); ?> if (isset($_POST['oldtags'])) { } > <div style="text-align: center"> <div style="display: inline-block;"> <form method="post"> <input type="hidden" name="action" value="official_tags" /> <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" /> <input type="hidden" name="doit" value="1" /> <table> <tr class="colhead_dark"> <td style="font-weight: bold" style="text-align: center">Remove</td> <td style="font-weight: bold">Tag</td> <td style="font-weight: bold">Uses</td> <td>&nbsp;&nbsp;&nbsp;</td> <td style="font-weight: bold" style="text-align: center">Remove</td> <td style="font-weight: bold">Tag</td> <td style="font-weight: bold">Uses</td> <td>&nbsp;&nbsp;&nbsp;</td> <td style="font-weight: bold" style="text-align: center">Remove</td> <td style="font-weight: bold">Tag</td> <td style="font-weight: bold">Uses</td> </tr> <? $i = 0; $DB->query("SELECT ID, Name, Uses FROM tags WHERE TagType='genre' ORDER BY Name ASC"); $TagCount = $DB->record_count(); $Tags = $DB->to_array(); for ($i = 0; $i < $TagCount / 3; $i++) { list($TagID1, $TagName1, $TagUses1) = $Tags[$i]; list($TagID2, $TagName2, $TagUses2) = $Tags[ceil($TagCount/3) + $i]; list($TagID3, $TagName3, $TagUses3) = $Tags[2*ceil($TagCount/3) + $i]; ?> <tr class="<?=(($i % 2)?'rowa':'rowb')?>"> <td style="text-align: center"><input type="checkbox" name="oldtags[]" value="<?=$TagID1?>" /></td> <td><?=$TagName1?></td> <td style="text-align: center"><?=$TagUses1?></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align: center"> <? if ($TagID2) { ?> <input type="checkbox" name="oldtags[]" value="<?=$TagID2?>" /> <? } ?> </td> <td><?=$TagName2?></td> <td style="text-align: center"><?=$TagUses2?></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align: center"> <? if ($TagID3) { ?> <input type="checkbox" name="oldtags[]" value="<?=$TagID3?>" /> <? } ?> </td> <td><?=$TagName3?></td> <td style="text-align: center"><?=$TagUses3?></td> </tr> <? } ?> <tr class="<?=(($i % 2)?'rowa':'rowb')?>"> <td colspan="11"><label for="newtag">New official tag: </label><input type="text" name="newtag" /></td> </tr> <tr style="border-top: thin solid"> <td colspan="11" style="text-align: center"><input type="submit" value="Submit Changes" /></td> </tr> </table> </form> </div> </div> <? show_footer(); ?>
<? if (!check_perms('users_mod')) { error(403); } if (isset($_POST['doit'])) { authorize(); $OldTagIDs = $_POST['oldtags']; if (isset($_POST['oldtags'])) { $OldTagIDs = $_POST['oldtags']; foreach ($OldTagIDs AS $OldTagID) { if (!is_number($OldTagID)) { error(403); } } $OldTagIDs = implode(', ', $OldTagIDs); $DB->query("UPDATE tags SET TagType = 'other' WHERE ID IN ($OldTagIDs)"); } $OldTagIDs = $_POST['oldtags']; if ($_POST['newtag']) { $TagName = sanitize_tag($_POST['newtag']); $DB->query("SELECT t.ID FROM tags AS t WHERE t.Name LIKE '".$TagName."'"); list($TagID) = $DB->next_record(); $OldTagIDs = $_POST['oldtags']; if($TagID) { $DB->query("UPDATE tags SET TagType = 'genre' WHERE ID = $TagID"); } else { // Tag doesn't exist yet - create tag $DB->query("INSERT INTO tags (Name, UserID, TagType, Uses) VALUES ('".$TagName."', ".$LoggedUser['ID'].", 'genre', 0)"); $TagID = $DB->inserted_id(); } } $OldTagIDs = $_POST['oldtags']; $Cache->delete_value('genre_tags'); } show_header('Official Tags'); ?> if (isset($_POST['oldtags'])) { $OldTagIDs = implode(', ', $OldTagIDs); <h2>Official Tags</h2> </div> <div style="text-align: center"> <div style="display: inline-block;"> <form method="post"> <input type="hidden" name="action" value="official_tags" /> <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" /> <input type="hidden" name="doit" value="1" /> <table> <tr class="colhead_dark"> <td style="font-weight: bold" style="text-align: center">Remove</td> <td style="font-weight: bold">Tag</td> <td style="font-weight: bold">Uses</td> <td>&nbsp;&nbsp;&nbsp;</td> <td style="font-weight: bold" style="text-align: center">Remove</td> <td style="font-weight: bold">Tag</td> <td style="font-weight: bold">Uses</td> <td>&nbsp;&nbsp;&nbsp;</td> <td style="font-weight: bold" style="text-align: center">Remove</td> <td style="font-weight: bold">Tag</td> <td style="font-weight: bold">Uses</td> </tr> <? $i = 0; $DB->query("SELECT ID, Name, Uses FROM tags WHERE TagType='genre' ORDER BY Name ASC"); $TagCount = $DB->record_count(); $Tags = $DB->to_array(); for ($i = 0; $i < $TagCount / 3; $i++) { list($TagID1, $TagName1, $TagUses1) = $Tags[$i]; list($TagID2, $TagName2, $TagUses2) = $Tags[ceil($TagCount/3) + $i]; list($TagID3, $TagName3, $TagUses3) = $Tags[2*ceil($TagCount/3) + $i]; ?> <tr class="<?=(($i % 2)?'rowa':'rowb')?>"> <td style="text-align: center"><input type="checkbox" name="oldtags[]" value="<?=$TagID1?>" /></td> <td><?=$TagName1?></td> <td style="text-align: center"><?=$TagUses1?></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align: center"> <? if ($TagID2) { ?> <input type="checkbox" name="oldtags[]" value="<?=$TagID2?>" /> <? } ?> </td> <td><?=$TagName2?></td> <td style="text-align: center"><?=$TagUses2?></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align: center"> <? if ($TagID3) { ?> <input type="checkbox" name="oldtags[]" value="<?=$TagID3?>" /> <? } ?> </td> <td><?=$TagName3?></td> <td style="text-align: center"><?=$TagUses3?></td> </tr> <? } ?> <tr class="<?=(($i % 2)?'rowa':'rowb')?>"> <td colspan="11"><label for="newtag">New official tag: </label><input type="text" name="newtag" /></td> </tr> <tr style="border-top: thin solid"> <td colspan="11" style="text-align: center"><input type="submit" value="Submit Changes" /></td> </tr> </table> </form> </div> </div> <? show_footer(); ?>

View File

@ -12,10 +12,12 @@ function confirmDelete(id) {
//]]>
</script>
<div class="thin">
<div class="header">
<div class="linkbox">
[<a href="tools.php?action=permissions&amp;id=new">Create a new permission set</a>]
[<a href="tools.php">Back to Tools</a>]
</div>
</div>
<?
$DB->query("SELECT p.ID,p.Name,p.Level,p.Secondary,COUNT(u.ID)+COUNT(DISTINCT l.UserID)
FROM permissions AS p

View File

@ -27,13 +27,13 @@
}
}
?>
<div class="linkbox">
<div class="header">
<h2>Tag Aliases</h2>
<div class="linkbox">
[<a href="tools.php?action=tag_aliases&order=goodtags">Sort by Good Tags</a>]
[<a href="tools.php?action=tag_aliases&order=badtags">Sort by Bad Tags</a>]
</div>
<h2>Tag Aliases</h2>
</div>
<table width="100%">
<tr class="colhead">
<td>Tag</td>

View File

@ -49,9 +49,12 @@
show_header('Add tokens sitewide');
?>
<h2>Add freeleech tokens to all enabled users</h2>
<div class="linkbox"><a href="tools.php?action=tokens&showabusers=1">[Show Abusers]</a></div>
<div class="header">
<h2>Add freeleech tokens to all enabled users</h2>
<div class="linkbox">
<a href="tools.php?action=tokens&showabusers=1">[Show Abusers]</a>
</div>
</div>
<div class="box pad" style="margin-left: auto; margin-right: auto; text-align:center; max-width: 40%">
<?=$message?>
<form action="" method="post">

View File

@ -4,7 +4,9 @@
show_header('Whitelist Management');
$DB->query('SELECT id, vstring, peer_id FROM xbt_client_whitelist ORDER BY peer_id ASC');
?>
<h2>Allowed Clients</h2>
<div class="header">
<h2>Allowed Clients</h2>
</div>
<table width="100%">
<tr class="colhead">
<td>Client</td>

View File

@ -5,7 +5,9 @@
show_header('Case Analysis');
?>
<h2>Case Analysis (<a href="<?=display_str($Analysis['url'])?>"><?=$_GET['case']?></a>)</h2>
<div class="header">
<h2>Case Analysis (<a href="<?=display_str($Analysis['url'])?>"><?=$_GET['case']?></a>)</h2>
</div>
<pre id="#debug_report"><?=display_str($Analysis['message'])?></pre>
<?
$Debug->flag_table($Analysis['flags']);

View File

@ -18,8 +18,9 @@
}
}
?>
<div class="header">
<h2>Clear a cache key</h2>
</div>
<form method="get" action="" name="clear_cache">
<input type="hidden" name="action" value="clear_cache" />
<table cellpadding="2" cellspacing="1" border="0" align="center">

View File

@ -24,8 +24,9 @@
}
?>
<h2>IRC highlight on (fishy) invites sent to countries</h2>
<div class="header">
<h2>IRC highlight on (fishy) invites sent to countries</h2>
</div>
<table width="100%">
<tr class="colhead">
<td>Country</td>

View File

@ -74,7 +74,9 @@
} else {
?>
<div class="header">
<h2>Create a User</h2>
</div>
<form method="post" action="" name="create_user">
<input type="hidden" name="action" value="create_user" />

View File

@ -4,14 +4,15 @@
show_header('Top 10 Torrents history!');
?>
<div class="thin">
<h2> Top 10 Torrents </h2>
<div class="header">
<h2>Top 10 Torrents</h2>
<div class="linkbox">
<a href="top10.php?type=torrents"><strong>[Torrents]</strong></a>
<a href="top10.php?type=users">[Users]</a>
<a href="top10.php?type=tags">[Tags]</a>
<a href="top10.php?type=history">[History]</a>
</div>
</div>
<div class="pad box">
<form method="get" action="">
<input type="hidden" name="type" value="history" />

View File

@ -13,12 +13,14 @@
show_header('Top 10 Tags');
?>
<div class="thin">
<h2> Top 10 Tags </h2>
<div class="header">
<h2>Top 10 Tags</h2>
<div class="linkbox">
<a href="top10.php?type=torrents">[Torrents]</a>
<a href="top10.php?type=users">[Users]</a>
<a href="top10.php?type=tags"><strong>[Tags]</strong></a>
</div>
</div>
<?

View File

@ -41,12 +41,14 @@
show_header('Top '.$Limit.' Torrents');
?>
<div class="thin">
<h2> Top <?=$Limit?> Torrents </h2>
<div class="header">
<h2>Top <?=$Limit?> Torrents</h2>
<div class="linkbox">
<a href="top10.php?type=torrents"><strong>[Torrents]</strong></a>
<a href="top10.php?type=users">[Users]</a>
<a href="top10.php?type=tags">[Tags]</a>
</div>
</div>
<?
if(check_perms('site_advanced_top10')) {

View File

@ -13,13 +13,14 @@
show_header('Top 10 Users');
?>
<div class="thin">
<h2> Top 10 Users </h2>
<div class="header">
<h2>Top 10 Users</h2>
<div class="linkbox">
<a href="top10.php?type=torrents">[Torrents]</a>
<a href="top10.php?type=users"><strong>[Users]</strong></a>
<a href="top10.php?type=tags">[Tags]</a>
</div>
</div>
<?
// defaults to 10 (duh)

View File

@ -90,6 +90,7 @@ function compare($X, $Y){
show_header($Title,'browse,comments,torrent,bbcode');
?>
<div class="thin">
<div class="header">
<h2><?=$DisplayName?></h2>
<div class="linkbox">
<? if(check_perms('site_edit_wiki')) { ?>
@ -113,7 +114,7 @@ function compare($X, $Y){
<? }?>
<a href="torrents.php?action=grouplog&amp;groupid=<?=$GroupID?>">[View log]</a>
</div>
</div>
<div class="sidebar">
<div class="box box_image box_image_albumart box_albumart"><!-- .box_albumart deprecated -->
<div class="head"><strong>Cover</strong></div>

View File

@ -42,7 +42,9 @@
// Start printing form
?>
<div class="thin">
<div class="header">
<h2>Edit <a href="torrents.php?id=<?=$GroupID?>"><?=$Name?></a></h2>
</div>
<div class="box pad">
<form action="torrents.php" method="post">
<div>
@ -77,7 +79,7 @@
<? $DB->query("SELECT UserID FROM torrents WHERE GroupID = ".$GroupID);
//Users can edit the group info if they've uploaded a torrent to the group or have torrents_edit
if(in_array($LoggedUser['ID'], $DB->collect('UserID')) || check_perms('torrents_edit')) { ?>
<h2>Non-wiki group editing</h2>
<h3>Non-wiki group editing</h3>
<div class="box pad">
<form action="torrents.php" method="post">
<input type="hidden" name="action" value="nonwikiedit" />
@ -130,7 +132,7 @@
}
if(check_perms('torrents_edit')) {
?>
<h2>Rename (won't merge)</h2>
<h3>Rename (won't merge)</h3>
<div class="box pad">
<form action="torrents.php" method="post">
<div>
@ -145,7 +147,7 @@
</div>
</form>
</div>
<h2>Merge with another group</h2>
<h3>Merge with another group</h3>
<div class="box pad">
<form action="torrents.php" method="post">
<div>

View File

@ -40,7 +40,9 @@
show_header();
?>
<div class="thin">
<div class="header">
<h2>Change Group Confirm!</h2>
</div>
<div class="box pad">
<form action="torrents.php" method="post">
<input type="hidden" name="action" value="editgroupid" />
@ -49,9 +51,9 @@
<input type="hidden" name="torrentid" value="<?=$TorrentID?>" />
<input type="hidden" name="oldgroupid" value="<?=$OldGroupID?>" />
<input type="hidden" name="groupid" value="<?=$GroupID?>" />
<h2>You are attempting to move the torrent with ID <?=$TorrentID?> from the group:</h2>
<h3>You are attempting to move the torrent with ID <?=$TorrentID?> from the group:</h3>
<ul><li><?= display_artists($Artists[$OldGroupID], true, false)?> - <a href="torrents.php?id=<?=$OldGroupID?>"><?=$Name?></a></li></ul>
<h2>Into the group:</h2>
<h3>Into the group:</h3>
<ul><li><?= display_artists($Artists[$GroupID], true, false)?> - <a href="torrents.php?id=<?=$GroupID?>"><?=$NewName?></a></li></ul>
<input type="submit" value="Confirm" />
</form>

View File

@ -14,8 +14,9 @@
?>
<div class="thin">
<div class="header">
<h2>History for <?=$Title?></h2>
</div>
<table>
<tr class="colhead">
<td>Date</td>

View File

@ -31,7 +31,9 @@
// Start printing form
?>
<div class="thin">
<div class="header">
<h2>Revision history for <a href="torrents.php?id=<?=$GroupID?>"><?=$Name?></a></h2>
</div>
<?
$Wiki->revision_history(); // the wiki class takes over from here
?>

View File

@ -40,7 +40,9 @@
?>
<div class="thin">
<div class="header">
<h2>Send PM To All Snatchers Of "<?=$Properties['ArtistName']?> - <?=$Properties['Title']?>"</h2>
</div>
<form action="torrents.php" method="post">
<input type="hidden" name="action" value="takemasspm" />
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />

View File

@ -29,7 +29,9 @@
show_header();
?>
<div class="center thin">
<div class="header">
<h2>Merge Confirm!</h2>
</div>
<div class="box pad">
<form action="torrents.php" method="post">
<input type="hidden" name="action" value="merge" />
@ -37,9 +39,9 @@
<input type="hidden" name="confirm" value="true" />
<input type="hidden" name="groupid" value="<?=$GroupID?>" />
<input type="hidden" name="targetgroupid" value="<?=$NewGroupID?>" />
<h2>You are attempting to merge the group:</h2>
<h3>You are attempting to merge the group:</h3>
<ul><li><?= display_artists($Artists[$GroupID], true, false)?> - <a href="torrents.php?id=<?=$GroupID?>"><?=$Name?></a></li></ul>
<h2>Into the group:</h2>
<h3>Into the group:</h3>
<ul><li><?= display_artists($Artists[$NewGroupID], true, false)?> - <a href="torrents.php?id=<?=$NewGroupID?>"><?=$NewName?></a></li></ul>
<input type="submit" value="Confirm" />
</form>

View File

@ -46,7 +46,9 @@
show_header('My notifications', 'notifications');
$DB->set_query_id($Results);
?>
<h2>Latest notifications <a href="torrents.php?action=notify_clear&amp;auth=<?=$LoggedUser['AuthKey']?>">(clear all)</a> <a href="javascript:SuperGroupClear()">(clear selected)</a> <a href="user.php?action=notify">(edit filters)</a></h2>
<div class="header">
<h2>Latest notifications <a href="torrents.php?action=notify_clear&amp;auth=<?=$LoggedUser['AuthKey']?>">(clear all)</a> <a href="javascript:SuperGroupClear()">(clear selected)</a> <a href="user.php?action=notify">(edit filters)</a></h2>
</div>
<div class="linkbox">
<?=$Pages?>
</div>

View File

@ -62,7 +62,9 @@
show_header();
?>
<div class="thin">
<div class="header">
<h2>Successfully sent re-seed request</h2>
</div>
<p>Successfully sent re-seed request for torrent <a href="torrents.php?id=<?=$GroupID?>&amp;torrentid=<?=$TorrentID?>"><?=display_str($Name)?></a> to <?=$NumUsers?> user(s).</p>
</div>
<?show_footer();?>

View File

@ -271,8 +271,9 @@ function header_link($SortKey,$DefaultWay="DESC") {
?>
<div class="thin">
<div class="header">
<h2><a href="user.php?id=<?=$UserID?>"><?=$User['Username']?></a><?='\'s '.$Action.' torrents'?></h2>
</div>
<div>
<form action="" method="get">
<table>

View File

@ -35,7 +35,9 @@
show_header('Connectability Checker');
?>
<div class="thin">
<div class="header">
<h2><a href="user.php?id=<?=$LoggedUser['ID']?>"><?=$LoggedUser['Username']?></a> &gt; Connectability Checker</h2>
</div>
<form action="javascript:check_ip();" method="get">
<table>
<tr>

View File

@ -65,7 +65,9 @@ function checked($Checked) {
echo $Val->GenerateJS('userform');
?>
<div class="thin">
<div class="header">
<h2><?=format_username($UserID, false, false, false)?> &gt; Settings</h2>
</div>
<form id="userform" name="userform" action="" method="post" onsubmit="return formVal();" autocomplete="off">
<div>
<input type="hidden" name="action" value="takeedit" />

View File

@ -88,10 +88,12 @@
show_header('Invites');
?>
<div class="thin">
<div class="header">
<h2><?=format_username($UserID, false, false, false)?> &gt; Invites</h2>
<div class="linkbox">
[<a href="user.php?action=invitetree<? if($Sneaky){ echo '&amp;userid='.$UserID; }?>">Invite tree</a>]
</div>
</div>
<? if ($UserCount >= USER_LIMIT && !check_perms('site_can_invite_always')) { ?>
<div class="box pad notice">
<p>Because the user limit has been reached you are unable to send invites at this time.</p>

View File

@ -23,7 +23,9 @@
show_header($Username.' &gt; Invites &gt; Tree');
?>
<div class="thin">
<div class="header">
<h2><?=format_username($UserID, false, false, false)?> &gt; <a href="user.php?action=invite&amp;userid=<?=$UserID?>">Invites</a> &gt; Tree</h2>
</div>
<div class="box pad">
<? $Tree->make_tree(); ?>
</div>

View File

@ -3,7 +3,9 @@
show_header('Manage notifications');
?>
<div class="thin">
<div class="header">
<h2>Notify me of all new torrents with...<a href="torrents.php?action=notify">(View)</a></h2>
</div>
<?
$DB->query("SELECT ID, Label, Artists, ExcludeVA, NewGroupsOnly, Tags, NotTags, ReleaseTypes, Categories, Formats, Encodings, Media, FromYear, ToYear FROM users_notify_filters WHERE UserID='$LoggedUser[ID]' UNION ALL SELECT NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL");
$i = 0;

View File

@ -64,9 +64,11 @@ function reset() {
}
}
</script>
<h2><?=format_username($UserID, false, false, false)?> > Permissions</h2>
<div class="linkbox">
<div class="header">
<h2><?=format_username($UserID, false, false, false)?> > Permissions</h2>
<div class="linkbox">
[<a href="#" onclick="reset();return false;">Defaults</a>]
</div>
</div>
<div class="box pad">
Before using permissions, please understand that it allows you to both add and remove access to specific features. If you think that to add access to a feature, you need to uncheck everything else, <strong>YOU ARE WRONG</strong>. The checkmarks on the left, which are grayed out, are the standard permissions granted by their class (and donor/artist status), any changes you make to the right side will overwrite this. It's not complicated, and if you screw up, click the defaults link at the top. It will reset the user to their respective features granted by class, then you can check or uncheck the one or two things you want to change. <strong>DO NOT UNCHECK EVERYTHING.</strong> If you need further clarification, ask A9 before using this tool.

View File

@ -40,7 +40,9 @@
show_header('User search');
?>
<div class="thin">
<div class="header">
<h3>Search results</h3>
</div>
<div class="linkbox">
<?
$Pages=get_pages($Page,$NumResults,USERS_PER_PAGE,9);

View File

@ -68,7 +68,9 @@
}
$History = $DB->to_array();
?>
<h2>Email history for <a href="user.php?id=<?=$UserID ?>"><?=$Username ?></a></h2>
<div class="header">
<h2>Email history for <a href="user.php?id=<?=$UserID ?>"><?=$Username ?></a></h2>
</div>
<table width="100%">
<tr class="colhead">
<td>Email</td>

View File

@ -155,12 +155,13 @@
// Start page with current email
?>
<h2>Email history for <a href="user.php?id=<?=$UserID ?>"><?=$Username ?></a></h2>
<div class="thin">
<br />
<div class="center">
<div class="header">
<h2>Email history for <a href="user.php?id=<?=$UserID ?>"><?=$Username ?></a></h2>
<div class=" linkbox center">
<a href="userhistory.php?action=email&userid=<?=$UserID?>"><strong>Old email history</strong></a>
</div>
</div>
<br />
<table width="100%">
<tr class="colhead">

View File

@ -69,7 +69,6 @@ function UnBan(ip, id, elemID) {
}
*/
</script>
<div class="thin">
<?
list($Page,$Limit) = page_limit(IPS_PER_PAGE);
@ -120,7 +119,10 @@ function UnBan(ip, id, elemID) {
$Pages=get_pages($Page,$NumResults,IPS_PER_PAGE,9);
?>
<div class="thin">
<div class="header">
<h2>IP history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
</div>
<div class="linkbox"><?=$Pages?></div>
<table>
<tr class="colhead">

View File

@ -33,7 +33,6 @@ function ShowIPs(rowname) {
$('tr[name="'+rowname+'"]').toggle();
}
</script>
<div class="thin">
<?
list($Page,$Limit) = page_limit(IPS_PER_PAGE);
@ -46,7 +45,10 @@ function ShowIPs(rowname) {
$Pages=get_pages($Page,$NumResults,IPS_PER_PAGE,9);
?>
<div class="thin">
<div class="header">
<h2>Tracker IP history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
</div>
<div class="linkbox"><?=$Pages?></div>
<table>
<tr class="colhead">

View File

@ -32,7 +32,9 @@
ORDER BY ChangeTime DESC");
?>
<h2>Passkey history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
<div class="header">
<h2>Passkey history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
</div>
<table width="100%">
<tr class="colhead">
<td>Old</td>

View File

@ -30,7 +30,9 @@
ORDER BY ChangeTime DESC");
?>
<h2>Password reset history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
<div class="header">
<h2>Password reset history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
</div>
<table width="100%">
<tr class="colhead">
<td>Changed</td>

View File

@ -185,6 +185,7 @@
?>
<div class="thin">
<div class="header">
<h2>
<?
if($ShowGrouped) {
@ -198,7 +199,6 @@
}
?>
</h2>
<div class="linkbox">
<?
if($ViewingOwn) {
@ -232,9 +232,9 @@
<a href="userhistory.php?action=subscriptions">Go to subscriptions</a>
<?
}
?>
</div>
</div>
<?
if(empty($Results)) {
?>

View File

@ -39,6 +39,7 @@
$CollageSubs = $DB->to_array();
?>
<div class="thin">
<div class="header">
<h2>Subscribed collages<?=($ShowAll?'':' with new additions')?></h2>
<div class="linkbox">
@ -57,6 +58,7 @@
?>
[<a href="userhistory.php?action=catchup_collages&auth=<?=$LoggedUser['AuthKey']?>">Catch up</a>]&nbsp;&nbsp;&nbsp;
</div>
</div>
<?
if(!$NumResults) {
?>

View File

@ -92,6 +92,7 @@
}
?>
<div class="thin">
<div class="header">
<h2><?='Subscribed topics'.($ShowUnread?' with unread posts':'')?></h2>
<div class="linkbox">
@ -116,6 +117,7 @@
<a href="userhistory.php?action=catchup&amp;auth=<?=$LoggedUser['AuthKey']?>">Catch up</a>&nbsp;&nbsp;&nbsp;
<a href="userhistory.php?action=posts&amp;userid=<?=$LoggedUser['ID']?>">Go to post history</a>&nbsp;&nbsp;&nbsp;
</div>
</div>
<?
if(!$NumResults) {
?>

View File

@ -67,8 +67,9 @@
$Pages=get_pages($Page, $NumResults, 25);
?>
<h2>Freeleech token history for <?=format_username($UserID, true, true, true)?></h2>
<div class="header">
<h2>Freeleech token history for <?=format_username($UserID, true, true, true)?></h2>
</div>
<div class="linkbox"><?=$Pages?></div>
<table>
<tr class="colhead_dark">

View File

@ -8,11 +8,13 @@
show_header($Title." Aliases");
?>
<h2><a href="wiki.php?action=article&id=<?=$ArticleID?>"><?=$Title?></a> Aliases</h2>
<div class="linkbox">
Aliases are exact search strings or names that can be used to link to an article. [[Alias]]
</div>
<div class="thin">
<div class="header">
<h2><a href="wiki.php?action=article&id=<?=$ArticleID?>"><?=$Title?></a> Aliases</h2>
<div class="linkbox">
Aliases are exact search strings or names that can be used to link to an article. [[Alias]]
</div>
</div>
<form action="wiki.php" method="get">
<input type="hidden" name="action" id="action" value="compare" />
<input type="hidden" name="id" id="id" value="<?=$ArticleID?>" />

View File

@ -15,7 +15,9 @@
show_header('No article found');
?>
<div class="thin">
<div class="header">
<h2>No article found</h2>
</div>
<div class="box pad" style="padding:10px 10px 10px 20px;">
There is no article matching the name you requested.
<ul>
@ -36,6 +38,7 @@
show_header($Title,'wiki,bbcode');
?>
<div class="thin">
<div class="header">
<h2><?=$Title?></h2>
<div class="linkbox box">
<a href="wiki.php?action=create">[Create]</a>
@ -46,7 +49,7 @@
<? } ?>
<!--<a href="reports.php?action=submit&amp;type=wiki&amp;article=<?=$ArticleID ?>">[Report]</a>-->
</div>
<br />
</div>
<div class="sidebar">
<!--
<div class="box pad">

Some files were not shown because too many files have changed in this diff Show More