Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
Меня не надстройка над основными новостями интересует, а вообще вывод новостей в неск колонок и рядов...Ы ?
Для просмотра ссылки Войдиили Зарегистрируйся
$i++;
if ($i % 2 == 0){
$line_break = '</tr><tr>';
} else {
$line_break = '';
}
$news_find = array(
'{date}' => langdate($config['timestamp_active'], $row['date']),
'{comments-num}' => $row['comm_num'],
'{views}' => $row['news_read'],
'{category}' => $my_cat,
'{link-category}' => $my_cat_link,
'{category-icon}' => $cat_info[$row['category']]['icon'],
'{news-id}' => $row['id'],
'{php-self}' => $PHP_SELF,
'{PAGEBREAK}' => '',
'{rssdate}' => date("r", $row['date']),
'{rssauthor}' => $row['autor'],
);
$news_find = array(
'{date}' => langdate($config['timestamp_active'], $row['date']),
'{comments-num}' => $row['comm_num'],
'{views}' => $row['news_read'],
'{category}' => $my_cat,
'{link-category}' => $my_cat_link,
'{category-icon}' => $cat_info[$row['category']]['icon'],
'{news-id}' => $row['id'],
'{php-self}' => $PHP_SELF,
'{PAGEBREAK}' => '',
'{rssdate}' => date("r", $row['date']),
'{rssauthor}' => $row['autor'],
'{line-break}' => $line_break,
);
else $tpl->set_block("'\\[hide\\](.*?)\\[/hide\\]'si","<div class=\"quote\">".$lang['news_regus']."</div>");
$tpl->compile('content');
}
$tpl->clear();
$tpl->result['content'] = '<table><tr>'.$tpl->result['content'].'</tr></table>';
else $tpl->set_block("'\\[hide\\](.*?)\\[/hide\\]'si","<div class=\"quote\">".$lang['news_regus']."</div>");
$tpl->compile('content');
}
$tpl->result['content'] = '<table><tr>'.$tpl->result['content'].'</tr></table>';
$tpl->clear();
<td valign="top">
</td>
{line-break}
if ($i % 2 == 0){
$line_break = '</tr><tr>';
} else {
$line_break = '';
}
Оно могёт так?а чем не устраевает фишка вывода новости - конкретной группы, по тегу?
*** скрытое содержание ***