The commander ordered that let the gates be left open.
The commander ordered for the gates to be left open.
The commander ordered that the gates will be left open.
The commander ordered that the gates will be left open.
B.
The commander ordered for the gates to be left open.