| @@ 304-307 (lines=4) @@ | ||
| 301 | ||
| 302 | $newcount = $GLOBALS['xoopsModuleConfig']['adslight_countday']; |
|
| 303 | $startdate = (time() - (86400 * $newcount)); |
|
| 304 | if ($startdate < $date) { |
|
| 305 | $newitem = '<img src="' . XOOPS_URL . '/modules/adslight/assets/images/newred.gif" />'; |
|
| 306 | $a_item['new'] = $newitem; |
|
| 307 | } |
|
| 308 | if ($GLOBALS['xoopsUser']) { |
|
| 309 | $timezone = $GLOBALS['xoopsUser']->timezone(); |
|
| 310 | if (isset($timezone)) { |
|
| @@ 248-251 (lines=4) @@ | ||
| 245 | $newcount = $GLOBALS['xoopsModuleConfig']['adslight_countday']; |
|
| 246 | $startdate = (time() - (86400 * $newcount)); |
|
| 247 | ||
| 248 | if ($startdate < $date) { |
|
| 249 | $newitem = '<img src="' . XOOPS_URL . '/modules/adslight/assets/images/newred.gif" alt="new" />'; |
|
| 250 | $a_item['new'] = $newitem; |
|
| 251 | } |
|
| 252 | ||
| 253 | $useroffset = ''; |
|
| 254 | if ($GLOBALS['xoopsUser']) { |
|