<?php $__env->startSection('css'); ?>
    <?php echo toastr_css(); ?>
    <link href="<?php echo e(URL::asset('assets/plugins/fileuploads/css/fileupload.css')); ?>" rel="stylesheet" type="text/css" />
    <!---Internal Fancy uploader css-->
    <link href="<?php echo e(URL::asset('assets/plugins/fancyuploder/fancy_fileupload.css')); ?>" rel="stylesheet" />
<?php $__env->startSection('title'); ?>
<?php echo e(trans('Certificat_trans.title_page')); ?>

<?php $__env->stopSection(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-header'); ?>
    <!-- breadcrumb -->
<?php $__env->startSection('PageTitle'); ?>
<?php echo e(trans('Certificat_trans.title_page')); ?> 
<?php $__env->stopSection(); ?>
<!-- breadcrumb -->
<div class="page-title">
    <div class="row">
        <div class="col-sm-6">
            <h4 class="mb-0"> <?php echo e(trans('Certificat_trans.title_page')); ?></h4>
        </div>
        <div class="col-sm-6">
            <ol class="breadcrumb pt-0 pr-0 float-left float-sm-right ">
                <li class="breadcrumb-item"><a href="#" class="default-color"><?php echo e(trans('main_trans.Dashboard')); ?></a></li>
                <li class="breadcrumb-item active"> <?php echo e(trans('Certificat_trans.title_page')); ?></li>
            </ol>
        </div>
    </div>
</div>
<!-- breadcrumb -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <!-- row -->
    <div class="row">
        <div class="col-md-12 mb-30">
            <a href="<?php echo e(route('certificats.index')); ?>">
                <button type="button" class="btn btn-primary l-t-20">
                    <?php echo e(trans('main_trans.back')); ?>

                </button>
            </a>
            <br><br>
            <div class="card card-statistics h-100">
                
                <div class="card-body">

                    <?php if($errors->any()): ?>
                        <div class="alert alert-danger">
                            <ul>
                                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li><?php echo e($error); ?></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                    <?php endif; ?>
                    
                        
                         <?php echo Form::open(['url' => 'studentfileupload', 'autocomplete' => 'off', 'files' => 'ture' ]); ?>   
                            <?php echo csrf_field(); ?>

                            
                           
                            <p class="text-danger">* صيغة المرفقات: jpeg ,jpg , png </p>
                           
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="students"><?php echo e(trans('Certificat_trans.school_certificat')); ?> : <h6>في حالة بدل الفاقد</h6> </label>
                                        <input type="file" name="students" class="dropify"
                                        accept=".xlsx,.xlx" data-height="70" />
                                    </div>
                                </div>
                            </div>

                            <div class="d-flex justify-content-center">
                                <button type="submit" class="btn btn-primary btn-lg"><?php echo e(trans('Certificat_trans.submit')); ?></button>
                            </div>
                            
                            <?php echo Form::close(); ?>

                            
                </div>
            </div>
        </div>
    </div>
    <!-- row closed -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
    <?php echo toastr_js(); ?>
    <?php echo app('toastr')->render(); ?>
    <script src="<?php echo e(URL::asset('assets/plugins/fileuploads/js/fileupload.js')); ?>"></script>
    <script src="<?php echo e(URL::asset('assets/plugins/fileuploads/js/file-upload.js')); ?>"></script>
    <!--Internal Fancy uploader js-->
    <script src="<?php echo e(URL::asset('assets/plugins/fancyuploder/jquery.ui.widget.js')); ?>"></script>
    <script src="<?php echo e(URL::asset('assets/plugins/fancyuploder/jquery.fileupload.js')); ?>"></script>
    <script src="<?php echo e(URL::asset('assets/plugins/fancyuploder/jquery.iframe-transport.js')); ?>"></script>
    <script src="<?php echo e(URL::asset('assets/plugins/fancyuploder/jquery.fancy-fileupload.js')); ?>"></script>
    <script src="<?php echo e(URL::asset('assets/plugins/fancyuploder/fancy-uploader.js')); ?>"></script>

    <script>
        $(document).ready(function() {
    
            $('#en').hide();
            $('#ar').hide();
    
            $('input[type="checkbox"]').click(function() {
                if ($(this).attr('id') == 'lang1') {
                    $('#ar').show();
                } 
                else if ($(this).attr('id') == 'lang2')
                {
                    $('#en').show();
                }
               
            });
        });
    
    </script>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eustedu/Certificates/resources/views/pages/users/import.blade.php ENDPATH**/ ?>