示例#1
0
    sendLocation($thread);
    exit;
} elseif (!empty($thread) && hasThreadIdParam()) {
    switch ($_GET['action']) {
        case 'feedback':
            $thread['state'] = STATE_CLOSED;
            showFeedbackPage();
            break;
        case 'leave':
            showLeaveMessageSentPage();
            break;
        default:
            openChatPage($thread);
    }
    exit;
} elseif (isInvite($thread) && !empty($thread)) {
    visitorAcceptedInvite($thread);
    openChatPage($thread);
    exit;
} else {
    switch ($_GET['action']) {
        case 'feedback':
            showFeedbackPage();
            break;
        case 'leave':
            showLeaveMessageSentPage();
            break;
    }
}
if (shouldChooseDepartment()) {
    exit;
                    <?php 
        }
        ?>
 
                    <?php 
        if (!isVerified($user['uid'])) {
            ?>
                    <dd><a href="<?php 
            echo U('public/Account/authenticate');
            ?>
"><i class="ico-certification"></i>申请认证</a></dd>
                    <?php 
        }
        ?>
                    <?php 
        if (isInvite() && CheckPermission('core_normal', 'invite_user')) {
            ?>
                    <dd><a href="<?php 
            echo U('public/Invite/invite');
            ?>
"><i class="ico-invite"></i><?php 
            echo L('PUBLIC_INVITE_COLLEAGUE');
            ?>
</a></dd>
                    <?php 
        }
        ?>
                    
                    <!-- <dd><a href="<?php 
        echo U('public/SmallTools/weiboShare');
        ?>