 /users/profile.php :
$path = !empty($array[$act]) ? $array[$act] . '/' : ''; // ~ 64 
:
$array['ava']='includes/profile';
   :
echo '
<div>
<img src="../images/album-4.gif" width="16" height="16"/>&#160;<a href="profile.php?act=ava&amp;user=' . $user['id'] . '">
</a>&#160;('.mysql_result(mysql_query('select count(*) from `cms_users_ava_comments` where `sub_id`='.$user_id),0).')
</div>';

Tadochi | 15:28 | 20.06.12