Files
wacloud-meta-dev/application/views/chat/layout/layout.php
T
2026-10-09 09:01:52 +00:00

23 lines
718 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<?php $this->load->view('chat/layout/header', ['title' => $title ?? 'Chat']); ?>
</head>
<body>
<audio id="notifAudio" src="<?= base_url('assets/sounds/notif_1.mp3') ?>" preload="auto"></audio>
<div class="chat-app d-flex">
<aside class="sidebar">
<?php $this->load->view('chat/layout/sidebar'); ?>
</aside>
<main class="chat-main flex-fill d-flex flex-column">
<?php $this->load->view('chat/layout/topbar'); ?>
<div id="chatContent" class="chat-content flex-fill position-relative">
<?php $this->load->view($content_view); ?>
</div>
<?php $this->load->view('chat/layout/footer'); ?>
</main>
</div>
</body>
</html>