
<?php
    if($this->a_Auth->isLogged()) {
        $userinfo = L_G_HELLOW.', <a href="'.$this->a_logged_field_url.'" title="'.L_G_EDITUSERPROFILE.'">'.$this->a_Auth->userName.'</a>, ';
?>
<div class="uinfo">
    <p><?php echo $userinfo; ?>
    <?php if($this->a_Auth->getSetting('Aff_allow_choose_lang') == 1) { ?>
    <a href="index.php?md=<?php echo $_GET['md'];?>&language=zh-TW"><?php echo L_G_ZHTW;?></a> |
    <a href="index.php?md=<?php echo $_GET['md'];?>&language=zh-CN"><?php echo L_G_ZHCN;?></a> ,
    <?php } ?>
    <a href="index.php?md=Affiliate_Merchants_Views_Firststeps"><?php echo L_G_HELP2; ?></a> |
    <a href="logout.php" target="_self"><?php echo L_G_LOGOUT?></a>
    </p>
    <p class="btnlink"><a href="../" target="_blank"><?php echo L_G_PZONE; ?></a></p>
</div>
<?php } ?>
