help with html block

the following code is for the page templates\base\view_friends_member_menu_friends_list

<div class="control">
<div>
<img src="<bx_icon_url:memeber_menu_sub_fr_request.png />" alt="__friends_request__" width="16" height="16" />
<a href="<bx_url_root />communicator.php?person_switcher=to&communicator_mode=friends_requests">__friends_request__</a> (__request_count__)
</div>
<div>
<img src="<bx_icon_url:status_online.png />" alt="__online_friends__" width="16" height="16" />
<a href="<bx_url_root />viewFriends.php?&iUser=__ID__&online_only=on">__online_friends__</a> (__online_count__)
</div>
</div>

copy you and paste an HTML block, here

and in the dashboard shows me this

and what I want is to be this way

I thought that would be so easy,

does anyone know that it is missing to make this work?

Quote · 25 Feb 2010

is there anyone who has tried something similar?some help please

Quote · 25 Feb 2010

Stuff like this should be done in a PHP block.

Keys like __online_count__ are not available for use globally. Most are specific to the one template they are used in.

With a php block you can use php code to query the database directly for the info you need.

https://www.deanbassett.com
Quote · 25 Feb 2010

also am new to php,do you have some idea of where should I start?

Quote · 25 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.