<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $title ?></title>
</head>
<body>
<?php echo $body ?>

<?php if ($auth): ?>
    <div class="logout"><a href="logout.php">exit</a></div>
<?php else: ?>
    <div class="login"><a href="login.php">login</a></div>
<?php endif; ?>

<?php foreach ($box as $item): ?>
    <audio controls>
        <source src="<?php echo $item ?>" type="audio/mpeg" />
    </audio>
 <?php endforeach; ?>

    
</body>
</html>