ParametricSearch( $PlatformString, '', true ); $modelset = explode( ',', $list); $row = 0; foreach($modelset as $model) { $bgclass = ($row++ % 2 == 0) ? 'white' : 'shaded'; $price = $xml->prices($model); if ($price[0] == 'call') // Order Qty. input box $orderbox = ' '; else { $orderbox = ""; $orderboxCount++; } // Model number links to lightbox image if image tag is specified in xml, otherwise no link is created if (($xml->image($model) == '') || ($xml->image($model) == 'NoImageAvailable.jpg')) { $modelimage = ScaledImageHtml('NoImageAvailable.jpg', 125); } else { $modelimage = LightboxImageHtml($xml->image($model), 125, "Model $model: {$xml->title($model)}"); } // Issue one row of html table for one model echo "" . "" . "" . "" . "" . "" . ''; } if ($orderboxCount > 0) { ?>
Cables Model / Description Qty. 1 Qty. 2-9 Order Qty.
$modelimage$model
{$xml->title($model)}
$price[0]$price[1]$orderbox