Add mix lookup, genre support, DJ enhancements.

This commit is contained in:
Cody Cook 2024-04-30 01:07:22 -07:00
commit db1d26e122
11 changed files with 741 additions and 181 deletions

19
dj.php
View file

@ -30,7 +30,7 @@ if (isset($_GET['dj']) && $_GET['dj'] != "") {
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $config['app']['name']; ?></title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="fontawesome/css/all.css" rel="stylesheet" />
<link href="fontawesome/css/all.css" rel="stylesheet"/>
</head>
@ -42,11 +42,11 @@ if (isset($_GET['dj']) && $_GET['dj'] != "") {
<div class="col">
<nav aria-label="breadcrumb" class="bg-body-tertiary rounded-3 p-3 mb-4">
<ol class="breadcrumb mb-0">
<li class="breadcrumb-item"><a href="#"><?php echo $locale['home']; ?></a></li>
<li class="breadcrumb-item"><a href="#"><?php echo $locale['djs']; ?></a></li>
<li class="breadcrumb-item"><a href="/"><?php echo $locale['home']; ?></a></li>
<li class="breadcrumb-item"><a href="/djs.php"><?php echo $locale['djs']; ?></a></li>
<li class="breadcrumb-item active"
aria-current="page"><?php
if ($dj && $dj->get_name() != ""){
if ($dj && $dj->get_name() != "") {
echo $dj->get_name();
} else {
@ -67,16 +67,16 @@ if (isset($_GET['dj']) && $_GET['dj'] != "") {
alt="avatar"
class="rounded-circle img-fluid" style="width: 150px;">
<h5 class="my-3"><?php echo $dj->get_name();
?></h5>
?></h5>
<?php
if ($dj->get_claimed()) {
echo '<p class="text-muted mb-1">';
if ($dj->get_claimed()) {
echo '<p class="text-muted mb-1">';
echo "<i class='fa fa-user-shield' style='color: gold'>Claimed</i>";
echo "</p>";
}
}
?>
?>
</p>
<p class="text-muted mb-4">$location1</p>
<div class="d-flex justify-content-center mb-2">
@ -151,6 +151,7 @@ if (isset($_GET['dj']) && $_GET['dj'] != "") {
</p>
</li>";
}
$socials = $dj->get_socials();
foreach ($socials as $key => $value) {