View file main/templates/header/header.html

File size: 28.24Kb
<nav id="header_nav" class="navbar navbar-default navbar-fixed-top nav-down <?php if ($context['app_name'] == 'store') { ?>transparent<?php } ?>">
    <div class="container-fluid">
        <div class="valign pg_navbar_innr">
            <ul class="nav navbar-nav valign">
                <li class="logo">
                    <a href="{{CONFIG site_url}}">
						<picture>
							<source media="(max-width: 950px)" srcset="{{CONFIG site_url}}/media/img/icon.{{CONFIG logo_extension}}" class="icon"></source>
							<source media="(min-width: 951px)" srcset="{{CONFIG site_url}}/media/img/<?php if ($_COOKIE['mode'] == 'night') { ?>light-logo<?php } else { ?>logo<?php } ?>.{{CONFIG logo_extension}}"></source>
							<img src="{{CONFIG site_url}}/media/img/<?php if ($_COOKIE['mode'] == 'night') { ?>light-logo<?php } else { ?>logo<?php } ?>.{{CONFIG logo_extension}}">
						</picture>
                    </a>
                </li>
            </ul>
			
			<ul class="nav navbar-nav valign middle_nav">
				<?php if (IS_LOGGED) { ?>
					<li class="pg_hdr_hide <?php if ($context['app_name'] == 'home') { ?>active<?php } ?>" id="home_nav">
                        <a href="{{CONFIG site_url}}" data-ajax="ajax_loading.php?app=home&apph=home" title="{{LANG home}}">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M19 21H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9a1 1 0 0 1-1 1zm-6-2h5V9.157l-6-5.454-6 5.454V19h5v-6h2v6z"/><path d="M20 20a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9zm-9-7v6h2v-6h-2z" class="active_path" fill="currentColor"></path></svg>
                        </a>
                    </li>
					<li class="pg_hdr_hide <?php if ($context['app_name'] == 'explore') { ?>active<?php } ?>" id="explore_nav">
                        <a href="{{CONFIG site_url}}/explore" data-ajax="ajax_loading.php?app=explore&apph=explore" title="{{LANG explore}}">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm3.5-11.5l-2 5-5 2 2-5 5-2z"/><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm3.5-13.5l-5 2-2 5 5-2 2-5z" class="active_path" fill="currentColor"></path></svg>
                        </a>
                    </li>
					<?php if(IS_LOGGED && $config['image_sell_system'] == 'on'){ ?>
						<li class="pg_hdr_hide <?php if ($context['app_name'] == 'store') { ?>active<?php } ?>" id="store_nav">
							<a href="{{CONFIG site_url}}/store" data-ajax="ajax_loading.php?app=store&apph=store&user=&page=all" title="{{LANG store}}">
								<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M21 13.242V20h1v2H2v-2h1v-6.758A4.496 4.496 0 0 1 1 9.5c0-.827.224-1.624.633-2.303L4.345 2.5a1 1 0 0 1 .866-.5H18.79a1 1 0 0 1 .866.5l2.702 4.682A4.496 4.496 0 0 1 21 13.242zm-2 .73a4.496 4.496 0 0 1-3.75-1.36A4.496 4.496 0 0 1 12 14.001a4.496 4.496 0 0 1-3.25-1.387A4.496 4.496 0 0 1 5 13.973V20h14v-6.027zM5.789 4L3.356 8.213a2.5 2.5 0 0 0 4.466 2.216c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 0 0 4.644 0c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 1 0 4.457-2.232L18.21 4H5.79z"/><path d="M22 20v2H2v-2h1v-6.758A4.496 4.496 0 0 1 1 9.5c0-.827.224-1.624.633-2.303L4.345 2.5a1 1 0 0 1 .866-.5H18.79a1 1 0 0 1 .866.5l2.702 4.682A4.496 4.496 0 0 1 21 13.242V20h1zM5.789 4L3.356 8.213a2.5 2.5 0 0 0 4.466 2.216c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 0 0 4.644 0c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 1 0 4.457-2.232L18.21 4H5.79z" class="active_path" fill="currentColor"></path></svg>
							</a>
						</li>
					<?php } ?>
					<?php if ($config['upload_reels'] == 'on') { ?>
						<li class="pg_hdr_hide <?php if ($context['app_name'] == 'reels') { ?>active<?php } ?>" id="reels_nav">
							<a href="{{CONFIG site_url}}/reels" data-ajax="ajax_loading.php?app=reels&apph=reels" title="{{LANG reels}}">
								<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="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.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"/><path fill-rule="evenodd" 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" class="active_path" fill="currentColor"></path></svg>
							</a>
						</li>
                    <?php } ?>
				<?php } ?>
				<li>
					<a class="pg_srch_mobi" href="javascript:void(0);" onclick="$('body').toggleClass('srch_actv');$('#search-users').focus();" title="{{LANG search}}">
						<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9-9-4.032-9-9 4.032-9 9-9zm0 16c3.867 0 7-3.133 7-7 0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7zm8.485.071l2.829 2.828-1.415 1.415-2.828-2.829 1.414-1.414z"/></svg>
					</a>
                    <form class="form navbar-search">
                        <div class="input">
                            <input type="text" class="form-control" placeholder="{{LANG search}}.." id="search-users" autocomplete="off">
                        </div>
						<span onclick="$('body').toggleClass('srch_actv');"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z" /></svg></span>
                        <div class="search-result"></div>
                    </form>
                </li>
				<?php if (IS_LOGGED) { ?>
					<?php if ($me['is_pro'] == 0 && $config['pro_system'] == 'on') { ?>
						<li class="pg_hdr_hide <?php if ($context['app_name'] == 'go_pro') { ?>active<?php } ?>" id="go_pro_nav">
							<a href="{{CONFIG site_url}}/go_pro" data-ajax="ajax_loading.php?app=go_pro&apph=go_pro" title="{{LANG go_pro}}">
								<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M3.492 8.065L4.778 19h14.444l1.286-10.935-4.01 2.673L12 4.441l-4.498 6.297-4.01-2.673zM2.801 5.2L7 8l4.186-5.86a1 1 0 0 1 1.628 0L17 8l4.2-2.8a1 1 0 0 1 1.547.95l-1.643 13.967a1 1 0 0 1-.993.883H3.889a1 1 0 0 1-.993-.883L1.253 6.149A1 1 0 0 1 2.8 5.2zM12 15a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"/><path d="M2.8 5.2L7 8l4.186-5.86a1 1 0 0 1 1.628 0L17 8l4.2-2.8a1 1 0 0 1 1.547.95l-1.643 13.967a1 1 0 0 1-.993.883H3.889a1 1 0 0 1-.993-.883L1.253 6.149A1 1 0 0 1 2.8 5.2zM12 15a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" class="active_path" fill="currentColor"></path></svg>
							</a>
						</li>
					<?php } ?>
					<li class="pg_hdr_hide <?php if($context['app_name'] == 'messages'){ ?> active <?php } ?>" id="messages_nav">
                        <a href="{{CONFIG site_url}}/messages" class="_messages" data-ajax="ajax_loading.php?app=messages&apph=messages">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M2 8.994A5.99 5.99 0 0 1 8 3h8c3.313 0 6 2.695 6 5.994V21H8c-3.313 0-6-2.695-6-5.994V8.994zM20 19V8.994A4.004 4.004 0 0 0 16 5H8a3.99 3.99 0 0 0-4 3.994v6.012A4.004 4.004 0 0 0 8 19h12zm-6-8h2v2h-2v-2zm-6 0h2v2H8v-2z"/><path d="M2 8.994A5.99 5.99 0 0 1 8 3h8c3.313 0 6 2.695 6 5.994V21H8c-3.313 0-6-2.695-6-5.994V8.994zM14 11v2h2v-2h-2zm-6 0v2h2v-2H8z" class="active_path" fill="currentColor"></path></svg>
                            <small class="badge" id="new__messages"></small>
                        </a>
                    </li>
					<li>
                        <div class="dropdown notifications-list" id="get-notifications">
                            <span class="dropdown-toggle pointer" data-toggle="dropdown">
                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M22 20H2v-2h1v-6.969C3 6.043 7.03 2 12 2s9 4.043 9 9.031V18h1v2zM5 18h14v-6.969C19 7.148 15.866 4 12 4s-7 3.148-7 7.031V18zm4.5 3h5a2.5 2.5 0 1 1-5 0z"/><path d="M22 20H2v-2h1v-6.969C3 6.043 7.03 2 12 2s9 4.043 9 9.031V18h1v2zM9.5 21h5a2.5 2.5 0 1 1-5 0z" class="active_path" fill="currentColor"></path></svg>
                                <small class="badge" id="new__notif"></small>
                            </span>
                            <div class="dropdown-menu zoom pull-right">
                                <div class="valign header">{{LANG notifications}}
                                    <a href="{{CONFIG site_url}}/settings/notifications/{{ME username}}" data-ajax="ajax_loading.php?app=settings&apph=settings&user={{ME username}}&page=notifications">
                                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M5.33 3.271a3.5 3.5 0 0 1 4.254 4.963l10.709 10.71-1.414 1.414-10.71-10.71a3.502 3.502 0 0 1-4.962-4.255L5.444 7.63a1.5 1.5 0 1 0 2.121-2.121L5.329 3.27zm10.367 1.884l3.182-1.768 1.414 1.414-1.768 3.182-1.768.354-2.12 2.121-1.415-1.414 2.121-2.121.354-1.768zm-6.718 8.132l1.414 1.414-5.303 5.303a1 1 0 0 1-1.492-1.327l.078-.087 5.303-5.303z"/></svg>
                                    </a>
                                </div>
                                <ul id="notifications__list"></ul>
                                <div class="preloader hidden">
                                    <svg class="pg_spin" viewBox="0 0 52 52"><circle class="pg_spin_path" cx="26px" cy="26px" r="20px" fill="none" stroke-width="3px"></circle></svg>
                                </div>
                            </div>
                            <div class="clear"></div>
                        </div>
                    </li>
					<?php if ($me['p_privacy'] == 0 || $me['p_privacy'] == 1) { ?>
                        <li>
                            <div class="dropdown notifications-list" id="get-follow-requests">
                                <span class="dropdown-toggle pointer" data-toggle="dropdown">
                                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M14 14.252v2.09A6 6 0 0 0 6 22l-2-.001a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm6 6v-3h2v3h3v2h-3v3h-2v-3h-3v-2h3z"/><path d="M14 14.252V22H4a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm6 4v-3h2v3h3v2h-3v3h-2v-3h-3v-2h3z" class="active_path" fill="currentColor"></path></svg>
                                    <small class="badge" id="new__notif_follow"></small>
                                </span>
                                <div class="dropdown-menu zoom pull-right">
                                    <div class="valign header">{{LANG follow_requests}}
                                        <a href="{{CONFIG site_url}}/settings/requests/{{ME username}}" data-ajax="ajax_loading.php?app=settings&apph=settings&user={{ME username}}&page=requests">
                                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M13,2.03V2.05L13,4.05C17.39,4.59 20.5,8.58 19.96,12.97C19.5,16.61 16.64,19.5 13,19.93V21.93C18.5,21.38 22.5,16.5 21.95,11C21.5,6.25 17.73,2.5 13,2.03M11,2.06C9.05,2.25 7.19,3 5.67,4.26L7.1,5.74C8.22,4.84 9.57,4.26 11,4.06V2.06M4.26,5.67C3,7.19 2.25,9.04 2.05,11H4.05C4.24,9.58 4.8,8.23 5.69,7.1L4.26,5.67M2.06,13C2.26,14.96 3.03,16.81 4.27,18.33L5.69,16.9C4.81,15.77 4.24,14.42 4.06,13H2.06M7.1,18.37L5.67,19.74C7.18,21 9.04,21.79 11,22V20C9.58,19.82 8.23,19.25 7.1,18.37M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"/></svg>
                                        </a>
                                    </div>
                                    <ul id="requests__list"></ul>
                                    <div class="preloader hidden">
                                        <svg class="pg_spin" viewBox="0 0 52 52"><circle class="pg_spin_path" cx="26px" cy="26px" r="20px" fill="none" stroke-width="3px"></circle></svg>
                                    </div>
                                </div>
                                <div class="clear"></div>
                            </div>
                        </li>
                    <?php } ?>
				<?php } ?>
            </ul>

            <ul class="nav navbar-nav valign last_nav">
                <?php if (IS_LOGGED) { ?>
                    <li class="dropdown pg_hdr_act_menu" id="avatar_active">
                        <div class="dropdown-toggle" data-toggle="dropdown">
                            <span>{{ME name}}</span> <img src="{{ME avatar}}" class="img-circle">
                        </div>
						<ul class="dropdown-menu zoom pull-right list-unstyled mb-0">
							<li><a href="{{ME url}}" data-ajax="ajax_loading.php?app=profile&apph=profile&uname={{ME username}}">{{ME name}}</a></li>
							<?php if ($me['is_pro'] == 0 && $config['pro_system'] == 'on') { ?>
								<li><a href="{{CONFIG site_url}}/go_pro" data-ajax="ajax_loading.php?app=go_pro&apph=go_pro">{{LANG go_pro}}</a></li>
							<?php } ?>
							<li><a href="{{CONFIG site_url}}/settings/general/{{ME username}}" data-ajax="ajax_loading.php?app=settings&apph=settings&user={{ME username}}&page=general">{{LANG profile_settings}}</a></li>
							<?php if ($config['user_ads'] == 'on') { ?>
								<li><a href="{{CONFIG site_url}}/ads" data-ajax="ajax_loading.php?app=ads&apph=ads">{{LANG advertising}}</a></li>
							<?php } ?>
							<?php if (IS_ADMIN) { ?>
								<li class="divider"></li>
								<li><a href="<?php echo(pxp_link('admin-panel')); ?>">{{LANG admin_panel}}</a></li>
							<?php } ?>
							<li class="divider"></li>
							<li><a href="{{CONFIG site_url}}/signout">{{LANG logout}}</a></li>
							<li class="divider"></li>
							<li>
								<a href="javascript:void(0);" class="valign mode_button" onclick="change_mode()">
									{{LANG toggle_mode}} <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M10 6a8 8 0 0 0 11.955 6.956C21.474 18.03 17.2 22 12 22 6.477 22 2 17.523 2 12c0-5.2 3.97-9.474 9.044-9.955A7.963 7.963 0 0 0 10 6zm-6 6a8 8 0 0 0 8 8 8.006 8.006 0 0 0 6.957-4.045c-.316.03-.636.045-.957.045-5.523 0-10-4.477-10-10 0-.321.015-.64.045-.957A8.006 8.006 0 0 0 4 12zm14.164-9.709L19 2.5v1l-.836.209a2 2 0 0 0-1.455 1.455L16.5 6h-1l-.209-.836a2 2 0 0 0-1.455-1.455L13 3.5v-1l.836-.209A2 2 0 0 0 15.29.836L15.5 0h1l.209.836a2 2 0 0 0 1.455 1.455zm5 5L24 7.5v1l-.836.209a2 2 0 0 0-1.455 1.455L21.5 11h-1l-.209-.836a2 2 0 0 0-1.455-1.455L18 8.5v-1l.836-.209a2 2 0 0 0 1.455-1.455L20.5 5h1l.209.836a2 2 0 0 0 1.455 1.455z"/></svg>
								</a>
							</li>
						</ul>
                    </li>
                <?php } else{ ?>
                    <li><a href="<?php echo(pxp_link('welcome')); ?>">{{LANG login}}</a></li>
					<li><a href="<?php echo(pxp_link('signup')); ?>">{{LANG signup}}</a></li>
                <?php } ?>
            </ul>
        </div>
    </div>
    <div class="loadding-pgbar"><div class="bar"></div></div>
</nav>

<?php if (IS_LOGGED) { ?>
	<div class="valign pg_scnd_nav">
		<div class="<?php if ($context['app_name'] == 'home') { ?>active<?php } ?>" id="home_nav_sec">
			<a href="{{CONFIG site_url}}" data-ajax="ajax_loading.php?app=home&apph=home" title="{{LANG home}}">
				<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M19 21H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9a1 1 0 0 1-1 1zm-6-2h5V9.157l-6-5.454-6 5.454V19h5v-6h2v6z"/><path d="M20 20a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9zm-9-7v6h2v-6h-2z" class="active_path" fill="currentColor"></path></svg>
			</a>
		</div>
		<div class="<?php if ($context['app_name'] == 'explore') { ?>active<?php } ?>" id="explore_nav_sec">
			<a href="{{CONFIG site_url}}/explore" data-ajax="ajax_loading.php?app=explore&apph=explore" title="{{LANG explore}}">
				<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm3.5-11.5l-2 5-5 2 2-5 5-2z"/><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm3.5-13.5l-5 2-2 5 5-2 2-5z" class="active_path" fill="currentColor"></path></svg>
			</a>
		</div>
		<div class="pg_scnd_nav_pub">
			<a href="javascript:void(0);" onclick="$('body').toggleClass('pub_actv');">
				<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 10h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1z"/></svg>
			</a>
		</div>
		<?php if($config['image_sell_system'] == 'on'){ ?>
			<div class="<?php if ($context['app_name'] == 'store') { ?>active<?php } ?>" id="store_nav_sec">
				<a href="{{CONFIG site_url}}/store" data-ajax="ajax_loading.php?app=store&apph=store&user=&page=all" title="{{LANG store}}">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M21 13.242V20h1v2H2v-2h1v-6.758A4.496 4.496 0 0 1 1 9.5c0-.827.224-1.624.633-2.303L4.345 2.5a1 1 0 0 1 .866-.5H18.79a1 1 0 0 1 .866.5l2.702 4.682A4.496 4.496 0 0 1 21 13.242zm-2 .73a4.496 4.496 0 0 1-3.75-1.36A4.496 4.496 0 0 1 12 14.001a4.496 4.496 0 0 1-3.25-1.387A4.496 4.496 0 0 1 5 13.973V20h14v-6.027zM5.789 4L3.356 8.213a2.5 2.5 0 0 0 4.466 2.216c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 0 0 4.644 0c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 1 0 4.457-2.232L18.21 4H5.79z"/><path d="M22 20v2H2v-2h1v-6.758A4.496 4.496 0 0 1 1 9.5c0-.827.224-1.624.633-2.303L4.345 2.5a1 1 0 0 1 .866-.5H18.79a1 1 0 0 1 .866.5l2.702 4.682A4.496 4.496 0 0 1 21 13.242V20h1zM5.789 4L3.356 8.213a2.5 2.5 0 0 0 4.466 2.216c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 0 0 4.644 0c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 1 0 4.457-2.232L18.21 4H5.79z" class="active_path" fill="currentColor"></path></svg>
				</a>
			</div>
		<?php } ?>
		<?php if ($config['upload_reels'] == 'on') { ?>
			<div class="<?php if ($context['app_name'] == 'reels') { ?>active<?php } ?>" id="reels_nav_sec">
				<a href="{{CONFIG site_url}}/reels" data-ajax="ajax_loading.php?app=reels&apph=reels" title="{{LANG reels}}">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="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.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"/><path fill-rule="evenodd" 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" class="active_path" fill="currentColor"></path></svg>
				</a>
			</div>
		<?php } ?>
		<div class="<?php if($context['app_name'] == 'messages'){ ?> active <?php } ?>" id="messages_nav_sec">
			<a href="{{CONFIG site_url}}/messages" class="_messages" data-ajax="ajax_loading.php?app=messages&apph=messages">
				<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" d="M2 8.994A5.99 5.99 0 0 1 8 3h8c3.313 0 6 2.695 6 5.994V21H8c-3.313 0-6-2.695-6-5.994V8.994zM20 19V8.994A4.004 4.004 0 0 0 16 5H8a3.99 3.99 0 0 0-4 3.994v6.012A4.004 4.004 0 0 0 8 19h12zm-6-8h2v2h-2v-2zm-6 0h2v2H8v-2z"/><path d="M2 8.994A5.99 5.99 0 0 1 8 3h8c3.313 0 6 2.695 6 5.994V21H8c-3.313 0-6-2.695-6-5.994V8.994zM14 11v2h2v-2h-2zm-6 0v2h2v-2H8z" class="active_path" fill="currentColor"></path></svg>
				<small class="badge" id="new__messages_nav"></small>
			</a>
		</div>
	</div>
<?php } ?>
<?php include $context['dirname_theme'].'/main/templates/js/h-script.html'; ?>