Files
rpigroupplay/pages/desktop.php
2026-01-03 11:59:31 +01:00

91 lines
3.1 KiB
PHP

<div id="proradio-secondary-header" class="proradio-secondaryhead proradio-primary" style="border-bottom: solid 3px #3849a8;">
<style>
.rpigroup-topbar {
background: #2a367b;
padding: 0 40px;
display: flex;
align-items: center;
height: 55px;
font-size: 0.8rem !important;
font-weight: 700;
font-family: 'Poppins';
letter-spacing: 0;
}
.rpigroup-topbar>a>.logo {
margin-right: 20px;
height: 40px;
display: flex;
border-right: solid 2px #3746a1;
padding-right: 20px;
}
.rpigroup-topbar>a {
text-decoration: none;
color: white;
}
.rpigroup-topbar > .nolink {
margin-right: 15px;
font-weight: 600;
}
.rpigroup-topbar>a>.link {
padding: 19px 25px 16px;
}
.rpigroup-topbar>a>.link:hover {
background: #36449c;
border-bottom: 3px solid #36449c;
}
.rpigroup-topbar>a>.active {
background: #00000044;
border-bottom: 3px solid #f7b932;
}
.rpigroup-topbar>a>.active:hover {
background: #36449c;
border-bottom: 3px solid #f7b932;
}
</style>
<div class="rpigroup-topbar">
<a href="https://www.rpigroup.it/" target="_blank">
<img src="https://www.rpigroup.it/wp-content/uploads/2025/01/RpiGroup-Play-WHITE-NEW-e1737078263620.png" alt="logoRPIGroup" class="logo">
</a>
<span class="nolink">Vai al sito di:</span>
<a href="https://www.radiocitta105.it" target="_blank"><span class="link">Radio Città 105</span></a>
<a href="https://www.radiodiffusionelibera.com" target="_blank"><span class="link">Radio DiffusioneLibera</span></a>
<a href="https://www.co-municare.it" target="_blank"><span class="link">Co-Municare.it</span></a>
<a href="https://app.rpigroup.it" target="_blank"><span class="link active">RPIGroup Play</span></a>
</div>
</div>
<div class="dbox dbox-extra">
<img src="<?=$base_path?>/img/RpiGroupPlayWHITE.png" alt="Logo" style="width: 315px;">
<p class="subtitle"><i>Un nuovo modo di ascoltare musica</i></p>
<hr>
<?php
switch ($page){
case 'play':
if (!empty($param)) {
$stationId = (int)$param;
$station = getRadioStation($stationId);
echo 'Ascolta ora <b>' . htmlspecialchars($station->name) . '</b> su RPIGroup Play!';
}else{
echo 'Ascolta ora le tue radio preferite!';
}
break;
default:
echo 'Ascolta le nostre emittenti con la nostra nuova app disegnata per smartphone (e non...)';
}
?>
<hr>
<a class="dbtn" id="openAppBtn" href="<?php echo $base_path . '/?app=true&redirect=' . urlencode($page . ($param ? '/' . $param : '')); ?>">ENTRA SU RPIGRPUP PLAY</a>
</div>
<div class="dfooter">
App powered by A.S.V. Studios APPS • Versione App: <?php echo $version_app; ?>
</div>