
<?php $__env->startSection('container'); ?>
<?php $__env->startSection('webinfo_select', 'active'); ?>
<!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
      <?php if(session()->has('msg')): ?>
          <div class="alert alert-success" role="alert">
            <?php echo e(session('msg')); ?>

          </div>
        <?php endif; ?>
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0">Web Info</h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active">Web Info</li>
            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <!-- Small boxes (Stat box) -->
        <div class="row">
        <div class="col-md-12">
            <!-- general form elements -->
            <div class="card card-primary">
              <div class="card-header">
                <h3 class="card-title">Web Info</h3>
              </div>
              <!-- /.card-header -->
              <!-- form start -->
              <form action="<?php echo e(route('manage_webinfo_process')); ?>" method="post" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <?php if($id>0): ?>
                    <?php echo e($image_required=""); ?>

                  <?php else: ?>
                  <?php echo e($image_required="required"); ?>

                  <?php endif; ?>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Logo</label>
                    <input type="file" name="logo" class="form-control" id="exampleInputEmail1" <?php echo e($image_required); ?>>
                  </div>
                  <?php $__errorArgs = ['logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                  <div class="alert alert-danger" role="alert">
                  <?php echo e($message); ?>

                  </div>
                  <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                  <div class="form-group col-12">
                    <img src="<?php echo e(asset('storage/media/'.$logo)); ?>" height="60px" width="100px" alt="">
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Admin Logo</label>
                    <input type="file" name="admin_logo" class="form-control" id="exampleInputEmail1" <?php echo e($image_required); ?>>
                  </div>
                  <?php $__errorArgs = ['admin_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                  <div class="alert alert-danger" role="alert">
                  <?php echo e($message); ?>

                  </div>
                  <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                  <div class="form-group col-12">
                    <img src="<?php echo e(asset('storage/media/'.$admin_logo)); ?>" height="60px" width="100px" alt="">
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">About Description</label>
                    <textarea name="abt_descr" rows="5" class="form-control" placeholder="Enter description"><?php echo e($abt_descr); ?></textarea>
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Email</label>
                    <input type="text" name="email" value="<?php echo e($email); ?>" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Phone</label>
                    <input type="text" name="phone" value="<?php echo e($phone); ?>" class="form-control" id="exampleInputEmail1" placeholder="Enter phone">
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Address</label>
                    <textarea name="address" class="form-control" placeholder="Enter address"><?php echo e($address); ?></textarea>
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Facebook</label>
                    <input type="text" name="facebook" value="<?php echo e($facebook); ?>" class="form-control" id="exampleInputEmail1" placeholder="Enter facebook link">
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Twitter</label>
                    <input type="text" name="twitter" value="<?php echo e($twitter); ?>" class="form-control" id="exampleInputEmail1" placeholder="Enter twitter link">
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Instagram</label>
                    <input type="text" name="instagram" value="<?php echo e($instagram); ?>" class="form-control" id="exampleInputEmail1" placeholder="Enter instagram link">
                  </div>
                  <div class="form-group col-12">
                    <label for="exampleInputEmail1">Youtube</label>
                    <input type="text" name="google" value="<?php echo e($google); ?>" class="form-control" id="exampleInputEmail1" placeholder="Enter google link">
                  </div>
                  

                 
                
                <!-- /.card-body -->

                <div class="card-footer">
                  <button type="submit" name="Save" class="btn btn-primary">Submit</button>
                </div>
                
                <input type="hidden" name="id" value="<?php echo e($id); ?>">
              </form>
            </div>
            <!-- /.card -->

            <!-- general form elements -->
            
            <!-- /.card -->

            <!-- Input addon -->
           
          
            <!-- /.card -->

          </div>
<!-- /.col -->
        </div>
        <!-- /.row -->
        <!-- Main row -->
       
        <!-- /.row (main row) -->
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <?php $__env->stopSection(); ?>
<?php echo $__env->make('backend/layouts/layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nibeedeeta/public_html/resources/views/backend/webinfo.blade.php ENDPATH**/ ?>