} else {
             $data_fields_account["fields_" . $val_admin_info["ID"]] = "";
         }
     }
     foreach ($protectedPost as $field => $value) {
         $temp_field = explode('_', $field);
         if (array_key_exists($temp_field[0] . '_' . $temp_field[1], $info_account_id) or $temp_field[0] == 'TAG') {
             //cas of checkbox
             if (isset($temp_field[2])) {
                 $data_fields_account[$temp_field[0] . "_" . $temp_field[1]] .= $temp_field[2] . "&&&";
             } else {
                 $data_fields_account[$field] = $value;
             }
         }
     }
     updateinfo_computer($systemid, $data_fields_account);
     //search all admininfo for this computer
     $info_account_id = admininfo_computer($systemid);
 }
 unset($action_updown);
 //UP/DOWN
 if (isset($protectedPost['UP']) and $protectedPost['UP'] != '') {
     $action_updown = 'UP';
 }
 if (isset($protectedPost['DOWN']) and $protectedPost['DOWN'] != '') {
     $action_updown = 'DOWN';
 }
 if (isset($action_updown)) {
     $new_order = find_new_order($action_updown, $protectedPost[$action_updown], 'COMPUTERS', $protectedPost['onglet']);
     if ($new_order) {
         //	$array_info_account=find_info_accountinfo($new_order['NEW']);
                 foreach ($protectedPost as $field2 => $value2) {
                     $casofcheck = explode('_', $field2);
                     if ($casofcheck[0] . '_' . $casofcheck[1] == $temp) {
                         if (isset($casofcheck[2])) {
                             $data_fields_account[$temp] .= $casofcheck[2] . "&&&";
                         }
                     }
                 }
                 if (!isset($data_fields_account[$temp])) {
                     $data_fields_account[$temp] = $protectedPost[$temp];
                 }
             }
         }
     }
     if (isset($data_fields_account)) {
         updateinfo_computer($list_id, $data_fields_account, 'LIST');
         unset($_SESSION['OCS']['DATA_CACHE']['TAB_MULTICRITERE']);
         echo "<script language='javascript'> window.opener.document.multisearch.submit();</script>";
     }
 }
 //CAS OF TELEDEPLOY
 if (isset($protectedPost['RAZ']) and $protectedPost['RAZ'] != "" and $protectedPost['pack_list'] != "") {
     $sql = "select ID from download_enable \n\t\t\t\twhere fileid='%s'";
     $arg = $protectedPost['pack_list'];
     $result = mysql2_query_secure($sql, $_SESSION['OCS']["readServer"], $arg);
     $item = mysqli_fetch_object($result);
     require_once 'require/function_telediff.php';
     $nb_line_affected = desactive_packet($list_id, $item->ID);
     msg_success($nb_line_affected . " " . $l->g(1026));
 }
 //CAS OF WOL