View file siwap.ru/apps/dialogs/index.php

File size: 819B
<?php
require_once $_SERVER['DOCUMENT_ROOT'].'/system/App.php';
$title = 'Почта';
require_once ROOT.'/system/header.php';

$dialogs = new Dialogs;
$userDialogs = $dialogs->get($me['id']);

?>
<div class="col-lg-4"></div>
<div class="col-sm-8 col-md-6 col-lg-4">
	
	<nav aria-label="breadcrumb">
		<ol class="breadcrumb navig">
			<div class="b-item">
				<li class="breadcrumb-item">
					<a href="/">На главную</a>
				</li>
				<li class="breadcrumb-item active" aria-current="page"><?=$title?></li>
			</div>
		</ol>
	</nav>
	
	<div class="mt-2 mb-2">
		<?=(!$userDialogs ? $core->alert('Диалоги еще не состоялись', 'danger') : var_dump($userDialogs))?>
	</div>
	
	</div>
<div class="col-lg-4"></div>
<?php
require_once ROOT.'/system/footer.php';
?>