<div class="text-center mb-4">
	<h2>Ваш участок обслуживания</h2>
	<h2 class="font-weight-bold"><?php echo \htmlentities($zone_name, ENT_QUOTES, 'UTF-8', false); ?></h2>
</div>

<?php $__currentLoopData = $doctors; $this->addLoop($__currentLoopData);$this->getFirstLoop();
 foreach($__currentLoopData as $doc): $loop = $this->incrementLoopIndices();  ?>
	<div class="card mb-4 shadow-sm" style="border-radius:14px;">
 <div class="card-body">

 <h4 class="mb-3">
 <?php echo \htmlentities($doc['post_name'] ?: 'Врач', ENT_QUOTES, 'UTF-8', false); ?>

 </h4>

 <div class="d-flex align-items-start mb-3">
 <div class="mr-3" style="font-size:52px;line-height:52px;">
 <i class="fas fa-user-md text-primary"></i>
 </div>

 <div style="font-size:20px;">
 <strong><?php echo \htmlentities($doc['name'], ENT_QUOTES, 'UTF-8', false); ?></strong><br>

 <?php if(!empty($doc['speciality_name'])): ?>
 <?php echo \htmlentities($doc['speciality_name'], ENT_QUOTES, 'UTF-8', false); ?><br>
 <?php endif; ?>

 <?php if(!empty($doc['office'])): ?>
 Кабинет: <strong><?php echo \htmlentities($doc['office'], ENT_QUOTES, 'UTF-8', false); ?></strong><br>
 <?php endif; ?>
 </div>
 </div>

 <h5 class="mt-4 mb-3">Расписание приема</h5>
 <div class="text-muted">Расписание не указано</div>

 </div>
	</div>
<?php endforeach; $this->popLoop(); $loop = $this->getFirstLoop(); ?>
