lili records radio v.1.089
This commit is contained in:
parent
c4f851dc58
commit
6559e1578e
69
index.php
69
index.php
@ -160,7 +160,7 @@ try {
|
||||
box-shadow: 0 20px 50px rgba(0,0,0,0.4);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: 800px;
|
||||
max-height: 950px;
|
||||
}
|
||||
|
||||
.comments-header {
|
||||
@ -405,43 +405,48 @@ try {
|
||||
}
|
||||
|
||||
.qr-mini-box {
|
||||
background: rgba(255,255,255,0.1);
|
||||
padding: 5px;
|
||||
border-radius: 8px;
|
||||
background: rgba(255,255,255,0.08);
|
||||
padding: 6px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--glass-border);
|
||||
transition: all 0.3s ease;
|
||||
width: 70px;
|
||||
}
|
||||
.qr-mini-box:hover {
|
||||
background: rgba(255,255,255,0.2);
|
||||
background: rgba(255,255,255,0.15);
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
.qr-image-mini {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 4px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 6px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.qr-text-mini {
|
||||
font-size: 0.55rem;
|
||||
margin: 2px 0 0;
|
||||
opacity: 0.8;
|
||||
font-size: 0.6rem;
|
||||
margin: 4px 0 0;
|
||||
opacity: 0.9;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.admin-stats-box {
|
||||
background: rgba(255,255,255,0.05);
|
||||
background: rgba(255,255,255,0.03);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 12px;
|
||||
padding: 0.75rem;
|
||||
border-radius: 16px;
|
||||
padding: 10px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 1rem;
|
||||
box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
|
||||
}
|
||||
.admin-iframe {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
height: 300px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
border-radius: 10px;
|
||||
background: #000;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.whatsapp-btn {
|
||||
@ -586,15 +591,20 @@ try {
|
||||
<?php if ($isAdmin): ?>
|
||||
<div class="comments-header d-flex justify-content-between align-items-center">
|
||||
<div>
|
||||
<h5 class="mb-0"><i class="fas fa-comments me-2"></i>Mensajes de la Audiencia</h5>
|
||||
<h5 class="mb-0"><i class="fas fa-tachometer-alt me-2 text-primary"></i>Panel de Administración</h5>
|
||||
<span class="badge bg-danger rounded-pill"><?= count($requests) ?> mensajes</span>
|
||||
</div>
|
||||
<div class="qr-mini-box text-center">
|
||||
<div class="qr-mini-box text-center" title="Apoya a la Radio">
|
||||
<img src="<?= $qrImage ?>" alt="QR Pago" class="qr-image-mini">
|
||||
<p class="qr-text-mini">Apoya</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-stats-box">
|
||||
<h6 class="small mb-2 opacity-75"><i class="fas fa-globe-americas me-1"></i> Oyentes y Países en Tiempo Real</h6>
|
||||
<iframe src="https://lili-records-radio-7109.dev.flatlogic.app/" class="admin-iframe"></iframe>
|
||||
</div>
|
||||
|
||||
<div class="comments-list" id="commentsList">
|
||||
<?php if (empty($requests)): ?>
|
||||
<div class="text-center py-5 opacity-50">
|
||||
@ -625,19 +635,24 @@ try {
|
||||
<h5 class="mb-0"><i class="fas fa-paper-plane me-2"></i>¡Envíanos tu mensaje!</h5>
|
||||
<p class="small opacity-50 mb-0">Tus peticiones y saludos llegan directo a cabina.</p>
|
||||
</div>
|
||||
<div class="qr-mini-box text-center">
|
||||
<div class="qr-mini-box text-center" title="Apoya a la Radio">
|
||||
<img src="<?= $qrImage ?>" alt="QR Pago" class="qr-image-mini">
|
||||
<p class="qr-text-mini">Apoya</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3"></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isAdmin): ?>
|
||||
<div class="admin-stats-box mb-3">
|
||||
<h6 class="small mb-2 opacity-75"><i class="fas fa-globe me-1"></i> Mapa y Conexiones en Vivo (Admin)</h6>
|
||||
<iframe src="https://lili-records-radio-7109.dev.flatlogic.app/" class="admin-iframe"></iframe>
|
||||
</div>
|
||||
|
||||
<div class="comments-list" style="max-height: 200px;">
|
||||
<!-- Listeners don't see the full list, or maybe they do?
|
||||
Previous design showed it. Keeping it but limited for non-admins if preferred.
|
||||
-->
|
||||
<?php foreach (array_slice($requests, 0, 5) as $req): ?>
|
||||
<div class="comment-item py-2 px-3 mb-2" style="opacity: 0.7;">
|
||||
<span class="comment-user" style="font-size: 0.8rem;"><?= htmlspecialchars($req['name']) ?></span>
|
||||
<p class="comment-text mb-0" style="font-size: 0.85rem;"><?= htmlspecialchars($req['message']) ?></p>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<form action="submit_request.php" method="POST" class="request-form">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user