<?php echo "<p class='border_cat'>"; if (!empty($this->data['getInfoCat'])) { echo $this->data['getInfoCat'][0]['text']; } else { $errCatInfo = new ErrDBModel(); echo $errCatInfo->getErrForCat(0); } echo "</p>"; if ($cat <= 7) { if (!empty($this->data['varShortInf'])) { require_once __DIR__ . '/../blocks/ShortInfoVidPage.php'; } else { $errCatInfo = new ErrDBModel(); echo $errCatInfo->getErrForCat(1); } } ?> </div> </div> <div class="clear"></div> <?php require_once __DIR__ . '/../blocks/ViewPageNav.php'; include __DIR__ . '/../blocks/footer.php'; require_once __DIR__ . '/../blocks/yandex_info.html'; ?>