
<?php $__env->startSection('content'); ?>
    <h1><?php echo $title; ?></h1>

    <h4>
        <?php echo $title; ?> is listed in our database on the following <?php echo count($plays); ?> date<?php echo DeadStats::s($plays); ?>:
    </h4>

    <?php if (!empty($item->lyrics)): ?>
        <h3>Lyrics</h3>
        <div class="lyrics"><?php echo $item->lyrics; ?></div>
    <?php endif; ?>

    <table class="table table-striped table-bordered table-condensed">
        <thead>
            <tr>
                <th>Show Date</th>
                <th>Venue</th>
                <th>Gap</th>
                <th>Set</th>
                <th>Track #</th>
                <th>Song Before</th>
                <th>Song After</th>
            </tr>
        </thead>
        <tbody>
            <?php if (empty($plays)): ?>
                <tr>
                    <td colspan="7">No Results</td>
                </tr>
            <?php else: ?>
                <?php foreach ($plays as $play): ?>
                    <tr <?php if (in_array($play->show->id, $user_show_ids)): ?> <?php echo 'class="attended"'; ?> <?php endif; ?>>
                        <td><a href="<?php echo $play->show->showLink(); ?>"><?php echo $play->show->start_date; ?></a></td>
                        <td><a href="<?php echo $play->show->venue->showLink(); ?>"><?php echo $play->show->venue; ?></a></td>
                        <td><?php echo $play->gap(); ?></td>
                        <td><?php echo $play->set; ?></td>
                        <td><?php echo $play->track_number; ?></td>
                        <td><?php echo $play->previous(); ?></td>
                        <td><?php echo $play->next(); ?></td>
                    </tr>
                <?php endforeach; ?>
            <?php endif; ?>
        </tbody>
    </table>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>