Example #1
0
function jsg_member_third_party_reg_msg()
{
    $msg = '';
    if ($GLOBALS['_J']['config']['third_party_regstatus']) {
        $msg .= '您也可以通过以下的第三方帐号进行登陆:<br /><br />';
        if (in_array('sina', $GLOBALS['_J']['config']['third_party_regstatus']) && sina_weibo_init()) {
            $msg .= sina_weibo_login('b') . '<br /><br />';
        }
        if (in_array('qqwb', $GLOBALS['_J']['config']['third_party_regstatus']) && qqwb_init()) {
            $msg .= qqwb_login('b') . '<br /><br />';
        }
    }
    return $msg;
}
Example #2
0
 <p class="u-tips"></p> <div class="others"> <?php 
if ($this->Config['sina_enable'] && sina_weibo_init()) {
    ?>
&nbsp;
<?php 
    echo sina_weibo_login('b');
    ?>
 <?php 
}
?>
 <?php 
if ($this->Config['qqwb_enable'] && qqwb_init()) {
    ?>
&nbsp; 
<?php 
    echo qqwb_login('b');
    ?>
 <?php 
}
?>
 <?php 
if ($this->Config['yy_enable'] && yy_init()) {
    ?>
&nbsp; 
<?php 
    echo yy_login('b');
    ?>
 <?php 
}
?>
 <?php 
echo $GLOBALS['_J']['config']['site_url'];
?>
/index.php?mod=get_password" class="forgetPass">忘记密码</a> </li> <li> </li> </ul> </div> <p> <div class="loginother"><span>其它方式登录:</span> <?php 
if ($this->Config['sina_enable'] && sina_weibo_init()) {
    ?>
 <?php 
    echo sina_weibo_login('s');
    ?>
 <?php 
}
?>
 <?php 
if ($this->Config['qqwb_enable'] && qqwb_init()) {
    ?>
 <?php 
    echo qqwb_login('s');
    ?>
 <?php 
}
?>
 <?php 
if ($this->Config['yy_enable'] && yy_init()) {
    ?>
 <?php 
    echo yy_login('s');
    ?>
 <?php 
}
?>
 <?php 
if ($this->Config['renren_enable'] && renren_init()) {