Просмотр поста #531426: У Вас есть один вопрос? - Тогда задайте его тут! new!

.
Str@nnik

Как это в 4-ке и выше организовано?

echo ceil(ceil($i / 2) - ($i / 2)) == 0 ? '<div class="list1">' : '<div class="list2">';
            $text = htmlentities($res['text'], ENT_QUOTES, 'UTF-8');
            $text = functions::tags($text);
            $text = str_replace("\r\n", "<br />", $text);
            $text = smileys($text);