<div class="footer-bottom-bar{if $page == 'reels'}x-hidden{/if}">
  <div class="container">
    <div class="footer-bottom-bar-links">
      <!-- home -->
      <div class="link {if $page == 'index' && $view == ''}active{/if}">
        <a href="{$system['system_url']}">
          {include file='__svg_icons.tpl' icon="header-home" class="header-icon {if $page == "index" && $view == ""}active{/if}" width="24px" height="24px"}
          <div class="title">{__("Home")}</div>
        </a>
      </div>
      <!-- home -->

      <!-- watch -->
      {if $system['reels_enabled']}
        <div class="link {if $page == 'reels'}active{/if}">
          <a href="{$system['system_url']}/reels">
          {include file='__svg_icons.tpl' icon="reels" class="header-icon {if $page == "reels"}active{/if}" width="24px" height="24px"}
          <div class="title">{__("Reels")}</div>
        </a>
      </div>
      {elseif $system['watch_enabled']}
      <div class="link {if $page == 'index' && $view == 'watch'}active{/if}">
        <a href="{$system['system_url']}/watch">
          {include file='__svg_icons.tpl' icon="watch" class="header-icon {if $page == "index" && $view == "watch"}active{/if}" width="24px" height="24px"}
          <div class="title">{__("Watch")}</div>
        </a>
      </div>
      {/if}
      <!-- watch -->

      <!-- add -->
      <div class="link">
        <a class="dropdown" href="#" data-bs-toggle="dropdown" data-display="static">
          {include file='__svg_icons.tpl' icon="header-plus" class="header-icon" width="24px" height="24px"}
          <div class="title">{__("Add")}</div>
        </a>
        <div class="dropdown-menu dropdown-widget">
          <div class="js_scroller" data-slimScroll-height="360">
            <div class="footer-quick-adds">
              <div class="add-quick-item full" data-toggle="modal" data-url="posts/publisher.php">
                {include file='__svg_icons.tpl' icon="newsfeed" class="main-icon" width="24px" height="24px"}
                <div class="mt5">{__("Post")}</div>
              </div>
              {if $system['live_enabled']}
                <a class="add-quick-item" href="{$system['system_url']}/live">
                  {include file='__svg_icons.tpl' icon="live" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Live")}</div>
                </a>
              {/if}
              {if $system['stories_enabled']}
                <div class="add-quick-item" data-toggle="modal" data-url="posts/story.php?do=create">
                  {include file='__svg_icons.tpl' icon="24_hours" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Story")}</div>
                </div>
              {/if}
              {if $system['blogs_enabled']}
                <a class="add-quick-item" href="{$system['system_url']}/blogs/new">
                  {include file='__svg_icons.tpl' icon="blogs" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Blog")} {if $system['paid_blogs_enabled']}<span class="badge rounded-pill text-bg-danger">{__("Paid")}</span>{/if}</div>
                </a>
              {/if}
              {if $system['market_enabled']}
                <div class="add-quick-item" data-toggle="modal" data-url="posts/product.php?do=create">
                  {include file='__svg_icons.tpl' icon="products" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Product")} {if $system['paid_products_enabled']}<span class="badge rounded-pill text-bg-danger">{__("Paid")}</span>{/if}</div>
                </div>
              {/if}
              {if $system['funding_enabled']}
                <div class="add-quick-item" data-toggle="modal" data-url="posts/funding.php?do=create">
                  {include file='__svg_icons.tpl' icon="funding" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Funding")} {if $system['paid_funding_enabled']}<span class="badge rounded-pill text-bg-danger">{__("Paid")}</span>{/if}</div>
                </div>
              {/if}
              {if $system['ads_enabled']}
                <a class="add-quick-item" href="{$system['system_url']}/ads/new">
                  {include file='__svg_icons.tpl' icon="ads" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Ads")}</div>
                </a>
              {/if}
              {if $system['pages_enabled']}
                <div class="add-quick-item" data-toggle="modal" data-url="modules/add.php?type=page">
                  {include file='__svg_icons.tpl' icon="pages" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Page")}</div>
                </div>
              {/if}
              {if $system['groups_enabled']}
                <div class="add-quick-item" data-toggle="modal" data-url="modules/add.php?type=group">
                  {include file='__svg_icons.tpl' icon="groups" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Group")}</div>
                </div>
              {/if}
              {if $system['events_enabled']}
                <div class="add-quick-item" data-toggle="modal" data-url="modules/add.php?type=event">
                  {include file='__svg_icons.tpl' icon="events" class="main-icon" width="24px" height="24px"}
                  <div class="mt5">{__("Event")}</div>
                </div>
              {/if}
            </div>
          </div>
        </div>
      </div>
      <!-- add -->

      <!-- search -->
      <div class="link {if $page == 'search'}active{/if}">
        <a href="{$system['system_url']}/search">
          {include file='__svg_icons.tpl' icon="header-search" class="header-icon {if $page == "search"}active{/if}" width="24px" height="24px"}
          <div class="title">{__("Search")}</div>
        </a>
      </div>
      <!-- search -->

      <!-- menu -->
      <div class="link">
        {include file='_user_menu.tpl' _as_widget=true}
      </div>
      <!-- menu -->

    </div>
  </div>
</div>