<div class="row clearfix fBTitrBold no-overflow-x " style="padding: 10px!important;">
    <div class="col-md-12">
        <div class="card full_height ">
            <div class="body">
                <center>
                    <p class="h3">سرویس ثبت نام در شبکه بزرگ نفیس</p>
                </center>
            </div>
        </div>
    </div>
    <?php /*
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-center full_height " dir="ltr">
        <div class="card full_height ">
            <div class="body table-responsive text-center">
                <div class="tab-1 resp-tab-content" aria-labelledby="tab_item-0" dir="ltr">
                    <form method="get" class="add-client-nafis">
                        <div class="row">

                            <div class="col-md-3">
                                <input placeholder="نام" class="form-control fBTitrBold" type="text" name="fName"
                                       value="مسافر"  required="required" dir="rtl">
                            </div>
                            <div class="col-md-4">
                                <input placeholder="نام خانوادگی" class="form-control fBTitrBold" type="text"
                                       name="lName"
                                       value="نوروزی" required="required" dir="rtl"/>
                            </div>
                            <div class="col-md-5">
                                <input placeholder="کد ملی" class="form-control fBTitrBold" type="text" name="nCode"
                                       required="required" dir="rtl" minlength="10" maxlength="10"/>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-4">
                                <input placeholder="شماره کارت بانکی "
                                       class="form-control fBTitrBold card-number card-number credit-card"
                                       type="text"
                                       name="bank"
                                       required="required" dir="ltr"
                                       minlength="19" maxlength="19"/>
                            </div>
                            <div class="col-md-4">
                                <input placeholder="شماره موبایل" class="form-control fBTitrBold" type="text"
                                       name="mobile"
                                       required="required" dir="rtl" minlength="10" maxlength="10"/>
                            </div>
                            <div class="col-md-4">
                                <input placeholder="تاریخ انقضای کارت" class="form-control fBTitrBold" type="text"
                                       name="Ex"
                                       required="required" dir="rtl" minlength="10" maxlength="10"
                                       value="1400/01/01"/>
                            </div>
                        </div>
                        <hr>
                        <div class="row">
                            <div class="col-md-3">
                                <input placeholder="کد 12 رقمی پشت کاشان کارت" class="form-control fBTitrBold" type="text"
                                       name="bnCode"
                                       dir="rtl" minlength="12" maxlength="12"/>
                            </div>
                            <div class="col-md-3">
                                <input placeholder="شماره شناسنامه" class="form-control fBTitrBold" type="text"
                                       name="IdNo"
                                       dir="rtl" minlength="10" maxlength="10"/>
                            </div>
                            <div class="col-md-3">
                                <input placeholder="نام پدر" class="form-control fBTitrBold" type="text"
                                       name="FatherName"
                                       dir="rtl"/>
                            </div>
                            <div class="col-md-3">
                                <input placeholder="تاریخ تولد" class="form-control fBTitrBold" type="text"
                                       name="BirthDate"
                                       dir="rtl" minlength="10" maxlength="10"/>
                            </div>
                        </div>
                        <div class="row">
                            <?php
                            session_start();
                            $uniqID = $_SESSION[$_COOKIE["user"]]['uniqid'];
                            $id = $_SESSION[$_COOKIE["user"]][$uniqID]['access-id'];
                            ?>
                            <div class="row hidden">
                                <input value="1" name="Mode" type="hidden">
                                <input value="<?php echo $id; ?>" name="RegFrom" type="hidden">
                            </div>
                        </div>
                        <div class="sign-up">
                            <input class="btn btn-success waves-effect" type="submit" value="ثبت نام"/>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
 */ ?>

</div>
<!-- #END# Hover Rows -->
<?php
/*
<script type="text/javascript">
    (function ($) {
        $(document).ready(function () {
            $('.credit-card').inputmask('9999-9999-9999-9999', {placeholder: '____-____-____-____'});

            $(".add-client-nafis").submit(function (event) {
                event.preventDefault();
                let result = {};
                $.each($(this).serializeArray(), function () {
                    result[this.name] = this.value;
                });
                addClient(result, $(this));
            });
        });

        function addClient(data, form) {
            LoadData({
                request: 'proxy',
                action: 'WebServicesController',
                object: {
                    GroupCode: 3131,
                    CategoryCode: 220744,
                    Mode: data['Mode'],
                    RegFrom: -10,
                    bnCode: data['bnCode'],
                    CardPan: data['bank'].replace(/-/g, ""),
                    FirstName: data['fName'],
                    LastName: data['lName'],
                    FatherName: data['FatherName'],
                    IdNo: data['IdNo'],
                    BirthDate: data['BirthDate'],
                    NationalCode: data['nCode'],
                    Mobile: data['mobile'],
                    CardExpireDate: data['Ex']
                },
                'data-header': 'NoCodeCustomerServiceNafis',
            }, null, true, function (data) {
                if (data.length === 1) {
                    data = data[0];
                    if (data.error !== undefined && data.error === 1 || data.error !== 'no error') {
                        swal("خطا", (data.message !== undefined ? data.message : data.error), "error");
                    } else {
                        let response = data.response;
                        form[0].reset();
                        let client = response.client;
                        let card = response.card;
                        console.log(response);
                        if (client.ResponseCode === "0000") {
                            swal({
                                title: "ثبت شد.",
                                text: "این درخواست ثبت شد.",
                                type: "success"
                            }, function () {
                                setTimeout(function (e) {
                                    if (card.ResponseCode === "0000") {
                                        let card = response.card;
                                        swal("ثبت شد.", "این درخواست ثبت شد.", "success");
                                    } else {
                                        swal(card.ErrorFieldName, card.ResponseMessage, "error");
                                    }
                                }, 500);
                            });
                        } else {
                            swal({
                                title: client.ErrorFieldName,
                                text: client.ResponseMessage,
                                type: "error"
                            }, function () {
                                setTimeout(function (e) {
                                    if (card.length !== 0 && typeof card === 'object' || card != null)
                                        if (card.ResponseCode === "0000") {
                                            swal("ثبت شد.", "این درخواست ثبت شد.", "success");
                                        } else {
                                            swal(card.ErrorFieldName, card.ResponseMessage, "error");
                                        }
                                }, 500);
                            });
                        }
                    }
                } else {
                    swal("خطا", "این درخواست انجام نشد", "error");
                }
            });
        }
    }(jQuery));
</script>
*/
?>