Files
web-discuz/template/bygsjw_sj/touch/home/space_friend.php
2025-06-27 21:04:18 +08:00

93 lines
4.3 KiB
PHP

<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>我的好友</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style type="text/css">
.forumdisplay_tab .a{ color: $_G['style']['zhuti'];}
.forumdisplay_tab .a:after{ content: "."; position: absolute; top: .26rem; left: 50%; display: block; width: .16rem; height: .04rem; margin-left: -.08rem; line-height: 999em; background: $_G['style']['zhuti']; color: #fff; border-radius: .02rem;}
.byg_friend_count{ padding: 0 .1rem; font-size: .14rem; color: #666; line-height: .16rem;}
.byg_friend_list{ background: #fff; margin: .1rem 0;}
.byg_friend_list li{ padding: .1rem; border-bottom: 1px solid #eee; line-height: .25rem;}
.byg_friend_list .z_img{ width: .5rem; height: .5rem; vertical-align: top;}
.byg_friend_list_y{ width: 2.95rem;}
.byg_friend_list_hot{ font-size: .14rem; color: #888;}
.byg_friend_list_note{ font-size: .14rem;}
.byg_friend_list .byg_friend_list_delete{ margin-top: .03rem; padding: 0 .08rem; line-height: .21rem; background: #aaa; color: #fff; border-radius: .04rem; font-size: .12rem;}
.tip .button2{ font-size: 15px;}
</style>
<div class="forumdisplay_tab">
<a href="home.php?mod=space&do=friend" {$a_actives[me]}><h2>{lang friend_list}</h2></a>
<a href="home.php?mod=spacecp&ac=friend&op=request" {if $_GET['op'] == 'request'}class="a"{/if}><h2>{lang friend_request}</h2></a>
</div>
<!--{if $space[self]}-->
<!--{if $list}-->
<!--{if $_GET['view']=='me'}-->
<p class="byg_friend_count">
{lang count_member}
</p>
<!--{/if}-->
<div class="byg_friend_list">
<ul>
<!--{loop $list $key $value}-->
<li class="cl">
<!--{if $value[username] == ''}-->
<a href="javascript:;" class="z"><img src="{STATICURL}image/magic/hidden.gif" alt="{lang anonymity}" class="z_img" /></a>
<div class="y byg_friend_list_y">
<a href="javascript:;" class="z">{lang anonymity}</a>
</div>
<!--{else}-->
<a href="home.php?mod=space&uid=$value[uid]&do=profile" class="z"><img src="<!--{avatar($value['uid'], 'middle', true)}-->" alt="$value[username]" class="z_img" /></a>
<div class="y byg_friend_list_y">
<a href="home.php?mod=space&uid=$value[uid]&do=profile" class="z">$value[username]</a>
<span class="y byg_friend_list_hot">{lang hot}{$value[num]}</span>
</div>
<!--{/if}-->
<div class="y byg_friend_list_y">
<!--{if $value[isfriend] && !in_array($_GET['view'], array('blacklist', 'visitor', 'trace', 'online'))}-->
<!--{if $value[username] != ''}-->
<span class="z byg_friend_list_note">(<a href="home.php?mod=spacecp&ac=friend&op=editnote&uid=$value[uid]&handlekey=editnote_{$value[uid]}" id="friend_editnote_$value[uid]" title="{lang friend_editnote}" class="dialog"><!--{if $value[note]}-->{$value[note]}<!--{else}-->{lang friend_editnote}<!--{/if}--></a>)</span>
<!--{/if}-->
<a href="home.php?mod=spacecp&ac=friend&op=ignore&uid=$value[uid]&handlekey=delfriendhk_{$value[uid]}" id="a_ignore_$key" title="{lang delete}" class="dialog y byg_friend_list_delete">{lang delete}</a>
<!--{else}-->
<!--{if $value[username] != ''}-->
<span class="z byg_friend_list_note">(<a href="javascript:;" title="{lang friend_editnote}">{$value[note]}</a>)</span>
<!--{/if}-->
<!--{/if}-->
</div>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{if $multi}-->$multi<!--{/if}-->
<!--{else}-->
<!--{if $_GET['view']=='me'}-->
<div class="home_no_data">{lang count_member}</div>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{template common/footer}-->