meraproject/content/modulebz/blocks/news/switch.php

12 lines
294 B
PHP
Raw Normal View History

<?
use themes\Modulebz;
if($text_id = \Site::$URL[1]){
$C = Modulebz::$BLOG->_getNewsByTextId($text_id);
include_once (dirname(__FILE__).'/item.php');
include_once ($JADE_PATH.'blocks/news_annotations.php');
} else {
include_once ($JADE_PATH.'blocks/news_annotations.php');
}