{% if act == 'home' %}
    <div class="title">{{lang.admin_edit_ord_m1}}</div>
    <div class="mess"><form method="GET">
            <input type="hidden" name="act" value="edit"><br>
            {{lang.admin_edit_ord_m2}}:<br>
            <input type="number" name="id"><br>
            <button>{{lang.admin_edit_ord_m3}}</button>
    </form></div>
{% elseif act == 'edit' %}
<div class="title">{{lang.admin_edit_ord_m4}} {{order.id}}</div>
    <div class="mess">
        <form method="POST">
            {{lang.ord_list_t1}}: <b>{{order.name}}</b><br>
            {{lang.ord_list_t2}}: <b>{{order.nserv}}</b><br>
            {{lang.ord_list_t9}}: <b>{{order.time}}</b><br><br>
            {{lang.ord_list_t3}}: <br>
            <select name="status">
                <option value="0" {% if order.status == '0' %} selected {% endif %}>{{lang.ord_status_0}}</option>
                <option value="1" {% if order.status == '1' %} selected {% endif %}>{{lang.ord_status_1}}</option>
                <option value="2" {% if order.status == '2' %} selected {% endif %}>{{lang.ord_status_2}}</option>
                <option value="3" {% if order.status == '3' %} selected {% endif %}>{{lang.ord_status_3}}</option>
                <option value="4" {% if order.status == '4' %} selected {% endif %}>{{lang.ord_status_4}}</option>
            </select><br>
            {{lang.ord_list_t4}}:<br>
            <input type="url" name="url" value="{{order.desc.url}}"><br>
            {{lang.ord_list_t5}}:<br>
            <input type="text" name="login" value="{{order.desc.login}}"><br>
            {{lang.ord_list_t6}}:<br>
            <input type="text" name="pwd" value="{{order.desc.pwd}}"><br>
            {{lang.ord_list_t7}}:<br>
            <input type="text" name="ip" value="{{order.desc.ip}}"><br>
            {{lang.admin_moders_ord_t9}}:<br>
            <input type="number" name="addday" value="0"><br>
            {{lang.ord_list_t8}}:<br>
            <input type="text" name="bits" value="{{order.bits}}" step="any"><br>
            <input type="submit" name="ok" value="{{lang.w_save}}">
        </form>
    </div>
{% endif %}