mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Empty commit
This commit is contained in:
parent
a8f3922ffb
commit
fbb35377a2
@ -43,14 +43,16 @@ private static function get_selected_link($String, $Selected) {
|
||||
}
|
||||
|
||||
public static function render_artist_tile($Artist, $Category) {
|
||||
switch ($Category) {
|
||||
if (self::is_valid_artist($Artist)) {
|
||||
switch ($Category) {
|
||||
|
||||
case 'weekly':
|
||||
case 'hyped':
|
||||
self::render_tile("artist.php?artistname=", $Artist['name'], $Artist['image'][3]['#text']);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
case 'weekly':
|
||||
case 'hyped':
|
||||
self::render_tile("artist.php?artistname=", $Artist['name'], $Artist['image'][3]['#text']);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,14 +71,16 @@ private static function render_tile($Url, $Name, $Image) {
|
||||
|
||||
|
||||
public static function render_artist_list($Artist, $Category) {
|
||||
switch ($Category) {
|
||||
|
||||
case 'weekly':
|
||||
case 'hyped':
|
||||
self::render_list("artist.php?artistname=", $Artist['name'], $Artist['image'][3]['#text']);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
if (self::is_valid_artist($Artist)) {
|
||||
switch ($Category) {
|
||||
|
||||
case 'weekly':
|
||||
case 'hyped':
|
||||
self::render_list("artist.php?artistname=", $Artist['name'], $Artist['image'][3]['#text']);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -94,4 +98,8 @@ private static function render_list($Url, $Name, $Image) {
|
||||
}
|
||||
}
|
||||
|
||||
private static function is_valid_artist($Artist) {
|
||||
return $Artist['name'] != '[unknown]';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -59,9 +59,10 @@
|
||||
if ($Attempts > 0) {
|
||||
?>
|
||||
<br /><br />
|
||||
Lost your password? <a href="login.php?act=recover">Recover it here!</a>
|
||||
Lost your password? <a href="login.php?act=recover" title="Recover your password">Recover it here!</a>
|
||||
<?
|
||||
} ?>
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript" src="static/functions/detect_mobile.js"></script>
|
||||
<script type="text/javascript">
|
||||
cookie.set('cookie_test', 1, 1);
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
G::$DB->query("SELECT UserID, Answer, Date FROM staff_answers WHERE QuestionID = '$ID' $UserIDSQL ORDER BY DATE DESC");
|
||||
|
||||
$Answers = G::$DB->to_array(MYSQLI_ASSOC);
|
||||
$Answers = G::$DB->to_array(false, MYSQLI_ASSOC);
|
||||
foreach($Answers as $Answer) { ?>
|
||||
<div class="box box2">
|
||||
<div class="head">
|
||||
|
Loading…
Reference in New Issue
Block a user