Mam taki oto plik:
  1. <?php
  2. /*
  3.   $Id: currencies.php 1739 2007-12-20 00:52:16Z hpdl $
  4.  
  5.   osCommerce, Open Source E-Commerce Solutions
  6.   <a href="http://www.oscommerce.com" target="_blank">http://www.oscommerce.com</a>
  7.  
  8.   Copyright (c) 2003 osCommerce
  9.  
  10.   Released under the GNU General Public License
  11. */
  12.  
  13. if (isset($currencies) && is_object($currencies)) {
  14. ?>
  15. <!-- currencies //-->
  16. <tr>
  17. <td>
  18. <?php
  19. $info_box_contents = array();
  20. $info_box_contents[] = array('text' => BOX_HEADING_CURRENCIES);
  21.  
  22. new infoBoxHeading($info_box_contents, false, false);
  23.  
  24. reset($currencies->currencies);
  25. $currencies_array = array();
  26. while (list($key, $value) = each($currencies->currencies)) {
  27. $currencies_array[] = array('id' => $key, 'text' => $value['title']);
  28. }
  29.  
  30. $hidden_get_variables = '';
  31. reset($HTTP_GET_VARS);
  32. while (list($key, $value) = each($HTTP_GET_VARS)) {
  33. if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) {
  34. $hidden_get_variables .= tep_draw_hidden_field($key, $value);
  35. }
  36. }
  37.  
  38. $info_box_contents = array();
  39. $info_box_contents[] = array('form' => tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get'),
  40. 'align' => 'center',
  41. 'text' => tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" style="width: 100%"') . $hidden_get_variables . tep_hide_session_id());
  42.  
  43. new infoBox($info_box_contents);
  44. ?>
  45. </td>
  46. </tr>
  47. <!-- currencies_eof //-->
  48. <?php
  49. }
  50. ?>

i wyglada on nastepujaco: http://img692.imageshack.us/img692/1328/currencies.jpg
gdzie umiescic w kod:
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  4. <title>Sample Flash Music Player Embed Code</title>
  5. </head>
  6.  
  7. <!--
  8. INSTRUCTIONS
  9. * Replace song.mp3 with the path of your own .mp3 file
  10. * Change autoPlay to "yes" if you want the music track to start automatically once loaded
  11.  
  12. More instructions at:
  13. <a href="http://www.premiumbeat.com/flash_resources/free_flash_music_player/single_track_flash_mp3_player.php" target="_blank">http://www.premiumbeat.com/flash_resources..._mp3_player.php</a>
  14.  
  15. -->
  16.  
  17. <!-- Begin Copy/Paste -->
  18.  
  19. <script type="text/javascript" src="swfobject.js"></script>
  20.  
  21. <div id="flashPlayer">
  22. This text will be replaced by the flash music player.
  23. </div>
  24.  
  25. <script type="text/javascript">
  26. var so = new SWFObject("playerSingle.swf", "mymovie", "192", "67", "7", "#FFFFFF");
  27. so.addVariable("autoPlay", "no");
  28. so.addVariable("soundPath", "song.mp3");
  29. so.write("flashPlayer");
  30.  
  31. <!-- End Copy/Paste -->
  32.  
  33. </body>
  34. </html>


aby to wszystko dzialalo i zamiast rozsuwanego menu z walutami pojawial sie w boxie mp3 player?