Hello,
Does anyone know how to make top requested as an independent page. I'm using samphp though I have many frustrations to use it.
I want to remove left menu, top requested and put them as independent pages.
It's better weekly top requested, monthly and all time.
https://www.freebirdradio.net
Top requested
- hiro
- *
- Berichten: 12
- Lid geworden op: 24 jun 2023, 19:59
- SAM-versie: Geen.
- Database: MySQL
- Windows: 10
Re: Top requested
Top requested section of header is like this
I want this section to put as independent page not header.
Code: Selecteer alles
<!-- BEGIN:TOP_REQUESTS -->
<?php if (ALLOW_REQUESTS && SHOW_TOP_REQUESTS && is_array($topRequestedSongs) && count($topRequestedSongs) > 0): ?>
<div id="top_requests">
<dl>
<dt>Top Requested</dt>
<?php
$counter = 1;
foreach ($topRequestedSongs as $topRequestedSong): ?>
<dd>
<a href="javascript:songinfo(<?php echo $topRequestedSong->ID; ?>)" title="<?php echo $topRequestedSong->artist_title; ?>">
<?php echo $counter++;?>. <?php echo $topRequestedSong->title; ?>
<?php if(!empty($topRequestedSong->artist)) : ?><br /> by <?php echo $topRequestedSong->artist; ?><?php endif; ?>
(<?php echo $topRequestedSong->cnt; ?>)
</a>
</dd>
<?php endforeach; ?>
</dl>
</div>
<?php endif; ?>
<!-- END:TOP_REQUESTS -->
- hiro
- *
- Berichten: 12
- Lid geworden op: 24 jun 2023, 19:59
- SAM-versie: Geen.
- Database: MySQL
- Windows: 10
Re: Top requested
resolved, thank you
-
- Vergelijkbare Onderwerpen
- Reacties
- Weergaves
- Laatste bericht