mimosveta Posted September 18, 2007 Share Posted September 18, 2007 Hi there everyone, I'm utterly new to PHP, which you will probably guess by my question, as I believe it's one of the basics. I'm using component for joomla which allows me to offer visitors of my website to listen to the music. I want to allow them to download it as well. This would probably be easier done if I would see real URL of the file, but I don't since the same code works for number of different songs. I've changed the code, and now it has the looks that I need, but I need help making it do what it says. Please help. Here is the code (the one with looks:) <table id='table_rad' border="0"> <tr> <td width="40" rowspan="3" valign="middle" id="img_rad"><a href="<?php echo $row->url;?>"><img align="middle" src="<?php echo $radio_img.$row->image; ?>" /></a></td> <td colspan="3" align="left" valign="top"><div id="text_rad"><?php echo $row->name;?></div></td> </tr> <tr> <td align="left" valign="top"> <div id="tune_rad"><a href='#' onclick="MM_openBrWindow('<?php echo $linkTarget;?>','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=200,height=130')"><img src="components/com_joomradio/images/play.gif" width="25" height="25" alt="sviraj" /></div><div id="tune_text"><?php echo JOO_RADTUNE;?></div></a><br /> </td> <td width="115" align="left" valign="top"> <div id="tune_rad"><a href='#' onclick="MM_openBrWindow('<?php echo $linkTarget;?>','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=<?php echo $radio_width;?>,height=<?php echo $radio_height;?>')"><img src="components/com_joomradio/images/dld.gif" width="25" height="25" alt="dld" /></div><div id="tune_text">Skidaj!</div> </a><br /> </td> <td width="66" align="left" valign="top"> </td> </tr> <tr> <td colspan="3" align="left" valign="top"><div id="reg_rad"> <?php echo JOO_RADREGION;?><?php echo $row->region;?> </div></td> </tr> </table> Thanks for help. Quote Link to comment Share on other sites More sharing options...
mimosveta Posted September 19, 2007 Author Share Posted September 19, 2007 Anyone? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.