<?php include("../Header/Session.php"); ?>
<?php include("../Header/Connection.php"); ?>

<!DOCTYPE html>
<html lang="en">
<?php include ("../Header/head.php"); ?>
<body class="skin-default fixed-layout">
<!-- Main wrapper - style you can find in pages.scss -->
<div id="main-wrapper">    
<?php include ("../Header/header.php"); ?>
<?php include ("../Header/left_menu.php"); ?>
<?php include ("../Header/right_sidebar.php"); ?>
        
<!-- Page wrapper  -->
<div class="page-wrapper">
<!-- Container fluid  -->
<div class="container-fluid">

<!-- Bread crumb and right sidebar toggle -->
<!--?php include ("../Header/breadcumb.php"); ?-->
<br><br>
<!-- End Bread crumb and right sidebar toggle -->   
<!-- Start Page Content -->
<!-- ============================================================== -->

<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
    <form method="post" action="../Controller/Database_sql.php" enctype="multipart/form-data">
        <div class="form-body">
            <font size="4">Create New User Account</font><br>
            <font size="2">Enter details to create new account.</font>
            <hr>

            <div class="row p-t-20">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label">Sponsor ID</label>
                        <input type="text" class="form-control" name="sponsor_code" value="<?php echo $ref_code;?>">
                    </div>
                </div>
                
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label">IC Number</label>
                        <input type="text" class="form-control" name="no_ic" required >
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label">Full Name</label>
                        <input type="text" class="form-control" name="name" required >
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label">Phone Number</label>
                        <input type="number" class="form-control" name="phone_number"  required>
                    </div>
                </div>

                 <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label">Email address</label>
                        <input type="email" class="form-control" name="email" >
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label">Username</label>
                        <input type="text" class="form-control" name="nick_name" required >
                    </div>
                </div>
                                           
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label">Password</label>
                        <input type="password" class="form-control" name="password"  required>
                    </div>
                </div>    
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label">Retype Password</label>
                        <input type="password" class="form-control" name="password_retype"  required>
                    </div>
                </div>          
                
            </div>
        </div>

        <div class="form-actions">
            <input type="hidden" class="form-control" name="from_web" value="System">
            <button name="web_registration" class="btn btn-primary"><i class="fa fa-check"></i> Proceed</button>
        </div>
    </form>
</div>
</div>
</div>
</div>
               				
<!-- ============================================================== -->
<!-- End PAge Content -->

</div>
<!-- End Container fluid  -->
</div>
<!-- End Page wrapper  -->

<!-- Footer Start-->
<?php include ("../Footer/footer.php"); ?>
<!-- Footer End-->

</div>
<!-- End Wrapper -->
<!-- All Jquery -->
    

<!-- All Jquery Start-->
<?php include ("../Header/all_jquery.php"); ?>
<!-- All Jquery End-->

</body>

</html>