The council shall have control of all sidewalks in the public streets and alleys of the city and may prescribe the grade thereof and change the same when deemed necessary. The council shall have power through and by the proper officers, to build, maintain, and keep in repair sidewalks and crosswalks in the public streets and alleys and to charge the expense of constructing and maintaining such sidewalks upon the lots and premises adjacent to and abutting upon such sidewalks. The council shall also have authority to require the owners and occupants of lots and premises to build, rebuild, and maintain sidewalks in the public streets adjacent to and abutting upon such lots and premises and to keep them in repair at all times, and to construct and lay the same upon such lines and grades and of such width, materials, and manner of construction, and within such time as the council shall by ordinance or resolution prescribe the expense thereof to be paid by such owner or occupant; or the council may, by a two-thirds (2/3) vote of all the council-elect, pay such part of the expense of building or rebuilding, maintaining and keeping in repair such walks as they deem proper from the general city funds.