if($ku['polosa']==0) { $max = $level['rating']; $tek = $kr; $forl = ($tek/$max)*100; echo '<div style="border:1px solid #55A855;border-radius:6px;margin-top:2px;">'; echo '<div class="expline" style="width:'.$forl.'%;"/>'; echo "</div>"; echo "</div>"; echo "</div>"; }