

<?php $__env->startSection('title'); ?>
    Settings || Admin
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

        <!-- Content Header (Page header) -->
        <section class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h4>Settings</h4>
                    </div>
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-right">
                            <li class="breadcrumb-item"><a href="#"> Panel </a></li>
                            <li class="breadcrumb-item active"> Settings </li>
                        </ol>
                    </div>
                </div>
            </div>
        </section>
        <!-- Content Header (Page header) -->

        <!-- Main content -->
        <section class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="card card-primary card-outline">
                            <div class="card-body">
                                <div class="row">
                                    <div class="col-sm-3">
                                        <div class="nav flex-column border-right nav-pills nav-pills-tab" id="tab"
                                            role="tablist" aria-orientation="vertical">
                                            <a class="nav-link show mb-2 active" id="base_name-tab" data-toggle="pill"
                                                href="#base_name" role="tab" aria-controls="base_name"
                                                aria-selected="true">
                                                Site Name</a>
                                            <a class="nav-link show mb-2" id="logo-tab" data-toggle="pill" href="#logo"
                                                role="tab" aria-controls="Logo" aria-selected="false">
                                                Logo</a>
                                            <a class="nav-link mb-2" id="profile-tab" data-toggle="pill" href="#footer_logo"
                                                role="tab" aria-controls="footer_logo" aria-selected="false">
                                                Footer Logo</a>
                                            <a class="nav-link mb-2" id="profile-tab" data-toggle="pill" href="#favicon"
                                                role="tab" aria-controls="favicon" aria-selected="false">
                                                Favicon</a>
                                            <a class="nav-link mb-2" id="profile-tab" data-toggle="pill" href="#share_image"
                                                role="tab" aria-controls="share_image" aria-selected="false">
                                                Share Image</a>

                                            <a class="nav-link mb-2" id="profile-tab" data-toggle="pill" href="#upi_qr_code"
                                                role="tab" aria-controls="upi_qr_code" aria-selected="false">
                                                UPI QR Code</a>

                                            <a class="nav-link mb-2" id="signature-tab" data-toggle="pill" href="#signature"
                                                role="tab" aria-controls="signature" aria-selected="false">
                                                Signature</a>

                                            
                                            <a class="nav-link mb-2" id="footer_contact-tab" data-toggle="pill"
                                                href="#footer_contact" role="tab" aria-controls="footer_contact"
                                                aria-selected="false">
                                                Footer & Contact</a>
                                            <a class="nav-link mb-2" id="home_meta-tab" data-toggle="pill" href="#home_meta"
                                                role="tab" aria-controls="home_meta" aria-selected="false">
                                                Default Meta Section</a>

                                            <a class="nav-link show mb-2" id="theme_color-tab" data-toggle="pill"
                                                href="#theme_color" role="tab" aria-controls="Theme Color"
                                                aria-selected="false">
                                                Theme Color</a>
                                            <a class="nav-link show mb-2" id="currency-tab" data-toggle="pill"
                                                href="#currency" role="tab" aria-controls="Currency"
                                                aria-selected="false">
                                                Currency</a>
                                            <a class="nav-link show mb-2" id="membership_fee-tab" data-toggle="pill"
                                                href="#membership_fee" role="tab" aria-controls="Membership Fee"
                                                aria-selected="false">
                                                Membership Fee</a>
                                            <a class="nav-link show mb-2" id="account_details-tab" data-toggle="pill"
                                                href="#account_details" role="tab" aria-controls="Account Details"
                                                aria-selected="false">
                                                Account Details</a>
                                        </div>
                                    </div> <!-- end col-->
                                    <div class="col-sm-9">
                                        <div class="tab-content text-muted pt-0">
                                            <div class="tab-pane fade active show" id="base_name" role="tabpanel"
                                                aria-labelledby="base_name-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Site Name</h4>
                                                    <textarea name="site_name" class="form-control" rows="3"><?php echo e($settings->site_name); ?></textarea>
                                                    <button type="submit"
                                                        class="btn btn-success float-right my-2">Update</button>
                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="logo" role="tabpanel"
                                                aria-labelledby="logo-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update/logo'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Website Logo</h4>
                                                    <input type="file" name="logo" class="dropify"
                                                        data-default-file="<?php echo e(asset($settings->logo)); ?>"
                                                        data-max-file-size="1M" />
                                                    <button type="submit" class="btn btn-success float-right my-2">Update
                                                        Logo</button>
                                                </form>
                                            </div>
                                            <div class="tab-pane fade" id="footer_logo" role="tabpanel"
                                                aria-labelledby="footer_logo-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update/footer_logo'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Website Footer Logo</h4>
                                                    <input type="file" name="footer_logo" class="dropify"
                                                        data-default-file="<?php echo e(asset($settings->footer_logo)); ?>"
                                                        data-max-file-size="1M" />
                                                    <button type="submit" class="btn btn-success float-right my-2">Update
                                                        Logo</button>
                                                </form>
                                            </div>
                                            <div class="tab-pane fade" id="favicon" role="tabpanel"
                                                aria-labelledby="favicon-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update/favicon'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Favicon</h4>
                                                    <input type="file" name="favicon" class="dropify"
                                                        data-default-file="<?php echo e(asset($settings->favicon)); ?>"
                                                        data-max-file-size="1M" />
                                                    <button type="submit" class="btn btn-success float-right my-2">Update
                                                        Favicon</button>
                                                </form>
                                            </div>
                                            <div class="tab-pane fade" id="share_image" role="tabpanel"
                                                aria-labelledby="share_image-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update/share_image'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Share Image (512px X 512px)</h4>
                                                    <input type="file" name="share_image" class="dropify"
                                                        data-default-file="<?php echo e(asset($settings->share_image)); ?>"
                                                        data-max-file-size="1M" />
                                                    <button type="submit" class="btn btn-success float-right my-2">Update
                                                        Share Image</button>
                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="upi_qr_code" role="tabpanel"
                                                aria-labelledby="upi_qr_code-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update/upi_qr_code'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">UPI QR (512px X 512px)</h4>
                                                    <input type="file" name="upi_qr_code" class="dropify"
                                                        data-default-file="<?php echo e(asset($settings->upi_qr_code)); ?>"
                                                        data-max-file-size="1M" />
                                                    <button type="submit" class="btn btn-success float-right my-2">Update
                                                        UPI QR</button>
                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="signature" role="tabpanel"
                                                aria-labelledby="signature-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update/signature'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Admin Signature (PNG, JPG)</h4>
                                                    <input type="file" name="signature" class="dropify"
                                                        data-default-file="<?php echo e(asset($settings->signature)); ?>"
                                                        data-max-file-size="1M" />
                                                    <button type="submit" class="btn btn-success float-right my-2">
                                                        Update Signature
                                                    </button>
                                                </form>
                                            </div>


                                            <div class="tab-pane fade" id="home_popup" role="tabpanel"
                                                aria-labelledby="home_popup-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Home Page Popup</h4>
                                                    <div class="form-group">
                                                        <label for="userName">Home Popup Content<span
                                                                class="text-danger">*</span></label>
                                                        <textarea name="home_popup" required="" class="form-control summernote"><?php echo $settings->home_popup; ?></textarea>
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="exampleInputEmail1">Home Popup Status</label>
                                                        <select name="home_popup_status" class="form-control">
                                                            <option value="1"
                                                                <?php if($settings->home_popup_status == 1): ?> selected <?php endif; ?>>Active
                                                            </option>
                                                            <option value="0"
                                                                <?php if($settings->home_popup_status == 0): ?> selected <?php endif; ?>>Disabled
                                                            </option>
                                                        </select>
                                                    </div>

                                                    <div class="form-group">
                                                        <button type="submit"
                                                            class="btn btn-success float-right my-2">Update</button>
                                                    </div>

                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="updatecat" role="tabpanel"
                                                aria-labelledby="updatecat-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/updatecat/catalogue'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Catalogue</h4>
                                                    <div class="form-group">
                                                        <label for="userName">Catalogue<span
                                                                class="text-danger">*</span></label>
                                                        <input type="file" name="catalogue" class="dropify"
                                                            data-default-file="<?php echo e(asset($settings->catalogue)); ?>"
                                                            data-max-file-size="1M" />
                                                        <a href="<?php echo e(asset($settings->catalogue)); ?>" target="new"
                                                            class="btn form-control btn-secondary text-center">Go to
                                                            file</a>
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="exampleInputEmail1">Catalogue Status</label>
                                                        <select name="catalogue_status" class="form-control">
                                                            <option value="1"
                                                                <?php if($settings->catalogue_status == 1): ?> selected <?php endif; ?>>Active
                                                            </option>
                                                            <option value="0"
                                                                <?php if($settings->catalogue_status == 0): ?> selected <?php endif; ?>>Disabled
                                                            </option>
                                                        </select>
                                                    </div>

                                                    <div class="form-group">
                                                        <button type="submit"
                                                            class="btn btn-success float-right my-2">Update</button>
                                                    </div>

                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="footer_contact" role="tabpanel"
                                                aria-labelledby="footer_contact-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Footer & Contact</h4>
                                                    <div class="form-group">
                                                        <label for="userName">Footer - About Us<span
                                                                class="text-danger">*</span></label>
                                                        <textarea name="footer_about" required="" class="form-control"><?php echo e($settings->footer_about); ?></textarea>
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="userName">Footer - Copyright<span
                                                                class="text-danger">*</span></label>
                                                        <input name="copyright" required="" class="form-control"
                                                            value="<?php echo e($settings->copyright); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="userName">Contact Address<span
                                                                class="text-danger">*</span></label>
                                                        <textarea name="address" required="" class="form-control"><?php echo e($settings->address); ?></textarea>
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="userName">Email<span
                                                                class="text-danger">*</span></label>
                                                        <input name="email" required="" class="form-control"
                                                            value="<?php echo e($settings->email); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="userName">Footer Email<span
                                                                class="text-danger">*</span></label>
                                                        <input name="email2" required="" class="form-control"
                                                            value="<?php echo e($settings->email2); ?>">
                                                    </div>


                                                    <div class="form-group">
                                                        <label for="userName">Website<span
                                                                class="text-danger">*</span></label>
                                                        <input name="web_url" required="" class="form-control"
                                                            value="<?php echo e($settings->web_url); ?>">
                                                    </div>


                                                    
                                                    <div class="form-group">
                                                        <label for="userName">Whatsapp Number<span
                                                                class="text-danger">*</span></label>
                                                        <input name="whatsapp_no" required="" class="form-control"
                                                            value="<?php echo e($settings->whatsapp_no); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="userName">Phone Number<span
                                                                class="text-danger">*</span></label>
                                                        <input name="phone" required="" class="form-control"
                                                            value="<?php echo e($settings->phone); ?>">
                                                    </div>



                                                    <div class="form-group">
                                                        <label for="userName">Contact Map URL<span
                                                                class="text-danger">*</span></label>
                                                        <textarea name="map" required="" rows="5" class="form-control"><?php echo e($settings->map); ?></textarea>
                                                    </div>

                                                    <div class="form-group">
                                                        <button type="submit"
                                                            class="btn btn-success float-right my-2">Update</button>
                                                    </div>

                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="home_meta" role="tabpanel"
                                                aria-labelledby="home_meta-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>



                                                    <h4 class="header-title mb-4">Default Meta Content</h4>
                                                    <div class="form-group">
                                                        <label for="userName">Meta Title<span
                                                                class="text-danger">*</span></label>
                                                        <input name="title" required="" class="form-control"
                                                            value="<?php echo e($settings->title); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="userName">Meta Keyword<span
                                                                class="text-danger">*</span></label>
                                                        <textarea name="meta_keywords" required="" class="form-control"><?php echo e($settings->meta_keywords); ?></textarea>
                                                    </div>

                                                    <div class="form-group">
                                                        <label for="userName">Meta Description<span
                                                                class="text-danger">*</span></label>
                                                        <textarea name="meta_description" required="" rows="5" class="form-control"><?php echo e($settings->meta_description); ?></textarea>
                                                    </div>

                                                    <div class="form-group">
                                                        <button type="submit"
                                                            class="btn btn-success float-right my-2">Update</button>
                                                    </div>

                                                </form>
                                            </div>



                                            <div class="tab-pane fade" id="theme_color" role="tabpanel"
                                                aria-labelledby="theme_color-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>



                                                    <h4 class="header-title mb-4">Theme Color</h4>
                                                    <input type="text" name="theme_color" id="default-colorpicker"
                                                        class="form-control colorpicker-element"
                                                        value="<?php echo e($settings->theme_color); ?>">

                                                    <h4 class="header-title mb-4 mt-2">Secondary Color</h4>
                                                    <input type="text" name="secondary_color" id="default-colorpicker"
                                                        class="form-control colorpicker-element"
                                                        value="<?php echo e($settings->secondary_color); ?>">
                                                    <button type="submit"
                                                        class="btn btn-success float-right my-2">Update</button>
                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="currency" role="tabpanel"
                                                aria-labelledby="currency-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Currency</h4>
                                                    <input type="text" name="currency" class="form-control"
                                                        value="<?php echo e($settings->currency); ?>">
                                                    <button type="submit"
                                                        class="btn btn-success float-right my-2">Update</button>
                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="membership_fee" role="tabpanel"
                                                aria-labelledby="membership_fee-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Membership Fee</h4>
                                                    <input type="number" name="membership_fee" class="form-control"
                                                        value="<?php echo e($settings->membership_fee); ?>"
                                                        placeholder="Enter Membership Fee">
                                                    <button type="submit"
                                                        class="btn btn-success float-right my-2">Update</button>
                                                </form>
                                            </div>

                                            <div class="tab-pane fade" id="account_details" role="tabpanel"
                                                aria-labelledby="account_details-tab">
                                                <form class="form-horizontal"
                                                    action="<?php echo e(config('app.admin.url') . 'settings/update'); ?>"
                                                    method="post" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <h4 class="header-title mb-4">Account Details</h4>

                                                    <div class="form-group">
                                                        <label>Bank Name</label>
                                                        <input type="text" name="bank_name" class="form-control"
                                                            value="<?php echo e($settings->bank_name); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label>Account Holder</label>
                                                        <input type="text" name="account_holder" class="form-control"
                                                            value="<?php echo e($settings->account_holder); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label>Account Number</label>
                                                        <input type="text" name="account_number" class="form-control"
                                                            value="<?php echo e($settings->account_number); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label>IFSC Code</label>
                                                        <input type="text" name="ifsc_code" class="form-control"
                                                            value="<?php echo e($settings->ifsc_code); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label>Branch Name</label>
                                                        <input type="text" name="branch_name" class="form-control"
                                                            value="<?php echo e($settings->branch_name); ?>">
                                                    </div>

                                                    <div class="form-group">
                                                        <label>UPI ID</label>
                                                        <input type="text" name="upi_id" class="form-control"
                                                            value="<?php echo e($settings->upi_id); ?>">
                                                    </div>

                                                    

                                                    <button type="submit"
                                                        class="btn btn-success float-right my-2">Update</button>
                                                </form>
                                            </div>


                                        </div>
                                    </div> <!-- end col-->
                                </div> <!-- end row-->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

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

<?php echo $__env->make('admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/enexademo/public_html/gmmedu/resources/views/admin/settings.blade.php ENDPATH**/ ?>