Ejemplo n.º 1
0
<?php

require_once dirname(__FILE__) . "/../include/common.inc.php";
require_once SLINEINC . "/view.class.php";
//顶部用登陆状态
if ($dopost == 'LoginStatus') {
    $prefix = Helper_Archive::getSysWebprefix();
    $domain = Helper_Archive::getBaseUrl();
    //顶级域名
    $url = 'http://' . $prefix . $domain;
    if ($User->IsLogin()) {
        $userinfo = $User->getInfoByMid($User->uid);
        $uname = cn_substr($userinfo['nickname'], 10);
        //昵称
        $jifen = !empty($userinfo['jifen']) ? $userinfo['jifen'] : 0;
        //$face = !empty($userinfo['face']) ? $GLOBALS['cfg_templets_skin'].'/images/pic/defaultface.gif' : getUploadFileUrl($userinfo['face']);
        /* $face = $GLOBALS['cfg_templets_skin'].'/images/pic/defaultface.jpg';
        			 $out='<div class="header_info_show">
                             <ul class="my_pro">
                               <li class="my_pro_item">
                                <span>我的积分:</span><a href="#" class="header_my_coin">'.$jifen.'</a><span>等级:<a href="#" class="header_my_level">LV.1</a></span>
        </li>
                        <li class="my_pro_msg">
                            
        				     <a class="msg_notice" title="消息" href="javascript:void(0);">消息</a>
        					 <ul class="pop_msg_notice" >
        					  <li><a href="#">提到我的</a></li>
        					  <li><a href="#">我的消息</a></li>
        					 </ul>
                        </li>
                       <li class="my_pro_name clearfix">