{if $action == 'my'}
{$fields_select}
{if $lists}

|  |  | {if $from=='sms'}{else}{/if} {if $DT[im_web]} | {/if} |
--- | --- | --- | --- | --- | ---
{loop $lists $k $v}
| {$v[company]} | {$v[truename]} | {if $from=='sms'}{$v[mobile]}{else}{$v[username]}{/if} {if $DT[im_web]} | {im_web($v[username])}{/if} |
{/loop}

{if $page}
{$pages}
{/if}
{else}
{if $kw}¦Ä{else}{/if}
{/if}
{else} {template 'header', $module}
{if $action == 'add'}

| {$type_select} []
* | {dstyle('post[style]')}
¦Ë |
´Â |
Email |
{if $DT[im_qq]}
QQ |
{/if} {if $DT[im_ali]}
{/if} {if $DT[im_msn]}
MSN |
{/if} {if $DT[im_skype]}
Skype |
{/if}

{elseif $action == 'edit'}

| {$type_select} []
| §Õ
* | {dstyle('post[style]', $style)}
¦Ë |
´Â |
Email |
{if $DT[im_qq]}
QQ |
{/if} {if $DT[im_ali]}
{/if} {if $DT[im_msn]}
MSN |
{/if} {if $DT[im_skype]}
Skype |
{/if}

{else}
{$fields_select} {$type_select}

{loop $lists $k $v} {if $k%2==0}
{/if} {if $v}
{$v[dcompany]}
{$v[truename]}{if $v[career]} ({$v[career]}){/if}
´Â{$v[telephone]}
{$v[mobile]}
[{$v[type]}] [] [] {if $v[homepage]} {/if} {if $DT[sms] && $v[mobile]} {/if} {if $v[username]} {/if} {if $v[email]} {/if} {if $v[username] && $DT[im_web]}{im_web($v[username])} {/if} {if $v[qq] && $DT[im_qq]}{im_qq($v[qq])} {/if} {if $v[ali] && $DT[im_ali]}{im_ali($v[ali])} {/if} {if $v[msn] && $DT[im_msn]}{im_msn($v[msn])} {/if} {if $v[skype] && $DT[im_skype]}{im_skype($v[skype])} {/if}
{else} {/if} {if $k%2==1}
{/if} {/loop}

{if $MG[friend_limit]}
{$MG[friend_limit]} {$limit_used} {$limit_free}
{/if}
{$pages}
{/if} {if $action=='add' || $action=='edit'}
{/if} {template 'footer', $module} {/if}