mirror of
https://github.com/openvk/openvk
synced 2024-12-27 11:01:28 +03:00
0f0d3ee950
* De#910fy * Fiksez * newlines --------- Co-authored-by: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com>
37 lines
1.3 KiB
XML
37 lines
1.3 KiB
XML
{block content}
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td valign="top">
|
|
<div class="video-preview">
|
|
<a href="/video{$video->getPrettyId()}" id="videoOpen" data-id="{$video->getId()}">
|
|
<img src="{$video->getThumbnailURL()}"
|
|
style="max-width: 170px; max-height: 127px; margin: auto;" >
|
|
</a>
|
|
</div>
|
|
</td>
|
|
<td valign="top" style="width: 100%">
|
|
{ifset infotable}
|
|
{include infotable, x => $dat}
|
|
{else}
|
|
<a href="/video{$video->getPrettyId()}">
|
|
<b id="videoOpen" data-id="{$video->getId()}">
|
|
{$video->getName()}
|
|
</b>
|
|
</a>
|
|
<br/>
|
|
<p>
|
|
<span>{$video->getDescription() ?? ""}</span>
|
|
</p>
|
|
<span style="color: grey;">{_video_uploaded} {$video->getPublicationTime()}</span><br/>
|
|
|
|
<p>
|
|
<a href="/video{$video->getPrettyId()}" id="videoOpen" data-id="{$video->getId()}">{_view_video}</a>
|
|
{if $video->getCommentsCount() > 0}| <a href="/video{$video->getPrettyId()}#comments">{_comments} ({$video->getCommentsCount()})</a>{/if}
|
|
</p>
|
|
{/ifset}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{/block}
|