|
@@ 339-341 (lines=3) @@
|
| 336 |
|
$videorandom['id'] = (int)$myrow['lid']; |
| 337 |
|
$videorandom['cid'] = (int)$myrow['cid']; |
| 338 |
|
$videorandom['title'] = $title; |
| 339 |
|
if (isset($options[3])) { |
| 340 |
|
$videorandom['date'] = XoopstubeUtilities::xtubeGetTimestamp(formatTimestamp($myrow['published'], $options[3])); |
| 341 |
|
} |
| 342 |
|
$videorandom['videothumb'] = |
| 343 |
|
xtubeGetVideoThumb($myrow['vidid'], $myrow['title'], $myrow['vidsource'], $myrow['picurl'], $xtubeModuleConfig['videoimgdir'] . '/' . $myrow['screenshot'], $xtubeModuleConfig['shotwidth'], |
| 344 |
|
$xtubeModuleConfig['shotheight']); |
|
@@ 405-407 (lines=3) @@
|
| 402 |
|
$videorandomh['id'] = (int)$myrow['lid']; |
| 403 |
|
$videorandomh['cid'] = (int)$myrow['cid']; |
| 404 |
|
$videorandomh['title'] = $title; |
| 405 |
|
if (isset($options[3])) { |
| 406 |
|
$videorandomh['date'] = XoopstubeUtilities::xtubeGetTimestamp(formatTimestamp($myrow['published'], $options[3])); |
| 407 |
|
} |
| 408 |
|
include_once XOOPS_ROOT_PATH . '/modules/' . $xtubeModule->getVar('dirname') . '/include/video.php'; |
| 409 |
|
$videorandomh['videothumb'] = |
| 410 |
|
xtubeGetVideoThumb($myrow['vidid'], $myrow['title'], $myrow['vidsource'], $myrow['picurl'], $xtubeModuleConfig['videoimgdir'] . '/' . $myrow['screenshot'], $xtubeModuleConfig['shotwidth'], |