<? if (isset($news)) : ?><p><img alt="" class="icos" src="/design/icons/star.png">Заголовок:<br>
<input class="<?=$class['title']?>" maxlength="30" name="title" type="text"<?=$value['title']?>><br>
<span class="small">До 30 символов.</span></p><p><img alt="" class="icos" src="/design/icons/pencil.png">
Текст:<br><textarea class="<?=$class['text']?>" id="smiles" maxlength="2000" name="text"><?=$value['text']?></textarea>
</p><div class="smiles"><span><img class="smile" src="/design/smiles/smile.png" alt=":)"></span><span>
<img class="smile" src="/design/smiles/wink.png" alt=";)"></span><span><img class="smile" src="/design/smiles/laugh.png" alt=":D">
</span><span><img class="smile" src="/design/smiles/biggrin.png" alt="XD"></span><span>
<img class="smile" src="/design/smiles/tongue.png" alt=":P"></span><span><img class="smile" src="/design/smiles/cool.png" alt="8)">
</span><span><img class="smile" src="/design/smiles/shock.png" alt=":O"></span><span><img class="smile" src="/design/smiles/happen.png" alt=":|">
</span><span><img class="smile" src="/design/smiles/sad.png" alt=":("></span><span><img class="smile" src="/design/smiles/angry.png" alt=":Z">
</span></div><p><span class="color">Данные указаны с ошибками!</span></p><? if ($new) : ?><input type="hidden" name="id" value="<?=$new?>">
<? endif; ?><input type="hidden" name="token" value="<?=TOKEN?>"><button><?=$button?></button><? else : ?><p>Новость успешно <?=$luck?>!</p><? endif; ?>