<?php require view('theme/header'); ?>
    <div class="app-content">
        <div class="container-fluid">

            <div class="d-card dc-dash">
                <div class="row">
                    <div class="col-lg-6 col-md-8 col-12">
                        <div class="py-3 px-5">
                            <div class="dch-title">
                                Oto Sipariş
                            </div>
                            <div class="dch-text">
                                Otomatik sipariş işlemlerinizi buradan yapabilirsiniz.
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <section class="neworder">

                <div class="row">
                    <div class="col-lg-12 col-12 mb-12 mb-lg-0">
                        <div class="d-card">

                            <div class="d-card-head">
                                <div class="dch-body">
                                    <i class="icon far fa-layer-plus me-3"></i>
                                    <span class="ml-3">Sipariş Ver</span>
                                </div>
                            </div>

                            <div class="d-card-body" id="dc-body">

                                <form id="auto_order" onsubmit="return false;">
                                    <div class="form-group mb-4 mt-3">
                                        <label for="orderform-category" class="control-label">{AUTO_FORM_CATEGORY_TITLE}:</label>
                                        <select class="form-control optmain" id="category">
                                            {AUTO_FORM_CATEGORIES}
                                        </select>
                                    </div>
                                    <!-- form-group end -->
                                    <div class="form-group mb-4">
                                        <label for="service" class="control-label">{AUTO_FORM_SERVICE_TITLE}:</label>
                                        <select id="service" class="form-control optmain" id="service" name="service">

                                        </select>
                                    </div>
                                    <!-- form-group end -->
                                    <div class="form-group">
                                        <label>
                                            {AUTO_FORM_DESC_TITLE}:
                                        </label>
                                        <div class="panel-body border-solid border-rounded" id="description">
                                        </div>
                                    </div>
                                    <!-- form-group end -->
                                    <div class="form-group mb-4">
                                        <label>{AUTO_FORM_LINK_TITLE}:</label>
                                        <input class="form-control" type="text"  name="link" id="link">
                                    </div>
                                    <!-- form-group end -->
                                    <div class="form-group">
                                        <label>{AUTO_FORM_QUANTITY_TITLE}:</label>
                                        <input class="form-control" type="text"  name="quantity" id="quantity">
                                    </div>
                                    <div class="form-group">
                                        <label>{AUTO_FORM_EXPIRATION}:</label>										<input class="form-control" type="text"  name="expiration" id="datepicker" readonly>
                                    </div>
                                    <div class="form-group">
                                        <label>{AUTO_FORM_POST_LIMIT}:</label>
                                        <input class="form-control" type="text"  name="limit" id="limit" min="1">
                                    </div>
                                    <!-- form-group end -->
                                    <!-- form-group end -->
                                    <button class="btn btn-primary btn-block">{AUTO_FORM_SUBMIT}</button>
                                </form>

                            </div>
                        </div>
                    </div>

                </div>

            </section>

        </div>
    </div>
    </div>

<?php require view('theme/footer'); ?><script>$(function () {  $("#datepicker").datepicker({         autoclose: true,         todayHighlight: true  }).datepicker('update', new Date());});</script>