//好友列表
if ( $_REQUEST['mod'] == "friend")
{
if ( $_REQUEST['false'] == "refresh" )
{
echo "{\"code\":0}";
exit( );
}
if ( !empty( $space[friend] ) )
{
$space[friend] = $space[friend].",";
}
$Config = $_SGLOBAL['db']->query( "SELECT C.uid,C.money,C.pf,C.vip,N.exp,S.username,S.name FROM ".tname( "happyfarm_config" )." C Left JOIN ".tname( "happyfarm_nc" )." N ON N.uid=C.uid LEFT JOIN ".tname( "space" )." S ON S.uid=C.uid WHERE C.uid IN (".$space[friend].$UID.")limit 0,300");
while ( $value = $_SGLOBAL['db']->fetch_array( $Config ) )
自己看把。 |