<?php
if(@$review) {
    if(@($review->active)) {
        if (@($review->walk->active)) {
        ?>
            <div class=" d-flex align-items-baseline">
                <span><?= @($review->walk->intensity) ?: '' ?> Walk</span>
                <span class="ml-2 text-sm"><?= @($review->walk->frequency) ?: '-' ?> day(s)/week</span>
                <span class="ml-2 text-sm"><?= @($review->walk->time) ?: '-' ?> min(s)/day</span>
            </div>
        <?php
        }
        if (@($review->jog->active)) {
            ?>
            <div class=" d-flex align-items-baseline">
                <span><?= @($review->jog->intensity) ?: '' ?> Jog</span>
                <span class="ml-2 text-sm"><?= @($review->jog->frequency) ?: '-' ?> day(s)/week</span>
                <span class="ml-2 text-sm"><?= @($review->jog->time) ?: '-' ?> min(s)/day</span>
            </div>
            <?php
        }
        if (@($review->elliptical->active)) {
            ?>
            <div class=" d-flex align-items-baseline">
                <span><?= @($review->elliptical->intensity) ?: '' ?> Elliptical</span>
                <span class="ml-2 text-sm"><?= @($review->elliptical->frequency) ?: '-' ?> day(s)/week</span>
                <span class="ml-2 text-sm"><?= @($review->elliptical->time) ?: '-' ?> min(s)/day</span>
            </div>
            <?php
        }
        if (@($review->swim->active)) {
            ?>
            <div class=" d-flex align-items-baseline">
                <span><?= @($review->swim->intensity) ?: '' ?> Swim</span>
                <span class="ml-2 text-sm"><?= @($review->swim->frequency) ?: '-' ?> day(s)/week</span>
                <span class="ml-2 text-sm"><?= @($review->swim->time) ?: '-' ?> min(s)/day</span>
            </div>
            <?php
        }
        if (@($review->bike->active)) {
            ?>
            <div class=" d-flex align-items-baseline">
                <span><?= @($review->bike->intensity) ?: '' ?> Bike</span>
                <span class="ml-2 text-sm"><?= @($review->bike->frequency) ?: '-' ?> day(s)/week</span>
                <span class="ml-2 text-sm"><?= @($review->bike->time) ?: '-' ?> min(s)/day</span>
            </div>
            <?php
        }
    }
    ?>
    <div class="text-secondary"><?= @($review->memo) ?: '' ?></div>
    <?php
}
else {
    ?> - <?php
}
?>

