Add multiple IF tags in php
- by Andy
Hi ,
I would like to add this condition :
{if $profile.sex == 1 || $profile.sex == 4}
{/if}
To this code :
case 'friendlist':
if ( app_Features::isAvailable( 14 ) )
{
$_output = '<div class="memhome_link">';
$_output.= '<a href="'.SK_Navigation::href( 'profile_friend_list' ).'" '.$class.'>'.$lang_section->text( 'href_my_friendlist').'</a>';
$_output.= ' ('.app_FriendNetwork::countFriends( SK_HttpUser::profile_id() ).')';
$_output.= '</div>';
}
break;
Can anybody give me any help , please ?
Thanks for all the help .