<?php
session_start();
$username="";
if(isset($_SESSION['SESS_LOGGEDIN']) == TRUE) {
    header("Location: " . $config_basedir);
}
require ("config.php");
require ("db.php");
?>
<?php
$error ="";
if(isset($_POST['submit'])){

    echo $username;
        // Captcha verification is Correct. Final Code Execute here!		
        $username = mysql_real_escape_string($_POST['userBox']);

        
        $password = mysql_real_escape_string($_POST['passBox']);
        $loginsql = "SELECT * FROM logins WHERE username = '$username' AND password = '$password'";
        $loginres = mysql_query($loginsql);
        $numrows = mysql_num_rows($loginres);
        if($numrows == 1)
        {
            $loginrow = mysql_fetch_assoc($loginres);

            $_SESSION['SESS_LOGGEDIN'] = 1;
            $_SESSION['SESS_USERNAME'] = $loginrow['username'];
			 $_SESSION['firstname'] = $firstname;
             $_SESSION['lastname'] = $lastname;
			 $_SESSION['walletid'] = $walletid;
             $_SESSION['member_no'] = $member_no;
			  $_SESSION['profit'] = $member_no;
			  $_SESSION['interest_rate'] = $profit;
			  $_SESSION['max_period'] = $max_period;
			   $_SESSION['max_invest'] = $max_invest;
			  $_SESSION['invest_period'] = $invest_period;
			  $_SESSION['invest_amt'] = $invest_amt;
			  $_SESSION['investors_no'] = $investors_no;
			   $_SESSION['cashout_no'] = $cashout_no;
			    $_SESSION['active_no'] = $active_no;
            $_SESSION['SESS_USERID'] = $loginrow['id'];
            header("Location: " . $config_basedir ."trade.php");

        }
        else
        {
            $error= "Incorrect username/password!";

        }		
    }

else
{
}
?>

<!DOCTYPE html>
<html>


<head>
<meta charset="utf-8">
<title>Elite Crypto Services | Login your account</title>
<!-- Stylesheets -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">

<!--Color Switcher Mockup-->
<link href="css/color-switcher-design.css" rel="stylesheet">

<!--Color Themes-->
<link id="theme-color-file" href="css/color-themes/default-theme.css" rel="stylesheet">

<!--Favicon-->
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
<link rel="icon" href="images/favicon.png" type="image/x-icon">

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script><![endif]-->
<!--[if lt IE 9]><script src="js/respond.js"></script><![endif]-->



<!-- Bootstrap core CSS External-->
        <link href="css2/bootstrap.css" rel='stylesheet' type='text/css'>
        <link href="css2/styles.css" rel='stylesheet' type='text/css'>
        <link href="css2/grid.css" rel='stylesheet' type='text/css'>
        <!-- Custom styles for this template External-->
        <link href="js2/colorbox/colorbox.css"  rel='stylesheet' type='text/css'>
        <link href="css2/templatemo_style.css"  rel='stylesheet' type='text/css'>
</head>

<body>
<div class="page-wrapper">
 	
    <!-- Preloader -->
    <div class="preloader"></div>
 	
    <!-- Main Header-->
    <header class="main-header">
    
    	<!--Header Top-->
    	<div class="header-top">
        	<div class="auto-container">
            	<div class="top-inner">
                	<div class="clearfix">
                        <div class="top-left">
                             <ul class="clearfix">
                                <li><span><?php $mydate=getdate(date("U"));
                               echo "$mydate[weekday], $mydate[month] $mydate[mday], $mydate[year]";
                                ?></span></li>
                               
                                <li class="email" style="margin-left: 77px"><a href="#" ><span class="icon fa fa-envelope-o"></span>support@elitecryptoservices.com</a></li>
                            </ul>
                        </div>
                        <div class="top-right clearfix">
                            <ul class="clearfix">
                                <li><a href="login.php"><span class="icon flaticon-web-log-in"></span>Login</a></li>
                                <li><a href="reg.php"><span class="icon flaticon-file-1"></span>Register</a></li>
                                <li class="language dropdown"><a class="btn btn-default dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" href="#"><span class="flag-icon"><img src="images/icons/flag-icon.png" alt="" /></span>En &nbsp;<span class="arrow-icon fa fa-angle-down"></span></a>
                                    <ul class="dropdown-menu style-one" aria-labelledby="dropdownMenu1">
                                        <li><a href="#">Arabic</a></li>
                                        <li><a href="#">China</a></li>
                                        <li><a href="#">German</a></li>
                                        <li><a href="#">French</a></li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    
        <!--Header-Upper-->
        <div class="header-upper">
        	<div class="auto-container clearfix">
                	
                <div class="pull-left logo-outer">
                    <div class="logo"><a href="index.php"><img src="images/logo.png" alt="" title=""></a></div>
                </div>
                
                <div class="pull-right upper-right clearfix">
                    
                    <div class="nav-outer clearfix">
                		<!-- Main Menu -->
                        <nav class="main-menu">
                                                        <div class="navbar-header">
                                <!-- Toggle Button -->    	
                                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                </button>
                            </div>
                            
                            <div class="navbar-collapse collapse clearfix">
                                <ul class="navigation clearfix">
                                    <li class="current"><a href="index.php">Home</a></li>
                                    <li class="dropdown"><a href="#">About us</a></li>
                                        
                                    
                                    <li class="dropdown"><a href="#">Services</a>
                                        <ul>
                                        	<li><a href="services.html">services</a></li>
                                            <li><a href="#">Initial Coin Offering</a></li>
                                            <li><a href="#">Bitcoion Investment</a></li>
                                            <li><a href="#">Research & Development</a></li>
                                            <li><a href="#">Worshops & Seminars</a></li>
                                            <li><a href="#">Payment Integration</a></li>
                                            <li><a href="#">Bitcoin ATM’s & Kiosks</a></li>
                                        </ul>
                                    </li>
                                    <li><a href="how-it-works.php">How it Works</a></li>
									<li><a href="#">VIP Withdrawal</a></li>
                                   
                                   
                                    <li><a href="contact.html">Contact Us</a></li>
                                </ul>
                            </div>
                        </nav>
                        
                        <!-- Main Menu End-->
                        <div class="outer-box">
                            <!--Search Box-->
                            <div class="search-box-outer">
                                <div class="dropdown">
                                    <button class="search-box-btn dropdown-toggle" type="button" id="dropdownMenu3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="fa fa-search"></span></button>
                                    <ul class="dropdown-menu pull-right search-panel" aria-labelledby="dropdownMenu3">
                                        <li class="panel-outer">
                                            <div class="form-container">
                                                <form method="post" action="http://t.commonsupport.com/mastercoin/blog.html">
                                                    <div class="form-group">
                                                        <input type="search" name="field-name" value="" placeholder="Search Here" required>
                                                        <button type="submit" class="search-btn"><span class="fa fa-search"></span></button>
                                                    </div>
                                                </form>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="reservation-form-btn consult-form-btn"><span class="icon flaticon-menu-options"></span></div>
                        </div>
            		</div>
                    
                </div>
                    
            </div>
        </div>
        <!--End Header Upper-->
        
        <!--Sticky Header-->
        <div class="sticky-header">
        	<div class="auto-container clearfix">
            	<!--Logo-->
            	<div class="logo pull-left">
                	<a href="index.html" class="img-responsive"><img src="images/logo-small.png" alt="" title=""></a>
                </div>
                
                <!--Right Col-->
                <div class="right-col pull-right">
                	<!-- Main Menu -->
                    <nav class="main-menu">
                         <div class="navbar-header">
                            <!-- Toggle Button -->    	
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                        </div>
                        
                        <div class="navbar-collapse collapse clearfix">
                            <ul class="navigation clearfix">
                                <li class="current"><a href="index.php">Home</a></li>
                                <li class="dropdown"><a href="#">About us</a></li>
                                    
                                
                                <li class="dropdown"><a href="#">Services</a>
                                    <ul>
                                        <li><a href="#">services</a></li>
                                        <li><a href="#">Initial Coin Offering</a></li>
                                        <li><a href="#">Bitcoion Investment</a></li>
                                        <li><a href="#">Research & Development</a></li>
                                        <li><a href="#">Worshops & Seminars</a></li>
                                        <li><a href="#">Payment Integration</a></li>
                                        <li><a href="#">Bitcoin ATM’s & Kiosks</a></li>
                                    </ul>
                                </li>
                                <li><a href="how-it-works.php">How it Works</a></li>
									<li><a href="#">VIP Withdrawal</a></li>
                                   
                                <li><a href="contact.html">Contact Us</a></li>
                            </ul>
                        </div>
                    </nav><!-- Main Menu End-->
                </div>
                
            </div>
        </div>
        <!--End Sticky Header-->
    
    </header>
    <!--End Main Header -->
	
	<!--Form Back Drop-->
    <div class="form-back-drop"></div>
    <!--Consulting Form-->
    <section class="consulting-form">
    	<div class="inner-box">
            <div class="cross-icon"><span class="flaticon-cancel-1"></span></div>
            <div class="logo">
                <a href="#"><img src="images/logo-3.png" alt="" /></a>
            </div>
            <div class="title">
                <h2>Free Consultation</h2>
                <div class="separator"></div>
            </div>
            
            <!--Consult Form-->
            <div class="consult-form">
                <form method="post" action="http://t.commonsupport.com/mastercoin/contact.html">

                    <div class="form-group">
                        <input type="text" name="text" value="" placeholder="Your Name" required>
                    </div>
                    <div class="form-group">
                        <input type="email" name="email" value="" placeholder="Email Address" required>
                    </div>
                    <div class="form-group">
                        <textarea placeholder="Your Message"></textarea>
                    </div>
                    <div class="form-group">
                        <button type="submit" class="theme-btn btn-style-one">Submit</button>
                    </div>
                    
                </form>
            </div>
            
            <!--Btns Box-->
            <div class="btns-box">
                <a href="login.php" class="signin-btn theme-btn"><span class="icon flaticon-web-log-in"></span>Login</a>
                <span class="or">or</span>
                <a href="reg.php" class="signup-btn theme-btn"><span class="icon flaticon-edit"></span>Register</a>
            </div>
            
        </div>
    </section>
    <!--End Consulting Form-->
    
    <!--Page Title-->
   
    <!--End Page Title-->
	
	
    <div class="container">
	
	<div class="row">
        <div class="col-md-12">
		
		
		
		 <div class="category" align="center">
                <div class="ncat" ><h2 style="">Account Successfully Verified!!</h2></div>
                <span style="">Please login to your account <a href="login.php">Login</a><br/><br/><br/>
               

                   
                   
        <br>
        </div>
		
		
		
		
	   </div>
	</div>
	
	
	</div><!--end of container-->
   
   
   
   
   
   
   
   
    
    <!--Main Footer-->
    <footer class="main-footer" style="background-image:url(images/background/2.jpg)">
		<div class="auto-container">
        	<!--Widgets Section-->
            <div class="widgets-section">
            	<div class="row clearfix">
                	
                    <!--big column-->
                    <div class="big-column col-md-6 col-sm-12 col-xs-12">
                        <div class="row clearfix">
                        
                            <!--Footer Column-->
                            <div class="footer-column col-md-6 col-sm-6 col-xs-12">
                                <div class="footer-widget link-widget">
                                    <div class="footer-title">
                                        <h2>Usefull Links</h2>
                                        <div class="separator"></div>
                                	</div>
                                    <ul class="list-links">
                                    	<li><a href="#">Coin Overview</a></li>
                                        <li><a href="#">How to Buy Coin</a></li>
                                        <li><a href="#">Payment Options</a></li>
                                        <li><a href="#">Legal & security</a></li>
                                        <li><a href="#">Refund Policy</a></li>
                                        <li><a href="#">Contact Center</a></li>
                                    </ul>
                                </div>
                            </div>
                            
                            <!--Footer Column-->
                            <div class="footer-column col-md-6 col-sm-6 col-xs-12">
                                <div class="footer-widget link-widget">
                                    <div class="footer-title">
                                        <h2>Our Services</h2>
                                        <div class="separator"></div>
                                	</div>
                                    <ul class="list-links">
                                    	<li><a href="#">Transaction</a></li>
                                        <li><a href="#">Exchange</a></li>
                                        <li><a href="#">Investments</a></li>
                                        <li><a href="#">Shopping</a></li>
                                        <li><a href="#">Escrow Service</a></li>
                                        <li><a href="#">Bitcoin Mining</a></li>
                                    </ul>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                    
                    <!--big column-->
                    <div class="big-column col-md-6 col-sm-12 col-xs-12">
                        <div class="row clearfix">
                        
                            <!--Footer Column-->
                            <div class="footer-column col-md-6 col-sm-6 col-xs-12">
                                <div class="footer-widget info-widget">
                                	<div class="footer-title">
                                        <h2>Get In Touch</h2>
                                        <div class="separator"></div>
                                	</div>
									<ul class="info-list">
                                    	<li><span>Email:</span>support@elitecryptoservices.com</li>
                                        <li><span>Phone:</span>Tollfree: +1 904-4474-856</li>
                                        <li><span>Address:</span>8147, Willis Rd, Gloucester, <br> United States.</li>
                                    </ul>
                                </div>
                            </div>
                            
                            <!--Footer Column-->
                            <div class="footer-column col-md-6 col-sm-6 col-xs-12">
                                <div class="footer-widget info-widget">
                                	<div class="footer-title">
                                        <h2>We Are Social</h2>
                                        <div class="separator"></div>
                                	</div>
                                    <ul class="social-links">
                                    	<li><a href="#"><span class="fa fa-facebook"></span> Facebook</a></li>
                                        <li><a href="#"><span class="fa fa-twitter"></span> Twitter</a></li>
                                        <li><a href="#"><span class="fa fa-linkedin"></span> Linkedin</a></li>
                                        <li><a href="#"><span class="fa fa-pinterest-p"></span> Pinterest</a></li>
                                        <li><a href="#"><span class="fa fa-rss"></span> RSS Feed</a></li>
                                    </ul>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                    
                </div>
    		</div>
            
            <!--Footer Nav Links-->
            <div class="footer-nav-links">
            	<ul class="footer-nav">
                	<li><a href="index.php">Home</a></li>
                    <li><a href="#">About Us</a></li>
                    <li><a href="#">Services</a></li>
                    <li><a href="#">How it Works</a></li>
                  
                    <li><a href="contact.html">Contact</a></li>
                </ul>
            </div>
            
        </div>
        <!--Footer Bottom-->
        <div class="footer-bottom">
        	<div class="auto-container">
            	<div class="row clearfix">
                    <div class="col-md-6 col-sm-12 col-xs-12">
                        <div class="copyright">Copyrights &copy; 2020. All Rights Reserved by <a href="index.php">Elite Crypto Services.</a></div>
                    </div>
                    <div class="cards-column col-md-6 col-sm-12 col-xs-12">
                    	<div class="cards">
                        	<img src="images/resource/cards.png" alt="" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </footer>
    <!--End Main Footer-->
    
</div>
<!--End pagewrapper-->

<!--Scroll to top-->
<div class="scroll-to-top scroll-to-target" data-target="html"><span class="icon fa fa-angle-double-up"></span></div>

<!-- Color Palate / Color Switcher -->

<!-- /.End Of Color Palate -->

<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.fancybox.js"></script>
<script src="js/owl.js"></script>
<script src="js/appear.js"></script>
<script src="js/wow.js"></script>
<script src="js/validate.js"></script>
<script src="js/script.js"></script>
<!--Google Map APi Key-->
<script src="http://maps.google.com/maps/api/js?key=AIzaSyBKS14AnP3HCIVlUpPKtGp7CbYuMtcXE2o"></script>
<script src="js/gmaps.js"></script>
<script src="js/map-script.js"></script>
<!--End Google Map APi-->

<!--Color Switcher-->
<script src="js/color-settings.js"></script>

<script type='text/javascript' data-cfasync='false'>window.purechatApi = { l: [], t: [], on: function () { this.l.push(arguments); } }; (function () { var done = false; var script = document.createElement('script'); script.async = true; script.type = 'text/javascript'; script.src = 'https://app.purechat.com/VisitorWidget/WidgetScript'; document.getElementsByTagName('HEAD').item(0).appendChild(script); script.onreadystatechange = script.onload = function (e) { if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { var w = new PCWidget({c: '8c294eb0-d636-48de-9190-da6b1b2bd51e', f: true }); done = true; } }; })();</script>
</body>


</html>