Fixed memberlist html structure

This commit is contained in:
Daniel Winzen
2020-12-27 17:16:36 +01:00
parent 45035ebf36
commit c7b824c56b

View File

@ -2242,23 +2242,23 @@ function print_chatters(){
} }
} }
if($U['status']>5){ if($U['status']>5){
echo '<th>' . $lnk . 's _" target="post">[' . $I['admin'] . ']</a></td>&nbsp;</a></td>'; echo '<th>' . $lnk . 's _" target="post">[' . $I['admin'] . ']</a></th><td>&nbsp;</td>';
} }
if($U['status']>4){ if($U['status']>4){
echo '<th>' . $lnk . 's &#37;" target="post">[' . $I['staff'] . ']</a></td>&nbsp;</a></td>'; echo '<th>' . $lnk . 's &#37;" target="post">[' . $I['staff'] . ']</a></th><td>&nbsp;</td>';
} }
if(!empty($M)){ if(!empty($M)){
if($U['status']<2){ if($U['status']<3){
echo "<th>$I[members]:</th><td>&nbsp;</td><td>".implode(' &nbsp; ', $M).'</td>'; echo "<th>$I[members]:</th><td>&nbsp;</td><td>".implode(' &nbsp; ', $M).'</td>';
} else { } else {
echo '<th>' . $lnk . 's ?" target="post">' . $I['members'] . ':</a></td>&nbsp;</a></td><td>'.implode(' &nbsp; ', $M).'</td>'; echo '<th>' . $lnk . 's ?" target="post">' . $I['members'] . ':</a></th><td>&nbsp;</td><td>'.implode(' &nbsp; ', $M).'</td>';
} }
if(!empty($M)){ if(!empty($M)){
echo '<td>&nbsp;&nbsp;</td>'; echo '<td>&nbsp;&nbsp;</td>';
} }
} }
if(!empty($G)){ if(!empty($G)){
echo '<th>' . $lnk . 's *" target="post">' . $I['guests'] . ':</a></td>&nbsp;</a></td><td>'.implode(' &nbsp; ', $G).'</td>'; echo '<th>' . $lnk . 's *" target="post">' . $I['guests'] . ':</a></th><td>&nbsp;</td><td>'.implode(' &nbsp; ', $G).'</td>';
} }
echo '</tr></table></div>'; echo '</tr></table></div>';
} }