Ну что то типа Код (PHP): <?php $arr = [ 'new' => 'background:#f00', 'update' => 'background:#0088cc', ]; ?> <span style="<?php echo $arr[$file["КОЛОНКА_БАЗЫ"]]?>;position:absolute;top:0.75em;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);line-height:1.3em;max-width:100%;min-width:6em;text-align:center;left:-1.5em;opacity:.85;box-shadow: 1px 2px 3px #000;text-shadow: 1px 2px 3px #fff;color:#000;font-weight:bold"><?=$file["КОЛОНКА_БАЗЫ"]?>(Тут будет слово New)</span>