Mam taki oto plik:
<?php
/*
$Id: currencies.php 1739 2007-12-20 00:52:16Z hpdl $
osCommerce, Open Source E-Commerce Solutions
<a href="http://www.oscommerce.com" target="_blank">http://www.oscommerce.com</a>
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
?>
<!-- currencies //-->
<tr>
<td>
<?php
$info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_CURRENCIES
);
new infoBoxHeading($info_box_contents, false, false);
reset($currencies->currencies); $currencies_array = array(); while (list
($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); }
$hidden_get_variables = '';
while (list
($key, $value) = each($HTTP_GET_VARS)) { if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) {
$hidden_get_variables .= tep_draw_hidden_field($key, $value);
}
}
$info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form
('currencies', tep_href_link
(basename($PHP_SELF), '', $request_type, false), 'get'), 'align' => 'center',
'text' => tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" style="width: 100%"') . $hidden_get_variables . tep_hide_session_id());
new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- currencies_eof //-->
<?php
}
?>
i wyglada on nastepujaco:
http://img692.imageshack.us/img692/1328/currencies.jpggdzie umiescic w kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Sample Flash Music Player Embed Code
</title>
<!--
INSTRUCTIONS
* Replace song.mp3 with the path of your own .mp3 file
* Change autoPlay to "yes" if you want the music track to start automatically once loaded
More instructions at:
<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>
-->
<!-- Begin Copy/Paste -->
This text will be replaced by the flash music player.
<script type="text/javascript"> var so = new SWFObject("playerSingle.swf", "mymovie", "192", "67", "7", "#FFFFFF");
so.addVariable("autoPlay", "no");
so.addVariable("soundPath", "song.mp3");
so.write("flashPlayer");
<!-- End Copy/Paste -->
aby to wszystko dzialalo i zamiast rozsuwanego menu z walutami pojawial sie w boxie mp3 player?