File size: 4.27Kb
<div class="item wrapper lazy_" data-post-id="<?php echo($post_data['pid']) ?>">
<div class="explore-postset" id="<?php echo($post_data['pid']) ?>">
<?php if ($post_data['type'] == 'video') {
if ($post_data['is_should_hide']) { ?>
<div class="valign is_should_hide1 text_m_reprted-<?php echo($post_data['pid']) ?>">
<p class="is_should_hide3">{{LANG post_m_report}}</p>
<div class="is_should_hide4">
<a class="btn btn-mat is_should_hide5" href="javascript:void(0);" onclick="show_m_reprted(<?php echo($post_data['pid']) ?>)">{{LANG click_to_see}}</a>
</div>
</div>
<?php } } ?>
<div class="image" onclick="lightbox('<?php echo($post_data['pid']) ?>','<?php echo($context['app_name']) ?>');">
<img src="<?php echo(media($post_data['thumb'])) ?>" />
<?php if ($post_data['type'] != 'image' && $post_data['type'] != 'gif' && $post_data['type'] != 'fetched') { ?>
<span class="category">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill-rule="evenodd" fill="currentColor" d="M10 3.74999H10.0754L12.1754 7.24999H8.44131L6.53057 3.81066C7.43725 3.7509 8.56151 3.74999 10 3.74999ZM4.94063 4.03747C4.38358 4.18535 4.00312 4.40068 3.7019 4.70189C3.27869 5.1251 3.02502 5.70475 2.88976 6.71084C2.86685 6.88123 2.8477 7.0606 2.83168 7.24999H6.72537L4.94063 4.03747ZM17.6754 7.24999H13.9246L11.8246 3.74999H14C14.5739 3.74999 15.0978 3.75014 15.5778 3.7541L17.6754 7.24999ZM14 2.24999H10.5123C10.5036 2.24984 10.495 2.24984 10.4863 2.24999H10L9.94358 2.24999C8.10582 2.24998 6.65019 2.24996 5.51098 2.40313C4.33856 2.56075 3.38961 2.89287 2.64124 3.64123C1.89288 4.3896 1.56076 5.33855 1.40313 6.51097C1.35276 6.88566 1.31895 7.29457 1.29627 7.74005C1.26634 7.82104 1.25 7.90861 1.25 7.99999C1.25 8.06931 1.2594 8.13644 1.27701 8.20016C1.24998 9.00213 1.24999 9.91274 1.25 10.9436V11V13V13.0564C1.24998 14.8942 1.24997 16.3498 1.40313 17.489C1.56076 18.6614 1.89288 19.6104 2.64124 20.3587C3.38961 21.1071 4.33856 21.4392 5.51098 21.5969C6.65018 21.75 8.1058 21.75 9.94354 21.75H9.94359H10H14H14.0564H14.0565C15.8942 21.75 17.3498 21.75 18.489 21.5969C19.6614 21.4392 20.6104 21.1071 21.3588 20.3587C22.1071 19.6104 22.4392 18.6614 22.5969 17.489C22.75 16.3498 22.75 14.8942 22.75 13.0564V13.0564V13V11V10.9436V10.9435V10.9434V10.9433V10.9432C22.75 9.91254 22.75 9.00204 22.723 8.20016C22.7406 8.13643 22.75 8.06931 22.75 7.99999C22.75 7.90861 22.7337 7.82105 22.7037 7.74006C22.681 7.29458 22.6472 6.88566 22.5969 6.51097C22.4392 5.33855 22.1071 4.3896 21.3588 3.64123C20.6104 2.89287 19.6614 2.56075 18.489 2.40313C17.816 2.31264 17.0325 2.27561 16.125 2.26047C16.0497 2.2477 15.9722 2.24635 15.8955 2.25712C15.3299 2.24998 14.7179 2.24999 14.0564 2.24999L14 2.24999ZM19.4246 7.24999H21.1683C21.1523 7.0606 21.1331 6.88123 21.1102 6.71084C20.975 5.70475 20.7213 5.1251 20.2981 4.70189C19.8749 4.27868 19.2952 4.02502 18.2892 3.88975C18.005 3.85154 17.6958 3.82378 17.3568 3.8036L19.4246 7.24999Z"></path></svg>
</span>
<?php } ?>
<div class="valign caption">
<?php if ($post_data['boosted'] == 1 && $context['is_boosted'] == false) { ?>
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#ffeac9" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-award" data-toggle="tooltip" title="Promoted" color="#ffa412" style="position: absolute;top: 10;"><circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline></svg> -->
<?php $context['is_boosted'] = true; } ?>
<img src="<?php echo(media($post_data['avatar'])) ?>" class="img-circle">
<h3><?php echo($post_data['username']) ?></h3>
<p>
<span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M21.179 12.794l.013.014L12 22l-9.192-9.192.013-.014A6.5 6.5 0 0 1 12 3.64a6.5 6.5 0 0 1 9.179 9.154z"/></svg> <?php echo($post_data['likes']) ?></span>
<span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M14.45 19L12 22.5 9.55 19H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-6.55z"/></svg> <?php echo($post_data['comments']) ?></span>
</p>
</div>
</div>
</div>
</div>