If you are good with html please take a look at this, help needed.. REPS

Discussion in 'HTML & Website Design' started by jupiter23, Jul 31, 2009.

  1. #1
    [​IMG]

    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

    [​IMG]

    if you know what changes need to be made please tell me

    thanks
     
    jupiter23, Jul 31, 2009 IP
  2. alexanderx

    alexanderx Active Member

    Messages:
    149
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    i don't see anyway mention 2colum. maybe startrow2 and endrow2. check your definition.i'm not good with java or this lang.
     
    alexanderx, Jul 31, 2009 IP
  3. thr3146

    thr3146 Active Member

    Messages:
    182
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Looks like you need to set-up a third div(column) in your css...pm me and I can help you further.
     
    thr3146, Jul 31, 2009 IP
  4. jupiter23

    jupiter23 Peon

    Messages:
    327
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    pmed you 5mins ago
     
    jupiter23, Jul 31, 2009 IP
  5. thr3146

    thr3146 Active Member

    Messages:
    182
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Sent you a file that might explain better.
     
    thr3146, Jul 31, 2009 IP