mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
37 lines
1.4 KiB
XML
37 lines
1.4 KiB
XML
{block content}
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td valign="top">
|
|
<a href="/video{$video->getPrettyId()}" data-id="{$video->getId()}">
|
|
<div class="video-preview">
|
|
<img src="{$video->getThumbnailURL()}"
|
|
style="max-width: 170px; max-height: 127px; margin: auto;" >
|
|
</div>
|
|
</a>
|
|
</td>
|
|
<td valign="top" style="width: 100%">
|
|
{ifset infotable}
|
|
{include infotable, x => $dat}
|
|
{else}
|
|
<a href="/video{$video->getPrettyId()}">
|
|
<b class='video_name' {$videoModal ? "id='videoOpen'" : ''} data-id="{$video->getId()}">
|
|
{$video->getName()}
|
|
</b>
|
|
</a>
|
|
<br/>
|
|
<p>
|
|
<span class='video_description'>{$video->getDescription() ?? ""}</span>
|
|
</p>
|
|
<span style="color: grey;">{_video_uploaded} {$video->getPublicationTime()}</span><br/>
|
|
|
|
<p>
|
|
<a href="/video{$video->getPrettyId()}" {$videoModal ? "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}
|