modify("+ {$_POST['time']} day"); (new \Moderation\Moderation($uu['id']))->prison($time); \Core\Db::sql('delete from dungeon_zv where uid = ?', [$uu['id']]); // Удаляем заявки в пещеры. $uer = "Персонаж {$uu['login']} был отправлен в тюрьму до {$time->format('d M Y H:i')}."; unset($time); $cmsg = new ChatMessage(); $cmsg->setRoom($u->info['room']); $cmsg->setText("[img[items/jail.gif]] $uer"); $cmsg->setType(6); $cmsg->setTypeTime(1); (new Chat())->sendMsg($cmsg);