Back to top

Autore Topic: immagine in modulo miniradio  (Letto 619 volte)

Offline Megadream

  • Esploratore
  • **
  • Post: 145
    • Mostra profilo
immagine in modulo miniradio
« il: 21 Set 2012, 11:48:30 »
questo è il codice del modulo - vorrei aggiungere semplicemente un immagine, tipo piccolo banner
cosa devo aggiungere al codice?
grazie
Codice: [Seleziona]
<?php

/**
 * @package Module shoutcast mini radio player for Joomla! 17
 * @version 1.3: mod_miniradio.php 2010-12-19 00:40:00Z thongdee $
 * @author thongdee
 * @copyright (C) 2010- thongdee
 * @license GNU/GPL http://www.gnu.org/licenses/gpl-2.0.html
**/

// no direct access
defined'_JEXEC' ) or die( 'Restricted access' );


$rmshWidth intval($params->get'rmradioWidth'180 ));
$rmshHeight intval($params->get'rmradioHeight'54 ));
$bgshColor trim($params->get'backgroundColor''#ffffff' ));
$shwmode trim($params->get'wmode''window' ));
$radstation trim($params->get('rmurl''http://zoo.inlive.co.kr:8080/' ));
$autostart trim($params->get'autostart''false' ));
$visualizer trim($params->get'visualizer''false' ));
$skin trim($params->get'skin''skin2.swf' ));
$radiotype trim($params->get'radiotype''shoutcast'));
if (
$radiotype == "shoutcast") { 
    
$rtype ";stream.mp3";
} else {
    
$rtype "";
}
if (
$visualizer == "true") { 
    
$vslzer "&amp;plugins=".JURI::root()."modules/mod_miniradio/playerskins/visualizer.swf";
} else {
    
$vslzer "";
}
?>

<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="rimnam" height="<?php echo $rmshHeight?>" width="<?php echo $rmshWidth?>">
<param name="movie" value="<?php echo JURI::root()?>modules/mod_miniradio/playerskins/player.swf" />
<param name="flashvars" value="skin=<?php echo JURI::root()?>modules/mod_miniradio/playerskins/<?php echo $skin.$vslzer ?>&amp;type=sound&amp;file=<?php echo $radstation.$rtype;?>&amp;autostart=<?php echo $autostart;?>&amp;duration=0" />
<param name="allowScriptAccess" value="always" />
<param name="bgcolor" value="<?php echo $bgshColor?>" />
<param name="wmode" value="<?php echo $shwmode;?>" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="<?php echo JURI::root()?>modules/mod_miniradio/playerskins/player.swf" height="<?php echo $rmshHeight?>" width="<?php echo $rmshWidth?>">
<param name="flashvars" value="skin=<?php echo JURI::root()?>modules/mod_miniradio/playerskins/<?php echo $skin.$vslzer ?>&amp;type=sound&amp;file=<?php echo $radstation.$rtype;?>&amp;autostart=<?php echo $autostart;?>&amp;duration=0" />
<param name="allowScriptAccess" value="always" />
<param name="bgcolor" value="<?php echo $bgshColor?>" />
<param name="wmode" value="<?php echo $shwmode;?>" />
<!--<![endif]-->
<!--[if !IE]>-->


Offline Megadream

  • Esploratore
  • **
  • Post: 145
    • Mostra profilo
Re:immagine in modulo miniradio
« Risposta #1 il: 21 Set 2012, 17:46:40 »
up! :(

 



Web Design Bolzano Kreatif