Domanda Vorrei mettere l'elenco canzoni nel mio retro

Guidozzolo2000

Nuovo utente
Autore del topic
3 Maggio 2013
49
0
Miglior risposta
0
Salve a tutti Sciaxini oggi vorrei chiedervi come inserire un'elenco di canzoni nella me.php del mio retro . Specifico l'utente deve vedere un'elenco di canzoni ne sceglie una e la sente . Uso Season cms v2 con Season dcr .
credo che ci voglia un codice e la cartella per inserire le canzoni. Ripete l'untente deve vedere in una specie di box un'elenco di canzone ne deve scegliere una e cliccare play per sentirla (l'ho visto in un retro che poi a chiuso).



Grazie in anticipo ciaoo. :gururun:
 
Riferimento: Verrei mettere elenco canzoni nel mio retro

Se mi posti la me.php di dnt te lo trovo io,e ti scovo i dati che devi trovare e le cartelle
 
Riferimento: Verrei mettere elenco canzoni nel mio retro

Se mi posti la me.php di dnt te lo trovo io,e ti scovo i dati che devi trovare e le cartelle

Grazie per il commento allora io ho season cms v2 e vorrei inserire l'elenco tipo dnt cmq il mio me.php è :

<?php

/*=====================================================================+
|| # HaddoCMS based HoloCMS - Website and Content Management System
|+=====================================================================+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| #
Perfavore, Entra oppure Registrati per vedere i Link!

|+===================================================+
|| # HoloCMS is provided "as is" and comes without
|| # warrenty of any kind. HoloCMS is free software!
|+=====================================================================+
|| # HaddoCMS v2.0 by Raikas77
|| # www.sciax2.it/forum/development/haddocms-v2-build-2100-a-535753.html
|+=====================================================================*/

include('core.php');
include('includes/session.php');
include('includes/news_headlines.php');

if($_GET['do'] == "RemoveFeedItem" && is_numeric($_GET['key'])){
mysql_query("DELETE FROM cms_alerts WHERE userid = '".$my_id."' AND id = '".FilterText($_GET['key'])."' ORDER BY id ASC LIMIT 1") or die(mysql_error());
}

$pagename = $name;
$pageid = "1";

// Header for minimail
$messages = mysql_query("SELECT COUNT(*) FROM cms_minimail WHERE to_id = '".$my_id."'") or $messages = 0;
header("X-JSON: {\"totalMessages\":".$messages."}");

include('templates/community/subheader.php');
include('templates/community/header.php');



?>




<link rel="stylesheet" href="./web-gallery/static/styles/lightweightmepage.css" type="text/css" />
<script src="./web-gallery/static/js/lightweightmepage.js" type="text/javascript"></script>

<div id="container">
<div id="content" style="position: relative" class="clearfix">

<?PHP
$rand =rand(0,100);
if($rand < 85){
//PUBLI EDU
?>


<?PHP
} else {
//PUBLI HECTOR
?>


<?PHP
}
?>





<style>
.credits_small {
background-color: #98721A;
background-image: url("web-gallery/v2/images/credit.gif");
background-position: 2px 50%;
background-repeat: no-repeat;
border: 2px solid #D19E25;
border-radius: 5px 5px 5px 5px;
color: white;
font-size: 12px;
font-weight: bold;
text-shadow: #000 1px 1px 0px;color:#fff;font-weight:bold;
margin: 3px;
padding: 3px;
text-align: center;
width: 25%;
float: left;
}
.pixels_small {
background-color: #537384;
background-image: url("web-gallery/v2/images/pixel.gif");
background-position: 2px 50%;
background-repeat: no-repeat;
border: 2px solid #719DBA;
border-radius: 5px 5px 5px 5px;
color: white;
font-size: 12px;
font-weight: bold;
text-shadow: #000 1px 1px 0px;color:#fff;font-weight:bold;
margin: 3px;
padding: 3px;
text-align: center;
width: 26%;
float: left;
}
.mon_small {
background-color: #50C878;
background-image: url("web-gallery/v2/images/monete.png");
background-position: 2px 50%;
background-repeat: no-repeat;
border: 2px solid #090;
border-radius: 5px 5px 5px 5px;
color: white;
font-size: 12px;
font-weight: bold;
text-shadow: #000 1px 1px 0px;color:#fff;font-weight:bold;
margin: 3px;
padding: 3px;
text-align: center;
width: 26%;
float: left;
}
</style>



<div id="wide-personal-info">
<div id="habbo-plate">
<a href="<?php echo $path; ?>account.php">
<img alt="<?php echo $name; ?>" src="http://www.habbo.it/habbo-imaging/avatarimage?figure=<?php echo $myrow['look']; ?>&direction=3&head_direction=3&gesture=sml&action=&size=l" width="64" height="110"/>
</a>
</div>

<div id="name-box" class="info-box">
<div class="label">Nome Utente:</div>
<div class="content"><?php echo $name; ?></div>
</div>
<div id="motto-box" class="info-box">
<div class="label">Missione:</div>
<div class="content"><?php echo $myrow['motto']; ?></div>
</div>
<div id="last-logged-in-box" class="info-box">
<div class="label">Ultimo Accesso:</div>
<div class="content"><?php echo date('d-m-Y H:i:s', $myrow['last_online']); echo""; ?> </div>
</div>

<div class="enter-hotel-btn">
<div class="open enter-btn">
<a href="/client.php" class="new-button green-button" target="client" onclick="HabboClient.openOrFocus(this); return false;">!!Entra in Local Hotel!!<i></i></a>
<b></b>
</div>
</div>

</div>

<div class="block">

<div class="credits_small"><?php echo $myrow['credits'];?> Crediti</a></div>

<div class="pixels_small"><?php echo $myrow['activity_points'];?> Pixel</a></div>

<div class="mon_small"><?php echo $myrow['vip_points'];?> Points</a></div>
</div>


<?php

require_once('./nuovanews.php');

?>




<div id="column1" class="column">

<div class="habblet-container ">
<div class="cbb clearfix red ">

<h2 class="title">Notizie dello staff
</h2><?php
$getAlert = mysql_query("select * from cms_alert");
while($alert = mysql_fetch_assoc($getAlert)) {
?>
<li id="feed-item-campaign" class="contributed">

<div class="hotcampaign-container">
<hr>
<br>
<center><p><b><?php echo $alert['title']; ?></b></p>
<p><?php echo $alert['desc']; ?></p></center>

</div>

<?php } ?>

</div>



</div>

<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>




<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title">I miei personaggi | <a href="/identity/add_avatar.php">Aggiungi altri</a></h2>
<div id="hotcampaigns-habblet-list-container">
<ul id="hotcampaigns-habblet-list">
<?php
$myrowq = mysql_query("SELECT * FROM users WHERE mail = '".$myrow['mail']."' ORDER BY lastvisit DESC LIMIT 100");
$result = mysql_query("SELECT id,username,last_online,look,password FROM users WHERE mail = '".$myrow['mail']."' ORDER BY id DESC");
while($myrow = mysql_fetch_array($myrowq))
{
$i++;
if(IsEven($i)) {
$oddeven = "even";
} else {
$oddeven = "odd";
}
echo "
<li class=".$oddeven.">

<div class=\"hotcampaign-container\">

<img src=\"http://www.habbo.it/habbo-imaging/avatarimage?figure=".$myrow['look']."&size=s\" figure=\"".$myrow['look']."\" alt=\"".$myrow['username']."\" class=\"avatar\" /><font size=\"2\"><span style=\"font-weight: bold;\">".$myrow['username']."</span></font><br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;Ultimo accesso: ".$myrow['lastvisit']."<br>
<CENTER>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; <a href=\"habblet/check_avatar.php?name=".$myrow['username']."\"><b>Gioca</b></a><br></CENTER>
</div>
</li>";
}
?>
</ul>
</div>


</div>

</div>

<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>


<?php /* Noob Gift ?>
<?php
$sql = mysql_query("SELECT noob,gift,roomid,sort FROM users WHERE id='".$my_id."' LIMIT 1");
$row = mysql_query($sql);
if($row['noob'] == 0 && $row['gift'] == 0 && $row['roomid'] == 0) { ?>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

<div class="habblet-container " id="roomselection">
<div class="cbb clearfix rooms ">

<h2 class="title">Select your room!
<span class="habblet-close" id="habblet-close-roomselection"></span></h2>
<div id="roomselection-plp-intro" class="box-content">
Hey! You haven't chosen your pre-decorated room, which comes with free furniture! Choose one below:
</div>

<ul id="roomselection-plp" class="clearfix">
<li class="top">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=0" target="client" onclick="return RoomSelectionHabblet.create(this, 0);"><b>Select</b><i></i></a>
</li>
<li class="top">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=1" target="client" onclick="return RoomSelectionHabblet.create(this, 1);"><b>Select</b><i></i></a>
</li>
<li class="top">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=2" target="client" onclick="return RoomSelectionHabblet.create(this, 2);"><b>Select</b><i></i></a>
</li>
<li class="bottom">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=3" target="client" onclick="return RoomSelectionHabblet.create(this, 3);"><b>Select</b><i></i></a>
</li>
<li class="bottom">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=4" target="client" onclick="return RoomSelectionHabblet.create(this, 4);"><b>Select</b><i></i></a>
</li>
<li class="bottom">
<a class="roomselection-select new-button green-button" href="client.php?createRoom=5" target="client" onclick="return RoomSelectionHabblet.create(this, 5);"><b>Select</b><i></i></a>
</li>
</ul>

<script type="text/javascript">
L10N.put("roomselection.hide.title", "Hide room selection");
L10N.put("roomselection.old_user.done", "And you\'re done! The hotel will now open in a new window and you\'ll be redirected to your room in no time!");
HabboView.add(RoomSelectionHabblet.initClosableHabblet);
</script>



</div>
</div>
<?php }elseif($row['noob'] == 1 && $row['roomid'] != 0) { ?>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

<div class="habblet-container " id="giftqueue">
<div class="cbb clearfix rooms ">

<h2 class="title">Your next gift!
<span class="habblet-close" id="habblet-close-giftqueue"></span></h2>
<div class="box-content" id="gift-container">
<?php if($row['gift'] < 2) { ?>

<div class="gift-img"><?php if($row['gift'] == 0) { ?><img src="http://images.habbohotel.com/habboweb/<?php echo $habboversion; ?>/web-gallery/v2/images/welcome/newbie_furni/noob_stool_<?php echo $row['sort']; ?>.png" alt="My first Obbah stool" /><?php }elseif($row['gift'] == 1) { ?><img src="http://images.habbohotel.com/habboweb/23_deebb3529e0d9d4e847a31e5f6fb4c5b/9/web-gallery/v2/images/welcome/newbie_furni/noob_plant.png"><?php } ?></div>
<div class="gift-content-container">

<p class="gift-content">
Your next piece of free furniture will be <strong><?php if($row['gift'] == 0) { echo "My first stool"; }elseif($row['gift'] == 1) { echo "plant"; } ?></strong>
</p>

<p>
<b>Time left:</b> <span id="gift-countdown"></span>
</p>

<p class="last">
<a class="new-button green-button" href="client.php?forwardId=2&roomId=<?php echo $row['roomid']; ?>" target="client" onclick="HabboClient.roomForward(this, '<?php echo $row['roomid']; ?>', 'private'); return false;"><b>Go to your room &gt;&gt;</b><i></i></a>
</p>
<br style="clear: both" />
</div>

<?php
// calculate time

$time = time();
$day = date("j");
$month = date("n");
$year = date("y");
$date = mktime(0,0,0, $month, $day, $year);
$timeleft = $date-$time; ?>

<script type="text/javascript">
L10N.put("time.hours", "{0}h");
L10N.put("time.minutes", "{0}min");
L10N.put("time.seconds", "{0}s");
GiftQueueHabblet.init(<?php echo $timeleft; ?>);
</script>
<?php }else{ ?>
<p>
How do you get more furniture into Your room?
</p>

<p>
You could buy a set of furniture for just 3 credits including a lamp, mat, and two armchairs. How do you do that?
</p>

<ul><li>1. Buy some credits from the <a href="/credits">credits</a> section</li><li>2. Open the catalogue from the Hotel toolbar (Chair icon)</li><li>3. Open the deals section</li><li>4. Pick up the furni set You want</li><li>5. Thank You for shopping!</li></ul>

<p class="aftergift-img">
<img src="http://images.habbohotel.com/habboweb/23_deebb3529e0d9d4e847a31e5f6fb4c5b/9/web-gallery/v2/images/giftqueue/aftergifts.png" alt="" width="381" height="63"/>
</p>

<p class="last">
<a class="new-button green-button" href="client.php?forwardId=2&roomId=<?php echo $row['roomid']; ?>" target="client" onclick="HabboClient.roomForward(this, '<?php echo $row['roomid']; ?>', 'private'); return false;"><b>Go to your room &gt;&gt;</b><i></i></a>
</p>

<script type="text/javascript">
HabboView.add(GiftQueueHabblet.initClosableHabblet);
</script>
<?php } ?>

</div>

</div>
</div>


<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

<div class="habblet-container ">
<div class="cbb clearfix orange ">

<h2 class="title">Noticiones
</h2>
<div id="hotcampaigns-habblet-list-container">
<ul id="hotcampaigns-habblet-list">

</div>
</div>



<?php */ ?>
<?php /*Habbo Search*/ ?>

<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

<?php /* Events */ ?>
<?php
//$res = mysql_query("show table status like 'events'")
//or die(mysql_error());
//$table_exists = mysql_num_rows($res) == 1;
if($table_exists == 1){ ?>

<?php
//$getem = mysql_query("SELECT * FROM events WHERE category = '1'");
while ($row = mysql_fetch_assoc($getem)) {

$i++;

if(IsEven($i)){
$even = "odd";
} else {
$even = "even";
}

// Calculate percentage


// Base room icon based on this - percantage levels may not be habbolike

}
?>
</ul>
</div>
</div>



</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php } ?>

</div>
<script type='text/javascript'>if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div id="column2" class="column">
<div class="habblet-container news-promo">
<div class="cbb clearfix notitle ">


<div id="newspromo">
<div id="topstories">
<div class="topstory" style="background-image: url(<?php echo $news_1_topstory; ?>)">
<h4>uLTIME NEWS</h4>
<h3><a href="news.php?id=<?php echo $news_1_id; ?>"><?php echo $news_1_title; ?></a></h3>

<p class="summary">
<?php echo $news_1_snippet; ?>
<p>
<a href="news.php?id=<?php echo $news_1_id; ?>">Leggi &raquo;</a>
</p>
</div>
<div class="topstory" style="background-image: url(<?php echo $news_2_topstory; ?>); display: none">
<h4>Ultime news</h4>

<h3><a href="news.php?id=<?php echo $news_2_id; ?>"><?php echo $news_2_title; ?></a></h3>
<p class="summary">
<?php echo $news_2_snippet; ?>
<p>
<a href="news.php?id=<?php echo $news_2_id; ?>">Leggi &raquo;</a>
</p>


</div>
<div class="topstory" style="background-image: url(<?php echo $news_3_topstory; ?>); display: none">
<h4>Ultime News</h4>

<h3><a href="news.php?id=<?php echo $news_3_id; ?>"><?php echo $news_3_title; ?></a></h3>
<p class="summary">
<?php echo $news_3_snippet; ?>
<p>
<a href="news.php?id=<?php echo $news_2_id; ?>">Leggi &raquo;</a>
</p>

</div>
<div id="topstories-nav" style="display: none"><a href="#" class="prev">&laquo; Precedente</a><span>1</span> / 3<a href="#" class="next">Successiva &raquo;</a></div>
</div>
<ul class="widelist">
<li class="even">

<a href="news.php?id=<?php echo $news_3_id; ?>"><?php echo $news_3_title; ?> &raquo;</a><div class="newsitem-date"><?php echo $news_3_date; ?></div>
</li>
<li class="odd">
<a href="news.php?id=<?php echo $news_4_id; ?>"><?php echo $news_4_title; ?> &raquo;</a><div class="newsitem-date"><?php echo $news_4_date; ?></div>
</li>
<li class="last"><a href="news.php">Altre news &raquo;</a></li>
</ul>
</div>

<script type="text/javascript">
document.observe("dom:loaded", function() { NewsPromo.init(); });
</script>
</div></div>



<?php /*Groups*/ ?>
<div class="habblet-container ">
<div class="cbb clearfix red">
<div class="box-tabs-container clearfix">
<h2>Scelte dallo Staff</h2>
<ul class="box-tabs">
<li id="tab-rooms"><a href="#">Stanze</a><span class="tab-spacer"></span></li>

<li id="tab-groups" class="selected"><a href="#">Gruppi</a><span class="tab-spacer"></span></li>
</ul>
</div>
<div id="tab-rooms-content" style="height: 165px;overflow-x: scroll;display: none;" id="promogroups-habblet-list-container"><br>
</li>
<script type="text/javascript">
Rounder.addCorners($("habbo-search-error"), 8, 8);
</script> </div>
<div id="tab-groups-content" >
<div style="height: 155px;overflow-x: scroll;" id="promogroups-habblet-list-container" class="habblet-list-container groups-list">
<ul class="habblet-list two-cols clearfix">
<?php $sql = mysql_query("SELECT * FROM cms_recommended WHERE type = 'group' ORDER BY id ASC") or die(mysql_error());
while($row = mysql_fetch_assoc($sql)) {
$i++;

$groupsql = mysql_query("SELECT * FROM groups WHERE id = '".$row['rec_id']."' LIMIT 1");
$grouprow = mysql_fetch_assoc($groupsql);

if(IsEven($i)){
$even = "even left";
} else {
$even = "even right";
}
?>
<li class="<?php echo $even; ?>" style="background-image: url(./habbo-imaging/badge.php?badge=<?php echo $grouprow['badge']; ?>.gif)">
<?php if($grouprow['roomid'] != 0) { ?><a href="client.php?forwardId=2&amp;roomId=<?php echo $grouprow['roomid']; ?>" onclick="HabboClient.roomForward(this, '<?php echo $grouprow['roomid']; ?>', 'private'); return false;" target="client" class="group-room"></a><?php } ?>
<a class="item" href="group_profile.php?id=<?php echo $grouprow['id']; ?>"><strong><?php echo HoloText($grouprow['name']); ?></strong></a>
</li>
<?php } ?>
</ul>
</div>
</div></div>

<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php /*Tags */ ?>

<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>



</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>


</div>



<footer>

</footer>



<script type="text/javascript">
HabboView.add(LoginFormUI.init);
</script>




<?php

include('templates/community/footer.php');

Grazie in anticipo.
--------------- AGGIUNTA AL POST ---------------
Se mi posti la me.php di dnt te lo trovo io,e ti scovo i dati che devi trovare e le cartelle


Scs prima nn avevo capito cmq quella di dnt la trovi su internet.
 
Ultima modifica:
Riferimento: Verrei mettere elenco canzoni nel mio retro

Allora crea un file in templates di nome radio.php e metti questo codice
PHP:
Perfavore, Entra oppure Registrati per vedere i codici!

E nella me.php inserisci questo
PHP:
Perfavore, Entra oppure Registrati per vedere i codici!
 
Riferimento: Verrei mettere elenco canzoni nel mio retro

In : ("http://sito radio/Radio/MusicPlayer.swf", cosa devo mettere???
 
Riferimento: Verrei mettere elenco canzoni nel mio retro

Devi mettere il link della tua radio
 
Riferimento: Verrei mettere elenco canzoni nel mio retro

Devi mettere il link della tua radio

Allora io nn voglio una radio Voglio che nella me.php Si veda una lista di canzoni dove l'utente clicchi una di queste e la senti.
Tipo questa :
Perfavore, Entra oppure Registrati per vedere i Link!
che é nel dnt ma vorrei inserirla nel Season cms v2 ( Mio cms)
 
Riferimento: Verrei mettere elenco canzoni nel mio retro

E metti quel file con scritto dnt.deviceworld.org,e ti esce
 
Riferimento: Verrei mettere elenco canzoni nel mio retro

E metti quel file con scritto dnt.deviceworld.org,e ti esce

ok al posto del sito radio ho messo dnt.deviceworld.org ma la radio esce tutta bianca e non si vede.
--------------- AGGIUNTA AL POST ---------------
Ho messo il Radio.php questo:

PHP:
Perfavore, Entra oppure Registrati per vedere i codici!

Ma non va lo stesso esce lo spazio in cui dovrebbe uscire ma rimane bianco !!! che faccio???
 
Ultima modifica: