The recorder's court, in and for said city, shall have jurisdiction over the trial of all offenders against the laws and ordinances of said city, to be heard by the recorder, mayor, or acting recorder as the case may be, in the court room in the city hall of said city as often as necessary. Said court shall have power to preserve order, and to compel the attendance of witnesses, and to punish for contempt by imprisonment not exceeding fifteen (15) days, or fine not exceeding twenty-five dollars ($25.00), either or both, in the discretion of the court. Said recorder shall have full power and authority upon conviction to sentence any defendant to labor upon the streets or other public works in said [city] a period not exceeding one year or to impose a fine not exceeding one thousand dollars ($1,000.00) or to sentence said offender to be confined and imprisoned in city prison or other places of confinement in said city for a period not exceeding one year; either one or more said penalties may be imposed in the discretion of said recorder. The recorder shall have the right to issue criminal warrants, to hold preliminary trials and to fix bonds of all persons tried before him to answer for their appearance at Bacon County Superior Court for a violation of the criminal laws of said state, or in default of such bond, commit such offenders to jail for safekeeping.