方维二次开发

wangtongphp

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

 

要修改以上这个地方;

 

修改下面这个文件

 

 

这个地方是假的

 

修改方法:

 把框里面的改成你的uid

 

 转载请注明来源:http://www.cnblogs.com/wangtongphp/archive/2013/05/19/3086693.html

有需求,请联系博主QQ:1006440989

可以参考下面的iframe的写法

 

<div class="top fm960">
<div class="gz">
    <div class="follow_wrap fl">
     <a href="" class="f_m" title="关注我们"></a><span class="f_s">2882万</span><i></i>
    </div>
    <ul id="follow_menu" class="s_m" style="display:none">    
        <li id="add_follow_frames">
       <wb:follow-button uid="2994203875" type="red_2" width="136" height="24" ></wb:follow-button>
        </li>
   
        <li>
        <iframe src="http://follow.v.t.qq.com/index.php?c=follow&a=quick&name=motiantian&style=5&t=1355564946829&f=1" frameborder="0" scrolling="auto" width="178" height="24" marginwidth="0" marginheight="0" allowtransparency="true"></iframe>
        </li>
    </ul>
</div>
<!--{if $_FANWE['uid'] > 0}-->
<div class="fr">
    <div class="my_btn">
        <a href="{u u/me}" class="mb_bd{if $_FANWE['user']['gender'] == 1} b{/if}">
            <img class="mb_avt" src="{avatar $_FANWE['user']['avatar'] s}" height="24">
            <span class="mb_name{if $_FANWE['user']['gender'] == 1} bc{else} gc{/if}">{$_FANWE['user_name']}</span>
            <b></b>
        </a>
        <a href="javascript:;" onclick="$.Fast_Share();" class="fastshare">快速分享</a>
        <a class="myalbum bold" href="{u u/album}">{lang common/album}</a>
        <a href="{u u/fav uid=$_FANWE['uid']}" class="myfavs bold">{lang fav}</a>
        <a class="groups bold" href="{u u/group}">{lang common/group}</a>
        <a href="javascript:;" class="message{if $_FANWE['user_notice']['all'] > 0} h{/if}">{lang message_tip}{if $_FANWE['user_notice']['all'] > 0}({$_FANWE['user_notice']['all']}){/if}</a>
    </div>

    
    <div class="info_menu_box fl" id="info_menu" style="display:none;">
        <a href="{u settings/personal}" class="setting">个人{lang settings}</a>
        <a href="{u invite}" class="setting">邀请</a>
        <a href="{u user/logout}" >安全{lang logout}</a>
    </div>
    <div class="notice_menu_box fl">
        <ul id="notice_menu" class="s_m">
            <li>
                <a href="{u u/talk uid=$_FANWE['uid']}">我发表的</a>
            </li>
            <li>
                <a href="{u u/comments uid=$_FANWE['uid']}">评论我的{if $_FANWE['user_notice'][3] >0}<span>({$_FANWE['user_notice'][3]})</span>{/if}</a>
            </li>
            <li>
                <a href="{u u/fans uid=$_FANWE['uid']}">关注我的{if $_FANWE['user_notice'][1] >0}<span>({$_FANWE['user_notice'][1]})</span>{/if}</a>
            </li>
            <li>
                <a href="{u u/atme uid=$_FANWE['uid']}">提到我的{if $_FANWE['user_notice'][4] >0}<span>({$_FANWE['user_notice'][4]})</span>{/if}</a>
            </li>
            <li>
                <a href="{u u/atme uid=$_FANWE['uid'],type=faved}">喜欢我的{if $_FANWE['user_notice'][2] >0}<span>({$_FANWE['user_notice'][2]})</span>{/if}</a>
            </li>
            <li>
                <a href="{u u/message uid=$_FANWE['uid']}">我的信件{if $_FANWE['user_notice'][5] >0}<span>({$_FANWE['user_notice'][5]})</span>{/if}</a>
            </li>
            <li>
                <a href="{u u/notic uid=$_FANWE['uid']}">我的通知{if $_FANWE['user_notice'][6] >0}<span>({$_FANWE['user_notice'][6]})</span>{/if}</a>
            </li>
        </ul>
    </div>
</div>
<!--{else}-->
<ul class="l">
    <li class="reg">
        <a href="{u user/register}" target="_blank">{lang register}</a>
    </li>
    <li class="login">
        <a href="{u user/login}">{lang login}</a>
    </li>
    
    <li class="o_l">
        <span><img class="fl" src="./tpl/images/icon_sina.png"><a class="fl" href="{$_FANWE[site_root]}login.php?mod=sina">{lang signsina}</a></span>
        <span><img class="fl" src="./tpl/images/icon_qq_qq.png"><a class="fl" href="{$_FANWE[site_root]}login.php?mod=qq">{lang signqq}</a></span>
        <span><img class="fl" src="./tpl/images/tao.png"><a class="fl" href="{$_FANWE[site_root]}login.php?mod=taobao">{lang signtaobao}</a></span>     
        <a href="javascript:;" class="more_login more_login_active">更多<b></b></a>
    </li>
    <li id="show_more_login" style="display: none; ">     
     <a href="{$_FANWE[site_root]}login.php?mod=tqq" class="login_bg tencent_login">用腾讯微博登录</a>
     <a href="{$_FANWE[site_root]}login.php?mod=douban" class="login_bg douban_login">用豆瓣帐号登录</a>
     <a href="{$_FANWE[site_root]}login.php?mod=kaixin" class="login_bg kx_login">用开心网登录</a>
     <a href="{$_FANWE[site_root]}login.php?mod=renren" class="login_bg rr_login">用人人网登录</a>
   </li>
</ul>
<!--{/if}-->
</div> 

 

 

posted on 2013-05-19 12:26  方维二次开发  阅读(389)  评论(0编辑  收藏  举报