View file system/counts/private_menu/share.php
<?php $shares = mysql_result(mysql_query("SELECT COUNT(*) FROM `share` WHERE `user_id` = '$user_id'"),0); if($shares == 0) { echo ' <span style="float:right">Закладок нет</span> '; } else { echo ' <span style="color:green;float:right;">Всего: ' .$shares .'</span>'; } ?>