$_GET['id'], "db_name" => DB_ACCOUNTS, "status" => $_GET['status'], "department_id" => $_GET['department_id'], "status_table" => 'clients_jobs_status' ); $obj = new form_quote_current_status($context); $obj->set(); if($_POST['Submit']=="Save"){ $obj->update_status(); } $obj->form(); ?>