<?php require ("config.php") ?>

 <?php
$stmt = $pdo->query("SELECT * FROM settings ORDER BY id DESC LIMIT 1");
$settings = $stmt->fetch(PDO::FETCH_ASSOC);

$domain_name = $settings['domain_name'] ?? 'Website';
$logo        = $settings['LOGO'] ?? '';
$favicon     = $settings['favicon'] ?? '';
?>
<!DOCTYPE html>
<html lang="en">



  <meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
            <meta name="robots" content="index, follow">

	<title><?php echo $title ?></title>
    <meta name="title" Content="<?php echo $title ?>">
    <meta name="description" content="<?php echo $about_msg ?>">
    <meta name="keywords" content="<?php echo $keyword ?>">
    
   
    
    <link rel="icon"
      type="image/png"
      href="uploads/<?php echo htmlspecialchars($favicon); ?>">
    
    
     <meta itemprop="name" content="<?php echo $title ?>">
    <meta itemprop="description" content="">
    <meta itemprop="image" content="<?php echo $url ?>uploads/<?php echo htmlspecialchars($logo); ?>">
    
    
    <meta property="og:type" content="website">
    <meta property="og:title" content="<?php echo $title ?>">
    <meta property="og:description" content="<?php echo $about_msg ?>">
    <meta property="og:image" content="<?php echo $url ?>uploads/<?php echo htmlspecialchars($logo); ?>"/>
    <meta property="og:image:type" content="image/png" />
        <meta property="og:image:width" content="600" />
    <meta property="og:image:height" content="315" />
    <meta property="og:url" content="<?php echo $url ?>">

	<!-- Open Graph / Facebook -->
	<meta property="og:type" content="website">
	<meta property="og:url" content="<?php echo $url ?>">
	<meta property="og:title" content="<?php echo $title ?>">
	<meta property="og:description" content="<?php echo $about_msg ?>">
	<meta property="og:image" content="<?php echo $url ?>uploads/<?php echo htmlspecialchars($logo); ?>">
	
	
	<link rel="apple-touch-icon" href="<?php echo $url ?>/uploads/<?php echo htmlspecialchars($favicon); ?>">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="<?php echo $title ?>">

	<!-- Twitter -->
	<meta property="twitter:card" content="summary_large_image">
	<meta property="twitter:url" content="<?php echo $url ?>">
	<meta property="twitter:title" content="<?php echo $title ?>">
	<meta property="twitter:description" content="<?php echo $about_msg ?>">
	<meta property="twitter:image" content="<?php echo $url ?>/uploads/<?php echo htmlspecialchars($logo); ?>">
	
	
	
<link rel="stylesheet" href="maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800,900&amp;display=swap" rel="stylesheet">
<link href='assets/styles/animate.css' rel='stylesheet' type='text/css'>
<link href='assets/styles/hover.css' rel='stylesheet' type='text/css'>
<link href='assets/styles/custom.css' rel='stylesheet' type='text/css'>
<link href='assets/styles/custom-home.css' rel='stylesheet' type='text/css'>

<script src="ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src='assets/styles/setting2.js' type='text/javascript'></script>
<script src="maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="assets/styles/wow.min.js"></script>
<script src="assets/styles/jquery.min.js"></script>
<script src="kit.fontawesome.com/ae56ab8d7c.js"></script>
<script src="../code.tidio.co_443/9fbip1xgfuaj5dgemixkl8d5pi8a6tev.js" async></script>


 
  <script type="text/javascript">
//// Get the CryptoCurrency Information from the API
jQuery.ajax({
	url: "https://min-api.cryptocompare.com/data/pricemultifull",
	data: "fsyms=BTC,ETH,DASH,LTC,XRP,XMR,BCH,XLM&tsyms=USD",
	dataType : 'json',
}).done(function(data) 
{
    // console.log( "BTC : " + data.RAW.BTC.USD.CHANGEPCTDAY + ", ETH : " + data.RAW.ETH.USD.CHANGEPCTDAY + ", DASH : " + data.RAW.DASH.USD.CHANGEPCTDAY + ", LTC : " + data.RAW.LTC.USD.CHANGEPCTDAY + ", XRP : " + data.RAW.XRP.USD.CHANGEPCTDAY );
    //	console.log( "BTC : " + parseFloat(data.RAW.BTC.USD.CHANGEPCTDAY).toFixed(2) + ", ETH : " + parseFloat(data.RAW.ETH.USD.CHANGEPCTDAY).toFixed(2) + ", DASH : " + parseFloat(data.RAW.DASH.USD.CHANGEPCTDAY).toFixed(2) + ", LTC : " + parseFloat(data.RAW.LTC.USD.CHANGEPCTDAY).toFixed(2) + ", XRP : " + parseFloat(data.RAW.XRP.USD.CHANGEPCTDAY).toFixed(2) );

	jQuery(".dashCoin").html('$' + data.RAW.DASH.USD.PRICE);
	jQuery(".ethCoin").html('$' + data.RAW.ETH.USD.PRICE);
	jQuery(".bitCoin").html('$' + data.RAW.BTC.USD.PRICE);
	jQuery(".liteCoin").html('$' + data.RAW.LTC.USD.PRICE);
	jQuery(".xrpCoin").html('$' + data.RAW.XRP.USD.PRICE);
	jQuery(".xmrCoin").html('$' + data.RAW.XMR.USD.PRICE);
	jQuery(".bchCoin").html('$' + data.RAW.BCH.USD.PRICE);
	jQuery(".xlmCoin").html('$' + data.RAW.XLM.USD.PRICE);

	var dash = parseFloat(data.RAW.DASH.USD.CHANGEPCTDAY).toFixed(2);
	var eth  = parseFloat(data.RAW.ETH.USD.CHANGEPCTDAY).toFixed(2);
	var btc = parseFloat(data.RAW.BTC.USD.CHANGEPCTDAY).toFixed(2);
	var usd  = parseFloat(data.RAW.LTC.USD.CHANGEPCTDAY).toFixed(2);
	var xrp = parseFloat(data.RAW.XRP.USD.CHANGEPCTDAY).toFixed(2);
	var xmr  = parseFloat(data.RAW.XMR.USD.CHANGEPCTDAY).toFixed(2);
	var bch  = parseFloat(data.RAW.BCH.USD.CHANGEPCTDAY).toFixed(2);
	var xlm  = parseFloat(data.RAW.XLM.USD.CHANGEPCTDAY).toFixed(2);

	if( dash >= 0 ) jQuery(".dashCoin_change").addClass("greenup"); else jQuery(".dashCoin_change").addClass("purpledown");
	if( eth >= 0 ) jQuery(".ethCoin_change").addClass("greenup"); else jQuery(".ethCoin_change").addClass("purpledown");
	if( btc >= 0 ) jQuery(".bitCoin_change").addClass("greenup"); else jQuery(".bitCoin_change").addClass("purpledown");
	if( usd >= 0 ) jQuery(".liteCoin_change").addClass("greenup"); else jQuery(".liteCoin_change").addClass("purpledown");
	if( xrp >= 0 ) jQuery(".xrpCoin_change").addClass("greenup"); else jQuery(".xrpCoin_change").addClass("purpledown");
	if( xmr >= 0 ) jQuery(".xmrCoin_change").addClass("greenup"); else jQuery(".xmrCoin_change").addClass("purpledown");
	if( bch >= 0 ) jQuery(".bchCoin_change").addClass("greenup"); else jQuery(".bchCoin_change").addClass("purpledown");
	if( xlm >= 0 ) jQuery(".xlmCoin_change").addClass("greenup"); else jQuery(".xlmCoin_change").addClass("purpledown");

	jQuery(".dashCoin_change").html( dash + "%");
	jQuery(".ethCoin_change").html( eth + "%");
	jQuery(".bitCoin_change").html( btc + "%");
	jQuery(".liteCoin_change").html( usd + "%");
	jQuery(".xrpCoin_change").html( xrp + "%");
	jQuery(".xmrCoin_change").html( xmr + "%");
	jQuery(".bchCoin_change").html( bch + "%");
	jQuery(".xlmCoin_change").html( bch + "%");

    // VOLUME INFORMATION
    jQuery(".dashCoin_volume").html('Volume €' + data.RAW.DASH.USD.VOLUME24HOUR.toFixed(2));
	jQuery(".ethCoin_volume").html('Volume €' + data.RAW.ETH.USD.VOLUME24HOUR.toFixed(2));
	jQuery(".bitCoin_volume").html('Volume €' + data.RAW.BTC.USD.VOLUME24HOUR.toFixed(2));
	jQuery(".liteCoin_volume").html('Volume €' + data.RAW.LTC.USD.VOLUME24HOUR.toFixed(2));
	jQuery(".xrpCoin_volume").html('Volume €' + data.RAW.XRP.USD.VOLUME24HOUR.toFixed(2));
	jQuery(".xmrCoin_volume").html('Volume €' + data.RAW.XMR.USD.VOLUME24HOUR.toFixed(2));
	jQuery(".bchCoin_volume").html('Volume €' + data.RAW.BCH.USD.VOLUME24HOUR.toFixed(2));
	jQuery(".xlmCoin_volume").html('Volume €' + data.RAW.XLM.USD.VOLUME24HOUR.toFixed(2));

});


</script>
<script type="text/javascript">
	var tday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	var tmonth=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	
	function GetClock(){
	var tzOffset = 0;//set this to the number of hours offset from UTC
	
	var d=new Date();
	var dx=d.toGMTString();
	dx=dx.substr(0,dx.length -3);
	d.setTime(Date.parse(dx))
	d.setHours(d.getHours()+tzOffset);
	var nday=d.getDay(),nmonth=d.getMonth(),ndate=d.getDate();
	var nhour=d.getHours(),nmin=d.getMinutes(),ap;
	if(nhour==0){ap=" AM";nhour=12;}
	else if(nhour<12){ap=" AM";}
	else if(nhour==12){ap=" PM";}
	else if(nhour>12){ap=" PM";nhour-=12;}
	
	if(nmin<=9) nmin="0"+nmin;
	
	document.getElementById('clockbox').innerHTML=""+tday[nday]+", "+ndate+" "+nhour+":"+nmin+ap+"";
	}
	
	window.onload=function(){
	GetClock();
	setInterval(GetClock,1000);
	}
	</script>
		  

</head>

<body>
	<!-- LOADING AREA START ===== -->
<div id="preloader"></div>
<!-- LOADING AREA  END ====== -->
	<video autoplay loop  class="back-video" muted plays-inline>
    <source  src="Bitcoinclip3.mp4"  type="video/mp4"> 
  </video>

<section class="main_wrap">
  
  <section class="headeractionwrap">

    <div class="container">
      <div class="row">
        <div class="col-lg-6">
        <div class="headeractionwrapinside">
          <div class="headeraction bitcoin fadeInRight wow">Bitcoin <span class="bitCoin"></span></div>
          <div class="headeraction servertime fadeInRight wow">Server time: <span id="clockbox"></span></div>
          <div class="headeraction email fadeInRight wow">Contact e-mail: <span><?php echo $email2 ?></span></div>
          </div>
        </div>
        <div class="col-lg-2">
          <div class="headersocial fadeInLeft wow">
<style>
                        #yt-widget .yt-listbox__col {
                            display: block !important; /* display: inline-block; */
                            list-style: none;
                            vertical-align: top;
                            /**/
                            max-width: 90% !important;
                        }
                        .yt-listbox {
                            min-width: 200px !important;
                            max-width: 500px !important;
                            max-height: 500px !important;
                            padding: 10px 10px !important;
                            overflow: auto !important;
                        }
                        #yt-widget.yt-state_bottom .yt-listbox {
                            bottom: unset !important;
                        }
                        .yt-listbox li {
                            display: block !important; 
                        }
                        .yt-servicelink {
                            display: none !important;
                        }
                    </style>
                    
                    
<div id="ytWidget"></div>

<script src="https://translate.yandex.net/website-widget/v1/widget.js?widgetId=ytWidget&pageLang=en&widgetTheme=light&autoMode=true" type="text/javascript"></script>


</div>

        <div class="col-lg-4">
          <div class="topheadeerbuttons fadeInLeft wow">
			  				<a href="login.php" class="login">login</a>
			   <a href="register.php" class="signup">signup</a> 
			   			   <!-- <a href="?a=paidout" class="paymentproof">Paidout</a></div> -->
        </div>
      </div>
    </div>
  </section>	
  
  


  <section class="bannerwrap">

    <div class="container">

      <div class="logowrap">
    <div class="row">

        <!-- LOGO -->
        <div class="col-lg-4 col-md-12">

            <div class="logo slideInDown wow">

                <a href="index.php">

                    <?php if(!empty($logo)): ?>

                        <img
                            src="uploads/<?php echo htmlspecialchars($logo); ?>"
                            alt="<?php echo htmlspecialchars($domain_name); ?>"
                            class="site-logo"
                        >

                    <?php else: ?>

                        <img
                            src="img/LOGO.png"
                            alt="<?php echo htmlspecialchars($domain_name); ?>"
                            class="site-logo"
                        >

                    <?php endif; ?>

                </a>

            </div>

        </div>

        <!-- MENU -->
        <div class="col-lg-8 col-md-12">

            <div class="nav_wrap slideInDown wow">

                <button
                    type="button"
                    class="navbar-toggle collapsed"
                    data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1"
                >
                    <span class="sr-only">Toggle navigation</span>
                    Menu
                    <i class="fa fa-bars"></i>
                </button>

                <!-- MOBILE LOGO -->
                <a class="navbar-brand page-scroll hide" href="index.php">

                    <?php if(!empty($logo)): ?>

                        <img
                            src="uploads/<?php echo htmlspecialchars($logo); ?>"
                            alt="<?php echo htmlspecialchars($domain_name); ?>"
                            class="mobile-logo"
                        >

                    <?php else: ?>

                        <img
                            src="img/LOGO.png"
                            alt="<?php echo htmlspecialchars($domain_name); ?>"
                            class="mobile-logo"
                        >

                    <?php endif; ?>

                </a>

                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

                    <ul class="nav navbar-nav">

                        <li class="hvr-bob">
                            <a href="index.php">
                                <span style="color:#fff;">Home</span>
                            </a>
                        </li>

                        <li class="hvr-bob">
                            <a href="about.php">
                                <span style="color:#fff;">About Company</span>
                            </a>
                        </li>

                        <li class="hvr-bob">
                            <a href="investment.php">
                                <span style="color:#fff;">Investment</span>
                            </a>
                        </li>

                        <li class="hvr-bob">
                            <a href="affiliates.php">
                                <span style="color:#fff;">Affiliate Program</span>
                            </a>
                        </li>

                        <li class="hvr-bob">
                            <a href="faq.php">
                                <span style="color:#fff;">FAQ</span>
                            </a>
                        </li>

                        <li class="hvr-bob">
                            <a href="contact.php">
                                <span style="color:#fff;">Contact Us</span>
                            </a>
                        </li>

                    </ul>

                </div>

            </div>

        </div>

    </div>
</div>

<style>

/* DESKTOP LOGO */
.site-logo{
    max-height:70px;
    width:auto;
    max-width:100%;
    object-fit:contain;
    transition:.3s;
}

.site-logo:hover{
    transform:scale(1.05);
}

/* MOBILE LOGO */
.mobile-logo{
    max-height:50px;
    width:auto;
    object-fit:contain;
}

/* TABLET */
@media(max-width:991px){

    .logo{
        text-align:center;
        margin-bottom:15px;
    }

    .site-logo{
        max-height:60px;
    }

}

/* MOBILE */
@media(max-width:768px){

    .site-logo{
        max-height:50px;
    }

    .mobile-logo{
        max-height:40px;
    }

}

</style>