if(!empty($config['type'])){
if(in_array('Weixin',$config['type'])): 微信登录 endif; if(in_array('Qq',$config['type'])): QQ登录 endif; if(in_array('Sina',$config['type'])): 微博登录 endif; if(in_array('Renren',$config['type'])): 人人登录 endif;
}