<?php $__env->startSection('maincontent'); ?>
<?php $__env->startSection('title'); ?>
    <?php echo e(env('APP_NAME')); ?>- Basicinfo
<?php $__env->stopSection(); ?>

<div class="container-fluid pt-4 px-4">
    <div class="row">

        <div class="col-sm-12 col-md-12 col-xl-12 mb-4">
            <div class="bg-secondary rounded h-100 p-4">
                <h2 class="mb-4" style="text-align: center;color:red">Website Basic Information Update</h2>
                <form action="<?php echo e(route('admin.basicinfos.update', $webinfo->id)); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo method_field('PUT'); ?>
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
						
						
						                            <div class="form-floating mb-3">
                                <input type="meta_tittle" class="form-control" name="meta_tittle" value="<?php echo e($webinfo->meta_tittle); ?>"
                                    id="floatingInput" placeholder="Type here...">
                                <label for="floatingInput">Website Name</label>
                            </div>
							
													                            <div class="form-floating mb-3">
                                <input type="site_sologan" class="form-control" name="site_sologan" value="<?php echo e($webinfo->site_sologan); ?>"
                                    id="floatingInput" placeholder="Type here...">
                                <label for="floatingInput">Site Slogan</label>
                            </div>
						                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Meta Description" name="meta_description" id="floatingTextarea" style="height: 100px;"><?php echo e($webinfo->meta_description); ?></textarea>
                                <label for="floatingTextarea">Meta Description</label>
                            </div>
							
							                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Meta Tag" name="meta_keyword" id="floatingTextarea" style="height: 100px;"><?php echo e($webinfo->meta_keyword); ?></textarea>
                                <label for="floatingTextarea">Meta Tag</label>
                            </div>
						
						
						
						
						
						
						
						
						
						
						
                            <div class="form-floating mb-3">
                                <input type="email" class="form-control" name="email" value="<?php echo e($webinfo->email); ?>"
                                    id="floatingInput" placeholder="name@example.com">
                                <label for="floatingInput">Email address</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="phone_one"
                                    value="<?php echo e($webinfo->phone_one); ?>" id="floatingPassword" placeholder="Phone One">
                                <label for="floatingPassword">Phone One</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="phone_two"
                                    value="<?php echo e($webinfo->phone_two); ?>" id="floatingPassword" placeholder="Phone Two">
                                <label for="floatingPassword">Phone Two</label>
                            </div>
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Office Address" name="address" id="floatingTextarea" style="height: 100px;"><?php echo e($webinfo->address); ?></textarea>
                                <label for="floatingTextarea">Office Address</label>
                            </div>
							                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="app"
                                    value="<?php echo e($webinfo->app); ?>" id="floatingPassword" placeholder="App link here">
                                <label for="floatingPassword">App Download link</label>
                            </div>
							
														                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="copyright"
                                    value="<?php echo e($webinfo->copyright); ?>" id="floatingPassword" placeholder="Copyright Text">
                                <label for="floatingPassword">Copyright Text</label>
                            </div>
							
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="usd_rate"
                                    value="<?php echo e($webinfo->usd_rate); ?>" id="floatingPassword" placeholder="Phone Two">
                                <label for="floatingPassword">1 USD TO BDT</label>
                            </div>
                            <div class="mb-3">
                                <input class="form-control form-control-lg bg-dark" name="logo" id="formFileLg"
                                    type="file">
                            </div>
                            <div class="m-3 ms-0" style="text-align: center;height: 85px;margin-top:50px !important">
                                <h4 style="width:30%;float: left;text-align: left;">LOGO : </h4>
                                <img src="<?php echo e(asset($webinfo->logo)); ?>" alt="" srcset=""
                                    style="max-height: 100px;">
                            </div>
							
							
							
							
							                            <div class="mb-3">
                                <input class="form-control form-control-lg bg-dark" name="favicon" id="formFileLg"
                                    type="file">
                            </div>
                            <div class="m-3 ms-0" style="text-align: center;height: 85px;margin-top:50px !important">
                                <h4 style="width:30%;float: left;text-align: left;">Favicon : </h4>
                                <img src="<?php echo e(asset($webinfo->favicon)); ?>" alt="" srcset=""
                                    style="max-height: 100px;">
                            </div>
							
							
														                            <div class="mb-3">
                                <input class="form-control form-control-lg bg-dark" name="og_images" id="formFileLg"
                                    type="file">
                            </div>
                            <div class="m-3 ms-0" style="text-align: center;height: 85px;margin-top:50px !important">
                                <h4 style="width:30%;float: left;text-align: left;">OG Images : </h4>
                                <img src="<?php echo e(asset($webinfo->og_images)); ?>" alt="" srcset=""
                                    style="max-height: 100px;">
                            </div>

							
							
							
                            <div class="mt-3">
                                <button type="submit" class="btn btn-primary btn-lg w-100">Update</button>
                            </div>
                        </div>
						
						
						
						
						
						

                    </div>
                </form>
            </div>
        </div>
        <div class="col-sm-12 col-md-12 col-xl-12 mb-4">
            <div class="bg-secondary rounded h-100 p-4">
                <h2 class="mb-4" style="text-align: center;color:red">Shipping Information Update</h2>
                <form action="<?php echo e(route('admin.shipping.update', $webinfo->id)); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo method_field('PUT'); ?>
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="inside_dhaka_charge"
                                    value="<?php echo e($webinfo->inside_dhaka_charge); ?>" id="inside_dhaka_charge"
                                    placeholder="Inside Dhaka Charge">
                                <label for="floatingInput">Inside Dhaka Charge</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="outside_dhaka_charge"
                                    value="<?php echo e($webinfo->outside_dhaka_charge); ?>" id="outside_dhaka_charge"
                                    placeholder="Outside Dhaka Charge">
                                <label for="floatingPassword">Outside Dhaka Charge</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="insie_dhaka"
                                    value="<?php echo e($webinfo->insie_dhaka); ?>" id="insie_dhaka"
                                    placeholder="Inside Dhaka Delivery Time">
                                <label for="floatingPassword">Inside Dhaka Delivery Time</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="outside_dhaka"
                                    value="<?php echo e($webinfo->outside_dhaka); ?>" id="outside_dhaka"
                                    placeholder="Outside Dhaka Delivery Time">
                                <label for="floatingPassword">Outside Dhaka Delivery Time</label>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="contact"
                                    value="<?php echo e($webinfo->contact); ?>" id="contact" placeholder="Contact Info">
                                <label for="floatingInput">Contact Info</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="refund_rule"
                                    value="<?php echo e($webinfo->refund_rule); ?>" id="refund_rule" placeholder="Refund Rules">
                                <label for="floatingPassword">Refund Rules</label>
                            </div>
                            <div class=" mb-4">
                                <select name="cash_on_delivery" id="cash_on_delivery" required
                                    class="form-select form-select-lg mb-3" aria-label=".form-select-lg example">
                                    <?php if($webinfo->cash_on_delivery == 'ON'): ?>
                                        <option value="ON" selected>ON</option>
                                        <option value="OFF">OFF</option>
                                    <?php else: ?>
                                        <option value="ON">ON</option>
                                        <option value="OFF" selected>OFF</option>
                                    <?php endif; ?>

                                </select>
                            </div>
                            <div class="mt-3">
                                <button type="submit" class="btn btn-primary btn-lg w-100">Update</button>
                            </div>
                        </div>

                    </div>
                </form>
            </div>
        </div>
        <div class="col-sm-12 col-md-12 col-xl-12 mb-4">
            <div class="bg-secondary rounded h-100 p-4">
                <h2 class="mb-4" style="text-align: center;color:red">Pixel & Analytics</h2>
                <form action="<?php echo e(url('/admin/pixel/analytics', $webinfo->id)); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Facebook Pixel" name="facebook_pixel" id="floatingTextarea"
                                    style="height: 150px;"><?php echo e($webinfo->facebook_pixel); ?></textarea>
                                <label for="floatingTextarea">Facebook Pixel</label>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Google Analytics" name="google_analytics" id="floatingTextarea"
                                    style="height: 150px;"><?php echo e($webinfo->google_analytics); ?></textarea>
                                <label for="floatingTextarea">Google Analytics</label>
                            </div>
                        </div>

                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Marquee Text" name="marquee_text" id="marquee_text"
                                    style="height: 100px;"><?php echo e($webinfo->marquee_text); ?></textarea>
                                <label for="floatingTextarea">Marquee Text</label>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <textarea class="form-control" placeholder="Chatbox Script" name="chat_box" id="chat_box"
                                    style="height: 100px;"><?php echo e($webinfo->chat_box); ?></textarea>
                                <label for="floatingTextarea">Chatbox Script</label>
                            </div>
                        </div>
                        <div class="mt-3">
                            <button type="submit" class="btn btn-primary btn-lg w-100">Update</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>

        <div class="col-sm-12 col-md-12 col-xl-12">
            <div class="bg-secondary rounded h-100 p-4">
                <h2 class="mb-4" style="text-align: center;color:red">Social Links Update</h2>
                <form action="<?php echo e(url('/admin/basicinfo/update', $webinfo->id)); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="facebook"
                                    value="<?php echo e($webinfo->facebook); ?>" id="floatingInput"
                                    placeholder="https://www.facebook.com/">
                                <label for="floatingInput">Facebook</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="twitter"
                                    value="<?php echo e($webinfo->twitter); ?>" id="floatingInput"
                                    placeholder="https://www.twitter.com/">
                                <label for="floatingInput">Twitter</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="google"
                                    value="<?php echo e($webinfo->google); ?>" id="floatingInput"
                                    placeholder="https://google.com">
                                <label for="floatingInput">Google</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="rss"
                                    value="<?php echo e($webinfo->rss); ?>" id="floatingInput"
                                    placeholder="https://www.rss.org/">
                                <label for="floatingInput">RSS</label>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="pinterest"
                                    value="<?php echo e($webinfo->pinterest); ?>" id="floatingInput"
                                    placeholder="https://www.pinterest.com/">
                                <label for="floatingInput">Penterest</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="linkedin"
                                    value="<?php echo e($webinfo->linkedin); ?>" id="floatingInput"
                                    placeholder="https://www.linkedin.com/">
                                <label for="floatingInput">Linkedin</label>
                            </div>
                            <div class="form-floating mb-3">
                                <input type="text" class="form-control" name="youtube"
                                    value="<?php echo e($webinfo->youtube); ?>" id="floatingInput"
                                    placeholder="https://www.Youtube.com/">
                                <label for="floatingInput">Youtube</label>
                            </div>
                            <div class="mt-4">
                                <button type="submit" class="btn btn-primary btn-lg w-100">Update</button>
                            </div>
                        </div>

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

    </div>
</div>

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

<?php echo $__env->make('backend.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\resources\views/backend/content/basicinfo/index.blade.php ENDPATH**/ ?>