mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-19 04:31:36 +00:00
Empty commit
This commit is contained in:
parent
d52648548e
commit
c10811666c
@ -20,7 +20,8 @@
|
||||
$DB->query('SELECT ag.ArtistID, ag.Name
|
||||
FROM bookmarks_artists AS ba
|
||||
INNER JOIN artists_group AS ag ON ba.ArtistID = ag.ArtistID
|
||||
WHERE ba.UserID = '.$UserID);
|
||||
WHERE ba.UserID = '.$UserID.'
|
||||
ORDER BY ag.Name');
|
||||
|
||||
$ArtistList = $DB->to_array();
|
||||
|
||||
|
@ -167,19 +167,39 @@
|
||||
<div class="head"><strong>Top Contributors</strong></div>
|
||||
<table>
|
||||
<? $VoteMax = ($VoteCount < 5 ? $VoteCount : 5);
|
||||
$ViewerVote = false;
|
||||
for($i = 0; $i < $VoteMax; $i++) {
|
||||
$User = array_shift($RequestVotes['Voters']);
|
||||
$Boldify = false;
|
||||
if ($User['UserID'] == $LoggedUser['ID']) {
|
||||
$ViewerVote = true;
|
||||
$Boldify = true;
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="user.php?id=<?=$User['UserID']?>"><?=display_str($User['Username'])?></a>
|
||||
<a href="user.php?id=<?=$User['UserID']?>"><?=$Boldify?'<strong>':''?><?=display_str($User['Username'])?><?=$Boldify?'</strong>':''?></a>
|
||||
</td>
|
||||
<td>
|
||||
<?=get_size($User['Bounty'])?>
|
||||
<?=$Boldify?'<strong>':''?><?=get_size($User['Bounty'])?><?=$Boldify?'</strong>':''?>
|
||||
</td>
|
||||
</tr>
|
||||
<? }
|
||||
reset($RequestVotes['Voters']);
|
||||
if (!$ViewerVote) {
|
||||
foreach ($RequestVotes['Voters'] as $User) {
|
||||
if ($User['UserID'] == $LoggedUser['ID']) { ?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="user.php?id=<?=$User['UserID']?>"><strong><?=display_str($User['Username'])?></strong></a>
|
||||
</td>
|
||||
<td>
|
||||
<strong><?=get_size($User['Bounty'])?></strong>
|
||||
</td>
|
||||
</tr>
|
||||
<? }
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -447,28 +447,28 @@
|
||||
</div>
|
||||
<table id="request_table" cellpadding="6" cellspacing="1" border="0" class="border" width="100%">
|
||||
<tr class="colhead_dark">
|
||||
<td style="width: 38%;">
|
||||
<td style="width: 38%;" class="nobr">
|
||||
<strong>Request Name</strong> / <a href="?order=year&sort=<?=(($CurrentOrder == 'year') ? $NewSort : 'desc')?>&<?=$CurrentURL ?>"><strong>Year</strong></a>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<a href="?order=votes&sort=<?=(($CurrentOrder == 'votes') ? $NewSort : 'desc')?>&<?=$CurrentURL ?>"><strong>Votes</strong></a>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<a href="?order=bounty&sort=<?=(($CurrentOrder == 'bounty') ? $NewSort : 'desc')?>&<?=$CurrentURL ?>"><strong>Bounty</strong></a>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<a href="?order=filled&sort=<?=(($CurrentOrder == 'filled') ? $NewSort : 'desc')?>&<?=$CurrentURL ?>"><strong>Filled</strong></a>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<strong>Filled by</strong>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<strong>Requested by</strong>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<a href="?order=created&sort=<?=(($CurrentOrder == 'created') ? $NewSort : 'desc')?>&<?=$CurrentURL ?>"><strong>Created</strong></a>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<a href="?order=lastvote&sort=<?=(($CurrentOrder == 'lastvote') ? $NewSort : 'desc')?>&<?=$CurrentURL ?>"><strong>Last Vote</strong></a>
|
||||
</td>
|
||||
</tr>
|
||||
@ -530,7 +530,7 @@
|
||||
<?=$TagList?>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<form id="form_<?=$RequestID?>">
|
||||
<span id="vote_count_<?=$RequestID?>"><?=$VoteCount?></span>
|
||||
<? if(!$IsFilled && check_perms('site_vote')){ ?>
|
||||
@ -540,7 +540,7 @@
|
||||
</form>
|
||||
<? } ?>
|
||||
</td>
|
||||
<td>
|
||||
<td class="nobr">
|
||||
<?=get_size($RequestVotes['TotalBounty'])?>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<input type="hidden" name="action" value="link" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<div>
|
||||
<p>Paste a wiki link into the box bellow to link this search string or article name to the appropriate article.</p>
|
||||
<p>Paste a wiki link into the box below to link this search string or article name to the appropriate article.</p>
|
||||
<strong>Link </strong> <input type="text" name="alias" size="20" value="<?=display_str($Alias->convert($_GET['alias']))?>" />
|
||||
to <strong>URL</strong> <input type="text" name="url" size="50" maxlength="150" />
|
||||
<input type="submit" value="Submit" />
|
||||
|
Loading…
Reference in New Issue
Block a user