<!DOCTYPE html>
<html lang="pt-br">
<head>
      <meta charset="utf-8"/>
      <title><?php echo $config[0]->nome ?>- <?php echo $config[0]->descricao ?> <?php if($nomepagina): ?><?php endif; ?></title>
      <meta content="<?php echo $config[0]->nome ?>- <?php echo $config[0]->descricao ?> <?php if($nomepagina): ?><?php endif; ?>" property="og:title"/>
      <meta name="keywords" content="Faz Seu Bet, cassino online, jogos de slot, apostas em futebol, Fortune Tiger, Fortune OX">
      <meta content="<?php echo $config[0]->nome ?>- <?php echo $config[0]->descricao ?> <?php if($nomepagina): ?><?php endif; ?>" property="twitter:title"/>
      <meta property="og:description" content="<?php echo $config[0]->descricao ?>">
      <meta property="twitter:description" content="<?php echo $config[0]->descricao ?>">
      <meta content="width=device-width, initial-scale=1" name="viewport"/>
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
      <link rel="manifest" href="<?= base_url(); ?>manifest.json">
      <script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script>
      <link href="<?php echo $config[0]->favicon ?>" rel="shortcut icon" type="image/x-icon"/>
      <link href="<?php echo $config[0]->favicon ?>" rel="apple-touch-icon"/>
      <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
      <meta name="theme-color" content="#141417" />

      <script async src="<?= base_url(); ?>public/js/cmsfilter.js"></script>
      <script async src="<?= base_url(); ?>public/js/cmssort.js"></script>
      <script async src="<?= base_url(); ?>public/js/cmsload.js"></script>
      <script defer src="<?= base_url(); ?>public/js/scrolldisable.js"></script>
	  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
      <link href="<?= base_url(); ?>app.css" rel="stylesheet" type="text/css"/>
      <link href="<?= base_url(); ?>public/css/app.css" rel="stylesheet" type="text/css"/> 
      <link rel="stylesheet" href="<?= base_url(); ?>public/css/webflow-style-head-v2.css">
	  <script src="https://kit.fontawesome.com/6728d0711b.js" crossorigin="anonymous"></script>
     <?php echo $config[0]->googleAnalytics ?>
   </head>
   <body>
      <div id="<?= base_url(); ?>" class="base_url"></div>
      <section id="page-wrapper" class="page-wrapper">
         <nav id="menu" class="content-navbar">
            <div class="navbar_wrapper">
               <div class="navbar-left">
                  <div class="w-dyn-list">
                     <div role="list" class="w-dyn-items">
                        <div role="listitem" class="w-dyn-item">
                           <a href="<?= base_url(); ?>" class="navbar_brand w-inline-block">
                              <div class="brand_type-wrapper"><img loading="lazy" alt="" src="<?php echo $config[0]->logo ?>" class="ico-brand-type header"/></div>
                           </a>
                           <link rel="prerender" href="<?= base_url(); ?>"/>
                        </div>
                     </div>
                  </div>
               </div>
			<?php if ($this->session->logged == false): ?> 
                <div class="navbar-buttons-login-wrapper">
               <button type="button" class="btn btn-small mr-2" data-toggle="modal" data-target="#buscaModal"><i class="fa-solid fa-magnifying-glass"></i></button>   
					<a href="#" class="btn-small w-button" data-toggle="modal" data-target="#entrarModal"><?php echo lang('login'); ?></a>
				  	<a href="#" class="btn-small btn-color-1 w-button" data-toggle="modal" data-target="#cadastroModal"><?php echo lang('register'); ?></a>
				</div>
			<?php else: ?>
				<div class="navbar-logged" style="display: block;">
               <div class="navbar-buttons-balance-wrapper">
               <button type="button" class="btn btn-small mr-2" data-toggle="modal" data-target="#buscaModal"><i class="fa-solid fa-magnifying-glass"></i></button> 
                  <div data-hover="true" data-delay="0" class="w-dropdown">
                 
                     <div class="balance-info w-dropdown-toggle" id="w-dropdown-toggle-0" aria-controls="w-dropdown-list-0" aria-haspopup="menu" aria-expanded="false" role="button" tabindex="0">
                        
                           <div class="gray txt-label text-white"><?php echo lang('wallet'); ?></div>
                        <div class="txt-balance-original">
                           <div class="flex-horizontal white">
                              <h4 class="green mr-8">R$</h4>
                              <h4 id="balance"><?php echo $this->session->saldo; ?></h4>
                           </div>
                        </div>
                     </div>
                  </div>
                  <a href="#" class="btn-small btn-color-1 w-button" data-toggle="modal" data-target="#modalDeposito"><span class="icon-20 no-mobile">+</span> <span><?php echo lang('deposit'); ?></span></a>
                  <div class="dropdown">
                     <button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false">
                     <div class="eng-letter-name no-mobile">
                        <div class="letter-name"></div>
                     </div>
                     </button>
                     <div class="dropdown-menu">
                     <nav class="drop-list-menu w-dropdown-list w--open" id="w-dropdown-list-1" aria-labelledby="w-dropdown-toggle-1">
                        <a href="<?= base_url(); ?>usuarios/minhaconta" aria-current="page" class="eng-info-account w-inline-block w--current" tabindex="0">
                           <div class="icon-16 fixed-width-24"></div>
                           <div class="info-account">
                              <div user-username="" class="txt-label white no-wrap"><?php echo $this->session->nome; ?></div>
                              <div user-email="" class="txt-label no-wrap"><?php echo $this->session->email; ?></div>
                           </div>
                        </a>
                        <a href="#" class="link-drop w-inline-block" data-toggle="modal" data-target="#modalDeposito" tabindex="0">
                           <div class="icon-16 fixed-width-24"></div>
                           <div><?php echo lang('deposit'); ?></div>
                        </a>
                        <a href="#" class="link-drop w-inline-block" data-toggle="modal" data-target="#modalSaque" tabindex="0">
                           <div class="icon-16 fixed-width-24"></div>
                           <div><?php echo lang('withdraw'); ?></div>
                        </a>
                        <!--<a open-window-rollover="" href="#" class="link-drop w-inline-block" data-ix="display-none" tabindex="0" style="display: none;">
                           <div class="icon-16 fixed-width-24"></div>
                           <div><?php echo lang('history'); ?></div>
                        </a>-->
                        <a id="logout-btn" href="<?= base_url(); ?>usuarios/logout" class="link-drop color-1 w-inline-block" tabindex="0">
                           <div class="icon-16 fixed-width-24"></div>
                           <div><?php echo lang('logout'); ?></div>
                        </a>
                     </nav>
                     </div>
                     </div>
            </div>
			<?php endif; ?>
            </div>
         </nav>
         <div class="main-wrapper">
            <div class="left-side-bar" id="left-side-bar">
               <div class="left-side-bar_page-padding">
                  <div class="left-side_sticky-wrapper">
                     <div class="eng-superior-menu">
                        <div class="left-side-bar_navigation-wrapper">
                           <div class="eng-sublinks-nav">
                              <a href="#" class="btn-small btn-color-1 mobile w-inline-block" data-ix="window-deposit">
                                 <div class="content-btn">
                                    <div class="icon-20">+</div>
                                    <div><?php echo lang('deposit'); ?></div>
                                 </div>
                              </a>
                              <a href="<?= base_url(); ?>" class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('home'); ?></div>
                                 </div>
                              </a>
                              <?php if ($this->session->logged == true): ?> 
                              <a href="<?= base_url(); ?>usuarios/minhaconta" class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('my_account'); ?></div>
                                 </div>
                              </a>
                              <a href="<?= base_url(); ?>usuarios/logout" class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('logout'); ?></div>
                                 </div>
                              </a>
                              <?php endif; ?>
                              <?php if ($this->session->userTipo === 'usuário'): ?>
                                 <a href="<?= base_url(); ?>usuarios/indique" class="sublink-nav w-inline-block">
                                    <div class="content-sublink-menu">
                                          <div class="icon-20 fixed-width"></div>
                                          <div><?php echo lang('refer_and_earn'); ?></div>
                                    </div>
                                 </a>
                              <?php elseif ($this->session->userTipo === 'afiliado'): ?>
                                 <a href="<?= base_url(); ?>afiliados" class="sublink-nav w-inline-block">
                                    <div class="content-sublink-menu">
                                          <div class="icon-20 fixed-width"></div>
                                          <div>Painel do afiliado</div>
                                    </div>
                                 </a>
                              <?php endif; ?>

                              <a href="<?= base_url(); ?>cassino" class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('all_games'); ?></div>
                                 </div>
                              </a>
                              
                           </div>
                           <div class="line-divisor-nav"></div>
                           <div class="eng-sublinks-nav">
                           <div data-hover="false" data-delay="0" class="dropdown-menu w-dropdown">
                              <div class="dropdown-toogle-menu w-dropdown-toggle" data-toggle="collapse" href="#collapseExample" role="button" style="font-size: 13px">
                                 <a href="#" class="sublink-nav with-arrow btn-color-1 w-inline-block">
                                    <div class="content-sublink-menu space-between">
                                       <div class="eng-left-sublink-menu">
                                          <div class="icon-20 fixed-width"></div>
                                          <div>Populares</div>
                                       </div>
                                       <div class="arrow-drop-menu active"></div>
                                    </div>
                                 </a>
                              </div>
                              <nav class="dropdown-list-menu w-dropdown-list collapse" id="collapseExample">
                                 <div class="w-dyn-list">
                                    <div role="list" class="list-links-menu mt-8 w-dyn-items">
                                       <div role="listitem" class="w-dyn-item">
                                          <a href="<?= base_url(); ?>games/ver/PGSOFT/fortune-tiger" class="link-menu w-inline-block">
                                             <div class="content-sublink-menu ">
                                                <img src="https://assets.website-files.com/6483631a773f6af2b4edabee/64891b10c0a2086ed39a2db2_6489193dd93afd96335f9202_6483d7003cbfcd23c72d4095_648357caafb883b2444bd689_fortune_tiger_icon.webp" loading="lazy" alt="" class="icon-sublink-game"/>
                                                <div class="text-size-small short">Fortune Tiger</div>
                                             </div>
                                          </a>
                                       </div>
                                       <div role="listitem" class="w-dyn-item">
                                          <a href="<?= base_url(); ?>games/ver/PGSOFT/fortune-ox" class="link-menu w-inline-block">
                                             <div class="content-sublink-menu">
                                                <img src="https://static.springbuilder.site/fs/userFiles-v2/moovbet-18748220/images/4977-fortune-ox-16934358641096.webp" loading="lazy" alt="" class="icon-sublink-game"/>
                                                <div class="text-size-small short">Fortune Ox</div>
                                             </div>
                                          </a>
                                          <div role="listitem" class="w-dyn-item">
                                             <a href="<?= base_url(); ?>games/ver/PRAGMATIC/vs20olympgate" class="link-menu w-inline-block">
                                                <div class="content-sublink-menu">
                                                   <img src="https://solawins-sg0.pragmaticplay.net/game_pic/rec/325/vs20olympgate.png" loading="lazy" alt="" class="icon-sublink-game"/>
                                                   <div class="text-size-small short">Gates Of Olympus</div>
                                                </div>
                                             </a>
                                          </div>
                                          <div role="listitem" class="w-dyn-item">
                                            <a href="<?= base_url(); ?>games/ver/netent/NarcosNET" class="link-menu w-inline-block">
                                                <div class="content-sublink-menu">
                                                   <img src="https://games2api.online/frontend/Default/ico/NarcosNET.jpg" loading="lazy" alt="" class="icon-sublink-game"/>
                                                   <div class="text-size-small short">Narcos</div>
                                                </div>
                                             </a>
                                          </div>
                                       <!-- <div role="listitem" class="w-dyn-item">
                                             <a href="<?= base_url(); ?>games/ver/EVOLUTION/CrazyTime0000001" class="link-menu w-inline-block">
                                                <div class="content-sublink-menu">
                                                   <img src="https://ap-south-1.linodeobjects.com/cdn.honorlink.org/evolution/Crazy_Time.png" loading="lazy" alt="" class="icon-sublink-game"/>
                                                   <div class="text-size-small short">Crazy Time</div>
                                                </div>
                                             </a>
                                          </div>-->
                                       </div>
                                    </div>
                                 </div>
                              </nav>
                           </div>
                              <!--<a href="<?= base_url(); ?>cassino" class="sublink-nav btn-color-1 w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('live_roulette'); ?></div>
                                 </div>
                              </a>-->
                              <a href="<?= base_url(); ?>cassino" aria-current="page" class="sublink-nav btn-color-1 w-inline-block w--current">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('casino'); ?></div>
                                 </div>
                              </a>
                              <!--<a href="<?= base_url(); ?>cassino/aovivo" class="sublink-nav btn-color-1 w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('live_casino'); ?></div>
                                 </div>
                              </a>-->
                           </div>
                           <div class="line-divisor-nav"></div>
                           <div class="eng-sublinks-nav">
                              <a open-support-btn="" href="<?php echo $config[0]->suporte ?> " class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('support'); ?></div>
                                 </div>
                              </a>
                           </div>
                           <div class="eng-copyright-menu mt-16">
                              <div class="eng-support-menu">
                                 <div class="eng-social-menu">
                                   
                                 <?php if($config[0]->telegram ): ?>
                                    <a href="<?php echo $config[0]->telegram ?>" target="_blank" class="link-social w-inline-block">
                                       <div class="icon-18-brand"></div>
                                    </a>

                                 <?php endif; ?> 
                                 <?php if($config[0]->instagram ): ?>
                                    <a href="<?php echo $config[0]->instagram ?>" target="_blank" class="link-social w-inline-block">
                                       <div class="icon-18-brand"></div>
                                    </a>

                                 <?php endif; ?> 
                                 <?php if($config[0]->facebook ): ?>
                                    <a href="<?php echo $config[0]->facebook ?>" target="_blank" class="link-social w-inline-block">
                                       <div class="icon-18-brand"></div>
                                    </a>

                                 <?php endif; ?> 
                                 <?php if($config[0]->whatsapp ): ?>
                                    <a href="<?php echo $config[0]->whatsapp ?>" target="_blank" class="link-social w-inline-block">
                                       <div class="icon-18-brand"></div>
                                    </a>

                                 <?php endif; ?> 
                                   
                                    
                                 </div>
                              </div>
                              <div class="txt-label copyright"><?php echo $config[0]->nome ?>  © 2023. All right reserved.</div>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>

   <div class="navbar-mobile custom-navbar">
      <a href="#" class="link-menu-mobile w-inline-block" data-toggle="modal" data-target="#exampleModal">
         <div class="icon-16 mb-2"></div>
         <div class="white"><?php echo lang('menu'); ?></div>
      </a>
      <a href="<?= base_url(); ?>cassino/aovivo" class="link-menu-mobile w-inline-block">
         <div class="icon-16 mb-2"></div>
         <div class="white"><?php echo lang('live_casino'); ?></div>
      </a>

      <a href="<?= base_url(); ?>cassino" class="link-menu-mobile w-inline-block">
         <div class="icon-16 mb-2"></div>
         <div class="white"><?php echo lang('casino'); ?></div>
      </a>
      <?php if ($this->session->logged == true): ?>  
         <a href="<?= base_url(); ?>usuarios/minhaconta" class="link-menu-mobile w-inline-block">
            <div class="icon-16 mb-2"></div>
            <div class="white"><?php echo lang('account'); ?></div>
         </a>
         <a href="<?= base_url(); ?>usuarios/logout" class="link-menu-mobile w-inline-block" data-ix="open-window-search">
            <div class="icon-16 mb-2"></div>
            <div class="white"><?php echo lang('logout'); ?></div>
         </a>
      <?php endif; ?>
   </div>

<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="content-sidebar-mobile">
            <div class="left-side-bar_page-padding">
               <div class="left-side_sticky-wrapper">
                  <div class="eng-superior-menu">
                     <div class="left-side-bar_navigation-wrapper">
                        <div class="eng-sublinks-nav">
                           <div class="container">
                              <a href="<?= base_url(); ?>" class="navbar_brand w-inline-block">
                                 <div class="brand_type-wrapper"><img loading="lazy" alt="" src="<?php echo $config[0]->logo ?>" class="ico-brand-type header"/></div>
                              </a>
                              <div fs-scrolldisable-element="enable" class="eng-close-windows" data-dismiss="modal">
                                 <div class="content-btn">
                                    <div class="icon-16"></div>
                                 </div>
                              </div>
                           </div>
                        </div>
                        <div class="eng-sublinks-nav mt-4">
                           <?php if ($this->session->logged == false): ?> 
                           <div class="navbar-buttons-login-wrapper">
                              <a fs-scrolldisable-element="disable" href00="#" class="btn-small w-button" data-toggle="modal" data-target="#entrarModal">Entrar</a>
                              <a fs-scrolldisable-element="disable" href="#" class="btn-small btn-color-1 w-button" data-toggle="modal" data-target="#cadastroModal">Cadastrar</a>
                           </div>
                           <?php else: ?>
                           <div class="navbar-logged" style="display: block;">
                              <div class="navbar-buttons-balance-wrapper">
                                 <div data-hover="true" data-delay="0" class="w-dropdown">
                                    <div class="balance-info w-dropdown-toggle" id="w-dropdown-toggle-0" aria-controls="w-dropdown-list-0" aria-haspopup="menu" aria-expanded="false" role="button" tabindex="0">
                                       <div class="gray txt-label text-white"><?php echo lang('wallet'); ?><</div>
                                       <div class="txt-balance-original">
                                          <div class="flex-horizontal white">
                                             <h4 class="green mr-8">R$</h4>
                                             <h4 id="balance"><?php echo $this->session->saldo; ?></h4>
                                          </div>
                                       </div>
                                    </div>
                                 </div>
                                 <a class="btn-small btn-color-1 w-button" data-toggle="modal" data-target="#modalDeposito"><span class="icon-20 no-mobile">+</span> <span>Depositar</span></a>
                              </div>
                           </div>
                           <?php endif; ?>
                           <a href="<?= base_url(); ?>" class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('home'); ?><</div>
                                 </div>
                              </a>
                              <?php if ($this->session->logged == true): ?> 
                              <a href="<?= base_url(); ?>usuarios/minhaconta" class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('my_account'); ?></div>
                                 </div>
                              </a>
                              <a href="<?= base_url(); ?>usuarios/logout" class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('logout'); ?></div>
                                 </div>
                              </a>
                              <?php endif; ?>

                              
                              <?php if ($this->session->userTipo === 'usuário'): ?>
                                 <a href="<?= base_url(); ?>usuarios/indique" class="sublink-nav w-inline-block">
                                    <div class="content-sublink-menu">
                                          <div class="icon-20 fixed-width"></div>
                                          <div><?php echo lang('refer_and_earn'); ?></div>
                                    </div>
                                 </a>
                              <?php elseif ($this->session->userTipo === 'afiliado'): ?>
                                 <a href="<?= base_url(); ?>afiliados" class="sublink-nav w-inline-block">
                                    <div class="content-sublink-menu">
                                          <div class="icon-20 fixed-width"></div>
                                          <div>Painel do afiliado</div>
                                    </div>
                                 </a>
                              <?php endif; ?>
                              <a href="<?= base_url(); ?>cassino" class="sublink-nav w-inline-block">
                                 <div class="content-sublink-menu">
                                    <div class="icon-20 fixed-width"></div>
                                    <div><?php echo lang('all_games'); ?></div>
                                 </div>
                              </a>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
</div>