$activefilter .= '<option value="' . $value . '" ' . $sel . '>' . $option . '</option>'; } $activefilter .= '</select>'; $navids = array('0' => 'Please select a navigation...', 'UNSET' => 'None / Unset') + retrieveNavIDs($jng_sp_id, '*'); $navid_filters = '<select name="nav-filter" class="input" onchange="filtering.submit();">'; $navid_filters .= loadComboListFromArray($navids, null, $navfiltered, false); $navid_filters .= '</select>'; if ($navid_filters != '') { $navid_filters = '<tr><td>Filter by Nav ID</td><td>' . $navid_filters . '</td></tr>'; } $content = ''; $content .= '<div style="float:right;">'; $content .= '<form name="filtering" action="?open=analysis-vc" method="post">'; $content .= '<table class="form" border="0" cellpadding="0" cellspacing="0">'; $content .= $navid_filters; $content .= '<tr><td>Filter by Brand</td><td>' . drawBrandCombo(true, 'brand-filter', $brandfiltered, 'class="input" onchange="filtering.submit();"') . '</td></tr>'; $content .= '<tr><td>Filter by</td><td>' . $activefilter . '</td></tr>'; $content .= '</table>'; $content .= '</form>'; $content .= '</div>'; $content .= '<div style="margin-bottom:10px;">' . $sort_opt . '</div>'; $content .= '<div id="button-set-2">'; $content .= '<form name="searchpro" action="?open=analysis-vc" method="post">'; $content .= '<input type="hidden" name="me_action" value="SEARCHPRODUCTS" /> '; $content .= '<input type="text" class="iwbutton" name="keywords" value="' . $keywords . '" style="width:195px;" /> '; $content .= '<input type="submit" class="blue" name="submit" value="Search" /> '; $content .= '</form>'; $content .= '</div>'; $content .= '<div style="padding:5px;"> </div>'; //$content .= '<div style="overflow:scroll;height:400px;"><div style="width:1600px;">'; $content .= tep_draw_table('proman', $cat);
$pagelink = tep_paging($catalog_total, $page, '?open=sp-products-links-popup&products_id=' . $products_id . '&type=' . $type . '&jng_sp_id=' . $jng_sp_id . '&hidemenu=true&page=', '', '', $limit); $content = ''; $content .= '<div style="float:left;width:120px;text-align:center;">'; $content .= '<div>' . webImage($product_data['p']['products_image'], '120', '120') . '</div>'; if (!is_null($product['brand'])) { $content .= '<div>' . webImage($product['brand']['brand_image'], '100', '') . '</div>'; } $content .= '</div>'; $content .= '<div style="margin-left:140px;">'; $content .= '<h2>' . $product_data['p']['products_id'] . ' / ' . $product_data['p']['products_model'] . '</h2>'; $content .= '<h3>' . displayCurrency('EUR', $product['price']) . '</h3>'; $content .= '<div style="margin-top:20px;"><form name="filtering" action="?open=sp-products-links-popup&products_id=' . $products_id . '&type=' . $type . '&jng_sp_id=' . $jng_sp_id . '&hidemenu=true" method="post">'; $content .= '<table class="form" border="0" cellpadding="0" cellspacing="0">'; $content .= '<tr><td colspan="2"><strong>Filter By</strong></td></tr>'; $content .= '<tr><td>Nav ID</td><td>' . ComboBoxneckermannNavIDs('*', 'nav-filter', $navfiltered, '', 'onchange="filtering.submit();"') . '</td></tr>'; $content .= '<tr><td>Logo</td><td>' . drawBrandCombo(true, 'brand-filter', $brandfiltered, 'onchange="filtering.submit();"') . '</td></tr>'; $content .= '</table>'; $content .= '</form></div>'; $content .= '</div>'; $content .= '<div style="clear:both;"> </div>'; $products_tolink = array(); foreach ($catalog as $c) { $ptl = array(); $ptl['products_id'] = $c['products_id']; $ptl['products_image'] = $c['products_image']; $ptl['products_price'] = $c['price']; $products_tolink[] = $ptl; } if (count($products_tolink) > 0) { $content .= '<div id="productlist">'; foreach ($products_tolink as $ptl) {