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

<!-- [ breadcrumb ] start -->
<div class="page-header">
    <div class="page-block">
        <div class="row align-items-center">
            <div class="col-md-12">
                <ul class="breadcrumb">
                    <li class="breadcrumb-item"><a href="<?php echo e(route('admin.dashboard')); ?>">হোম</a></li>
                    <li class="breadcrumb-item"><a href="javascript: void(0)">সেটিংস</a></li>
                    <li class="breadcrumb-item" aria-current="page"><?php echo e(__('Website Contents')); ?></li>
                </ul>
            </div>
            <div class="col-md-12">
                <div class="page-header-title">
                    <h2 class="mb-0"><?php echo e(__('Website Contents')); ?></h2>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- [ breadcrumb ] end -->

<?php echo $__env->make('includes.admin.form-both', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<form class="uplogo-form" id="geniusform" action="<?php echo e(route('admin.generalsettings.update')); ?>" method="POST" enctype="multipart/form-data">
    <?php echo e(csrf_field()); ?>


    
    <div class="card">
        <div class="card-header">
            <h5><?php echo e(__('Basic Settings')); ?></h5>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('Website Title')); ?> <span class="text-danger">*</span></label>
                    <input type="text" class="form-control" name="title" value="<?php echo e($data->title); ?>" placeholder="<?php echo e(__('Write Your Site Title Here')); ?>" required>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('Email')); ?> <span class="text-danger">*</span></label>
                    <input type="text" class="form-control" name="email" value="<?php echo e($data->email); ?>" placeholder="<?php echo e(__('Write Your Email Address')); ?>" required>
                </div>
            </div>
            <div class="row">
                <div class="col-md-4 mb-3">
                    <label class="form-label"><?php echo e(__('Primary Color')); ?> <span class="text-danger">*</span></label>
                    <div class="input-group colorpicker-component cp">
                        <input type="text" class="form-control color-field cp" name="theme_color" value="<?php echo e($data->theme_color); ?>">
                        <span class="input-group-text"><i></i></span>
                    </div>
                </div>
                <div class="col-md-4 mb-3">
                    <label class="form-label"><?php echo e(__('Secondary Color')); ?> <span class="text-danger">*</span></label>
                    <div class="input-group colorpicker-component cp">
                        <input type="text" class="form-control color-field cp" name="footer_color" value="<?php echo e($data->footer_color); ?>">
                        <span class="input-group-text"><i></i></span>
                    </div>
                </div>
                <div class="col-md-4 mb-3">
                    <label class="form-label"><?php echo e(__('Footer Color')); ?> <span class="text-danger">*</span></label>
                    <div class="input-group colorpicker-component cp">
                        <input type="text" class="form-control color-field cp" name="copyright_color" value="<?php echo e($data->copyright_color); ?>">
                        <span class="input-group-text"><i></i></span>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('Facebook Page URL')); ?> <span class="text-danger">*</span></label>
                    <input type="text" class="form-control" name="facebook_page_link" value="<?php echo e($data->facebook_page_link); ?>" placeholder="<?php echo e(__('Write Your Page URL')); ?>" required>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('TimeZone')); ?> <span class="text-danger">*</span></label>
                    <?php
                        $timezone_identifiers = DateTimeZone::listIdentifiers(DateTimeZone::ALL);
                    ?>
                    <select name="time_zone" class="form-select">
                        <option disabled><?php echo e(__('Please Select Timezone')); ?></option>
                        <?php for($i = 0; $i < 419; $i++): ?>
                            <option value="<?php echo e($timezone_identifiers[$i]); ?>" <?php echo e($data->time_zone == $timezone_identifiers[$i] ? 'selected' : ''); ?>><?php echo e($timezone_identifiers[$i]); ?></option>
                        <?php endfor; ?>
                    </select>
                </div>
            </div>
        </div>
    </div>

    
    <div class="card">
        <div class="card-header">
            <h5><?php echo e(__('Feature Toggles')); ?></h5>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-md-3 mb-3">
                    <label class="form-label"><?php echo e(__('Facebook Page (ON/OFF)')); ?></label>
                    <select class="form-select" name="is_facebook">
                        <option value="1" <?php echo e($data->is_facebook == 1 ? 'selected' : ''); ?>><?php echo e(__('Activated')); ?></option>
                        <option value="0" <?php echo e($data->is_facebook == 0 ? 'selected' : ''); ?>><?php echo e(__('Deactivated')); ?></option>
                    </select>
                </div>
                <div class="col-md-3 mb-3">
                    <label class="form-label"><?php echo e(__('Live TV (ON/OFF)')); ?></label>
                    <select class="form-select" name="is_live_tv">
                        <option value="1" <?php echo e($data->is_live_tv == 1 ? 'selected' : ''); ?>><?php echo e(__('Activated')); ?></option>
                        <option value="0" <?php echo e($data->is_live_tv == 0 ? 'selected' : ''); ?>><?php echo e(__('Deactivated')); ?></option>
                    </select>
                </div>
                <div class="col-md-3 mb-3">
                    <label class="form-label"><?php echo e(__('Notice (ON/OFF)')); ?></label>
                    <select class="form-select" name="is_notice">
                        <option value="1" <?php echo e($data->is_notice == 1 ? 'selected' : ''); ?>><?php echo e(__('Activated')); ?></option>
                        <option value="0" <?php echo e($data->is_notice == 0 ? 'selected' : ''); ?>><?php echo e(__('Deactivated')); ?></option>
                    </select>
                </div>
                <div class="col-md-3 mb-3">
                    <label class="form-label"><?php echo e(__('Our National Anthem (ON/OFF)')); ?></label>
                    <select class="form-select" name="is_national">
                        <option value="1" <?php echo e($data->is_national == 1 ? 'selected' : ''); ?>><?php echo e(__('Activated')); ?></option>
                        <option value="0" <?php echo e($data->is_national == 0 ? 'selected' : ''); ?>><?php echo e(__('Deactivated')); ?></option>
                    </select>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('Pool (ON/OFF)')); ?></label>
                    <select class="form-select" name="is_pool_on">
                        <option value="1" <?php echo e($data->is_pool_on == 1 ? 'selected' : ''); ?>><?php echo e(__('Activated')); ?></option>
                        <option value="0" <?php echo e($data->is_pool_on == 0 ? 'selected' : ''); ?>><?php echo e(__('Deactivated')); ?></option>
                    </select>
                </div>
            </div>
        </div>
    </div>

    
    <div class="card">
        <div class="card-header">
            <h5><?php echo e(__('Content Areas')); ?></h5>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('Live TV Embed Code')); ?></label>
                    <textarea class="form-control" name="live_tv" rows="4" required><?php echo e($data->live_tv); ?></textarea>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('Notice Text')); ?></label>
                    <textarea class="form-control" name="notice_text" rows="4" required><?php echo e($data->notice_text); ?></textarea>
                </div>
            </div>
        </div>
    </div>

    
    <div class="card">
        <div class="card-header">
            <h5><?php echo e(__('Verification Codes')); ?></h5>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('Search Console Verification Code')); ?></label>
                    <textarea class="form-control" name="search_console" rows="3" required><?php echo e($data->search_console); ?></textarea>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label"><?php echo e(__('Adsense Verification Code')); ?></label>
                    <textarea class="form-control" name="adsense_code" rows="3" required><?php echo e($data->adsense_code); ?></textarea>
                </div>
            </div>
        </div>
    </div>

    
    <div class="card">
        <div class="card-header">
            <h5><?php echo e(__('Advertisement Codes')); ?></h5>
        </div>
        <div class="card-body">
            <h6 class="mb-3 text-muted">728x90 Ads</h6>
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label">Header 728x90 Ads <span class="text-danger">*</span></label>
                    <textarea class="form-control" name="horizontal_adds1" rows="3" required><?php echo e($data->horizontal_adds1); ?></textarea>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label">Homepage 1 728x90 Ads <span class="text-danger">*</span></label>
                    <textarea class="form-control" name="header1_728" rows="3" required><?php echo e($data->header1_728); ?></textarea>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label">Homepage 2 728x90 Ads <span class="text-danger">*</span></label>
                    <textarea class="form-control" name="header2_728" rows="3" required><?php echo e($data->header2_728); ?></textarea>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label">Homepage 3 728x90 Ads <span class="text-danger">*</span></label>
                    <textarea class="form-control" name="header3_728" rows="3" required><?php echo e($data->header3_728); ?></textarea>
                </div>
            </div>
            <div class="mb-3">
                <label class="form-label">Homepage 4 728x90 Ads <span class="text-danger">*</span></label>
                <textarea class="form-control" name="header4_728" rows="3" required><?php echo e($data->header4_728); ?></textarea>
            </div>

            <hr>
            <h6 class="mb-3 text-muted">970x90 Ads</h6>
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label">Homepage 1 970x90 Ads <span class="text-danger">*</span></label>
                    <textarea class="form-control" name="homepageads1_970" rows="3" required><?php echo e($data->homepageads1_970); ?></textarea>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label">Homepage 2 970x90 Ads <span class="text-danger">*</span></label>
                    <textarea class="form-control" name="homepageads2_970" rows="3" required><?php echo e($data->homepageads2_970); ?></textarea>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label">Homepage 3 970x90 Ads <span class="text-danger">*</span></label>
                    <textarea class="form-control" name="homepageads3_970" rows="3" required><?php echo e($data->homepageads3_970); ?></textarea>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label">Homepage 4 970x90 Ads <span class="text-danger">*</span></label>
                    <textarea class="form-control" name="homepageads4_970" rows="3" required><?php echo e($data->homepageads4_970); ?></textarea>
                </div>
            </div>

            <hr>
            <div class="mb-3">
                <label class="form-label">Sidebar Ads <span class="text-danger">*</span></label>
                <textarea class="form-control" name="sidebar_ads" rows="3" required><?php echo e($data->sidebar_ads); ?></textarea>
            </div>
        </div>
    </div>

    
    <div class="card">
        <div class="card-body">
            <button class="btn btn-primary" type="submit">
                <i class="ti ti-device-floppy me-1"></i><?php echo e(__('Save Changes')); ?>

            </button>
        </div>
    </div>
</form>

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

<?php $__env->startSection('scripts'); ?>
<script src="<?php echo e(asset('assets/admin/js/notify.js')); ?>"></script>
<script src="<?php echo e(asset('assets/admin/js/distawk.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/istiakahmedsourav/Desktop/JAMUNABKP/project/resources/views/admin/generalsettings/websiteContent.blade.php ENDPATH**/ ?>