include_once(S_ROOT."./source/space_{$do}.php");
include_once S_ROOT.'./uc_client/client.php'; if($_SGLOBAL['supe_uid'] && !uc_check_avatar($_SGLOBAL['supe_uid'])) { //没有头像不给看 showmessage('注册后必须上传头像才能使用其他服务.','cp.php?ac=avatar',5); }
使用道具 举报
$query = $_SGLOBAL['db']->query('select avatar FROM '.tname('space').' where uid='$_SGLOBAL['supe_uid']'); if($_SGLOBAL['db']->fetch_array($query)) { //表名有头像 }复制代码锦猫鼠 发表于 2010-2-25 21:34
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2025-9-15 02:28 , Processed in 0.098302 second(s), 13 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.