r both, at the discrete n of thw court, and pay the cost of prosecution, and sitch place or places so kept by such person c persons so convicted, shall be shut up and abated upon th order of the court before w hom such con-vic ion may be had, until such time as such person or persons keeping such place or pUces, shall g ve bond and sciirity to the aeceptancoof said court, in the penal sum of one t