|
@@ 343-345 (lines=3) @@
|
| 340 |
|
$videorandom['id'] = (int)$myrow['lid']; |
| 341 |
|
$videorandom['cid'] = (int)$myrow['cid']; |
| 342 |
|
$videorandom['title'] = $title; |
| 343 |
|
if (isset($options[3])) { |
| 344 |
|
$videorandom['date'] = XoopstubeUtility::xtubeGetTimestamp(formatTimestamp($myrow['published'], $options[3])); |
| 345 |
|
} |
| 346 |
|
$videorandom['videothumb'] = |
| 347 |
|
xtubeGetVideoThumb($myrow['vidid'], $myrow['title'], $myrow['vidsource'], $myrow['picurl'], $xtubeModuleConfig['videoimgdir'] . '/' . $myrow['screenshot'], $xtubeModuleConfig['shotwidth'], |
| 348 |
|
$xtubeModuleConfig['shotheight']); |
|
@@ 410-412 (lines=3) @@
|
| 407 |
|
$videorandomh['id'] = (int)$myrow['lid']; |
| 408 |
|
$videorandomh['cid'] = (int)$myrow['cid']; |
| 409 |
|
$videorandomh['title'] = $title; |
| 410 |
|
if (isset($options[3])) { |
| 411 |
|
$videorandomh['date'] = XoopstubeUtility::xtubeGetTimestamp(formatTimestamp($myrow['published'], $options[3])); |
| 412 |
|
} |
| 413 |
|
require_once XOOPS_ROOT_PATH . '/modules/' . $xtubeModule->getVar('dirname') . '/include/video.php'; |
| 414 |
|
$videorandomh['videothumb'] = xtubeGetVideoThumb($myrow['vidid'], $myrow['title'], $myrow['vidsource'], $myrow['picurl'], $xtubeModuleConfig['videoimgdir'] . '/' . $myrow['screenshot'], $xtubeModuleConfig['shotwidth'], $xtubeModuleConfig['shotheight']); |
| 415 |
|
$videorandomh['dirname'] = $xtubeModule->getVar('dirname'); |