2023-08-11 16:50:19 +03:00
|
|
|
{block content}
|
2023-06-10 18:54:02 +03:00
|
|
|
<table>
|
2023-11-15 11:41:18 +03:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
2024-11-17 13:03:49 +03:00
|
|
|
<a href="/video{$video->getPrettyId()}" id='videoOpen' data-id="{$video->getPrettyId()}">
|
2024-10-25 17:17:12 +03:00
|
|
|
<div class="video-preview">
|
2023-11-15 11:41:18 +03:00
|
|
|
<img src="{$video->getThumbnailURL()}"
|
|
|
|
style="max-width: 170px; max-height: 127px; margin: auto;" >
|
2024-10-25 17:17:12 +03:00
|
|
|
</div>
|
|
|
|
</a>
|
2023-11-15 11:41:18 +03:00
|
|
|
</td>
|
|
|
|
<td valign="top" style="width: 100%">
|
|
|
|
{ifset infotable}
|
|
|
|
{include infotable, x => $dat}
|
|
|
|
{else}
|
|
|
|
<a href="/video{$video->getPrettyId()}">
|
2024-11-17 13:03:49 +03:00
|
|
|
<b class='video_name' id='videoOpen' data-id="{$video->getPrettyId()}">
|
2023-11-15 11:41:18 +03:00
|
|
|
{$video->getName()}
|
|
|
|
</b>
|
|
|
|
</a>
|
2024-11-17 13:03:49 +03:00
|
|
|
{if $video->getLength()}
|
|
|
|
({$video->getFormattedLength()})
|
|
|
|
{/if}
|
2023-11-15 11:41:18 +03:00
|
|
|
<br/>
|
|
|
|
<p>
|
2024-10-25 16:28:35 +03:00
|
|
|
<span class='video_description'>{$video->getDescription() ?? ""}</span>
|
2023-11-15 11:41:18 +03:00
|
|
|
</p>
|
|
|
|
<span style="color: grey;">{_video_uploaded} {$video->getPublicationTime()}</span><br/>
|
|
|
|
|
|
|
|
<p>
|
2024-11-17 13:03:49 +03:00
|
|
|
<a href="/video{$video->getPrettyId()}" id='videoOpen' data-id="{$video->getPrettyId()}">{_view_video}</a>
|
2023-11-15 11:41:18 +03:00
|
|
|
{if $video->getCommentsCount() > 0}| <a href="/video{$video->getPrettyId()}#comments">{_comments} ({$video->getCommentsCount()})</a>{/if}
|
|
|
|
</p>
|
|
|
|
{/ifset}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
2023-08-21 12:45:27 +03:00
|
|
|
</table>
|
2023-08-11 16:50:19 +03:00
|
|
|
{/block}
|