how to active and inactive status in codeigniter