安装后首页下方出现这个:
1, 0, 0, -1); $piclist[] = $value; } } else { $piclist = $netcache['piclist']; } //竞价排名 $showlist = array(); $query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('show')." ORDER BY credit DESC LIMIT 0,1"); while ($value = $_SGLOBAL['db']->fetch_array($query)) { realname_set($value['uid'], $value['username']); $value['note'] = addslashes(getstr($value['note'], 80, 0, 0, 0, 0, -1)); $showlist[] = $value; } //成员列表 $netcache['spacelist'] = array(); if(empty($network['space'])) { $sql = " ORDER BY updatetime DESC LIMIT 0,5"; } else { eval("\$network['space'] = \"$network[space]\";"); $sql = ' '.trim($network['space']); } $query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('space').$sql); while ($value = $_SGLOBAL['db']->fetch_array($query)) { realname_set($value['uid'], $value['username']); $netcache['spacelist'][] = $value; } //获取实名 realname_get(); //格式化动态 foreach ($feedlist as $key => $value) { $feedlist[$key] = mkfeed($value); } include template('index'); ?> |