
<?php $__env->startSection('title'); ?>
    <?php echo e(isset($data->name) ? $data->name : ''); ?> <?php echo e(__('message.Detail')); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta-data'); ?>
    <meta property="og:type" content="website" />
    <meta property="og:url" content="<?php echo e(url('parameter-detail?id=') . $data->id); ?>" />
    <meta property="og:title" content="<?php echo e($data->name); ?>" />
    <meta property="og:image" content="<?php echo e(asset('public/img/') . '/' . $setting->logo); ?>" />
    <meta property="og:image:width" content="250px" />
    <meta property="og:image:height" content="250px" />
    <meta property="og:site_name" content="<?php echo e(__('message.site_name')); ?>" />
    <meta property="og:description" content="<?php echo e(__('message.meta_description')); ?>" />
    <meta property="og:keyword" content="<?php echo e(__('message.meta_keyword')); ?>" />
    <link rel="shortcut icon" href="<?php echo e(asset('public/img/') . '/' . $setting->favicon); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <?php
    $res_curr = explode('-', $setting->currency);
    $sharp70 = asset('public/front/Docpro/assets/images/shape/shape-70.png');
    $sharp71 = asset('public/front/Docpro/assets/images/shape/shape-71.png');
    ?>
    <section class="page-title-two">
        <div class="title-box centred bg-color-2">
            <div class="pattern-layer">
                <div class="pattern-1" style="background-image: url('<?php echo e($sharp70); ?>');"></div>
                <div class="pattern-2" style="background-image: url('<?php echo e($sharp71); ?>');"></div>
            </div>
            <div class="auto-container">
                <div class="title">
                    <h1><?php echo e(isset($data->name) ? $data->name : ''); ?> <?php echo e(__('message.Detail')); ?></h1>
                </div>
            </div>
        </div>
        <div class="lower-content">
            <div class="auto-container">
                <ul class="bread-crumb clearfix">
                    <li><a href="<?php echo e(route('home')); ?>"><?php echo e(__('message.Home')); ?></a></li>
                    <li><?php echo e(isset($data->name) ? $data->name : ''); ?> <?php echo e(__('message.Detail')); ?></li>
                </ul>
            </div>
        </div>
    </section>
    <section class="doctor-details bg-color-3">
        <div class="auto-container">
            <div class="row clearfix">
                <div class="col-lg-12 col-md-12 col-sm-12 content-side">
                    <?php if(Session::has('message')): ?>
                        <div class="alert <?php echo e(Session::get('alert-class', 'alert-info')); ?>">
                            <?php echo e(Session::get('message')); ?>

                        </div>
                    <?php endif; ?>
                    <div class="clinic-details-content doctor-details-content">
                        <div class="clinic-block-one">
                            <div class="inner-box" style="padding: 34px 40px 37px 34px !important;">
                                <div class="content-box">
                                    <?php if($data->lab_report != ''): ?>
                                        <div class="like-box">
                                            <a href="<?php echo e(asset('storage/app/public/sample_report') . '/' . $data->lab_report); ?>"
                                                target="_blank"><i class="far fa-download"></i></a>
                                        </div>
                                    <?php endif; ?>
                                    <div class="middle body">
                                        <div class="sm-container">
                                            <i class="show-btn fas fa-share-alt"></i>
                                            <div class="sm-menu">
                                                <a
                                                    href="https://www.facebook.com/sharer/sharer.php?u=<?php echo e(url('parameter-detail?id=') . $data->id); ?>"><i
                                                        class="fab fa-facebook-f"></i></a>
                                                <a
                                                    href="https://web.whatsapp.com/send?url=<?php echo e(url('parameter-detail?id=') . $data->id); ?>"><i
                                                        class="fab fa-whatsapp"></i></a>
                                                <a
                                                    href="https://twitter.com/intent/tweet?text=<?php echo e($data->name); ?>&url=<?php echo e(url('parameter-detail?id=') . $data->id); ?>"><i
                                                        class="fab fa-twitter"></i></a>
                                            </div>
                                        </div>
                                    </div>
                                    <ul class="name-box clearfix">
                                        <li class="name">
                                            <h2><?php echo e(isset($data->name) ? $data->name : ''); ?></h2>
                                        </li>
                                        <li><i class="icon-Trust-1"></i></li>
                                        <li><i class="icon-Trust-2"></i></li>
                                    </ul>
                                    <div class="text">
                                        <p><?php echo e(__('message.Parameter Included')); ?>: 1</p>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-6">
                                            <span class="designation"><?php echo e($data->short_desc); ?></span>
                                            <div class="rating-box clearfix">
                                                <ul class="rating clearfix">
                                                    <?php $a = explode('.', $data->avg_review);
                                                    
                                                    if (isset($a[0])) {
                                                        for ($i = 0; $i < $a[0]; $i++) {
                                                            echo '<li><i class="icon-Star"></i></li>';
                                                        }
                                                        if (isset($a[1])) {
                                                            for ($j = $i; $j < 5; $j++) {
                                                                echo '<li><i class="icon-Star"></i></li>';
                                                            }
                                                        }
                                                    } else {
                                                        for ($i = 0; $i < 5; $i++) {
                                                            echo '<li><i class="icon-Star light"></i></li>';
                                                        }
                                                    }
                                                    
                                                    ?>


                                                    <li><a href="#">(<?php echo e($data->total_review); ?>)</a></li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="lower-box clearfix">
                                                <ul class="info clearfix">
                                                    <li>
                                                        <h5><?php echo e(__('message.Healthians Price')); ?> : <span
                                                                style="text-decoration: line-through;"><?php echo e($res_curr[1]); ?><?php echo e(number_format($data->mrp, 2, '.', '')); ?>

                                                            </span>/
                                                            <?php echo e($res_curr[1]); ?><?php echo e(number_format($data->price, 2, '.', '')); ?>

                                                        </h5>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="">

                                        <?php if(Auth::id()): ?>
                                            <?php if(Auth::id() != 1): ?>
                                                <a href="javascript:void()"
                                                    onclick="showmember('<?php echo e($data->id); ?>','<?php echo e($data->mrp); ?>','<?php echo e($data->price); ?>','1',2)"
                                                    data-toggle="modal" data-target="#addaddress"
                                                    class="theme-btn-one"><?php echo e(__('message.Book Now')); ?><i
                                                        class="icon-Arrow-Right"></i></a>
                                            <?php else: ?>
                                                <button id="link" class="theme-btn-one"><?php echo e(__('message.Book Now')); ?><i
                                                        class="icon-Arrow-Right"></i></button>
                                            <?php endif; ?>
                                        <?php else: ?>
                                            <button id="link" class="theme-btn-one"><?php echo e(__('message.Book Now')); ?><i
                                                    class="icon-Arrow-Right"></i></button>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <section class="bg-color-3 centred">
                            <div class="auto-container">
                                <?php $sharp45 = asset('public/front/Docpro/assets/images/shape/shape-45.png');
                                $sharp46 = asset('public/front/Docpro/assets/images/shape/shape-46.png'); ?>
                                <div class="row clearfix">
                                    <div class="col-lg-3 col-md-6 col-sm-12 category-block">
                                        <div class="category-block-one wow fadeInUp animated animated animated"
                                            data-wow-delay="00ms" data-wow-duration="1500ms"
                                            style="visibility: visible; animation-duration: 1500ms; animation-delay: 0ms; animation-name: fadeInUp;">
                                            <div class="inner-box">
                                                <div class="pattern">
                                                    <div class="pattern-1"
                                                        style="background-image: url('<?php echo e($sharp45); ?>');"></div>
                                                    <div class="pattern-2"
                                                        style="background-image: url('<?php echo e($sharp46); ?>');"></div>
                                                </div>
                                                <figure class="icon-box"><img src="<?php echo e(asset('public/img/1.png')); ?>"
                                                        alt=""></figure>
                                                <h3><?php echo e(__('message.Parameter Included')); ?>:</h3>
                                                <div class="link">
                                                    <h3>1</h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-md-6 col-sm-12 category-block">
                                        <div class="category-block-one wow fadeInUp animated animated animated"
                                            data-wow-delay="200ms" data-wow-duration="1500ms"
                                            style="visibility: visible; animation-duration: 1500ms; animation-delay: 200ms; animation-name: fadeInUp;">
                                            <div class="inner-box">
                                                <div class="pattern">
                                                    <div class="pattern-1"
                                                        style="background-image: url('<?php echo e($sharp45); ?>');"></div>
                                                    <div class="pattern-2"
                                                        style="background-image: url('<?php echo e($sharp46); ?>');"></div>
                                                </div>
                                                <figure class="icon-box"><img src="<?php echo e(asset('public/img/2.png')); ?>"
                                                        alt=""></figure>
                                                <h3><?php echo e(__('message.Sample Collection')); ?></h3>
                                                <div class="link">
                                                    <?php if(isset($data->sample_collection) && $data->sample_collection == '1'): ?>
                                                        <h3>Free</h3>
                                                    <?php endif; ?>
                                                    <?php if(isset($data->sample_collection) && $data->sample_collection == '2'): ?>
                                                        <h3><?php echo e(isset($data->sample_collection_fee) ? $data->sample_collection_fee : ''); ?>

                                                        </h3>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-md-6 col-sm-12 category-block">
                                        <div class="category-block-one wow fadeInUp animated animated animated"
                                            data-wow-delay="400ms" data-wow-duration="1500ms"
                                            style="visibility: visible; animation-duration: 1500ms; animation-delay: 400ms; animation-name: fadeInUp;">
                                            <div class="inner-box">
                                                <div class="pattern">
                                                    <div class="pattern-1"
                                                        style="background-image: url('<?php echo e($sharp45); ?>');"></div>
                                                    <div class="pattern-2"
                                                        style="background-image: url('<?php echo e($sharp46); ?>');"></div>
                                                </div>
                                                <figure class="icon-box"><img src="<?php echo e(asset('public/img/3.png')); ?>"
                                                        alt=""></figure>
                                                <h3><?php echo e(__('message.Doctor Consultation')); ?></h3>
                                                <div class="link">
                                                    <h3>Free</h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-md-6 col-sm-12 category-block">
                                        <div class="category-block-one wow fadeInUp animated animated animated"
                                            data-wow-delay="600ms" data-wow-duration="1500ms"
                                            style="visibility: visible; animation-duration: 1500ms; animation-delay: 600ms; animation-name: fadeInUp;">
                                            <div class="inner-box">
                                                <div class="pattern">
                                                    <div class="pattern-1"
                                                        style="background-image: url('<?php echo e($sharp45); ?>');"></div>
                                                    <div class="pattern-2"
                                                        style="background-image: url('<?php echo e($sharp46); ?>');"></div>
                                                </div>
                                                <figure class="icon-box"><img src="<?php echo e(asset('public/img/4.png')); ?>"
                                                        alt=""></figure>
                                                <h3><?php echo e(__('message.Test booked')); ?></h3>
                                                <div class="link">
                                                    <h3>100+</h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row clearfix">
                                    <div class="col-lg-3 col-md-6 col-sm-12 category-block">
                                        <div class="category-block-one wow fadeInUp animated animated animated"
                                            data-wow-delay="00ms" data-wow-duration="1500ms"
                                            style="visibility: visible; animation-duration: 1500ms; animation-delay: 0ms; animation-name: fadeInUp;">
                                            <div class="inner-box">
                                                <div class="pattern">
                                                    <div class="pattern-1"
                                                        style="background-image: url('<?php echo e($sharp45); ?>');"></div>
                                                    <div class="pattern-2"
                                                        style="background-image: url('<?php echo e($sharp46); ?>');"></div>
                                                </div>
                                                <figure class="icon-box"><img src="<?php echo e(asset('public/img/5.png')); ?>"
                                                        alt=""></figure>
                                                <h3><?php echo e(__('message.Report Time')); ?></h3>
                                                <div class="link">
                                                    <h3><?php echo e(isset($data->report_time) ? $data->report_time : ''); ?></h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-md-6 col-sm-12 category-block">
                                        <div class="category-block-one wow fadeInUp animated animated animated"
                                            data-wow-delay="200ms" data-wow-duration="1500ms"
                                            style="visibility: visible; animation-duration: 1500ms; animation-delay: 200ms; animation-name: fadeInUp;">
                                            <div class="inner-box">
                                                <div class="pattern">
                                                    <div class="pattern-1"
                                                        style="background-image: url('<?php echo e($sharp45); ?>');"></div>
                                                    <div class="pattern-2"
                                                        style="background-image: url('<?php echo e($sharp46); ?>');"></div>
                                                </div>
                                                <figure class="icon-box"><img src="<?php echo e(asset('public/img/6.png')); ?>"
                                                        alt=""></figure>
                                                <h3><?php echo e(__('message.Fasting Time')); ?></h3>
                                                <div class="link">
                                                    <?php if(isset($data->fasting_time) && $data->fasting_time == '1'): ?>
                                                        <h3>Free</h3>
                                                    <?php endif; ?>
                                                    <?php if(isset($data->fasting_time) && $data->fasting_time == '2'): ?>
                                                        <h3><?php echo e(isset($data->fast_time) ? $data->fast_time : ''); ?></h3>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-md-6 col-sm-12 category-block">
                                        <div class="category-block-one wow fadeInUp animated animated animated"
                                            data-wow-delay="400ms" data-wow-duration="1500ms"
                                            style="visibility: visible; animation-duration: 1500ms; animation-delay: 400ms; animation-name: fadeInUp;">
                                            <div class="inner-box">
                                                <div class="pattern">
                                                    <div class="pattern-1"
                                                        style="background-image: url('<?php echo e($sharp45); ?>');"></div>
                                                    <div class="pattern-2"
                                                        style="background-image: url('<?php echo e($sharp46); ?>');"></div>
                                                </div>
                                                <figure class="icon-box"><img src="<?php echo e(asset('public/img/7.png')); ?>"
                                                        alt=""></figure>
                                                <h3><?php echo e(__('message.Test Recommended')); ?></h3>
                                                <div class="link">
                                                    <h3><?php echo e(isset($data->test_recommended_for) ? $data->test_recommended_for : ''); ?>

                                                    </h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-md-6 col-sm-12 category-block">
                                        <div class="category-block-one wow fadeInUp animated animated animated"
                                            data-wow-delay="600ms" data-wow-duration="1500ms"
                                            style="visibility: visible; animation-duration: 1500ms; animation-delay: 600ms; animation-name: fadeInUp;">
                                            <div class="inner-box">
                                                <div class="pattern">
                                                    <div class="pattern-1"
                                                        style="background-image: url('<?php echo e($sharp45); ?>');"></div>
                                                    <div class="pattern-2"
                                                        style="background-image: url('<?php echo e($sharp46); ?>');"></div>
                                                </div>
                                                <figure class="icon-box"><img src="<?php echo e(asset('public/img/8.png')); ?>"
                                                        alt=""></figure>
                                                <h3><?php echo e(__('message.Recommended age')); ?></h3>
                                                <div class="link">
                                                    <h3><?php echo e(isset($data->test_recommended_for_age) ? $data->test_recommended_for_age : ''); ?>

                                                    </h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </section>
                        <div class="tabs-box">
                            <div class="tab-btn-box centred">
                                <ul class="tab-btns tab-buttons clearfix">
                                    <li class="tab-btn active-btn" data-tab="#tab-1"><?php echo e(__('message.Overview')); ?></li>
                                    <li class="tab-btn" data-tab="#tab-3"><?php echo e(__('message.FRQ')); ?></li>
                                    <li class="tab-btn" data-tab="#tab-4"><?php echo e(__('message.Reviews')); ?></li>
                                </ul>
                            </div>
                            <div class="tabs-content">
                                <div class="tab active-tab" id="tab-1">
                                    <div class="inner-box">
                                        <div class="text">
                                            <?= html_entity_decode($data->description) ?>
                                        </div>
                                    </div>
                                </div>

                                <div class="tab" id="tab-3">
                                    <div class="location-box">
                                        <div class="content_block_5">
                                            <div class="content-box">
                                                <ul class="accordion-box">
                                                    <?php if(count($data->package_frq) > 0): ?>
                                                        <?php $__currentLoopData = $data->package_frq; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $dp): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                            <li class="accordion block <?php if($index === 0): ?> active-block <?php endif; ?>">
                                                                <div class="acc-btn <?php if($index === 0): ?> active <?php endif; ?>">
                                                                    <div class="icon-outer"></div>
                                                                    <h4><?php echo e($dp->question); ?></h4>
                                                                </div>
                                                                <div class="acc-content" <?php if($index === 0): ?> style="display: block;" <?php endif; ?>>
                                                                    <div class="text">
                                                                        <p><?php echo e($dp->ans); ?></p>
                                                                    </div>
                                                                </div>
                                                            </li>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                    <?php endif; ?>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tab" id="tab-4">
                                    <div class="inner-box">
                                        <div class="text">
                                            <div class="review-box">
                                                <h3><?php echo e(isset($data->name) ? $data->name : ''); ?></h3>
                                                <p></p>
                                                <div class="review-inner">
                                                    <?php if(count($reviewlist) > 0): ?>
                                                        <?php $__currentLoopData = $reviewlist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rl): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                            <div class="single-review-box">
                                                                <?php
                                                                    if(!empty($rl->userdata->profile_pic)){
                                                                        $profile = $rl->userdata->profile_pic;
                                                                        }
                                                                    else{
                                                                        $profile = "16491979271101179647.png";
                                                                        }
                                                                ?>
                                                                <figure class="image-box"><img
                                                                        src="<?php echo e(asset('storage/app/public/profile') . '/' . $profile); ?>"
                                                                        alt=""></figure>
                                                                <ul class="rating clearfix">
                                                                    <li><i class="icon-Star"></i></li>
                                                                    <li><i class="icon-Star"></i></li>
                                                                    <li><i class="icon-Star"></i></li>
                                                                    <li><i class="icon-Star"></i></li>
                                                                    <li class="light"><i class="icon-Star"></i></li>
                                                                </ul>
                                                                <h6><?php echo e(isset($rl->userdata->name)?$rl->userdata->name:""); ?> 
                                                                </h6>
                                                                <p><?php echo e($rl->description); ?></p>
                                                            </div>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                    <?php else: ?>
                                                        <p><?php echo e(__('message.No Review')); ?></p>
                                                    <?php endif; ?>
                                                </div>
                                                <?php if(Auth::id()): ?>
                                                    <?php if(Auth::id() != 1): ?>
                                                        <h3><?php echo e(__('message.Add Review')); ?></h3>
                                                        <form action="<?php echo e(route('postreview')); ?>" method="post"
                                                            class="registration-form">
                                                            <?php echo e(csrf_field()); ?>

                                                            <div class="row clearfix">
                                                                <input type="hidden" name="type" value="2">
                                                                <input type="hidden" name="type_id"
                                                                    value="<?php echo e($data->id); ?>">
                                                                <div class="col-lg-12 col-md-12 col-sm-12 form-group">

                                                                    <label><?php echo e(__('message.Ratting')); ?></label>
                                                                    <div class="star-rating">
                                                                        <input type="radio" id="5-stars"
                                                                            name="rating" value="5" />
                                                                        <label for="5-stars"
                                                                            class="star">&#9733;</label>
                                                                        <input type="radio" id="4-stars"
                                                                            name="rating" value="4" />
                                                                        <label for="4-stars"
                                                                            class="star">&#9733;</label>
                                                                        <input type="radio" id="3-stars"
                                                                            name="rating" value="3" />
                                                                        <label for="3-stars"
                                                                            class="star">&#9733;</label>
                                                                        <input type="radio" id="2-stars"
                                                                            name="rating" value="2" />
                                                                        <label for="2-stars"
                                                                            class="star">&#9733;</label>
                                                                        <input type="radio" id="1-star"
                                                                            name="rating" value="1" />
                                                                        <label for="1-star"
                                                                            class="star">&#9733;</label>
                                                                    </div>
                                                                </div>
                                                                <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                                                    <label><?php echo e(__('message.Messages')); ?></label>
                                                                    <textarea name="description" rows="5" id="description" required=""></textarea>
                                                                </div>


                                                                <div
                                                                    class="col-lg-12 col-md-12 col-sm-12 form-group message-btn">
                                                                    <button type="submit"
                                                                        class="theme-btn-one"><?php echo e(__('message.Submit')); ?><i
                                                                            class="icon-Arrow-Right"></i></button>
                                                                </div>
                                                            </div>
                                                        </form>
                                                    <?php else: ?>
                                                        <a href="<?php echo e(route('user-login')); ?>"
                                                            class="theme-btn-one"><?php echo e(__('message.Login')); ?><i
                                                                class="icon-Arrow-Right"></i></a>
                                                    <?php endif; ?>
                                                <?php else: ?>
                                                    <a href="<?php echo e(route('user-login')); ?>"
                                                        class="theme-btn-one"><?php echo e(__('message.Login')); ?><i
                                                            class="icon-Arrow-Right"></i></a>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer'); ?>
    <script type="text/javascript">
        $('.brand-carousel').owlCarousel({
            loop: true,
            margin: 10,
            autoplay: true,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 3
                },
                1000: {
                    items: 3
                }
            }
        })
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('front.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/freakd1c/public_html/demo/laboratory/resources/views/front/parameter_detail.blade.php ENDPATH**/ ?>