<?php
/*
[UCenter Home] (C) 2007-2008 Comsenz Inc.
$Id: gift.php 12841 2009-07-23 02:01:57Z liguode $
*/
if(!defined('IN_UCHOME')) {
exit('Access Denied');
}
if($_SGLOBAL['supe_uid']) {
$task['done'] = 1;//ÈÎÎñÍê³É
$task['result'] = '<p>Thank you for participating in this rewarded activity, your reward package has been received. Please participate in future activities.</p>';
$task['result'] .= '<br><ul class="line_list">';
$bloglist = array();
$query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('blog')." WHERE hot>='3' AND friend='0' ORDER BY dateline DESC LIMIT 0,20");
while ($value = $_SGLOBAL['db']->fetch_array($query)) {
realname_set($value['uid'], $value['username']);
$bloglist[] = $value;
}
realname_get();
foreach ($bloglist as $value) {
$task['result'] .= "<li><a href=\"space.php?uid=$value[uid]\" target=\"_blank\"><strong>".$_SN[$value['uid']]."</strong></a>£º<a href=\"space.php?uid=$value[uid]&do=blog&id=$value[blogid]\" target=\"_blank\">$value[subject]</a> <span class=\"gray\">($value[hot]Whose)</span></li>";
}
$task['result'] .= '</ul>';
} else {
$task['guide'] = '';
}
?>