}
$product['products_id'] = $product_data['p']['products_id'];
$product['price'] = is_null($jng_sp_id) ? $product_data['p']['products_price'] : $product_cat['price'];
$product['products_brand_id'] = $product_data['p']['products_brand_id'];
$content = '';
$content .= '<div style="float:left;">' . webImage($product_data['p']['products_image'], '120', '120') . '</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>';
$content .= '<div style="clear:both;">&nbsp;</div>';
$products_tolink = $class_pl->retrieveForRecommendation($product, $type, $jng_sp_id);
if (count($products_tolink) > 0) {
    $content .= '<div id="productlist">';
    foreach ($products_tolink as $ptl) {
        $content .= drawPLthumb($ptl);
    }
    $content .= '</div>';
} else {
    $content .= '<h3 class="red">No more products available</h3>';
}
$content .= '<div style="clear:both;">&nbsp;</div>';
$javascript = '
			var url = "index.php?open=product-detail-links-style";
			var fadeSpeed = 700;
			var products_id = ' . $products_id . ';
			var link_type = "' . $type . '";
			function productAdded(pid, txtStatus) {
				if(txtStatus=="success") {
					if(pid.substr(0,1)=="!") {
						var div_pid = $("#pid-" + pid.substr(1));
     }
 } else {
     $result .= $nolink;
 }
 $result .= '<div style="clear:both;">&nbsp;</div>';
 $result .= '</div></div>';
 //Auto Cross Selling
 $result .= '<div class="float-box">';
 $count_auto = count($pl_load_auto);
 $result .= '<h2 style="float: none;">Auto Cross Sellings (' . $count_auto . ')</h2>';
 $result .= '<br><br><br>';
 $result .= '<div id="pl-list-auto" class="plthumbs">';
 if ($count_auto > 0) {
     foreach ($pl_load_auto as $pid) {
         $plid = 'auto-' . $pid;
         $result .= drawPLthumb($plid, $pid);
     }
 }
 $result .= '<div style="clear:both;">&nbsp;</div>';
 $result .= '</div></div>';
 /*
  * We stop using Upselling, Accessory and Devices
  * commented by Sahat on 11.07.2014
 //Up Selling
 if (count($links['U']) > 0) {
     $count_u = count($links['U']);
 } else {
     $count_u = '0';
 }
 $result .= '<div class="float-box">';
 $result .= '<h2>Upsellings ('.$count_u.')</h2>';