[insert_php]mlsDisplayItem(“ModelYear”);[/insert_php] [insert_php]mlsDisplayItem(“MakeString”);[/insert_php] [insert_php]mlsDisplayItem(“Model”);[/insert_php]

[insert_php]mlsDisplayItem(“BoatName”);[/insert_php] [insert_php]mlsDisplayItem(“SaleClassCode”);[/insert_php] Boat For Sale | ID# [insert_php]mlsDisplayItem(“DocumentID”);[/insert_php]

[insert_php]

echo ‘

“;

[/insert_php]

Listing Agent

[insert_php]mlsDisplayItem(“SalesRep:Name”);[/insert_php]

[insert_php]mlsDisplayItem(“Office:Phone”);[/insert_php]

Get More Info

[insert_php]mlsDisplayItem(“BoatName”);[/insert_php]

[insert_php]mlsDisplayFeet(“NominalLength”);[/insert_php] [insert_php]mlsDisplayItem(“MakeString”);[/insert_php] [insert_php]mlsDisplayItem(“ModelYear”);[/insert_php]

[insert_php]mlsDisplayItem(“ListingTitle”);[/insert_php]

[insert_php]
$number = mlsGetItem(“NormPrice”);
if(empty($number)){
echo “Call for Price”;
} else {
$english_format_number = number_format($number);
echo ‘\$’.$english_format_number;
}[/insert_php]

[insert_php]mlsDisplayItem(“BoatLocation:BoatCityName”);[/insert_php], [insert_php]mlsDisplayItem(“BoatLocation:BoatStateCode”);[/insert_php]

Dimensions

[insert_php]
echo ‘

    ‘;
    $loa = mlsGetItem(“LengthOverall”);
    $beam = mlsGetItem(“BeamMeasure”);
    $draft = mlsGetItem(“MaxDraft”);
    $weight = mlsGetItem(“DryWeightMeasure”);
    $dimensioncheck = $loa . $beam . $draft . $weight;
    if (empty($dimensioncheck)){
    echo “Not Available”;
    } else {

    if (!empty($loa)) {
    echo ‘

  • Length Overall: ‘;
    mlsDisplayFeet(“LengthOverall”);
    echo ‘
  • ‘;
    }

    if (!empty($beam)) {
    echo ‘

  • Beam: ‘;
    mlsDisplayFeet(“BeamMeasure”);
    echo ‘
  • ‘;
    }

    if (!empty($draft)) {
    echo ‘

  • Maximum Draft: ‘;
    mlsDisplayFeet(“MaxDraft”);
    echo ‘
  • ‘;
    }

    if (!empty($weight)) {
    echo ‘

  • Dry Weight: ‘;
    mlsDisplayPounds(“DryWeightMeasure”);
    echo ‘
  • ‘;
    }
    }
    echo ‘

‘;
[/insert_php]

Tank Capacities

[insert_php]
echo ‘

    ‘;
    $fuel = mlsGetItem(“FuelTankCapacityMeasure”);
    $water = mlsGetItem(“WaterTankCapacityMeasure”);
    $holding = mlsGetItem(“HoldingTankCapacityMeasure”);
    $tankCheck = $fuel . $water . $holding;

    if (empty($tankCheck)){
    echo “Not Available”;
    } else {
    if (!empty($fuel)) {
    echo ‘

  • Fuel: ‘;
    mlsDisplayGallons(“FuelTankCapacityMeasure”);
    echo ‘
  • ‘;
    }

    if (!empty($water)) {
    echo ‘

  • Water: ‘;
    mlsDisplayGallons(“WaterTankCapacityMeasure”);
    echo ‘
  • ‘;
    }

    if (!empty($holding)) {
    echo ‘

  • Holding: ‘;
    mlsDisplayGallons(“HoldingTankCapacityMeasure”);
    echo ‘
  • ‘;
    }
    }
    echo ”;
    [/insert_php]

Engine Information

[insert_php]
echo ‘

    ‘;
    $engineno = mlsGetItem(“NumberOfEngines”);
    $engineconfig = mlsGetItem(“Engines:0:Type”);
    $enginefuel = mlsGetItem(“Engines:0:Fuel”);
    $engineConfigString = “(” . $engineno . “) ” . $engineconfig . ” ” . $enginefuel;
    $make = mlsGetItem(“Engines:0:Make”);
    $model = mlsGetItem(“Engines:0:Model”);
    $hp = mlsGetItem(“Engines:0:EnginePower”);

    if (!empty($hp)){
    $hpstring = “@ ” . $hp;
    }
    $engineString = $make . ” ” . $model . ” ” . $hpstring;

    if ($engineno == “0”) {
    echo “Not Available”;
    } else {
    echo ‘

  • ‘ . $engineConfigString . ‘
  • ‘;

    if (!empty($make)) {
    echo ‘

  • ‘ . $engineString . ‘
  • ‘;
    }
    }
    echo ‘

‘;
[/insert_php]

General Description

[insert_php]
mlsDisplayItem(“GeneralBoatDescription:0”);
[/insert_php]

[insert_php]
$data = mlsGetDescriptions();
foreach ($data as $item) {
$title = $item[0];
$description = $item[1];
$accnum = 0;
echo ‘

‘ . $title . ‘

‘;
echo ‘

‘;
echo $description;
echo ‘

‘;
}
[/insert_php]

[mlssystem displaytype=”listing”]