<!DOCTYPE html>
{% for lang in site['languages'] %}
{% if lang['active'] %}
<html lang="{{ lang['code'] }}">
{% endif %}
{% endfor %}
<head>
  <base href="{{ site['url'] }}">
  
  
  <title>{% if pagetitle %}  {{ pagetitle }}  {% else %} {{ title }} {% endif %} </title>
  
			<meta property="og:title" content="{% if pagetitle %} {{ pagetitle }} {% else %} {{ title }} {% endif %}" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="{% if pagekeywords %} {{ pagekeywords }} {% else %} {{ site['keywords'] }} {% endif %}">
<meta name="description" content="{% if pagedescription %} {{ pagedescription }} {% else %} {{ site['description'] }} {% endif %}">
<meta property="og:description" content="{% if pagedescription %} {{ pagedescription }} {% else %} {{ site['description'] }} {% endif %}" />
<meta name="google-site-verification" content="{{ site['google_verification'] }}" />
			
{% if site['meta_logo'] %}
        <meta property="og:image" itemprop="image" content="{{ site['meta_logo'] }}">
    {% endif %}			
{% if site['favicon'] %}
    <link rel="shortcut icon" type="image/ico" href="{{ site['favicon'] }}"/>
    <link rel="icon" type="image/png" sizes="192x192" href="{{ site['favicon'] }}"/>
    <link rel="icon" type="image/png" sizes="512x512" href="{{ site['favicon'] }}"/>
    <link rel="icon" type="image/png" sizes="32x32" href="{{ site['favicon'] }}"/>
    <link rel="icon" type="image/png" sizes="16x16" href="{{ site['favicon'] }}"/>
    <link rel="apple-touch-icon" href="{{ site['favicon'] }}"/>
{% endif %}


        <link rel="stylesheet" type="text/css" href="{{ site["url"] }}/assets/cj7/custom.css">  
  
  <link rel="stylesheet" type="text/css" href="https://cdn.bdrentalhouse.com/ma7f76/custom.css"> 
    <link rel="stylesheet" type="text/css" href="https://cdn.bdrentalhouse.com/cd7f76/grow/style.css">
    <link rel="stylesheet" type="text/css" href="https://cdn.bdrentalhouse.com/cd7f76/grow/style4.css">
    <link rel="stylesheet" type="text/css" href="https://cdn.bdrentalhouse.com/cd7f76/grow/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" type="text/css" href="https://cdn.mypanel.link/css/font-awesome/css/all.min.css">
    <link rel="stylesheet" type="text/css" href="https://cdn.bdrentalhouse.com/cd7f76/grow/select.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.0/sweetalert.min.js"></script>
    <script src="https://code.iconify.design/iconify-icon/1.0.7/iconify-icon.min.js"></script>
  
  <!--  Some CDN Link From Old Theme -->
  <link rel="stylesheet"
    href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.2/css/bootstrap-select.min.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.2/umd/popper.min.js"></script>

    <!--  /// Some CDN Link From Old Theme -->
  
  	<style>
	    
	    .particle-snow{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999;pointer-events:none}.particle-snow canvas{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none}.christmas-garland{text-align:center;white-space:nowrap;overflow:hidden;position:absolute;z-index:1;padding:0;pointer-events:none;width:100%;height:85px}.christmas-garland .christmas-garland__item{position:relative;width:28px;height:28px;border-radius:50%;display:inline-block;margin-left:20px}.christmas-garland .christmas-garland__item .shape{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:flash-1;animation-name:flash-1;-webkit-animation-duration:2s;animation-duration:2s}.christmas-garland .christmas-garland__item .apple{width:22px;height:22px;border-radius:50%;margin-left:auto;margin-right:auto;margin-top:8px}.christmas-garland .christmas-garland__item .pear{width:12px;height:28px;border-radius:50%;margin-left:auto;margin-right:auto;margin-top:6px}.christmas-garland .christmas-garland__item:nth-child(2n+1) .shape{-webkit-animation-name:flash-2;animation-name:flash-2;-webkit-animation-duration:.4s;animation-duration:.4s}.christmas-garland .christmas-garland__item:nth-child(4n+2) .shape{-webkit-animation-name:flash-3;animation-name:flash-3;-webkit-animation-duration:1.1s;animation-duration:1.1s}.christmas-garland .christmas-garland__item:nth-child(odd) .shape{-webkit-animation-duration:1.8s;animation-duration:1.8s}.christmas-garland .christmas-garland__item:nth-child(3n+1) .shape{-webkit-animation-duration:1.4s;animation-duration:1.4s}.christmas-garland .christmas-garland__item:before{content:"";position:absolute;background:#222;width:10px;height:10px;border-radius:3px;top:-1px;left:9px}.christmas-garland .christmas-garland__item:after{content:"";top:-9px;left:14px;position:absolute;width:52px;height:18px;border-bottom:solid #222 2px;border-radius:50%}.christmas-garland .christmas-garland__item:last-child:after{content:none}.christmas-garland .christmas-garland__item:first-child{margin-left:-40px}
  
	</style>  
	
	
</head>

{% if user['auth'] %}

<body class="dashboard nightmode" id="body" >
  <script>
    if (localStorage.getItem('growFollowsCurrentMode')) {
      const bodyFire2 = document.getElementById('body');
      bodyFire2.classList.add('nightmode');
    }
  </script>
  <main id="main_container">
    <div class="sidebar">
      <button class="sidebar_menu_icon" onclick="toggleSidebar()">
        <img src="https://cdn.bdrentalhouse.com/assets/grow/4j6ex4un1721ze8y.png" class="close_nav_day" alt="">
        <img src="https://cdn.bdrentalhouse.com/assets/grow/eco8hx40xz8d3lmf.png" class="open_nav_day" alt="">

        <img src="https://cdn.bdrentalhouse.com/assets/grow/ie1rl1p1gwj5znf0.png" class="close_nav_night" alt="">
        <img src="https://cdn.bdrentalhouse.com/assets/grow/s0sa1hbdiaflcyyz.png" class="open_nav_night" alt="">
      </button>
      <div class="sidebar_top">
        <div class="logo">
<a target="_self" href="/">{% if site["logo"] %}
<img style="max-width:200px;" src="{{ site['logo'] }}" alt="" title="">
{% else %}<span style="text-transform: "><span style="font-size: 24px"><span style="letter-spacing: 1.0px"><span style="line-height: 120px"><strong style="font-weight: bold">{{ site["site_name"] }}</strong></span></span></span></span>{% endif %}</a>

        </div>
        <div class="user_data">
          <div class="user_badges" data-bs-toggle="modal" data-bs-target="#GGstaticBackdrop">
            <h4> NEW</h4>
          </div>
                <div class="total_data">
                  <div class="user_wrap">
                    <div class="v2_avatar">
                        <img src="https://res.cloudinary.com/smmbooststore/image/upload/v1663093548/flat-boy-with-vintage-glasses-avatar-vector_dwcdqu.png" class="img-fluid" alt="growfollow Avatar" id="profile1">
                    </div>
                    <div class="v2_user_info">
                      <h5>{{ user["username"]  }}</h5>
                    </div>
                </div>
                <div class="user_balance">
                   Your balance <span class="balance">  {{ user["balance"]  }}</span>
                </div>
                </div>
             </div>
                </div>
                <div class="sidebar_bottom">
                  <div class="sidebar_menu">
                      
                      
                      {% for menu in menus %}
                    {% if menu["type"] == 2 %} 
                        <a href="{{menu["slug"]}}" class="menu_item {% if active_menu == menu["active"] %}  active {% endif %} " >
                               <div class="menu_icon">
                                <i class="{{menu["icon"]}}"></i>
                            </div>
                                                <div class="menu_name">
                            {{menu["name"]}}
                        </div>
                    </a> 
                     
      {% endif %}                
                      {% endfor %}  
   

                                                                </div>
                  <!-- Show More Btn Codes End -->
        </div>
      </div>
    </div>
            <div class="content_area">
      <div class="top_header">
        <div class="top_head_wrap">
          <div class="item">
            <div class="logo_off_nav">
<a target="_self" href="/">{% if site["logo"] %}
<img style="max-width:200px;" src="{{ site['logo'] }}" alt="" title="">
{% else %}<span style="text-transform: "><span style="font-size: 24px"><span style="letter-spacing: 1.0px"><span style="line-height: 120px"><strong style="font-weight: bold">{{ site["site_name"] }}</strong></span></span></span></span>{% endif %}</a>

            </div>
          </div>
          <div class="item">

          </div>
          <div class="item user_settings">
            <!-- Telegram Channel -->
            <a href="/addfunds" class="telegram">
              <i class="fas fa-wallet"></i>
            </a>
 
                                                       <ul id="currency_changer5">
                            <li>
                              <div class="dropdown">
                                <button class="btn btn-primary dropdown-toggle mb-sm-2" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="currencyToggler2">
                                <span>
                                  <i class="fas fa-dollar-sign"></i>
                                </span>
                          <span class="caret"></span>
                      </button>
                            <ul class="dropdown-menu" id="currencies-list">
                                                                    <li>
                                       {{ currencies_dropdown }}
                            
                                                                    <li>
                                     
                                                            </ul>
                        </div>
                    </li>
                </ul>
                
                              <!-- Profile -->
                            <a href="/account" class="telegram">
                                <i class="fas fa-user"></i>
                            </a>

             
                                      <!-- Logout -->
                            <a href="/logout" class="telegram mr__css">
                              <i class="fas fa-sign-out-alt"></i>
                            </a>   
                      </div>
              </div>
          </div>


            <div class="content">
                <!-- page and other top info -->
                  <div id="page_info">
                         <div class="item">
                                 <h4>You are currently on: <span class="sp_text_primary">{{ title }}</span></h4>
                         </div>
                         <div class="item">
                                <h4>Total Orders: <span class="sp_text_primary">{{totalorders}}</span></h4>
                        </div>
                     
             
                        <div class="item">
                                <h4>Welcome <span class="sp_text_primary">{{ user["username"]  }}</span> </4>
                                
                                </div>
                                
                                <div class="item">
                                    
                                 <h4>Balance is : <span class="sp_text_primary"> {{ user["balance"]  }} </span></h4>
                        </div>
                          <div class="item">
                           <h4>Spent :<span class="sp_text_primary"> {{ user["spent"]  }} </span></h4>
                        </div>
                 </div>
	{% endif %}

{% if user['auth'] == 0 %}

<body class="noAuth" >
      <nav class="navbar navbar-expand-lg navbar-light bg-light navbar-static-top" id="navbar">
      <div class="container">
<a target="_self" href="/">{% if site["logo"] %}
<img style="max-width:200px;" src="{{ site['logo'] }}" alt="" title="">
{% else %}<span style="text-transform: "><span style="font-size: 24px"><span style="letter-spacing: 1.0px"><span style="line-height: 50px"><strong style="font-weight: bold">{{ site["site_name"] }}</strong></span></span></span></span>{% endif %}</a>

        <button class="navbar-toggler nav__btn" type="button" data-bs-toggle="collapse"
          data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
          aria-label="Toggle navigation" onclick="navToggleMob()">
           <img src="https://res.cloudinary.com/grow-follows/image/upload/v1687542986/Menu_d5wrxu.svg" class="nav__btn__icon" alt=""> 
          <i class="fas fa-bars"></i>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
          <ul class="navbar-nav ms-auto mb-2 mb-lg-0">
              
                    {% for menu in menus %} 
                    <li class="nav-item ">
<a class="nav-link  nav-link {% if active_menu == menu["active"] %} active  {% endif %} "     href=" {{menu["slug"]}}" >

 {{menu["name"]}}
            </a>
           </li>{% endfor %}
</ul>
</nav>

{% endif %}
