html code is {* SHOW MOST POPULAR USERS (MOST FRIENDS) *} {if $setting.setting_connection_allow != 0} <div class='header'>{lang_print id=668}</div> <div class='portal_content'> {if !empty($friends)} <table cellpadding='0' cellspacing='0' align='center'> {section name=friends_loop loop=$friends max=6} {cycle name="startrow2" values="<tr>,"} <td class='portal_member' valign="bottom"{if (~$smarty.section.friends_loop.index & 1) && $smarty.section.friends_loop.last} colspan="2" style="width:100%;"{else} style="width:50%;"{/if}> {if !empty($friends[friends_loop])} <a href='{$url->url_create("profile",$friends[friends_loop].friend->user_info.user_username)}'>{$friends[friends_loop].friend->user_displayname|truncate:15:"...":true}</a><br /> <a href='{$url->url_create("profile",$friends[friends_loop].friend->user_info.user_username)}'><img src='{$friends[friends_loop].friend->user_photo("./images/nophoto.gif", TRUE)}' class='photo' width='60' height='60' border='0' alt='' /></a><br /> {lang_sprintf id=669 1=$friends[friends_loop].total_friends} {/if} </td> {cycle name="endrow2" values=",</tr>"} {/section} </table> {else} {lang_print id=670} {/if} </div> <div class='portal_spacer'></div> {/if} need it to look like this if you know what changes need to be made please tell me thanks
i don't see anyway mention 2colum. maybe startrow2 and endrow2. check your definition.i'm not good with java or this lang.