range(0, $pagenum, 'DESC', 'dateline', 0, null, $uid); $blogids = array_keys($data_blog); $data_blogfield = C::t('home_blogfield')->fetch_all($blogids); $charset = $_G['config']['output']['charset']; dheader("Content-type: application/xml"); echo "\n". "\n". " \n". " {$space[username]}\n". " {$space[space_url]}\n". " {$_G[setting][bbname]}\n". " Copyright(C) {$_G[setting][bbname]}\n". " Discuz! Board by Comsenz Inc.\n". " ".gmdate('r', TIMESTAMP)."\n". " \n". " {$_G[siteurl]}static/image/common/logo_88_31.gif\n". " {$_G[setting][bbname]}\n". " {$_G[siteurl]}\n". " \n"; foreach($data_blog as $curblogid => $value) { $value = array_merge($value, (array)$data_blogfield[$curblogid]); $value['message'] = getstr($value['message'], 300, 0, 0, 0, -1); if($value['pic']) { $value['pic'] = pic_cover_get($value['pic'], $value['picflag']); $value['message'] .= "
"; } echo " \n". " ".$value['subject']."\n". " $_G[siteurl]home.php?mod=space&uid=$value[uid]&do=blog&id=$value[blogid]\n". " \n". " ".dhtmlspecialchars($value['username'])."\n". " ".gmdate('r', $value['dateline'])."\n". " \n"; } echo "
\n". "
"; ?>