Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
painelkaickaviella.meumercado.app
/
storage
/
framework
/
views
/
Editing: 7cc0dcb3fd9ae35b0b26945e7947d656044f2713.php
<?php $__env->startSection('title', translate('Settings')); ?> <?php $__env->startPush('css_or_js'); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="content container-fluid"> <!-- Page Header --> <div class="page-header"> <div class="row align-items-center"> <div class="col-sm mb-2 mb-sm-0"> <h1 class="page-header-title"><?php echo e(\App\CentralLogics\translate('smtp')); ?> <?php echo e(\App\CentralLogics\translate('mail')); ?> <?php echo e(\App\CentralLogics\translate('setup')); ?></h1> </div> </div> </div> <!-- End Page Header --> <div class="row gx-2 gx-lg-3"> <?php ($config=\App\Model\BusinessSetting::where(['key'=>'mail_config'])->first()); ?> <?php ($data=json_decode($config['value'],true)); ?> <div class="col-sm-12 col-lg-12 mb-3 mb-lg-2"> <form action="<?php echo e(route('admin.business-settings.mail-config')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <?php if(isset($config)): ?> <div class="form-group mb-2"> <label style="padding-left: 10px"><?php echo e(\App\CentralLogics\translate('mailer')); ?> <?php echo e(\App\CentralLogics\translate('name')); ?></label><br> <input type="text" placeholder="<?php echo e(translate('ex : Alex')); ?>" class="form-control" name="name" value="<?php echo e(env('APP_MODE')=='demo'?'':$data['name']); ?>" required> </div> <div class="form-group mb-2"> <label style="padding-left: 10px"><?php echo e(\App\CentralLogics\translate('host')); ?></label><br> <input type="text" class="form-control" name="host" value="<?php echo e(env('APP_MODE')=='demo'?'':$data['host']); ?>" required> </div> <div class="form-group mb-2"> <label style="padding-left: 10px"><?php echo e(\App\CentralLogics\translate('driver')); ?></label><br> <input type="text" class="form-control" name="driver" value="<?php echo e(env('APP_MODE')=='demo'?'':$data['driver']); ?>" required> </div> <div class="form-group mb-2"> <label style="padding-left: 10px"><?php echo e(\App\CentralLogics\translate('port')); ?></label><br> <input type="text" class="form-control" name="port" value="<?php echo e(env('APP_MODE')=='demo'?'':$data['port']); ?>" required> </div> <div class="form-group mb-2"> <label style="padding-left: 10px"><?php echo e(\App\CentralLogics\translate('username')); ?></label><br> <input type="text" placeholder="<?php echo e(translate('ex : ex@yahoo.com')); ?>" class="form-control" name="username" value="<?php echo e(env('APP_MODE')=='demo'?'':$data['username']); ?>" required> </div> <div class="form-group mb-2"> <label style="padding-left: 10px"><?php echo e(\App\CentralLogics\translate('email')); ?> <?php echo e(\App\CentralLogics\translate('id')); ?></label><br> <input type="text" placeholder="<?php echo e(translate('ex : ex@yahoo.com')); ?>" class="form-control" name="email" value="<?php echo e(env('APP_MODE')=='demo'?'':$data['email_id']); ?>" required> </div> <div class="form-group mb-2"> <label style="padding-left: 10px"><?php echo e(\App\CentralLogics\translate('encryption')); ?></label><br> <input type="text" placeholder="<?php echo e(translate('ex : tls')); ?>" class="form-control" name="encryption" value="<?php echo e(env('APP_MODE')=='demo'?'':$data['encryption']); ?>" required> </div> <div class="form-group mb-2"> <label style="padding-left: 10px"><?php echo e(\App\CentralLogics\translate('password')); ?></label><br> <input type="text" class="form-control" name="password" value="<?php echo e(env('APP_MODE')=='demo'?'':$data['password']); ?>" required> </div> <?php if(env('APP_MODE')=='demo'): ?> <button type="button" onclick="call_demo()" class="btn btn-primary"><?php echo e(translate('Save Changes')); ?> </button> <?php else: ?> <button type="submit" class="btn btn-primary mb-2"><?php echo e(\App\CentralLogics\translate('save')); ?></button> <?php endif; ?> <?php else: ?> <button type="submit" class="btn btn-primary mb-2"><?php echo e(\App\CentralLogics\translate('configure')); ?></button> <?php endif; ?> </form> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script_2'); ?> <script> function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#viewer').attr('src', e.target.result); } reader.readAsDataURL(input.files[0]); } } $("#customFileEg1").change(function () { readURL(this); }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.admin.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/meumer25/api.meumercado.app/resources/views/admin-views/business-settings/mail-index.blade.php ENDPATH**/ ?>
Save
Cancel