(a) The fire marshal shall cause to be periodically inspected all commercial, industrial, and public buildings and premises, except dwellings, as often as may be necessary for the purpose of ascertaining and causing to be corrected any unsafe conditions which could cause fire, endanger life from fire, or any violations of the provisions of this and of any other law affecting fire safety. Residential structures shall be inspected for fire safety only upon permission of the property owner, or upon a valid, signed complaint signed by three citizens constituting probable cause and a copy presented to the property owner. (b) All buildings or structures which are not provided with adequate egress, or which constitute a fire hazard, for the purposes of this section, are considered unsafe buildings. All such unsafe buildings shall be declared public nuisances and shall be abated by repair, rehabilitation, demolition, or removal as provided for in the Standard Code for Elimination and Repair of Unsafe Buildings as adopted by the county. All persons cited for keeping an unsafe building will be afforded full appeals rights as specified in such publication. (c) Whenever it is discovered in any building or upon any premises combustible or explosive material or any dangerous matter which is likely to cause a fire or other hazard or which may endanger property, the fire marshal shall order the dangerous condition to be removed or remedied by the owner or occupant of such premises within ten days. Appeals of such order shall be filed with the magistrate's court of the county within 48 hours after service of the notice to abate. (d) Any owner or occupant failing to comply with such order within ten days after said appeal shall have been determined, or if no appeal is taken, within ten days after the service of the order, shall be guilty of a misdemeanor. (e) The service of such order shall be made upon the occupant of the premises to whom it is directed by either delivering a true copy of same to a person in charge of the premises, or in case no such person is found upon the premises, by affixing a copy thereof in a conspicuous place on the door to the entrance of said premises. Whenever it may be necessary to serve such an order upon the owner of premises, such order may be served either by delivering to and leaving with the person a true copy of the order, or if such owner is absent from the jurisdiction of the officer making the order by mailing such copy to the owner's last known post office address.