test

Small
Up to 30 sq. ft.
Medium
Up to 75 sq. ft.
Large
Up to 125 sq. ft.
X-Large
Up to 200 sq. ft.
Table as $unit) { $unitData = intval($unit->dcWidth) . ' x ' . intval($unit->dcLength) . ' ' . $unit->sTypeName; if (!isset($availableUnits[$unitData])) { $width = number_format((float)$unit->dcWidth, 0, '.', ''); $length = number_format((float)$unit->dcLength, 0, '.', ''); $availableUnits[$unitData]['count'] = 1; $availableUnits[$unitData]['price'] = number_format((float)$unit->dcStdRate, 2, '.', ''); $availableUnits[$unitData]['dimensions'] = $width . ' x ' . $length; $availableUnits[$unitData]['sqft'] = $width * $length; $availableUnits[$unitData]['type'] = strval($unit->sTypeName); $availableUnits[$unitData]['ids'] = array(strval($unit->UnitID)); $availableUnits[$unitData]['inside'] = strval($unit->bInside); $availableUnits[$unitData]['climate'] = strval($unit->bClimate); $availableUnits[$unitData]['power'] = strval($unit->bPower); $availableUnits[$unitData]['alarm'] = strval($unit->bAlarm); $availableUnits[$unitData]['floor'] = strval($unit->iFloor); $availableUnits[$unitData]['entry_loc'] = strval($unit->iEntryLoc); $availableUnits[$unitData]['door_type'] = strval($unit->iDoorType); } else { $availableUnits[$unitData]['count']++; $availableUnits[$unitData]['ids'][] = strval($unit->UnitID); } } if (count($availableUnits) > 0) { $sqft = array(); foreach ($availableUnits as $key => $row) $sqft[$key] = $row['sqft']; array_multisort($sqft, SORT_ASC, $availableUnits); } $unit_types = Array( Array("Small","30","small"), Array("Medium","75","medium"), Array("Large","125","large"), Array("X-Large","200","xlarge"), ); $unit_type_list = ""; for ($p = 0; $p < count($unit_types); $p++) { $unit_type_list .= '
' . $unit_types[$p][0] . '
Up to ' . $unit_types[$p][1] . ' sq. ft.
'; } get_header(); ?> "," - ",$title_name); $title_name = str_replace("
"," - ",$title_name); ?>

StorageBlue

Select a size to search for available storage units:

30 && $unit['sqft'] <= 75) { $location_id = get_field('location_id'); $unit_type = $unit['type']; if($location_id == "l001") { //Newark if($unit_type == "Interior unit, lower level") { $unit_type = "Lower Level, Elevator Access"; } if($unit_type == "Interior unit, main level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } } elseif ($location_id == "l002") { //Jersey City / Baldwin if($unit_type == "Interior unit, 4th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, Main level") { $unit_type = "Main Level, Loading Dock Access"; } if($unit_type == "Interior unit, lower level") { $unit_type = "First Floor!"; } if($unit_type == "Outdoor unit drive up access") { $unit_type = "Outdoor Unit, Drive Up Access"; } } elseif($location_id == "l003") { //Hoboken / Coles if($unit_type == "Interior unit, lower level") { $unit_type = "Lower Level, Elevator Access"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, main level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 4th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 5th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior Unit, 6th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 7th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Outdoor drive up Access") { $unit_type = "Outdoor Unit, Drive Up Access"; } } elseif($location_id == "l004") { //Union City / Hudson if($unit_type == "Interior unit, lower level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, main floor") { $unit_type = "Main Level, Elevator Access"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interor unit ,4th floor") { $unit_type = "Upper Level, Elevator Access"; } } displayUnit($unit_type, $unit); } } ?>
75 && $unit['sqft'] <= 125) { $location_id = get_field('location_id'); $unit_type = $unit['type']; if($location_id == "l001") { //Newark if($unit_type == "Interior unit, lower level") { $unit_type = "Lower Level, Elevator Access"; } if($unit_type == "Interior unit, main level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } } elseif ($location_id == "l002") { //Jersey City / Baldwin if($unit_type == "Interior unit, 4th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, Main level") { $unit_type = "Main Level, Loading Dock Access"; } if($unit_type == "Interior unit, lower level") { $unit_type = "First Floor!"; } if($unit_type == "Outdoor unit drive up access") { $unit_type = "Outdoor Unit, Drive Up Access"; } } elseif($location_id == "l003") { //Hoboken / Coles if($unit_type == "Interior unit, lower level") {$unit_type = "Lower Level, Elevator Access"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, main level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 4th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 5th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior Unit, 6th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 7th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Outdoor drive up Access") { $unit_type = "Outdoor Unit, Drive Up Access"; } } elseif($location_id == "l004") { //Union City / Hudson if($unit_type == "Interior unit, lower level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, main floor") { $unit_type = "Main Level, Elevator Access"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interor unit ,4th floor") { $unit_type = "Upper Level, Elevator Access"; } } displayUnit($unit_type, $unit); } } ?>
125) { $location_id = get_field('location_id'); $unit_type = $unit['type']; if($location_id == "l001") { //Newark if($unit_type == "Interior unit, lower level") { $unit_type = "Lower Level, Elevator Access"; } if($unit_type == "Interior unit, main level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } } elseif ($location_id == "l002") { //Jersey City / Baldwin if($unit_type == "Interior unit, 4th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, Main level") { $unit_type = "Main Level, Loading Dock Access"; } if($unit_type == "Interior unit, lower level") { $unit_type = "First Floor!"; } if($unit_type == "Outdoor unit drive up access") { $unit_type = "Outdoor Unit, Drive Up Access"; } } elseif($location_id == "l003") { //Hoboken / Coles if($unit_type == "Interior unit, lower level") { $unit_type = "Lower Level, Elevator Access"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, main level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access";} if($unit_type == "Interior unit, 4th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 5th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior Unit, 6th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 7th floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Outdoor drive up Access") { $unit_type = "Outdoor Unit, Drive Up Access"; } } elseif($location_id == "l004") { //Union City / Hudson if($unit_type == "Interior unit, lower level") { $unit_type = "First Floor!"; } if($unit_type == "Interior unit, main floor") { $unit_type = "Main Level, Elevator Access"; } if($unit_type == "Interior unit, 2nd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interior unit, 3rd floor") { $unit_type = "Upper Level, Elevator Access"; } if($unit_type == "Interor unit ,4th floor") { $unit_type = "Upper Level, Elevator Access"; } } displayUnit($unit_type, $unit); } } ?>
 Heated"; } else { $climate = ""; } */ $climate = " Heated"; if ($unit['alarm'] == "true") { $alarm = " Alarmed"; } else { $alarm = ""; } print('

' . $unit_type . '

Rate: $' . $unit['price'] . '
Size: ' . $unit['dimensions'] . '
Area: ' . $unit['sqft'] . ' sq ft.
Location: ' . $location . '
' . $climate . '
' . $alarm . '
Rate: $' . $unit['price'] . '
 Reserve online today and receive a free lock with your unit.
'); } ?>