[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]
Get More Info
Oops! We could not locate your form.
[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 ‘
- ‘;
- Length Overall: ‘;
mlsDisplayFeet(“LengthOverall”);
echo ‘ - Beam: ‘;
mlsDisplayFeet(“BeamMeasure”);
echo ‘ - Maximum Draft: ‘;
mlsDisplayFeet(“MaxDraft”);
echo ‘ - Dry Weight: ‘;
mlsDisplayPounds(“DryWeightMeasure”);
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 ‘
‘;
}
if (!empty($beam)) {
echo ‘
‘;
}
if (!empty($draft)) {
echo ‘
‘;
}
if (!empty($weight)) {
echo ‘
‘;
}
}
echo ‘
‘;
[/insert_php]
Tank Capacities
[insert_php]
echo ‘
- ‘;
- Fuel: ‘;
mlsDisplayGallons(“FuelTankCapacityMeasure”);
echo ‘ - Water: ‘;
mlsDisplayGallons(“WaterTankCapacityMeasure”);
echo ‘ - Holding: ‘;
mlsDisplayGallons(“HoldingTankCapacityMeasure”);
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 ‘
‘;
}
if (!empty($water)) {
echo ‘
‘;
}
if (!empty($holding)) {
echo ‘
‘;
}
}
echo ”;
[/insert_php]
Engine Information
[insert_php]
echo ‘
- ‘;
- ‘ . $engineConfigString . ‘
- ‘ . $engineString . ‘
$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 ‘
‘;
if (!empty($make)) {
echo ‘
‘;
}
}
echo ‘
‘;
[/insert_php]
General Description
[insert_php]
mlsDisplayItem(“GeneralBoatDescription:0”);
[/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”]