<li>
    <span class="tag"><?PHP echo $this->tag; ?></span>
    <span class="unread"><?PHP if ($this->unread>0) echo $this->unread; ?></span>
    <div class="color" style="background-color:<?PHP echo $this->color; ?>"></div>
</li>