<?php $__env->startSection('icerik'); ?>

    <div class="pagetitle">
        <h1>Site Yöneticisi Ekle</h1>
        <nav>
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="/">Site</a></li>
                <li class="breadcrumb-item active">Site yöneticisi ekle</li>
            </ol>
        </nav>
    </div><!-- End Page Title -->


    <section class="section dashboard">
        <div class="row">
            <div class="col-lg-4">
                <div class="card">
                    <div class="card-header"><i class="bx bx-plus-circle"></i> Sistem Yöneticisi Tanımla</div>
                    <div class="card-body">


                        <form action="adminekle" class="arala" method="post">
                            <?php echo csrf_field(); ?>
                            İsim
                            <input type="text" name="name" class="form-control" id="">

                            Kullanıcı E-Mail
                            <input   type="email" class="form-control" name="email">

                            Şifre
                            <input required type="password" class="form-control" name="password">




                            <button class="btn btn-success"><i class="bx bxs-save"></i>Ekle</button>

                        </form>


                    </div>
                </div>
            </div>
            <div class="col-lg-8">
                <div class="card">
                    <div class="card-header"><i class="bx bx-plus-circle"></i> Tanımlı YÖneticiler</div>
                    <div class="card-body">
                        <table class="table table-hover">
                            <tr class="fw-bold">
                                <td>#</td>
                                <td>İsim</td>
                                <td>Kullanıcı Adı</td>
                                <td>Düzenle</td>
                                <td>Sil</td>
                            </tr>

                            <?php $__currentLoopData = $admins; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <td>#</td>
                                    <td><?php echo e($item->name); ?></td>
                                    <td><?php echo e($item->email); ?></td>
                                    <td><a href="adminduzenle?id=<?php echo e($item->id); ?>" class="btn btn-primary btn-sm">Düzenle</a></td>
                                    <td><div onclick="silmi('/admin/adminsil?id=<?php echo e($item->id); ?>')" class="btn btn-danger btn-sm">Sil</div></td>

                                </tr>


                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        </table>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <style>
        .arala * {
            margin-bottom: 5px;
            margin-top: 5px;
            clear: both
        }

        .arabafoto { border-radius: 5px; border: solid 0.5px darkgray; padding: 3px; max-width: 50px; max-height: 50px;}
        .aracfiyat div { width:45%;float: left; min-width: 100px;  }
        .aracfiyat div:nth-child(1) {
            text-align: right;
            margin-right: 10px;
        }

        .aracfiyat div:nth-child(2) {
            text-align: left;
        }

        .input-group {text-align: left!important;}
    </style>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('title','Transfer Araçları'); ?>

<?php echo $__env->make('panel.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ucretsizscript/transferpro.ucretsizscript.net/resources/views/admin/admins.blade.php ENDPATH**/ ?>