title: How to Use Different Background Colors for Different User Types?
body: <p>I'm trying to build a forum-like web site. So here's the deal. There's only one class for all the entries. I'm trying to make a new entry class which works the same as the other one accept for the background-color and it will only effect to usertype=admin. To make the long story short, my idea is that every user's post's background colors to show up as black, but admin's to show up as red. Only problem is, I couldn't make it work. I've tried this already but when I get inside a title where all the entries are, all I see is a blank page.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  if (@$user_type=='admin'){
  &lt;div  id="&lt;?=$rowtek-&gt;entry_id?&gt;" class="adminentry" &gt;
  ?&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How to make it work properly?</p>