Any person, the owner or the ownerís authorized agent, who violates, disobeys, omits, neglects, or refuses to comply with, or resists or opposes the execution of any of the provisions of this code, shall be liable for a civil penalty, not to exceed $500 for each day such violation is committed or permitted to continue, which penalty shall be assessed and recovered in a civil action brought in the name of the people of the City and County of San Francisco by the City Attorney in any court of competent jurisdiction. Any penalty assessed and recovered in an action brought pursuant to this paragraph shall be paid to the City Treasurer and credited to the Department of Building Inspectionís Special Fund.
Any person, the owner or the ownerís authorized agent, who violates, disobeys, omits, neglects, or refuses to comply with, or who resists or opposes the execution of any of the provisions of this code, shall be guilty of a misdemeanor, and upon conviction thereof shall be punished by a fine not exceeding $500, or by imprisonment not exceeding six months, or by both such fine and imprisonment, unless otherwise provided in this code, and shall be deemed guilty of a separate offense for every day such violation, disobedience, omission, neglect or refusal shall continue. Any person who shall do any work in violation of any of the provisions of this code, and any person having charge of such work who shall permit it to be done, shall be liable for the penalty provided.
It shall be unlawful for any person to interfere with the posting of any notice provided for in this code, or to tear down or mutilate any such notice so posted by the Department of Building Inspection.