File size: 27.16Kb
<style>.pg_scnd_nav .pg_scnd_nav_pub {display: block;}</style>
<div class="home-page-container">
<?php if ($config['story_system'] == 'on') { ?>
<div class="valign pg_stories">
<div class="create-new-post item add_story" data-type="story">
<div class="wrapper">
<img class="img-circle" src="{{ME avatar}}" alt="Picture" />
<span class="valign"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="30" height="30"><path fill="currentColor" d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"/></svg></span>
</div>
<div class="caption">
<p>{{LANG add_story}}</p>
</div>
</div>
<?php if ($context['stories']) {
foreach ($context['stories'] as $key => $story) {
?>
<div class="item" data-story="<?php echo($story['user_id']) ?>">
<?php if (!$story['owner'] && $story['new_stories']) { ?>
<div class="wrapper active">
<img class="img-circle" src="<?php echo($story['avatar']) ?>" alt="Picture" />
<b class="recent-stroires badge" data-story="<?php echo($story['user_id']) ?>"><?php echo $story['new_stories'] ; ?> </b>
</div>
<?php } else{ ?>
<div class="wrapper">
<img class="img-circle" src="<?php echo($story['avatar']) ?>" alt="Picture" />
</div>
<?php } ?>
<div class="caption">
<p><?php echo $story['username']; ?></p>
<time><?php echo time2str($story['time']); ?></time>
</div>
</div>
<?php } } ?>
</div>
<?php } ?>
<?php if ($config['ad1']) { ?>
<div>
<?php echo $config['ad1'] ; ?>
</div><br><br>
<?php } ?>
<div class="row">
<div class="col-md-8 pg_home_col">
<?php if ($context['post_sys']) { ?>
<div class="postin-area">
<?php include 'js/publisher-box.html'; ?>
<div class="clear"></div>
</div>
<?php } ?>
<div class="home-posts-container pg_home_post_cont" data-there-posts="">
<?php if ($context['posts']) {
foreach ($context['posts'] as $key => $post_data) { ?>
<?php if ($post_data['type'] == 'image') { ?>
<?php include 'includes/post-image.html'; ?>
<?php } elseif ($post_data['type'] == 'video') { ?>
<?php include 'includes/post-video.html'; ?>
<?php } elseif ($post_data['type'] == 'gif') { ?>
<?php include 'includes/post-image.html'; ?>
<?php } elseif ($post_data['type'] == 'youtube') { ?>
<?php include 'includes/post-youtube.html'; ?>
<?php } elseif ($post_data['type'] == 'vimeo') { ?>
<?php include 'includes/post-vimeo.html'; ?>
<?php } elseif ($post_data['type'] == 'dailymotion') { ?>
<?php include 'includes/post-dailymotion.html'; ?>
<?php } elseif ($post_data['type'] == 'playtube') { ?>
<?php include 'includes/post-playtube.html'; ?>
<?php } elseif ($post_data['type'] == 'mp4') { ?>
<?php include 'includes/post-mp4.html'; ?>
<?php } elseif ($post_data['type'] == 'fetched') { ?>
<?php include 'includes/post-fetched.html'; ?>
<?php } elseif ($post_data['type'] == 'ad') { ?>
<?php include 'includes/post-ad.html'; ?>
<?php } ?>
<?php if ($key == 0 && count($context['follow']) > 1) { ?>
<?php include 'includes/follow.html'; ?>
<?php } elseif ($key == 15 && count($context['follow']) > 15) { ?>
<?php include 'includes/follow.html'; ?>
<?php } ?>
<?php } } else{ ?>
<?php include 'includes/follow.html'; ?>
<?php include 'includes/no-posted.html'; ?>
<?php } ?>
</div>
<div class="posts__loader hidden">
<div id="pp_loader"><div class="speeding_wheel"></div></div>
</div>
</div>
<div class="col-md-4 custom-fixed-element no-padding-left">
<?php include 'includes/sidebar.html'; ?>
</div>
</div>
<div class="clear"></div>
</div>
<?php if ($context['post_sys']) { ?>
<ul class="list-unstyled valign pg_dtop_add_post">
<?php if ($config['upload_images'] == 'on') { ?>
<li class="create-new-post" data-type="image"><span>{{LANG add_img}}</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22"><path fill="currentColor" fill-rule="evenodd" d="M10.9436 2.25H11H13H13.0564C14.8942 2.24998 16.3498 2.24997 17.489 2.40313C18.6614 2.56076 19.6104 2.89288 20.3588 3.64124C21.1071 4.38961 21.4392 5.33855 21.5969 6.51098C21.75 7.65018 21.75 9.1058 21.75 10.9435V10.9436V11V13V13.0564V13.0565C21.75 14.8942 21.75 16.3498 21.5969 17.489C21.4392 18.6614 21.1071 19.6104 20.3588 20.3588C19.6104 21.1071 18.6614 21.4392 17.489 21.5969C16.3498 21.75 14.8942 21.75 13.0565 21.75H13.0564H13H11H10.9436H10.9435C9.1058 21.75 7.65018 21.75 6.51098 21.5969C5.33855 21.4392 4.38961 21.1071 3.64124 20.3588C2.89288 19.6104 2.56076 18.6614 2.40313 17.489C2.24997 16.3498 2.24998 14.8942 2.25 13.0564V13V11V10.9436C2.24998 9.10582 2.24997 7.65019 2.40313 6.51098C2.56076 5.33855 2.89288 4.38961 3.64124 3.64124C4.38961 2.89288 5.33855 2.56076 6.51098 2.40313C7.65019 2.24997 9.10582 2.24998 10.9436 2.25ZM6.71085 3.88976C5.70476 4.02502 5.12511 4.27869 4.7019 4.7019C4.27869 5.12511 4.02502 5.70476 3.88976 6.71085C3.75159 7.73851 3.75 9.09318 3.75 11V13C3.75 14.7777 3.75138 16.0755 3.86353 17.0758L4.46967 16.4697L6.14124 14.7981L6.17801 14.7613C6.81331 14.126 7.34307 13.5962 7.82019 13.2322C8.32379 12.8479 8.85587 12.5784 9.5 12.5784C10.1441 12.5784 10.6762 12.8479 11.1798 13.2322C11.6569 13.5962 12.1867 14.126 12.822 14.7613L12.822 14.7613L12.8588 14.7981L14.0003 15.9396C14.496 15.4467 14.9261 15.0329 15.3202 14.7322C15.8238 14.3479 16.3559 14.0784 17 14.0784C17.6441 14.0784 18.1762 14.3479 18.6798 14.7322C19.128 15.0741 19.6227 15.5624 20.2077 16.1471C20.2493 15.2994 20.25 14.2727 20.25 13V11C20.25 9.09318 20.2484 7.73851 20.1102 6.71085C19.975 5.70476 19.7213 5.12511 19.2981 4.7019C18.8749 4.27869 18.2952 4.02502 17.2892 3.88976C16.2615 3.75159 14.9068 3.75 13 3.75H11C9.09318 3.75 7.73851 3.75159 6.71085 3.88976ZM19.97 18.0307C19.9699 18.0306 19.9698 18.0305 19.9697 18.0303L19.2981 17.3588C18.6164 16.6771 18.1574 16.2203 17.7699 15.9247C17.3998 15.6423 17.1843 15.5784 17 15.5784C16.8157 15.5784 16.6002 15.6423 16.2301 15.9247C15.9149 16.1652 15.5523 16.5123 15.0611 17.0004L18.0303 19.9697C18.0305 19.9698 18.0306 19.9699 18.0307 19.97C18.6034 19.822 18.9917 19.6045 19.2981 19.2981C19.6045 18.9917 19.822 18.6034 19.97 18.0307ZM16.1471 20.2077L13.4697 17.5303L11.7981 15.8588C11.1164 15.1771 10.6574 14.7203 10.2699 14.4247C9.89977 14.1423 9.6843 14.0784 9.5 14.0784C9.3157 14.0784 9.10023 14.1423 8.73006 14.4247C8.34258 14.7203 7.88356 15.1771 7.2019 15.8588L5.53033 17.5303L4.30302 18.7576C4.41496 18.9675 4.54709 19.1433 4.7019 19.2981C5.12511 19.7213 5.70476 19.975 6.71085 20.1102C7.73851 20.2484 9.09318 20.25 11 20.25H13C14.2727 20.25 15.2994 20.2493 16.1471 20.2077ZM15 7.75C14.3096 7.75 13.75 8.30964 13.75 9C13.75 9.69036 14.3096 10.25 15 10.25C15.6904 10.25 16.25 9.69036 16.25 9C16.25 8.30964 15.6904 7.75 15 7.75ZM12.25 9C12.25 7.48122 13.4812 6.25 15 6.25C16.5188 6.25 17.75 7.48122 17.75 9C17.75 10.5188 16.5188 11.75 15 11.75C13.4812 11.75 12.25 10.5188 12.25 9Z"/></svg></li>
<?php } ?>
<?php if ($config['upload_videos'] == 'on') { ?>
<li class="create-new-post" data-type="video"><span>{{LANG add_vid}}</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22"><path fill-rule="evenodd" fill="currentColor" d="M10 3.25L9.94358 3.25L9.94356 3.25C8.10581 3.24999 6.65019 3.24997 5.51098 3.40314C4.33855 3.56077 3.38961 3.89288 2.64124 4.64125C1.89288 5.38961 1.56076 6.33856 1.40313 7.51098C1.24997 8.65019 1.24998 10.1058 1.25 11.9436L1.25 11.9436L1.25 12L1.25 12.0564L1.25 12.0565C1.24998 13.8942 1.24997 15.3498 1.40313 16.489C1.56076 17.6614 1.89288 18.6104 2.64124 19.3588C3.38961 20.1071 4.33855 20.4392 5.51098 20.5969C6.65019 20.75 8.10583 20.75 9.94359 20.75L10 20.75L10.0564 20.75L10.0565 20.75C11.8942 20.75 13.3498 20.75 14.489 20.5969C15.6614 20.4392 16.6104 20.1071 17.3588 19.3588C18.1071 18.6104 18.4392 17.6614 18.5969 16.489C18.6011 16.4577 18.6052 16.4261 18.6092 16.3943C19.1758 16.8183 19.6658 17.1765 20.0818 17.4026C20.5551 17.6598 21.1632 17.875 21.7826 17.5653C22.402 17.2556 22.5947 16.64 22.673 16.107C22.7501 15.5813 22.75 14.8815 22.75 14.0604L22.75 14L22.75 9.99999L22.75 9.93961C22.75 9.11853 22.7501 8.41864 22.673 7.893C22.5947 7.35998 22.402 6.74439 21.7826 6.4347C21.1632 6.12501 20.5551 6.34019 20.0818 6.59743C19.6658 6.82352 19.1758 7.18169 18.6092 7.60572C18.6052 7.5739 18.6011 7.54232 18.5969 7.51098C18.4392 6.33856 18.1071 5.38961 17.3588 4.64125C16.6104 3.89288 15.6614 3.56077 14.489 3.40314C13.3498 3.24997 11.8942 3.24999 10.0564 3.25L10.0564 3.25L10 3.25ZM18.75 11.8488L18.75 11.8418L18.75 11.8335L18.75 11.8251L18.75 11.8168L18.75 11.8084L18.75 11.8L18.75 11.7917L18.75 11.7833L18.75 11.7749L18.75 11.7666L18.75 11.7582L18.75 11.7498L18.75 11.7414L18.75 11.733L18.75 11.7246L18.75 11.7162L18.75 11.7078L18.75 11.6994L18.75 11.691L18.75 11.6825L18.75 11.6741L18.75 11.6657L18.75 11.6573L18.75 11.6488L18.75 11.6404L18.75 11.632L18.75 11.6235L18.75 11.6151L18.75 11.6066L18.75 11.5982L18.75 11.5897L18.75 11.5813L18.75 11.5728L18.75 11.5643L18.75 11.5559L18.75 11.5474L18.75 11.5389L18.75 11.5304L18.75 11.522L18.75 11.5135L18.75 11.505L18.75 11.4965L18.75 11.488L18.75 11.4795L18.75 11.471L18.75 11.4625L18.75 11.454L18.75 11.4455L18.75 11.437L18.75 11.4285L18.75 11.4199L18.75 11.4114L18.75 11.4029L18.75 11.3944L18.75 11.3858L18.75 11.3773L18.75 11.3688L18.75 11.3602L18.75 11.3517L18.75 11.3432L18.75 11.3346L18.75 11.3261L18.75 11.3175L18.75 11.309L18.75 11.3004L18.75 11.2919L18.75 11.2833L18.75 11.2748L18.75 11.2662L18.75 11.2576L18.75 11.2491L18.75 11.2405L18.75 11.2319L18.75 11.2234L18.75 11.2148L18.75 11.2062L18.75 11.1976L18.75 11.1891L18.75 11.1805L18.75 11.1719L18.75 11.1633L18.75 11.1547L18.75 11.1461L18.75 11.1375L18.75 11.1289L18.75 11.1203L18.75 11.1117L18.75 11.1032L18.75 11.0946L18.75 11.086L18.75 11.0773L18.75 11.0687L18.75 11.0601L18.75 11.0515L18.75 11.0429L18.75 11.0343L18.75 11.0257L18.75 11.0171L18.75 11.0085L18.75 10.9999L18.75 10.9912L18.75 10.9826L18.75 10.974L18.75 10.9654L18.75 10.9568L18.75 10.9481L18.75 10.9395L18.75 10.9309L18.75 10.9223L18.75 10.9137L18.75 10.905L18.75 10.8964L18.75 10.8878L18.75 10.8791L18.75 10.8705L18.75 10.8619L18.75 10.8532L18.75 10.8446L18.75 10.836L18.75 10.8273L18.75 10.8187L18.75 10.8101L18.75 10.8014L18.75 10.7928L18.75 10.7842L18.75 10.7755L18.75 10.7669L18.75 10.7583L18.75 10.7496L18.75 10.741L18.75 10.7323L18.75 10.7237L18.75 10.7151L18.75 10.7064L18.75 10.6978L18.75 10.6891L18.75 10.6805L18.75 10.6719L18.75 10.6632L18.75 10.6546L18.75 10.6459L18.75 10.6373L18.75 10.6286L18.75 10.62L18.75 10.6114L18.75 10.6027L18.75 10.5941L18.75 10.5854L18.75 10.5768L18.75 10.5682L18.75 10.5595L18.75 10.5509L18.75 10.5422L18.75 10.5336L18.75 10.525L18.75 10.5163L18.75 10.5077L18.75 10.4991L18.75 10.4904L18.75 10.4818L18.75 10.4731L18.75 10.4645L18.75 10.4559L18.75 10.4472L18.75 10.4386L18.75 10.43L18.75 10.4213L18.75 10.4127L18.75 10.4041L18.75 10.3955L18.75 10.3868L18.75 10.3782L18.75 10.3696L18.75 10.361L18.75 10.3523L18.75 10.3437L18.75 10.3351L18.75 10.3265L18.75 10.3178L18.75 10.3092L18.75 10.3006L18.75 10.292L18.75 10.2834L18.75 10.2748L18.75 10.2661L18.75 10.2575L18.75 10.2489L18.75 10.2403L18.75 10.2317L18.75 10.2231L18.75 10.2145L18.75 10.2059L18.75 10.1973L18.75 10.1887L18.75 10.1801L18.75 10.1715L18.75 10.1629L18.75 10.1543L18.75 10.1457L18.75 10.1371L18.75 10.1285L18.75 10.12L18.75 10.1114L18.75 10.1028L18.75 10.0942L18.75 10.0856L18.75 10.0771L18.75 10.0685L18.75 10.0599L18.75 10.0513L18.75 10.0428L18.75 10.0342L18.75 10.0256L18.75 10.0171L18.75 10.0085L18.75 9.99996C18.75 9.74167 18.7507 9.59613 18.7603 9.48769C18.7646 9.43923 18.7696 9.41311 18.7728 9.39999C18.7744 9.3938 18.7754 9.39062 18.7758 9.38956L18.7764 9.3882L18.7771 9.38693C18.7778 9.38599 18.7797 9.38321 18.7837 9.37828C18.7922 9.36782 18.8101 9.34811 18.8463 9.31561C18.9273 9.24286 19.0433 9.15498 19.25 9C19.9685 8.46106 20.4399 8.11002 20.798 7.91537C20.9675 7.82328 21.0616 7.79413 21.1071 7.78583C21.1277 7.82716 21.1608 7.91996 21.1888 8.11077C21.248 8.51408 21.25 9.10178 21.25 9.99999L21.25 14C21.25 14.8982 21.248 15.4859 21.1888 15.8892C21.1608 16.08 21.1277 16.1728 21.1071 16.2141C21.0616 16.2058 20.9675 16.1767 20.798 16.0846C20.4399 15.89 19.9686 15.5389 19.25 15C19.0434 14.845 18.9273 14.7572 18.8463 14.6844C18.8101 14.6519 18.7922 14.6322 18.7837 14.6217C18.7817 14.6193 18.7803 14.6175 18.7792 14.616C18.7781 14.6145 18.7775 14.6136 18.7771 14.6131L18.7764 14.6118L18.7758 14.6104C18.7754 14.6093 18.7743 14.6061 18.7728 14.6C18.7696 14.5869 18.7646 14.5608 18.7603 14.5125C18.7507 14.4043 18.75 14.2591 18.75 14.0012L18.75 13.9954L18.75 13.9896L18.75 13.9838L18.75 13.978L18.75 13.9722L18.75 13.9664L18.75 13.9606L18.75 13.9547L18.75 13.9489L18.75 13.943L18.75 13.9371L18.75 13.9312L18.75 13.9253L18.75 13.9193L18.75 13.9134L18.75 13.9075L18.75 13.9015L18.75 13.8955L18.75 13.8895L18.75 13.8835L18.75 13.8775L18.75 13.8715L18.75 13.8654L18.75 13.8594L18.75 13.8533L18.75 13.8472L18.75 13.8411L18.75 13.835L18.75 13.8289L18.75 13.8228L18.75 13.8166L18.75 13.8105L18.75 13.8043L18.75 13.7981L18.75 13.792L18.75 13.7857L18.75 13.7795L18.75 13.7733L18.75 13.7671L18.75 13.7608L18.75 13.7546L18.75 13.7483L18.75 13.742L18.75 13.7357L18.75 13.7294L18.75 13.7231L18.75 13.7167L18.75 13.7104L18.75 13.704L18.75 13.6977L18.75 13.6913L18.75 13.6849L18.75 13.6785L18.75 13.6721L18.75 13.6656L18.75 13.6592L18.75 13.6527L18.75 13.6463L18.75 13.6398L18.75 13.6333L18.75 13.6268L18.75 13.6203L18.75 13.6138L18.75 13.6073L18.75 13.6007L18.75 13.5942L18.75 13.5876L18.75 13.581L18.75 13.5744L18.75 13.5678L18.75 13.5612L18.75 13.5546L18.75 13.548L18.75 13.5413L18.75 13.5347L18.75 13.528L18.75 13.5214L18.75 13.5147L18.75 13.508L18.75 13.5013L18.75 13.4945L18.75 13.4878L18.75 13.4811L18.75 13.4743L18.75 13.4676L18.75 13.4608L18.75 13.454L18.75 13.4472L18.75 13.4404L18.75 13.4336L18.75 13.4268L18.75 13.4199L18.75 13.4131L18.75 13.4062L18.75 13.3994L18.75 13.3925L18.75 13.3856L18.75 13.3787L18.75 13.3718L18.75 13.3649L18.75 13.358L18.75 13.351L18.75 13.3441L18.75 13.3371L18.75 13.3301L18.75 13.3232L18.75 13.3162L18.75 13.3092L18.75 13.3022L18.75 13.2952L18.75 13.2881L18.75 13.2811L18.75 13.274L18.75 13.267L18.75 13.2599L18.75 13.2528L18.75 13.2458L18.75 13.2387L18.75 13.2315L18.75 13.2244L18.75 13.2173L18.75 13.2102L18.75 13.203L18.75 13.1959L18.75 13.1887L18.75 13.1815L18.75 13.1744L18.75 13.1672L18.75 13.16L18.75 13.1528L18.75 13.1455L18.75 13.1383L18.75 13.1311L18.75 13.1238L18.75 13.1166L18.75 13.1093L18.75 13.102L18.75 13.0947L18.75 13.0874L18.75 13.0801L18.75 13.0728L18.75 13.0655L18.75 13.0582L18.75 13.0508L18.75 13.0435L18.75 13.0361L18.75 13.0288L18.75 13.0214L18.75 13.014L18.75 13.0066L18.75 12.9992L18.75 12.9918L18.75 12.9844L18.75 12.977L18.75 12.9696L18.75 12.9621L18.75 12.9547L18.75 12.9472L18.75 12.9397L18.75 12.9323L18.75 12.9248L18.75 12.9173L18.75 12.9098L18.75 12.9023L18.75 12.8948L18.75 12.8872L18.75 12.8797L18.75 12.8722L18.75 12.8646L18.75 12.857L18.75 12.8495L18.75 12.8419L18.75 12.8343L18.75 12.8267L18.75 12.8191L18.75 12.8115L18.75 12.8039L18.75 12.7963L18.75 12.7887L18.75 12.781L18.75 12.7734L18.75 12.7657L18.75 12.7581L18.75 12.7504L18.75 12.7427L18.75 12.735L18.75 12.7273L18.75 12.7196L18.75 12.7119L18.75 12.7042L18.75 12.6965L18.75 12.6888L18.75 12.681L18.75 12.6733L18.75 12.6655L18.75 12.6578L18.75 12.65L18.75 12.6422L18.75 12.6345L18.75 12.6267L18.75 12.6189L18.75 12.6111L18.75 12.6033L18.75 12.5955L18.75 12.5876L18.75 12.5798L18.75 12.572L18.75 12.5641L18.75 12.5563L18.75 12.5484L18.75 12.5405L18.75 12.5327L18.75 12.5248L18.75 12.5169L18.75 12.509L18.75 12.5011L18.75 12.4932L18.75 12.4853L18.75 12.4774L18.75 12.4695L18.75 12.4615L18.75 12.4536L18.75 12.4456L18.75 12.4377L18.75 12.4297L18.75 12.4218L18.75 12.4138L18.75 12.4058L18.75 12.3978L18.75 12.3899L18.75 12.3819L18.75 12.3739L18.75 12.3659L18.75 12.3578L18.75 12.3498L18.75 12.3418L18.75 12.3338L18.75 12.3257L18.75 12.3177L18.75 12.3096L18.75 12.3016L18.75 12.2935L18.75 12.2854L18.75 12.2774L18.75 12.2693L18.75 12.2612L18.75 12.2531L18.75 12.245L18.75 12.2369L18.75 12.2288L18.75 12.2207L18.75 12.2126L18.75 12.2044L18.75 12.1963L18.75 12.1882L18.75 12.18L18.75 12.1719L18.75 12.1637L18.75 12.1556L18.75 12.1512M17.25 12C17.25 13.9068 17.2484 15.2615 17.1102 16.2892C16.975 17.2952 16.7213 17.8749 16.2981 18.2981C15.8749 18.7213 15.2952 18.975 14.2892 19.1102C13.2615 19.2484 11.9068 19.25 10 19.25C8.09318 19.25 6.73851 19.2484 5.71085 19.1102C4.70476 18.975 4.12511 18.7213 3.7019 18.2981C3.27869 17.8749 3.02502 17.2952 2.88976 16.2892C2.75159 15.2615 2.75 13.9068 2.75 12C2.75 10.0932 2.75159 8.73852 2.88976 7.71085C3.02502 6.70476 3.27869 6.12512 3.7019 5.70191C4.12511 5.2787 4.70476 5.02503 5.71085 4.88976C6.73851 4.7516 8.09318 4.75 10 4.75C11.9068 4.75 13.2615 4.7516 14.2892 4.88976C15.2952 5.02503 15.8749 5.2787 16.2981 5.70191C16.7213 6.12512 16.975 6.70476 17.1102 7.71085C17.2484 8.73852 17.25 10.0932 17.25 12ZM21.1422 7.78417C21.1418 7.78483 21.137 7.78511 21.129 7.783C21.1387 7.78245 21.1427 7.7835 21.1422 7.78417ZM21.0962 7.76658C21.0897 7.76146 21.087 7.75743 21.0873 7.7567C21.0876 7.75596 21.0908 7.75852 21.0962 7.76658ZM21.0873 16.2433C21.087 16.2425 21.0897 16.2385 21.0962 16.2334C21.0908 16.2414 21.0876 16.244 21.0873 16.2433ZM21.129 16.217C21.137 16.2148 21.1418 16.2151 21.1422 16.2158C21.1427 16.2165 21.1387 16.2175 21.129 16.217Z"/></svg></li>
<?php } ?>
<?php if ($config['upload_reels'] == 'on') { ?>
<li class="create-new-post" data-type="reels"><span>{{LANG reels}}</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22"><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.03747ZM7.98673 8.74999H2.76309C2.75032 9.40272 2.75 10.146 2.75 11V13C2.75 14.9068 2.75159 16.2615 2.88976 17.2891C3.02502 18.2952 3.27869 18.8749 3.7019 19.2981C4.12511 19.7213 4.70476 19.975 5.71085 20.1102C6.73851 20.2484 8.09318 20.25 10 20.25H14C15.9068 20.25 17.2615 20.2484 18.2892 20.1102C19.2952 19.975 19.8749 19.7213 20.2981 19.2981C20.7213 18.8749 20.975 18.2952 21.1102 17.2891C21.2484 16.2615 21.25 14.9068 21.25 13V11C21.25 10.146 21.2497 9.40272 21.2369 8.74999H19.0137C19.005 8.75014 18.9964 8.75014 18.9877 8.74999H13.5137C13.505 8.75014 13.4964 8.75014 13.4877 8.74999H8.01462C8.00532 8.75016 7.99602 8.75016 7.98673 8.74999ZM11.8246 3.74999L13.9246 7.24999H17.6754L15.5778 3.7541C15.0978 3.75014 14.5739 3.74999 14 3.74999H11.8246ZM14 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.25941 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.24999L17.3568 3.8036C17.6958 3.82378 18.005 3.85154 18.2892 3.88975C19.2952 4.02502 19.8749 4.27868 20.2981 4.70189C20.7213 5.1251 20.975 5.70475 21.1102 6.71084C21.1331 6.88123 21.1523 7.0606 21.1683 7.24999H19.4246Z"/></svg></li>
<?php } ?>
<?php if ($config['import_images'] == 'on') { ?>
<li class="create-new-post" data-type="gif"><span>{{LANG imp_gif}}</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="29" height="29"><path fill="currentColor" d="M13.177 12.013l-.001-.125v-.541-.512c0-.464 0-.827-.002-1.178a.723.723 0 0 0-.557-.7.715.715 0 0 0-.826.4c-.05.115-.072.253-.073.403-.003 1.065-.003 1.917-.002 3.834v.653c0 .074.003.136.009.195a.72.72 0 0 0 .57.619c.477.091.878-.242.881-.734.002-.454.003-.817.002-1.633l-.001-.681zm-3.21-.536a35.751 35.751 0 0 0-1.651-.003c-.263.005-.498.215-.565.48a.622.622 0 0 0 .276.7.833.833 0 0 0 .372.104c.179.007.32.008.649.005l.137-.001v.102c-.001.28-.001.396.003.546.001.044-.006.055-.047.081-.242.15-.518.235-.857.275-.767.091-1.466-.311-1.745-1.006a2.083 2.083 0 0 1-.117-1.08 1.64 1.64 0 0 1 1.847-1.41c.319.044.616.169.917.376.196.135.401.184.615.131a.692.692 0 0 0 .541-.562c.063-.315-.057-.579-.331-.766-.789-.542-1.701-.694-2.684-.482-2.009.433-2.978 2.537-2.173 4.378.483 1.105 1.389 1.685 2.658 1.771.803.054 1.561-.143 2.279-.579.318-.193.498-.461.508-.803.014-.52.015-1.046.001-1.578-.009-.362-.29-.669-.633-.679zM18 4.25H6A4.75 4.75 0 0 0 1.25 9v6A4.75 4.75 0 0 0 6 19.75h12A4.75 4.75 0 0 0 22.75 15V9A4.75 4.75 0 0 0 18 4.25zM21.25 15A3.25 3.25 0 0 1 18 18.25H6A3.25 3.25 0 0 1 2.75 15V9A3.25 3.25 0 0 1 6 5.75h12A3.25 3.25 0 0 1 21.25 9v6zm-2.869-6.018H15.3c-.544 0-.837.294-.837.839V14.309c0 .293.124.525.368.669.496.292 1.076-.059 1.086-.651.005-.285.006-.532.004-1.013v-.045l-.001-.46v-.052h1.096l1.053-.001a.667.667 0 0 0 .655-.478c.09-.298-.012-.607-.271-.757a.985.985 0 0 0-.468-.122 82.064 82.064 0 0 0-1.436-.006h-.05l-.523.001h-.047v-1.051h1.267l1.22-.001c.458-.001.768-.353.702-.799-.053-.338-.35-.56-.737-.561z"></path></svg></li>
<?php } ?>
<?php if ($config['import_videos'] == 'on') { ?>
<li class="create-new-post" data-type="embed"><span>{{LANG imp_vid}}</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22"><path fill-rule="evenodd" fill="currentColor" d="M19.6017 4.39861C17.3561 2.1531 13.7154 2.1531 11.4699 4.39861L10.7628 5.10572C10.4699 5.39861 10.4699 5.87349 10.7628 6.16638C11.0557 6.45927 11.5306 6.45927 11.8235 6.16638L12.5306 5.45927C14.1903 3.79955 16.8813 3.79955 18.541 5.45927C20.2007 7.119 20.2007 9.80995 18.541 11.4697L16.8548 13.1559C15.3453 14.6654 12.8979 14.6654 11.3883 13.1559L11.1164 12.8839C10.8235 12.591 10.3486 12.591 10.0557 12.8839C9.76283 13.1768 9.76282 13.6517 10.0557 13.9446L10.3277 14.2165C12.423 16.3118 15.8202 16.3118 17.9155 14.2165L19.6017 12.5303C21.8472 10.2848 21.8472 6.64413 19.6017 4.39861ZM7.14582 10.8442C8.65534 9.33464 11.1028 9.33464 12.6123 10.8442L12.8843 11.1161C13.1772 11.409 13.652 11.409 13.9449 11.1161C14.2378 10.8232 14.2378 10.3484 13.9449 10.0555L13.673 9.78351C11.5776 7.6882 8.18047 7.6882 6.08516 9.78351L4.39898 11.4697C2.15346 13.7152 2.15346 17.3559 4.39898 19.6014C6.64449 21.8469 10.2852 21.8469 12.5307 19.6014L13.2378 18.8943C13.5307 18.6014 13.5307 18.1265 13.2378 17.8336C12.9449 17.5408 12.47 17.5408 12.1772 17.8336L11.47 18.5408C9.81032 20.2005 7.11937 20.2005 5.45964 18.5408C3.79991 16.881 3.79991 14.1901 5.45964 12.5303L7.14582 10.8442Z"/></svg></li>
<?php } ?>
<?php if ($config['live_video'] == 1 && ($config['who_use_live'] == 'all' || ($config['who_use_live'] == 'admin' && IS_ADMIN) || ($config['who_use_live'] == 'pro' && $me['is_pro'] > 0))) { ?>
<li class="create-new-post">
<a href="{{CONFIG site_url}}/live" class="live-button" data-ajax="ajax_loading.php?app=live&apph=live">
<span>{{LANG live}}</span><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M7.6727 3.66836C7.85585 4.03988 7.70315 4.48953 7.33163 4.67268C4.61229 6.01327 2.75 8.79333 2.75 12C2.75 15.2066 4.61229 17.9867 7.33163 19.3273C7.70315 19.5104 7.85585 19.9601 7.6727 20.3316C7.48954 20.7031 7.03989 20.8558 6.66837 20.6727C3.46083 19.0914 1.25 15.8043 1.25 12C1.25 8.19571 3.46083 4.90855 6.66837 3.32729C7.03989 3.14413 7.48954 3.29683 7.6727 3.66836ZM16.3273 3.66836C16.5105 3.29683 16.9601 3.14413 17.3316 3.32729C20.5392 4.90855 22.75 8.19571 22.75 12C22.75 15.8043 20.5392 19.0914 17.3316 20.6727C16.9601 20.8558 16.5105 20.7031 16.3273 20.3316C16.1441 19.9601 16.2969 19.5104 16.6684 19.3273C19.3877 17.9867 21.25 15.2066 21.25 12C21.25 8.79333 19.3877 6.01327 16.6684 4.67268C16.2969 4.48953 16.1441 4.03988 16.3273 3.66836ZM8.59913 7.54948C8.84794 7.88064 8.78118 8.3508 8.45002 8.5996C7.41628 9.37627 6.75 10.6102 6.75 12C6.75 13.3898 7.41628 14.6237 8.45002 15.4004C8.78118 15.6492 8.84794 16.1193 8.59913 16.4505C8.35033 16.7817 7.88017 16.8484 7.54901 16.5996C6.1544 15.5518 5.25 13.8814 5.25 12C5.25 10.1186 6.1544 8.44816 7.54901 7.40036C7.88017 7.15156 8.35033 7.21832 8.59913 7.54948ZM15.4009 7.54948C15.6497 7.21832 16.1198 7.15156 16.451 7.40036C17.8456 8.44816 18.75 10.1186 18.75 12C18.75 13.8814 17.8456 15.5518 16.451 16.5996C16.1198 16.8484 15.6497 16.7817 15.4009 16.4505C15.1521 16.1193 15.2188 15.6492 15.55 15.4004C16.5837 14.6237 17.25 13.3898 17.25 12C17.25 10.6102 16.5837 9.37627 15.55 8.5996C15.2188 8.3508 15.1521 7.88064 15.4009 7.54948ZM10.75 12C10.75 11.3096 11.3096 10.75 12 10.75C12.6904 10.75 13.25 11.3096 13.25 12C13.25 12.6903 12.6904 13.25 12 13.25C11.3096 13.25 10.75 12.6903 10.75 12ZM12 9.24998C10.4812 9.24998 9.25 10.4812 9.25 12C9.25 13.5188 10.4812 14.75 12 14.75C13.5188 14.75 14.75 13.5188 14.75 12C14.75 10.4812 13.5188 9.24998 12 9.24998Z" fill="currentColor"/></svg>
</a>
</li>
<?php } ?>
</ul>
<?php } ?>
<div class="clear"></div>
<?php
include $context['dirname_theme'].'/main/templates/includes/lazy-load.html';
include $context['dirname_theme'].'/main/templates/modals/delete-post.html';
include $context['dirname_theme'].'/main/templates/modals/delete-comment.html';
include $context['dirname_theme'].'/main/templates/modals/embed_post.html';
?>
<script>
jQuery(document).ready(function() {jQuery('.custom-fixed-element').theiaStickySidebar({additionalMarginTop: 72});});
function ad_click(id) {
$.post(link('profile/ad_click'), { id: id }, function (data, textStatus, xhr) { });
}
function show_m_reprted(post_id) {
$('.show_m_reprted-' + post_id).hide('slow');
$('.text_m_reprted-' + post_id).hide('slow');
}
jQuery(document).ready(function ($) {
var scrolled = 0;
var last_id = 0;
var posts_cn = $('.home-posts-container');
$(window).scroll(function () {
if ($(window).scrollTop() + $(window).height() > $(document).height() - 100) {
if (scrolled == 0 && $('.home-posts-container').length > 0 && $('.home-posts-container').attr('data-there-posts') != 'no_posts') {
scrolled = 1;
posts_cn.siblings('.posts__loader').removeClass('hidden');
if ($('[data-post-id]').length > 0) {
last_id = $('[data-post-id]').last().data('post-id');
}
$.ajax({
url: link('posts/load-tl-posts'),
type: 'GET',
dataType: 'json',
data: { offset: last_id },
}).done(function (data) {
if (data.status == 200) {
posts_cn.append($(data.html));
scrolled = 0;
if (data.html == '') {
$('.home-posts-container').attr('data-there-posts', 'no_posts');
}
}
else {
$(window).unbind('scroll');
}
posts_cn.siblings('.posts__loader').addClass('hidden');
});
}
}
});
});
</script>