<?php
require_once '../../../config.php';
if (strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') { ?>
                <form method="POST">
                    <div class="row">
                        <div class="col-6">
                            <div class="form-group mb-3">
                                <label class="mb-1">Date Create</label>
                                <input type="date" class="form-control" name="date_create">
                            </div>
                        </div>
                        <div class="col-6">
                            <div class="form-group mb-3">
                                <label class="mb-1">Gift Date</label>
                                <input type="date" class="form-control" name="date_gift">
                            </div>
                        </div>
                        <div class="col-6">
                            <div class="form-group mb-3">
                                <label class="mb-1">User ID</label>
                                <input type="number" class="form-control" name="userid" id="userid" placeholder="123456789">
                            </div>
                        </div>
                        <div class="col-6">
                            <div class="form-group mb-3">
                                <label class="mb-1">Nickname</label>
                                <input type="text" class="form-control" name="nick" id="nick" placeholder="wcode.id">
                            </div>
                        </div>
                        <div class="col-12">
                            <div class="form-group mb-3">
                                <label class="mb-1">Name Skin</label>
                                <input type="text" class="form-control" name="name_skin" id="name_skin" placeholder="wcode.id">
                            </div>
                        </div>
                        <div class="col-12">
                            <div class="form-group mb-3">
                                <label class="mb-1">Status</label>
                                <select name="status" class="form-control">
                                    <option value="Pending">Pending</option>
                                    <option value="Waiting">Waiting</option>
                                    <option value="Processing">Proccesing</option>
                                    <option value="Succcess">Success</option>
                                    <option value="Canceled">Canceled</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <hr>
                    <div class="float-right">
                        <button type="button" data-bs-dismiss="modal" aria-label="Close" class="btn btn-block bg-light fw-bold">BACK</button>
                        <button type="submit" name="add" class="btn btn-block text-white bg-primary fw-bold">TAMBAH</button>
                    </div>
                </form>
<?php } ?>