<?php
session_start();
require('conn/dbconnect.php');

 
if (isset($_POST['lname'])) { 
    $_SESSION['lname'] = $_POST['lname'];
}

 if (isset($_POST['fname'])) { 
    $_SESSION['fname'] = $_POST['fname'];
}
if (isset($_POST['uname'])) { 
    $_SESSION['uname'] = $_POST['uname'];
}
 if (isset($_POST['email'])) { 
    $_SESSION['email'] = $_POST['email'];
}

if (isset($_POST['phone'])) { 
    $_SESSION['phone'] = $_POST['phone'];
}

if (isset($_POST['sex'])) { 
    $_SESSION['sex'] = $_POST['sex'];
}

 

?>

<!DOCTYPE html>
<html lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
	  <link rel="canonical" href=""><title>Get Started | <?php echo $site_title; ?> | Online account</title>
  <!-- plugins:css -->
  <link rel="stylesheet" href="vendors/feather/feather.css">
  <link rel="stylesheet" href="vendors/ti-icons/css/themify-icons.css">
  <link rel="stylesheet" href="vendors/css/vendor.bundle.base.css">
  <!-- endinject -->
  <!-- Plugin css for this page -->
  <!-- End plugin css for this page -->
  <!-- inject:css -->
  <link rel="stylesheet" href="css/vertical-layout-light/style.css">
  <!-- endinject -->
  <link rel="shortcut icon" href="images/favicon.png" />
 
</head>
<style>.auth .brand-logo img {
  width: 257px;
}small, .small {
  font-size: 85%;
  font-weight: 500;
}</style>
<body  >
  <div class="container-scroller">
    <div class="container-fluid page-body-wrapper full-page-wrapper">
      <div class="content-wrapper d-flex align-items-center auth px-0" style="background-image:url(images/bg2.jpg);">
        <div class="row w-100 mx-0">
          <div class="col-lg-4 mx-auto" style="background-color:white; width: 100%;">
            <div class="auth-form-light text-left py-5 px-4 px-sm-5" style="background-color:white; width: 100%;">
              <div class="brand-logo">
                <img src="../images/logo2.png" alt="logo">
              </div>
              <h4 style="color:darkgreen;">New here? &nbsp;&nbsp;&nbsp;  All fields are compulsory</h4>
              <h6 class="font-weight-light">Enrollment is easy. It only takes a few steps</h6>
           
                  
                  <form  action="user_enroll_2.php" method="POST" class="pt-3" enctype="multipart/form-data">
                      
                <div class="form-group">
                  <input type="text" class="form-control form-control-lg" id="exampleInputUsername1" placeholder="Enter First Name" name="fname"  value="<?php echo $_SESSION['fname']; ?>" required >
                </div>
               
                <div class="form-group">
                  <input type="text" class="form-control form-control-lg" id="exampleInputUsername1" placeholder="Enter Last Name" name="lname"  value="<?php echo $_SESSION['lname']; ?>" required >
                </div>
               
                <div class="form-group">
                  <input type="email" class="form-control form-control-lg" id="exampleInputUsername1" placeholder="Email Address" name="email"  value="<?php echo $_SESSION['email']; ?>" required >
                </div>
               
               
               
                <div class="form-group">
                    <small style="color:red;">(choose strong character combination)</small>
                  <input type="text" class="form-control form-control-lg" id="exampleInputUsername1" placeholder="Enter UserName" name="uname"  value="<?php echo $_SESSION['uname']; ?>" required >
                </div>
               
               
                <div class="form-group">
                  <select class="form-control form-control-lg" id="exampleFormControlSelect2" name="sex" required="" value="<?php echo $_SESSION['sex']; ?>">
                                                <option value="">Select Gender</option>
                                                <option value="Male">Male</option>
                                                <option value="Female">Female</option>
                                                <option value="Others">Others</option>
                                             </select>
                </div>
              
              
                 <div class="form-group"> 
                  <input type="text" class="form-control form-control-lg" id="exampleInputUsername1" placeholder="Mobile Number (e.g +1827383839)" name="phone"  value="<?php echo $_SESSION['phone']; ?>" required >
                </div>
               
               
               <div class="mt-3">
                  <input type="submit" name=""  class="btn btn-block btn-primary btn-lg font-weight-medium auth-form-btn" Value="Next"/>
                </div>
                <div class="text-center mt-4 font-weight-light">
                  Already have an account? <a href="../login.php" class="text-primary">Login</a>
                  
                  <br>
                  <!-- GTranslate: https://gtranslate.io/ -->


<style type="text/css">
<!--
a.gflag {vertical-align:middle;font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url(//gtranslate.net/flags/16.png);}
a.gflag img {border:0;}
a.gflag:hover {background-image:url(//gtranslate.net/flags/16a.png);}
#goog-gt-tt {display:none !important;}
.goog-te-banner-frame {display:none !important;}
.goog-te-menu-value:hover {text-decoration:none !important;}
body {top:0 !important;}
#google_translate_element2 {display:none!important;}
-->
</style>

<br /><select onchange="doGTranslate(this);"><option value="">Select Language</option><option value="en|af">Afrikaans</option><option value="en|sq">Albanian</option><option value="en|ar">Arabic</option><option value="en|hy">Armenian</option><option value="en|az">Azerbaijani</option><option value="en|eu">Basque</option><option value="en|be">Belarusian</option><option value="en|bg">Bulgarian</option><option value="en|ca">Catalan</option><option value="en|zh-CN">Chinese (Simplified)</option><option value="en|zh-TW">Chinese (Traditional)</option><option value="en|hr">Croatian</option><option value="en|cs">Czech</option><option value="en|da">Danish</option><option value="en|nl">Dutch</option><option value="en|en">English</option><option value="en|et">Estonian</option><option value="en|tl">Filipino</option><option value="en|fi">Finnish</option><option value="en|fr">French</option><option value="en|gl">Galician</option><option value="en|ka">Georgian</option><option value="en|de">German</option><option value="en|el">Greek</option><option value="en|ht">Haitian Creole</option><option value="en|iw">Hebrew</option><option value="en|hi">Hindi</option><option value="en|hu">Hungarian</option><option value="en|is">Icelandic</option><option value="en|id">Indonesian</option><option value="en|ga">Irish</option><option value="en|it">Italian</option><option value="en|ja">Japanese</option><option value="en|ko">Korean</option><option value="en|lv">Latvian</option><option value="en|lt">Lithuanian</option><option value="en|mk">Macedonian</option><option value="en|ms">Malay</option><option value="en|mt">Maltese</option><option value="en|no">Norwegian</option><option value="en|fa">Persian</option><option value="en|pl">Polish</option><option value="en|pt">Portuguese</option><option value="en|ro">Romanian</option><option value="en|ru">Russian</option><option value="en|sr">Serbian</option><option value="en|sk">Slovak</option><option value="en|sl">Slovenian</option><option value="en|es">Spanish</option><option value="en|sw">Swahili</option><option value="en|sv">Swedish</option><option value="en|th">Thai</option><option value="en|tr">Turkish</option><option value="en|uk">Ukrainian</option><option value="en|ur">Urdu</option><option value="en|vi">Vietnamese</option><option value="en|cy">Welsh</option><option value="en|yi">Yiddish</option></select><div id="google_translate_element2"></div>
<script type="text/javascript">
function googleTranslateElementInit2() {new google.translate.TranslateElement({pageLanguage: 'en',autoDisplay: false}, 'google_translate_element2');}
</script><script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2"></script>


<script type="text/javascript">
/* <![CDATA[ */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 7(a,b){n{4(2.9){3 c=2.9("o");c.p(b,f,f);a.q(c)}g{3 c=2.r();a.s(\'t\'+b,c)}}u(e){}}6 h(a){4(a.8)a=a.8;4(a==\'\')v;3 b=a.w(\'|\')[1];3 c;3 d=2.x(\'y\');z(3 i=0;i<d.5;i++)4(d[i].A==\'B-C-D\')c=d[i];4(2.j(\'k\')==E||2.j(\'k\').l.5==0||c.5==0||c.l.5==0){F(6(){h(a)},G)}g{c.8=b;7(c,\'m\');7(c,\'m\')}}',43,43,'||document|var|if|length|function|GTranslateFireEvent|value|createEvent||||||true|else|doGTranslate||getElementById|google_translate_element2|innerHTML|change|try|HTMLEvents|initEvent|dispatchEvent|createEventObject|fireEvent|on|catch|return|split|getElementsByTagName|select|for|className|goog|te|combo|null|setTimeout|500'.split('|'),0,{}))
/* ]]> */
</script>

                </div>
           
                </div>
                
              </form>
            </div>
            
           
          </div>
        </div>
      </div>
      <!-- content-wrapper ends -->
    </div>
    <!-- page-body-wrapper ends -->
  </div>
  <!-- container-scroller -->
  <!-- plugins:js -->
  <script src="vendors/js/vendor.bundle.base.js"></script>
  <!-- endinject -->
  <!-- Plugin js for this page -->
  <!-- End plugin js for this page -->
  <!-- inject:js -->
  <script src="js/off-canvas.js"></script>
  <script src="js/hoverable-collapse.js"></script>
  <script src="js/template.js"></script>
  <script src="js/settings.js"></script>
  <script src="js/todolist.js"></script>
  <!-- endinject -->
</body>

</html>
