@@ 232-235 (lines=4) @@ | ||
229 | $newcount = $GLOBALS['xoopsModuleConfig']['adslight_countday']; |
|
230 | $startdate = (time() - (86400 * $newcount)); |
|
231 | ||
232 | if ($startdate < $date) { |
|
233 | $newitem = '<img src="' . XOOPS_URL . '/modules/adslight/assets/images/newred.gif" alt="new" >'; |
|
234 | $a_item['new'] = $newitem; |
|
235 | } |
|
236 | ||
237 | $useroffset = ''; |
|
238 | if ($GLOBALS['xoopsUser'] instanceof XoopsUser) { |
@@ 308-311 (lines=4) @@ | ||
305 | ||
306 | $newcount = $GLOBALS['xoopsModuleConfig']['adslight_countday']; |
|
307 | $startdate = (time() - (86400 * $newcount)); |
|
308 | if ($startdate < $date) { |
|
309 | $newitem = '<img src="' . XOOPS_URL . '/modules/adslight/assets/images/newred.gif" >'; |
|
310 | $a_item['new'] = $newitem; |
|
311 | } |
|
312 | if ($GLOBALS['xoopsUser']) { |
|
313 | $timezone = $GLOBALS['xoopsUser']->timezone(); |
|
314 | if (isset($timezone)) { |