hope you can help or anybody..
Thanks in advance
kiwiguy
<?php
function ShoutboxFlash() {
global $xoopsUser;
// Load module handler... :)
$module_handler2 =& xoops_gethandler('module');
$xoopsModule2 =& $module_handler2->getByDirname('flashshout');
// Thx to Kazu for explaining me how this thing works...
// Load the config handler, for then loading the configs from the flashshout module... :)
$config_handler2 =& xoops_gethandler('config');
$xoopsModuleConfig2 =& $config_handler2->getConfigsByCat(0, $xoopsModule2->getVar('mid'));
if(isset($xoopsUser))
{
$flashshout['username'] = $xoopsUser->getVar('username');
}else{
$flashshout['username'] = "Anonymous";
}
if($xoopsModuleConfig2['flashshout_block_big'] == 1)
{
$flashshout['flashshoutfile'] = "flash/Flashshout_".$xoopsModuleConfig2['flashshout_color'].".swf";
$flashshout['flashshout_width'] = "345";
$flashshout['flashshout_height'] = "355";
}else{
$flashshout['flashshoutfile'] = "flash/Flashshoutside_".$xoopsModuleConfig2['flashshout_color'].".swf";
$flashshout['flashshout_width'] = "140";
$flashshout['flashshout_height'] = "350";
}
$flashshout['flashshout_comment'] = $xoopsModuleConfig2['flashshout_comment'];
return $flashshout;
}
?>
<div align="center">
<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0">
<tr>
<td>
<p align="center"><font face="Arial" size="2">Name of Song</font></td>
</tr>
<tr>
<td>
<p align="center">
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer1" align="middle" width="150" height="180">
<param name="URL" ref value="http://www.yourdomain.com">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="0">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="100">
<param name="mute" value="0">
<param name="uiMode" value="mini">
<param name="stretchToFit" value="-1">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
</object>
</td>
</tr>
</table>
</div>