mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
f9da7e3cd2
commit
59df8f7927
@ -452,7 +452,7 @@ public function constant_table($Constants = false) {
|
||||
<tr>
|
||||
<td align="left" class="debug_data debug_constants_data">
|
||||
<pre>
|
||||
<?= display_str(print_r($Constants, true)); echo "\n"; ?>
|
||||
<?= display_str(print_r($Constants, true))?>
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
@ -486,7 +486,7 @@ public function cache_table($CacheKeys = false) {
|
||||
</td>
|
||||
<td align="left" class="debug_data debug_cache_data">
|
||||
<pre id="debug_cache_<?=$Key?>" class="hidden">
|
||||
<?= display_str(print_r(G::$Cache->get_value($Key, true), true)); echo "\n"; ?>
|
||||
<?= display_str(print_r(G::$Cache->get_value($Key, true), true))?>
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
@ -622,7 +622,7 @@ public function vars_table($Vars = false) {
|
||||
</td>
|
||||
<td class="debug_data debug_loggedvars_data" align="left">
|
||||
<pre id="debug_loggedvars_<?=$ID?>" class="hidden">
|
||||
<?= display_str(print_r($Data['data'], true)); echo "\n"; ?>
|
||||
<?= display_str(print_r($Data['data'], true))?>
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -5,7 +5,7 @@ class Top10View {
|
||||
public static function render_linkbox($Selected) { ?>
|
||||
<div class="linkbox">
|
||||
<a href="top10.php?type=torrents" class="brackets"><?=self::get_selected_link("Torrents", $Selected == "torrents")?></a>
|
||||
<a href="top10.php?type=artists" class="brackets"><?=self::get_selected_link("Artists", $Selected == "artists")?></a>
|
||||
<a href="top10.php?type=lastfm" class="brackets"><?=self::get_selected_link("Last.fm", $Selected == "lastfm")?></a>
|
||||
<a href="top10.php?type=users" class="brackets"><?=self::get_selected_link("Users", $Selected == "users")?></a>
|
||||
<a href="top10.php?type=tags" class="brackets"><?=self::get_selected_link("Tags", $Selected == "tags")?></a>
|
||||
<a href="top10.php?type=votes" class="brackets"><?=self::get_selected_link("Favorites", $Selected == "votes")?></a>
|
||||
@ -15,16 +15,16 @@ public static function render_linkbox($Selected) { ?>
|
||||
|
||||
public static function render_artist_links($Selected, $View) { ?>
|
||||
<div class="center">
|
||||
<a href="top10.php?type=artists&category=weekly&view=<?=$View?>" class="brackets"><?=self::get_selected_link("Weekly", $Selected == "weekly")?></a>
|
||||
<a href="top10.php?type=artists&category=hyped&view=<?=$View?>" class="brackets"><?=self::get_selected_link("Hyped", $Selected == "hyped")?></a>
|
||||
<a href="top10.php?type=lastfm&category=weekly&view=<?=$View?>" class="brackets tooltip" title="These are the artists with the most Last.fm listeners this week"><?=self::get_selected_link("Weekly Artists", $Selected == "weekly")?></a>
|
||||
<a href="top10.php?type=lastfm&category=hyped&view=<?=$View?>" class="brackets tooltip" title="These are the the fastest rising artists on Last.fm this week"><?=self::get_selected_link("Hyped Artists", $Selected == "hyped")?></a>
|
||||
|
||||
</div>
|
||||
<? }
|
||||
|
||||
public static function render_artist_controls($Selected, $View) { ?>
|
||||
<div class="center">
|
||||
<a href="top10.php?type=artists&category=<?=$Selected?>&view=tiles" class="brackets"><?=self::get_selected_link("Tiles", $View == "tiles")?></a>
|
||||
<a href="top10.php?type=artists&category=<?=$Selected?>&view=list" class="brackets"><?=self::get_selected_link("List", $View == "list")?></a>
|
||||
<a href="top10.php?type=lastfm&category=<?=$Selected?>&view=tiles" class="brackets"><?=self::get_selected_link("Tiles", $View == "tiles")?></a>
|
||||
<a href="top10.php?type=lastfm&category=<?=$Selected?>&view=list" class="brackets"><?=self::get_selected_link("List", $View == "list")?></a>
|
||||
</div>
|
||||
<? }
|
||||
|
||||
|
@ -15,10 +15,10 @@ public static function vote_link($GroupID, $Vote = '') {
|
||||
if (!G::$LoggedUser['NoVoteLinks'] && check_perms('site_album_votes')) { ?>
|
||||
<span class="votespan brackets" style="white-space: nowrap;">
|
||||
Vote:
|
||||
<a href="#" onclick="UpVoteGroup(<?=$GroupID?>, '<?=G::$LoggedUser['AuthKey']?>'); return false;" class="tooltip small_upvote vote_link_<?=$GroupID?><?=(!empty($Vote) ? ' hidden' : '')?>" style="color: green; font-weight: bolder;" title="Upvote">∧</a>
|
||||
<span class="tooltip voted_type small_upvoted voted_up_<?=$GroupID?><?=(($Vote == 'Down' || empty($Vote)) ? ' hidden' : '')?>" style="color: green; font-weight: bolder;" title="Upvoted">∧</span>
|
||||
<a href="#" onclick="DownVoteGroup(<?=$GroupID?>, '<?=G::$LoggedUser['AuthKey']?>'); return false;" class="tooltip small_downvote vote_link_<?=$GroupID?><?=(!empty($Vote) ? ' hidden' : '')?>" style="color: red; font-weight: bolder;" title="Downvote">∨</a>
|
||||
<span class="tooltip voted_type small_downvoted voted_down_<?=$GroupID?><?=(($Vote == 'Up' || empty($Vote)) ? ' hidden' : '')?>" style="color: red; font-weight: bolder;" title="Downvoted">∨</span>
|
||||
<a href="#" onclick="UpVoteGroup(<?=$GroupID?>, '<?=G::$LoggedUser['AuthKey']?>'); return false;" class="tooltip small_upvote vote_link_<?=$GroupID?><?=(!empty($Vote) ? ' hidden' : '')?>" style="font-weight: bolder;" title="Upvote">∧</a>
|
||||
<span class="tooltip voted_type small_upvoted voted_up_<?=$GroupID?><?=(($Vote == 'Down' || empty($Vote)) ? ' hidden' : '')?>" style="font-weight: bolder;" title="Upvoted">∧</span>
|
||||
<a href="#" onclick="DownVoteGroup(<?=$GroupID?>, '<?=G::$LoggedUser['AuthKey']?>'); return false;" class="tooltip small_downvote vote_link_<?=$GroupID?><?=(!empty($Vote) ? ' hidden' : '')?>" style="font-weight: bolder;" title="Downvote">∨</a>
|
||||
<span class="tooltip voted_type small_downvoted voted_down_<?=$GroupID?><?=(($Vote == 'Up' || empty($Vote)) ? ' hidden' : '')?>" style="font-weight: bolder;" title="Downvoted">∨</span>
|
||||
<a href="#" onclick="UnvoteGroup(<?=$GroupID?>, '<?=G::$LoggedUser['AuthKey']?>'); return false;" class="tooltip small_clearvote vote_clear_<?=$GroupID?><?=(empty($Vote) ? ' hidden' : '')?>" title="Clear your vote">x</a>
|
||||
</span>
|
||||
<? }
|
||||
|
@ -24,11 +24,11 @@
|
||||
?>
|
||||
<div class="header">
|
||||
<h2>Reports v2 Information!</h2>
|
||||
<? include('header.php'); ?>
|
||||
<? 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 class="layout"><tr><td style="width: 50%;">
|
||||
<div class="box pad thin reportsv2_views_container">
|
||||
<table class="noborder"><tr><td class="noborder" style="width: 50%;">
|
||||
<?
|
||||
$DB->query("
|
||||
SELECT
|
||||
@ -42,8 +42,8 @@
|
||||
ORDER BY Reports DESC");
|
||||
$Results = $DB->to_array();
|
||||
?>
|
||||
<strong>Reports resolved in the last 24 hours</strong>
|
||||
<table class="border">
|
||||
<h3>Reports resolved in the last 24 hours</h3>
|
||||
<table class="border reportsv2_views_table">
|
||||
<tr>
|
||||
<td class="head colhead_dark">Username</td>
|
||||
<td class="head colhead_dark">Reports</td>
|
||||
@ -71,8 +71,8 @@
|
||||
ORDER BY Reports DESC");
|
||||
$Results = $DB->to_array();
|
||||
?>
|
||||
<strong>Reports resolved in the last week</strong>
|
||||
<table class="border">
|
||||
<h3>Reports resolved in the last week</h3>
|
||||
<table class="border reportsv2_views_table">
|
||||
<tr>
|
||||
<td class="head colhead_dark">Username</td>
|
||||
<td class="head colhead_dark">Reports</td>
|
||||
@ -100,8 +100,8 @@
|
||||
ORDER BY Reports DESC");
|
||||
$Results = $DB->to_array();
|
||||
?>
|
||||
<strong>Reports resolved in the last month</strong>
|
||||
<table class="border">
|
||||
<h3>Reports resolved in the last month</h3>
|
||||
<table class="border reportsv2_views_table">
|
||||
<tr>
|
||||
<td class="head colhead_dark">Username</td>
|
||||
<td class="head colhead_dark">Reports</td>
|
||||
@ -128,8 +128,8 @@
|
||||
ORDER BY Reports DESC");
|
||||
$Results = $DB->to_array();
|
||||
?>
|
||||
<strong>Reports resolved since Reports v2 (2009-07-27)</strong>
|
||||
<table class="border">
|
||||
<h3>Reports resolved since Reports v2 (2009-07-27)</h3>
|
||||
<table class="border reportsv2_views_table">
|
||||
<tr>
|
||||
<td class="head colhead_dark">Username</td>
|
||||
<td class="head colhead_dark">Reports</td>
|
||||
@ -208,7 +208,7 @@
|
||||
<br /><br />
|
||||
<strong>For browsing anything more complicated than these, use the search feature.</strong>
|
||||
</td>
|
||||
<td style="vertical-align: top;">
|
||||
<td class="noborder" style="vertical-align: top;">
|
||||
<?
|
||||
$DB->query("
|
||||
SELECT
|
||||
@ -222,10 +222,10 @@
|
||||
|
||||
$Staff = $DB->to_array();
|
||||
?>
|
||||
<strong>Currently assigned reports by staff member</strong>
|
||||
<table>
|
||||
<h3>Currently assigned reports by staff member</h3>
|
||||
<table class="border reportsv2_views_table">
|
||||
<tr class="colhead">
|
||||
<td>Staff member</td>
|
||||
<td>Staff Member</td>
|
||||
<td>Current Count</td>
|
||||
</tr>
|
||||
<?
|
||||
@ -252,7 +252,7 @@
|
||||
$Current = $DB->to_array();
|
||||
if (!empty($Current)) {
|
||||
?>
|
||||
<table>
|
||||
<table class="border reportsv2_views_table">
|
||||
<tr class="colhead">
|
||||
<td>Type</td>
|
||||
<td>Current Count</td>
|
||||
|
@ -32,8 +32,8 @@
|
||||
case 'donors':
|
||||
include(SERVER_ROOT.'/sections/top10/donors.php');
|
||||
break;
|
||||
case 'artists':
|
||||
include(SERVER_ROOT.'/sections/top10/artists.php');
|
||||
case 'lastfm':
|
||||
include(SERVER_ROOT.'/sections/top10/lastfm.php');
|
||||
break;
|
||||
default:
|
||||
error(404);
|
||||
|
@ -23,12 +23,12 @@
|
||||
break;
|
||||
}
|
||||
|
||||
View::show_header("Top Artists", "jquery.imagesloaded,jquery.wookmark,top10", "tiles");
|
||||
View::show_header("Last.fm", "jquery.imagesloaded,jquery.wookmark,top10", "tiles");
|
||||
?>
|
||||
<div class="thin">
|
||||
<div class="header">
|
||||
<h2>Top <?=LIMIT?> Artists</h2>
|
||||
<? Top10View::render_linkbox("artists"); ?>
|
||||
<h2>Last.fm</h2>
|
||||
<? Top10View::render_linkbox("lastfm"); ?>
|
||||
</div>
|
||||
<? Top10View::render_artist_links($Category, $View); ?>
|
||||
<? Top10View::render_artist_controls($Category, $View); ?>
|
@ -851,14 +851,18 @@ div[class~=tooltipster-content] > a {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.vote_tag_up, .vote_artist_up, .vote_album_up {
|
||||
.vote_tag_up, .vote_artist_up, .vote_album_up, .small_upvote, .small_upvoted {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down {
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down, .small_downvote, .small_downvoted {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.colhead_dark .time {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.reportsv2_views_container {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -619,3 +619,13 @@ tr.torrent .bookmark>a:after {
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.reportsv2_views_table {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.reportsv2_views_container {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 10px 20px 20px 20px;
|
||||
}
|
||||
|
@ -931,10 +931,14 @@ tr.torrent .bookmark > a:after { color:#999; }
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.vote_tag_up, .vote_artist_up, .vote_album_up {
|
||||
.vote_tag_up, .vote_artist_up, .vote_album_up, .small_upvote, .small_upvoted {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down {
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down, .small_downvote, .small_downvoted {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.reportsv2_views_container {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -808,10 +808,14 @@ div[class~=tooltipster-content] > a {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.vote_tag_up, .vote_artist_up, .vote_album_up {
|
||||
.vote_tag_up, .vote_artist_up, .vote_album_up, .small_upvote, .small_upvoted {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down {
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down, .small_downvote, .small_downvoted {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.reportsv2_views_container {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -580,3 +580,7 @@ tr.torrent .bookmark > a:after { content: ""; }
|
||||
.permission_container:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.reportsv2_views_container {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -1504,3 +1504,7 @@ ul.collage_images {
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #F1F1F1;
|
||||
}
|
||||
|
||||
.reportsv2_views_container {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -1105,10 +1105,18 @@ div[class~=tooltipster-content] > a {
|
||||
margin: 3px 0;
|
||||
}
|
||||
|
||||
.vote_tag_up, .vote_artist_up, .vote_album_up {
|
||||
.vote_tag_up, .vote_artist_up, .vote_album_up, .small_upvote, .small_upvoted {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down {
|
||||
.vote_tag_down, .vote_artist_down, .vote_album_down, .small_downvote, .small_downvoted {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.reportsv2_views_table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.reportsv2_views_container {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
html, body {
|
||||
height:100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
@ -19,7 +19,7 @@ table {
|
||||
}
|
||||
|
||||
a {
|
||||
color:#757575;
|
||||
color: #757575;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@ -28,11 +28,10 @@ a:hover {
|
||||
}
|
||||
|
||||
input[type="text"], input[type="password"] {
|
||||
padding:1px 3px 0px 3px;
|
||||
padding: 1px 3px 0px 3px;
|
||||
font-family: "tahoma", "arial", "helvetica", "sans-serif";
|
||||
font-size: 8pt;
|
||||
color: #000000;
|
||||
width:200px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
input[type="text"]:valid, input[type="password"]:valid {
|
||||
@ -70,8 +69,8 @@ input[type="text"]:invalid, input[type="password"]:invalid {
|
||||
}
|
||||
|
||||
#maincontent {
|
||||
width:100%;
|
||||
height:88%;
|
||||
width: 100%;
|
||||
height: 88%;
|
||||
}
|
||||
|
||||
#logo {
|
||||
|
@ -825,3 +825,7 @@ div[class~=tooltipster-base] {
|
||||
.permission_container:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.reportsv2_views_container {
|
||||
width: 90%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user