del($get['id']); } if(is_numeric($get['restore'])) { $client = new Clients_jw; $client->restore($get['restore']); } /*if(is_numeric($get['reason'])) { $client = new Clients(); $get['id_del_client'] = $get['reason']; $client->delReason($get); }*/ if($_POST['id_del_client']) { $post = clearInputData($_POST); $client = new Clients_jw; $client->delReason($post); } ?>