clipbucket/upload/styles/cbv2new/layout/user_contacts.html
2013-10-07 12:17:06 +00:00

47 lines
No EOL
2.1 KiB
HTML

{include file="$style_dir/global_header.html"}
<body>
{include file="$style_dir/blocks/view_channel/channel_global.html" }
<div id="container" class="container clearfix" style="background-color:none">
{include file="$style_dir/header.html"}
<div style="height:10px;"></div>
{include file="$style_dir/message.html"}
<div class="channel_inner_box" id="result_cont" style="display:none; background:#eee;"></div>
<div class="moveL clearfix" style="width:270px; padding:0px 5px;">
{include file="$style_dir/blocks/view_channel/channel_left.html"}
</div> <!-- this is left side -->
<div class="moveL clearfix" style="width:700px; padding:0px 5px; ">
<div id="channelDetailsBox" class="clearfix channelBox" style="border:1px solid #ccc; padding:0px 6px 6px;">
{if $mode == '' || $mode == 'contacts'}
{lang code='users_contacts' assign='users_contacts'}
<h2>{$users_contacts|sprintf:$u.username}</h2>
{if $friends}
{foreach from=$friends item=friend}
{if $u.userid!=$friend.userid}
{assign var=user_detail value=$userquery->get_user_details($friend.userid)}
{else}
{assign var=user_detail value=$userquery->get_user_details($friend.contact_userid)}
{/if}
{include file="$style_dir/blocks/user.html" user=$user_detail}
{/foreach}
{else}
<em>This user has no contacts</em>
{/if}
{else}
<h2>{$heading}</h2>
{if $userSubs}
{foreach from=$userSubs item=item}
{include file="$style_dir/blocks/user.html" user=$item}
{/foreach}
{/if}
{/if}
</div>
</div> <!-- this is right side -->
</div> <!-- container end -->
<div class="clearfix" style="height:10px"></div>
<div id="footer" class="clearfix" style="margin-top:0px;">
<div class="footer">
&copy; {$title} {$smarty.now|date_format:"%Y"}
</div>
</div>
</body>
</html>