hi hi i'm installing the shop by price mood.
but i was using infobox admin
so from the default files
it doesn't match it ..... can any1 help me with this below this is the original code
<?php
/*
$Id: shop_by_price.php,v 2.4 2006/10/24 $
Contribution by Meltus http://www.highbarn-consulting.com
Adapted for OsCommerce MS2 by Sylvio Ruiz
[email protected]
Modified by Hugues Deriau on 09/23/2006 - display the price ranges in the selected currency
Modified by Glassraven for dropdown list 24/10/2006 www.glassraven.com
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
?>
<!-- shop by price //-->
<tr>
<td>
<?php
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOP_BY_PRICE);
// use dropdown list - comment out if using list format
$shop_price_type = 'dropdown';
// $info_box_contents = array();
// $info_box_contents[] = array('text' => BOX_HEADING_SHOP_BY_PRICE);
// new infoBoxHeading($info_box_contents, false, false);
$info_box_contents = array();
if ($shop_price_type == 'dropdown') {
$price_range_list = '';
$price_range_list[] = array('id' => '0', 'text' => BOX_HEADING_SHOP_BY_PRICE );
for ($range=0; $range<sizeof($price_ranges); $range++) {
$price_range_list[] = array('id' => $range, 'text' => $price_ranges[$range] );
}
$info_box_contents[] = array('form' => '<form name="shop_price" action="' . tep_href_link(FILENAME_SHOP_BY_PRICE) . '" method="get">' . tep_hide_session_id(),
'align' => 'left',
'text' => tep_draw_pull_down_menu('range', $price_range_list, $range, 'onchange="this.form.submit();" size="' . 1 . '" style="width: 100%"') . tep_hide_session_id());
} else {
for ($range=0; $range<sizeof($price_ranges); $range++) {
$info_box_contents[] = array('align' => 'left',
'text' => '<a href="' . tep_href_link(FILENAME_SHOP_BY_PRICE, 'range=' . $range , 'NONSSL') . '">' . $price_ranges[$range] . '</a><br>');
}
}
new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- shop_by_price //-->