$Value ){ if( $Key != 'id' ){ $POPIN[]="`".$Key."`='".$Value."'"; }; }; $QS = "UPDATE `{$B}` SET ". implode(",",$POPIN)." WHERE `id`=" . $C['id']; out_log( $QS ); $A->Query( $QS ); }; function restore_line( $A, $B , $C ){ foreach( $C as $Key=>$Value ){ if( $Key != 'id' ){ $P="`".$Key."`='".$Value."'"; $QS = "UPDATE `{$B}` SET ".$P." WHERE `id`=" . $C['id']; out_log( $QS ); $A->Query( $QS ); }; }; }; run_command( 'systemctl start argus_nginx'); //run_command( 'systemctl enable argus_nginx'); //run_command( 'systemctl enable argus_shutdown'); run_command( 'systemctl start nginx'); ?>