<div class="row">
    <div class="col-12">
        <form method="post" action="<?php echo e(route('updatewebinfo')); ?>" id="appinfoform" enctype="multipart/form-data">
            <?php echo method_field('PUT'); ?>
            <?php echo csrf_field(); ?>
            <div class=" form-row">
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Website Name</h5>
                    <input type="text" name="site_name" class="form-control " value="<?php echo e($settings->site_name); ?>"
                        required>
                </div>
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Website Title</h5>
                    <input type="text" name="site_title" class="form-control " value="<?php echo e($settings->site_title); ?>"
                        required>
                </div>
                
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Website Url (https://yoursite.com)</h5>
                    <input type="text" placeholder="https://yoursite.com" name="site_address" class="form-control "
                        value="<?php echo e($settings->site_address); ?>" required>
                </div>


                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Office Address</h5>
                    <input type="text" placeholder="Office addresss" name="locations" class="form-control "
                        value="<?php echo e($settings->locations); ?>" >
                </div>
                
                
            </div>

            <div class=" form-row">
                
               
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">whatsapp number <span class='text-danger'>(*If You don't want to use whatsapp leave it empty)</span></h5>
                    <input name="whatsapp" class="form-control " type="text"
                        value="<?php echo e($settings->whatsapp); ?>">
                </div>
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Toll Free Number <span class='text-danger'>(*Leave empty to show "TOLL FREE")</span></h5>
                    <input name="toll_free_number" class="form-control" type="text"
                        value="<?php echo e($settings->toll_free_number ?? ''); ?>" placeholder="e.g. +1 800 123 4567">
                </div>
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Frontpage live chat</h5>
                    <div class="selectgroup w-100">
                        <label class="selectgroup-item">
                            <input type="radio" name="live_chat_enabled" value="on" class="selectgroup-input"
                                <?php echo e(($settings->live_chat_enabled ?? 'on') !== 'off' ? 'checked' : ''); ?>>
                            <span class="selectgroup-button">On</span>
                        </label>
                        <label class="selectgroup-item">
                            <input type="radio" name="live_chat_enabled" value="off" class="selectgroup-input"
                                <?php echo e(($settings->live_chat_enabled ?? 'on') === 'off' ? 'checked' : ''); ?>>
                            <span class="selectgroup-button">Off</span>
                        </label>
                    </div>
                    <small class="text-muted">Controls the website live support widget connected to the admin support inbox.</small>
                </div>
                 <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Tido  livechat id <span class='text-danger'>(*If You don't want to use Tido leave it empty)</span></h5>
                    <input name="tido" class="form-control " type="text"
                        value="<?php echo e($settings->tido); ?>">
                </div>
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Year strated</h5>
                    <input name="twak" class="form-control " type="text"
                        value="<?php echo e($settings->twak); ?>" placeholder='Year site started'>
                </div>
               
                <!--<div class="form-group col-md-6">-->
                <!--    <h5 class="text-<?php echo e($text); ?>">Personal Access Token</h5>-->
                <!--    <input name="merchant_key" class="form-control " type="text"-->
                <!--        value="<?php echo e($settings->merchant_key); ?>">-->
                <!--</div>-->
                
                <div class="form-group col-md-6">
                    
                    <div class="mt-4">
                        <h5 class="text-<?php echo e($text); ?>">Installation Type</h5>
                        <select name="install_type" class="form-control ">
                            <option><?php echo e($settings->install_type); ?></option>
                            <option>Main-Domain</option>
                            <option>Sub-Domain</option>
                            <option>Sub-Folder</option>
                        </select>
                    </div>

                </div>
            </div>

            <div class="form-row">
                <div class="form-group col-md-12">
                    <h5 class="text-<?php echo e($text); ?>">Footer injection code</h5>
                    <?php
                        $footerInjectionCode = $settings->footer_injection_code ?? '';
                        while ($footerInjectionCode !== htmlspecialchars_decode($footerInjectionCode)) {
                            $footerInjectionCode = htmlspecialchars_decode($footerInjectionCode);
                        }
                    ?>
                    <textarea name="footer_injection_code" class="form-control" rows="8" spellcheck="false"
                        placeholder="Paste footer scripts here, for example a live chat widget code."><?php echo old('footer_injection_code', $footerInjectionCode); ?></textarea>
                    <small class="text-muted">This code is rendered before the closing body tag on public website pages. Only paste code from services you trust.</small>
                </div>
            </div>

            <div class="form-row">
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Logo (Recommended size; max width, 200px and max height
                        100px.)</h5>
                    <input name="logo" class="form-control " type="file">
                    <div class="text-center border p-2 mt-2 rounded-none">
                        <img src="<?php echo e(asset('storage/app/public/' . $settings->logo)); ?>" alt=""
                            class="w-25 img-fluid">
                    </div>
                </div>
                <div class="form-group col-md-6">
                    <h5 class="text-<?php echo e($text); ?>">Favicon (Recommended size: max width, 32px and max
                        height 32px.)</h5>
                    <input name="favicon" class="form-control " type="file">
                    <div class="text-center border p-2 mt-2 rounded-none">
                        <img src="<?php echo e(asset('storage/app/public/' . $settings->favicon)); ?>" alt=""
                            class="w-25 img-fluid">
                    </div>
                </div>
            </div>
            <div class="mt-3 form-row">
                <div class="col-12">
                    <input type="submit" class="px-5 btn btn-primary btn-lg" value="Update">
                </div>

            </div>

        </form>
    </div>
</div>
<?php /**PATH /home/kdcwrbdi/public_html/resources/views/admin/Settings/AppSettings/webinfo.blade.php ENDPATH**/ ?>