城网中国 首页 城网学院 建站教程 查看内容

城网小程云研发代码header_userstatus.htm

2020-8-31 01:19| 发布者: cnone| 查看: 173| 评论: 0

摘要: 城网小程云研发代码header_userstatus.htm
<!--{if $_G['uid']}-->
<div id="um">

<!--{if $_G['uid']}-->
<strong class="vwmy{if $_G['setting']['connect']['allow'] && $_G[member][conisbind]} qq {/if}" ><a href="home.php?mod=space&uid=$_G[uid]" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong>
<!--{if $_G['group']['allowinvisible']}-->


<!--{/if}-->
<!--{hook/global_usernav_extra1}-->
<span class="pipe">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G[member][newpm]} class="new"{/if}>{lang pm_center}</a>

<!--{if $_G['setting']['taskon'] && !empty($_G['cookie']['taskdoing_'.$_G['uid']])}--><span class="pipe">|</span><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a><!--{/if}-->
<!--{if ($_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle'] || $_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3))}-->
<span class="pipe">|</span><a href="portal.php?mod=portalcp"><!--{if $_G['setting']['portalstatus'] }-->{lang portal_manage}<!--{else}-->{lang portal_block_manage}<!--{/if}--></a>
<!--{/if}-->
<!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
<span class="pipe">|</span><a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank">{lang forum_manager}</a>
<!--{/if}-->
<!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->
<span class="pipe">|</span><a href="admin.php" target="_blank">{lang admincp}</a>
<!--{/if}-->
<!--{hook/global_usernav_extra2}-->
<span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
<!--{if CURMODULE != 'topic' && $_G['group']['allowdiy'] && !empty($_G['style']['tplfile']) || CURMODULE == 'topic' && !empty($_G['style']['tplfile']) && ($_G['group']['allowaddtopic'] && $topic['uid'] == $_G['uid'] || $_G['group']['allowmanagetopic'])}-->
<a id="diy-tg" href="javascript:openDiy();" title="{lang open_diy}" class="xi1 xw1"></a>
<!--{/if}-->
<!--{elseif !empty($_G['cookie']['loginuser'])}-->
<strong><a id="loginuser" class="noborder"><!--{echo htmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
<span class="pipe">|</span><a href="member.php?mod=logging&action=login" onClick="showWindow('login', this.href)">{lang activation}</a>
<span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
<!--{else}-->
        <a href="member.php?mod={$_G[setting][regname]}">$_G['setting']['reglinkname']</a>
        <a href="member.php?mod=logging&action=login" onClick="showWindow('login', this.href)">{lang login}</a>
<!--{/if}-->

</div>
<!--{/if}-->

鲜花

握手

雷人

路过

鸡蛋

最新评论