If the owner fails to comply with an order to repair or demolish the dwelling, building or structure, the public officer may cause such dwelling, building or structure to be repaired, altered, or improved or to be vacated and closed or demolished. If the dwelling, building or structure is closed, the public officer shall cause to be posted on the main entrance of the building, dwelling or structure a placard with the following words: This building is unfit for human habitation or commercial, industrial or business use and does not comply with the applicable codes or has been ordered to be secured to prevent its use in connection with drug crimes or constitutes an endangerment to public health or safety as a result of unsanitary or unsafe conditions. The use or occupation of this building is prohibited and unlawful.