|
@@ 216-218 (lines=3) @@
|
| 213 |
|
// Added 16 february 2007 ***************************************** |
| 214 |
|
$story_user = null; |
| 215 |
|
$story_user = new XoopsUser($tmpstory->uid()); |
| 216 |
|
if (is_object($story_user)) { |
| 217 |
|
$spotlight['avatar'] = XOOPS_UPLOAD_URL . '/' . $story_user->getVar('user_avatar'); |
| 218 |
|
} |
| 219 |
|
// **************************************************************** |
| 220 |
|
$spotlight['id'] = $tmpstory->storyid(); |
| 221 |
|
$spotlight['date'] = formatTimestamp($tmpstory->published(), $dateformat); |
|
@@ 434-436 (lines=3) @@
|
| 431 |
|
// Added 16 february 2007 ***************************************** |
| 432 |
|
$story_user = null; |
| 433 |
|
$story_user = new XoopsUser($story->uid()); |
| 434 |
|
if (is_object($story_user)) { |
| 435 |
|
$spotlight['avatar'] = XOOPS_UPLOAD_URL . '/' . $story_user->getVar('user_avatar'); |
| 436 |
|
} |
| 437 |
|
// **************************************************************** |
| 438 |
|
$spotlight['text'] = $story->hometext(); |
| 439 |
|
$spotlight['id'] = $story->storyid(); |
|
@@ 536-538 (lines=3) @@
|
| 533 |
|
// Added 16 february 2007 ***************************************** |
| 534 |
|
$story_user = null; |
| 535 |
|
$story_user = new XoopsUser($spotlightArticle->uid()); |
| 536 |
|
if (is_object($story_user)) { |
| 537 |
|
$spotlight['avatar'] = XOOPS_UPLOAD_URL . '/' . $story_user->getVar('user_avatar'); |
| 538 |
|
} |
| 539 |
|
// **************************************************************** |
| 540 |
|
$spotlight['topicid'] = $spotlightArticle->topicid(); |
| 541 |
|
$spotlight['topic_title'] = $spotlightArticle->topic_title(); |