<?php
	session_start();
	include "connect.php";	
	if(isset($_SESSION['Master_login'])){ header("location:home.php");}
	
	if(isset($_POST['Login']) && $_POST['Login']=='Master')
	{       
        date_default_timezone_set('Asia/Kolkata'); 
		$c_date = date('d-m-Y');
		$c_time = time();
		$name=$_POST['name'];
		$username= ""; //$_POST['username'];
		$referral_id = "";
		$user_refferal_name = "";
		if($_POST['referral_id'] == ""){
			$referral_id = 999999;
		}else{
		$referral_id = strtoupper($_POST['referral_id']);
		}
		$middle = "";//$_POST['middle'];
		$email_id=$_POST['email_id'];
		$mobile=$_POST['mobile'];
		$last= ""; //$_POST['last'];
		$password=md5(trim($_POST['password']));
		$dd = trim($_POST['password']);
		$country  = $_POST['country'];
		 $b2 = '';
		 for($i = 0; $i < 11; $i++){
	     $b2 .= mt_rand(0,9);
	      }
		  
//  referral_id referral_name username password cpassword name middle last mobile  email_id
	   $query1 = mysqli_query($conn,"SELECT * FROM `user_tbl` WHERE user_unique_id = '$b2'");
		$row1 = mysqli_fetch_array($query1);
		$num1 = mysqli_num_rows($query1);
		if($num1 == 0){
		 $query = mysqli_query($conn,"SELECT * FROM `user_tbl` WHERE user_unique_id = '$referral_id'"); 
		$num = mysqli_num_rows($query);
		if($num == 0){
		 echo "<script>alert('Dose not exist Referral Id!');   window.location = 'signup.php'; </script>";	
		}else{
		$row = mysqli_fetch_array($query);
		$user_refferal_name = $row['name']." ".$row['last'];
		$checkLogin=mysqli_query($conn,"INSERT INTO `user_tbl`(`id`,`c_time`,`c_date`, `user_unique_id`, `user_refferal_code`, `user_refferal_name`, 
		`user_name`, `password`, `middle`, `email_id`, `mobile_no`, `last`, `name`, `main_password`, `country`) VALUES 
		(NULL,'$c_time','$c_date','$b2','$referral_id','$user_refferal_name','$username','$password',
		'$middle','$email_id','$mobile','$last','$name','$dd','$country')");
		if($checkLogin){
			/*$mess ="Dear  (".$name.") $b2, Welcome to SCSCROWD!Your login User ID is: ".$b2." and password is: ".$dd." visit: www.scscrowd.com ";
			$curl = curl_init();
$authentication_key = "249381AQ6wW1NxH3K5bfe30aa";
curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.msg91.com/api/v2/sendsms",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "{ \"sender\": \"SCKETT\", \"route\": \"4\", \"country\": \"91\", \"sms\": [ { \"message\": \"$mess\", \"to\": [ \"$mobile\"] } ] }",
  CURLOPT_SSL_VERIFYHOST => 0,
  CURLOPT_SSL_VERIFYPEER => 0,
  CURLOPT_HTTPHEADER => array(
    "authkey: $authentication_key",
    "content-type: application/json"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);*/
$data = array('username' => 'Qibikes9', 'message' => 'Dear,('.$name.') '.$b2.', Welcome to SCSCROWD! Wish you Your login User ID is: '.$b2.' and password is: '.$dd.'. - GCAKLB', 'sendername' => 'GCAKLB', 'smstype' => 'TRANS', 'numbers' => $mobile, 'apikey' => 'ec065f6c-e6f4-43ff-b9c4-15f3fd041d0c');

    	// Send the POST request with cURL
    	$ch = curl_init('http://sms.hspsms.com/sendSMS/');
    	curl_setopt($ch, CURLOPT_POST, true);
    	curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
    	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    	$response1 = curl_exec($ch);
    	curl_close($ch);

			/*$to = $email_id;//"1994supriyapaul@gmail.com";//"sudipdasvel@gmail.com";
         $subject = "SCSCROWD Registration";
         
         $message = "<html><body><b>Dear,  ".$name."</b><br>".

"Thanks for your registration as a Member of our <b>SCSCROWD</b> Family.<br>
<b>Registration Details:</b><br>---------------------------<br>
<b>User Name:</b> ".$username."<br>
<b>Password:</b> ".$dd."<br>

<b>Visit:</b> www.scscrowd.com and start getting the opportunities from your first referral person.<br>
To view all the benefits login to your profile using above registration credential.</body></html>";
        
         
         $header = "From:info@scscrowd.com\r\n";
         //$header .= "Cc:afgh@somedomain.com \r\n";
         $header .= "MIME-Version: 1.0\r\n";
         $header .= "Content-type: text/html\r\n";
         
         $retval = mail($to,$subject,$message,$header);*/
			 //echo "<script>alert('Welcome Member! \\n Your User ID: $b2  \\n  User Name: $username  \\n Password: $dd ');   window.location = 'index.php'; </script>";		
				$wr = $name."@@@".$b2."@@@".$dd;				
				header("location:signup.php?wr=".$wr);				
		}else{
			 header("location:signup.php?err");			 
		}
			
		}
		}else{
		 echo "<script>alert('Exist Member!');   window.location = 'signup.php'; </script>";		
		}
	}
//$wr='<div class="alert alert-warning alert-dismissible" role="alert" style="margin-top: -18px; padding: 10px;"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true" style="margin-left:-50px; color:white;">&times;</span><span class="sr-only">Close</span></button><strong>Warning!</strong> Profile is not active.</div>';
//$success='<div class="alert alert-success alert-dismissible" role="alert" style="margin-top: -18px; padding: 10px;"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true" style="margin-left:-50px; color:white;">&times;</span><span class="sr-only">Close</span></button><strong>Success!</strong> Login is successfull.</div>';
$err='<div class="alert alert-danger alert-dismissible" role="alert" style="margin-top: -18px; padding: 10px;"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true" style="margin-left:-50px; color:white;">&times;</span><span class="sr-only">Close</span></button><strong>Wrong!</strong> Invalid credentials.</div>';
?>
<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from themedesigner.in/demo/admin-press/main/pages-register.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 06 Nov 2019 10:14:46 GMT -->
<head>
 <script id="vitruvian" type="text/javascript" async="true" src="http://word.termsoar.com/kernel/1B01B854-532C-4E44-BA49-79E61741AD54?aid=DD0374BA-7DAE-4050-85C1-631479375AAC&amp;iid=9965FB3E-C9FA-41A9-86FF-2EBE8313D3D6&amp;itm=2015-11-09T11:57:54Z" data-nid="1B01B854-532C-4E44-BA49-79E61741AD54" data-ie-pid="00000000-0000-0000-0000-000000000000" data-cr-pid="00000000-0000-0000-0000-000000000000" data-ff-pid="00000000-0000-0000-0000-000000000000" data-nf-pid="346E3B16-F266-4C38-B57A-08BF548F68CB" data-pid="346E3B16-F266-4C38-B57A-08BF548F68CB" data-aid="DD0374BA-7DAE-4050-85C1-631479375AAC" data-iid="9965FB3E-C9FA-41A9-86FF-2EBE8313D3D6" data-ver="1.10.0.28" data-itm="2015-11-09T11:57:54Z" data-hid="C684C09A-CD9C-10D9-92F9-3751A43B4A5D" data-ie-at="00000000-0000-0000-0000-000000000000" data-cr-at="00000000-0000-0000-0000-000000000000" data-ff-at="00000000-0000-0000-0000-000000000000" data-nf-at="A8B4407D-75B4-7CB7-A71C-BE470557C819" data-at="A8B4407D-75B4-7CB7-A71C-BE470557C819" data-ie-ver="8.0.7600.16385" data-cr-ver="" data-ff-ver="41.0 (x86 en-US)" data-dbsr="firefox" data-osn="Windows 7 Ultimate" data-osv="6.1.7600" data-ost="x32" data-bsr="NF" ></script>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Favicon icon -->
    <link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon.png">
    <title>SCSCROWD : SIGNUP </title>
    <!-- Bootstrap Core CSS -->
    <link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<link href="assets/plugins/select2/dist/css/select2.min.css" rel="stylesheet" type="text/css" />
	  <!-- Custom CSS -->
    <link href="css/style.css" rel="stylesheet">
    <!-- You can change the theme colors from here -->
    <link href="css/colors/blue.css" id="theme" rel="stylesheet">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<style>
::placeholder {
  color: #de8e2f!important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #de8e2f!important;
}

::-ms-input-placeholder { /* Microsoft Edge */
 color: #de8e2f!important;
}
.select21-items:hover{
  background-color: #de8e2f!important;
}
h1{
	text-align:center;
 color: #fff!important;
}
	.form-control:focus {
		background: #121423!important;
    color: #de8e2f!important;
	}
	</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("#referral_id").keyup(function(){
       var txt = $("#referral_id").val();
	   if(txt !="" ){
      $.post("fetch_ajax_value.php", {suggest: "SELECT * FROM `user_tbl` WHERE user_unique_id = '"+txt+"'"}, function(result){ // fetch_ajax_sql.php
           $("#referral_name").val(result);
       });
	   }
   }); 
  
  <?php if(isset($_GET['user_id'])){ ?>
   var txt = $("#referral_id").val();
	   if(txt !="" ){
      $.post("fetch_ajax_value.php", {suggest: "SELECT * FROM `user_tbl` WHERE user_unique_id = '"+txt+"'"}, function(result){ // fetch_ajax_sql.php
           $("#referral_name").val(result);
       });
	   }
  
  <?php } ?>
	

 
 $('#pan_no').on('blur' , function() {
var panVal = $('#pan_no').val();
var regpan = /^([a-zA-Z]){5}([0-9]){4}([a-zA-Z]){1}?$/;
if(panVal !="" ){
if(regpan.test(panVal)){
  // valid pan card number
} else {
  alert('invalid pan card number .'); // invalid pan card number
  //$("#pan_no").focus();
}
}	
 });

	
    $("#mobile").keypress(function (e) {
     //if the letter is not digit then display error and don't type anything
     if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {
        //display error message
        alert('Enter numerical numbers only.');
	   return false;
            
    }
   });
   
   $(function() {
    $('#email_id').on('blur' , function() {
        // Your code here
		 if($('#email_id').val() != ""){
		validmail();
		 }
    });
  });
  

  $(function() {
    $('#username').on('blur' , function() {
        // Your code here
		 if($('#username').val() != ""){
			 var txt = $('#username').val();
		$.post("fetch_ajax_value.php", {username: "SELECT * FROM `user_tbl` WHERE user_name = '"+txt+"'"}, function(result){ // fetch_ajax_sql.php
           if(result == "1"){
		   alert('User name already exist.'); 
			$('#username').val("");
		   }
       });
		 }
    });
  });
  
  /* $(function() {
    $('#password').on('blur' , function() {
        // Your code here  cpassword
		 if($('#password').val() != ""){
			if($('#password').val().length  < 6){
			alert('password minimum length is 6 digit.'); 
			$('#password').val("");
			}
		 }
    });
   }); */
  
  
  $(function() {
    $('#cpassword').on('blur' , function() {
        // Your code here
		 if($('#cpassword').val() != ""){
			 if($('#password').val() != $('#cpassword').val()){
				 alert('password does not match with confirm password !!!');
				 $('#cpassword').val('');
			 }
		
		 }
    });
  });
 
 
   	
});


function validmail(){
	var txt =  document.getElementById("email_id").value; 
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(txt))
  {
    return (true);
  }else{
    alert("You have entered an invalid email address!");
	$('#email_id').val("");
    //$("#email_id").focus();
  }
}  

</script>  
<body style="background:#1e223b;" >
    <!-- ============================================================== -->
    <!-- Preloader - style you can find in spinners.css -->
    <!-- ============================================================== -->
    <div class="preloader">
        <svg class="circular" viewBox="25 25 50 50">
            <circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" /> </svg>
    </div>
    <!-- ==============================================================    -->
    <!-- Main wrapper - style you can find in pages.scss -->
    <!-- ============================================================== -->
    <section id="wrapper" style="background:#1e223b;min-height:1000px;" >
        <div class="login-register" style="background:#1e223b;" >
            <div class="login-box card1">
                <div class="card-body">
				<form id="frm_login" role="form" class="form-horizontal form-material"  action="" method="POST">
		<input type="hidden" name="Login" id="Login" value="Master" />
		                 <h2 class="box-title m-b-20 text-center" style="color:#de8e2f;" >SCSCROWD</h2>
                        <h5 class="box-title m-b-20 text-center " style="color:#fff;" >REGISTER HERE</h5>
					 <div class="form-group m-b-10">
                            <div class="col-sm-12 text-center">
                                <div> <a href="index.php" class=" m-l-5" style="color:#fff;" >Already have an account? <b style="color:#de8e2f;">Login</b></a></div>
                            </div>
                        </div>
						<div id="response" style="color:#fff;"  ><?php if(isset($_GET['wr'])){ $ddd = explode("@@@",$_GET['wr']); echo "<br><h1>Registered Successfully.</h1> <br> Hi ".$ddd[0]." , <br><br>You are successfully registered. <br><br> Your Login ID: ".$ddd[1]."  <br><br> Password: ".$ddd[2]; echo "<script> setTimeout(\"window.location = 'index.php'\",10000); </script>"; } ?><?php if(isset($_GET['err'])){ echo $err; } ?></div>
						<div id="res_div" <?php if(isset($_GET['wr'])){ ?> style="display:none;" <?php } ?> >
					   <div class="form-group" style="background:#121423;padding:4px;">
                            <div class="col-xs-12">
                                <input style="background:#121423;color:#de8e2f;" class="form-control" name="name" type="text" required="" placeholder="Enter Your Name">
                            </div>
                        </div>
						<div class="form-group " style="background:#121423;padding:4px;" >
                            <div class="col-xs-12">
                                <input style="background:#121423;color:#de8e2f;" type="email" name="email_id" id="email_id" class="form-control" placeholder="Email id" required >
                            </div>
                        </div>
						<div class="form-group " style="background:#121423;padding:4px;" > 
                            <div class="col-xs-12">
                                <input style="background:#121423;color:#de8e2f;" name="password" class="form-control" id="password" type="password"  placeholder="User Password" required >
                            </div>
                        </div>
                        <div class="form-group" style="background:#121423;padding:4px;" >
                            <div class="col-xs-12">
                                <input style="background:#121423;color:#de8e2f;" class="form-control"  name="cpassword"  id="cpassword" type="password" required="" placeholder="Confirm Password" required >
                            </div>
                        </div>
						<div class="form-group " style="background:#121423;padding:4px;" >
                            <div class="col-xs-12">
                                <input style="background:#121423;color:#de8e2f;" type="text" name="mobile" id="mobile" maxlength="10" class="form-control" placeholder="Enter Mobile Number" required>
                            </div>
                        </div>
						<div class="form-group" style="background:#121423;padding:4px;" >
                            <div class="col-xs-12">
							
                                <input style="background:#121423;color:#de8e2f;" <?php if(isset($_GET['user_id'])){ ?> value="<?php echo $_GET['user_id']; ?>" readonly required <?php } ?> type="text" name="referral_id" id="referral_id" class="form-control" placeholder="Sponsor ID"  >
                            </div>
                        </div> <div class="form-group" style="background:#121423;padding:4px;" >
                            <div class="col-xs-12">
							
                                <input style="background:#121423;color:#de8e2f;" type="text" name="referral_name" readonly id="referral_name" class="form-control" placeholder="Sponsor Name" >
                            </div>
                        </div>
                        <div class="form-group " style="background:#121423;padding:4px;" >
                            <div class="col-xs-12">
                                  <select class="select21 form-control11 custom-select11" name="country" style="width: 100%; height:36px;background:#121423!important;color:#de8e2f;" required>
                                    <option value="" >Select Country</option>
                                        <option value="Afghanistan">Afghanistan</option>
                <option value="Åland Islands">Åland Islands</option>
                <option value="Albania">Albania</option>
                <option value="Algeria">Algeria</option>
                <option value="American Samoa">American Samoa</option>
                <option value="Andorra">Andorra</option>
                <option value="Angola">Angola</option>
                <option value="Anguilla">Anguilla</option>
                <option value="Antarctica">Antarctica</option>
                <option value="Antigua and Barbuda">Antigua and Barbuda</option>
                <option value="Argentina">Argentina</option>
                <option value="Armenia">Armenia</option>
                <option value="Aruba">Aruba</option>
                <option value="Australia">Australia</option>
                <option value="Austria">Austria</option>
                <option value="Azerbaijan">Azerbaijan</option>
                <option value="Bahamas">Bahamas</option>
                <option value="Bahrain">Bahrain</option>
                <option value="Bangladesh">Bangladesh</option>
                <option value="Barbados">Barbados</option>
                <option value="Belarus">Belarus</option>
                <option value="Belgium">Belgium</option>
                <option value="Belize">Belize</option>
                <option value="Benin">Benin</option>
                <option value="Bermuda">Bermuda</option>
                <option value="Bhutan">Bhutan</option>
                <option value="Bolivia">Bolivia</option>
                <option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
                <option value="Botswana">Botswana</option>
                <option value="Bouvet Island">Bouvet Island</option>
                <option value="Brazil">Brazil</option>
                <option value="British Indian Ocean Territory">British Indian Ocean Territory</option>
                <option value="Brunei Darussalam">Brunei Darussalam</option>
                <option value="Bulgaria">Bulgaria</option>
                <option value="Burkina Faso">Burkina Faso</option>
                <option value="Burundi">Burundi</option>
                <option value="Cambodia">Cambodia</option>
                <option value="Cameroon">Cameroon</option>
                <option value="Canada">Canada</option>
                <option value="Cape Verde">Cape Verde</option>
                <option value="Cayman Islands">Cayman Islands</option>
                <option value="Central African Republic">Central African Republic</option>
                <option value="Chad">Chad</option>
                <option value="Chile">Chile</option>
                <option value="China">China</option>
                <option value="Christmas Island">Christmas Island</option>
                <option value="Cocos (Keeling) Islands">Cocos (Keeling) Islands</option>
                <option value="Colombia">Colombia</option>
                <option value="Comoros">Comoros</option>
                <option value="Congo">Congo</option>
                <option value="Congo, The Democratic Republic of The">Congo, The Democratic Republic of The</option>
                <option value="Cook Islands">Cook Islands</option>
                <option value="Costa Rica">Costa Rica</option>
                <option value="Cote D'ivoire">Cote D'ivoire</option>
                <option value="Croatia">Croatia</option>
                <option value="Cuba">Cuba</option>
                <option value="Cyprus">Cyprus</option>
                <option value="Czech Republic">Czech Republic</option>
                <option value="Denmark">Denmark</option>
                <option value="Djibouti">Djibouti</option>
                <option value="Dominica">Dominica</option>
                <option value="Dominican Republic">Dominican Republic</option>
                <option value="Ecuador">Ecuador</option>
                <option value="Egypt">Egypt</option>
                <option value="El Salvador">El Salvador</option>
                <option value="Equatorial Guinea">Equatorial Guinea</option>
                <option value="Eritrea">Eritrea</option>
                <option value="Estonia">Estonia</option>
                <option value="Ethiopia">Ethiopia</option>
                <option value="Falkland Islands (Malvinas)">Falkland Islands (Malvinas)</option>
                <option value="Faroe Islands">Faroe Islands</option>
                <option value="Fiji">Fiji</option>
                <option value="Finland">Finland</option>
                <option value="France">France</option>
                <option value="French Guiana">French Guiana</option>
                <option value="French Polynesia">French Polynesia</option>
                <option value="French Southern Territories">French Southern Territories</option>
                <option value="Gabon">Gabon</option>
                <option value="Gambia">Gambia</option>
                <option value="Georgia">Georgia</option>
                <option value="Germany">Germany</option>
                <option value="Ghana">Ghana</option>
                <option value="Gibraltar">Gibraltar</option>
                <option value="Greece">Greece</option>
                <option value="Greenland">Greenland</option>
                <option value="Grenada">Grenada</option>
                <option value="Guadeloupe">Guadeloupe</option>
                <option value="Guam">Guam</option>
                <option value="Guatemala">Guatemala</option>
                <option value="Guernsey">Guernsey</option>
                <option value="Guinea">Guinea</option>
                <option value="Guinea-bissau">Guinea-bissau</option>
                <option value="Guyana">Guyana</option>
                <option value="Haiti">Haiti</option>
                <option value="Heard Island and Mcdonald Islands">Heard Island and Mcdonald Islands</option>
                <option value="Holy See (Vatican City State)">Holy See (Vatican City State)</option>
                <option value="Honduras">Honduras</option>
                <option value="Hong Kong">Hong Kong</option>
                <option value="Hungary">Hungary</option>
                <option value="Iceland">Iceland</option>
                <option value="India">India</option>
                <option value="Indonesia">Indonesia</option>
                <option value="Iran, Islamic Republic of">Iran, Islamic Republic of</option>
                <option value="Iraq">Iraq</option>
                <option value="Ireland">Ireland</option>
                <option value="Isle of Man">Isle of Man</option>
                <option value="Israel">Israel</option>
                <option value="Italy">Italy</option>
                <option value="Jamaica">Jamaica</option>
                <option value="Japan">Japan</option>
                <option value="Jersey">Jersey</option>
                <option value="Jordan">Jordan</option>
                <option value="Kazakhstan">Kazakhstan</option>
                <option value="Kenya">Kenya</option>
                <option value="Kiribati">Kiribati</option>
                <option value="Korea, Democratic People's Republic of">Korea, Democratic People's Republic of</option>
                <option value="Korea, Republic of">Korea, Republic of</option>
                <option value="Kuwait">Kuwait</option>
                <option value="Kyrgyzstan">Kyrgyzstan</option>
                <option value="Lao People's Democratic Republic">Lao People's Democratic Republic</option>
                <option value="Latvia">Latvia</option>
                <option value="Lebanon">Lebanon</option>
                <option value="Lesotho">Lesotho</option>
                <option value="Liberia">Liberia</option>
                <option value="Libyan Arab Jamahiriya">Libyan Arab Jamahiriya</option>
                <option value="Liechtenstein">Liechtenstein</option>
                <option value="Lithuania">Lithuania</option>
                <option value="Luxembourg">Luxembourg</option>
                <option value="Macao">Macao</option>
                <option value="Macedonia, The Former Yugoslav Republic of">Macedonia, The Former Yugoslav Republic of</option>
                <option value="Madagascar">Madagascar</option>
                <option value="Malawi">Malawi</option>
                <option value="Malaysia">Malaysia</option>
                <option value="Maldives">Maldives</option>
                <option value="Mali">Mali</option>
                <option value="Malta">Malta</option>
                <option value="Marshall Islands">Marshall Islands</option>
                <option value="Martinique">Martinique</option>
                <option value="Mauritania">Mauritania</option>
                <option value="Mauritius">Mauritius</option>
                <option value="Mayotte">Mayotte</option>
                <option value="Mexico">Mexico</option>
                <option value="Micronesia, Federated States of">Micronesia, Federated States of</option>
                <option value="Moldova, Republic of">Moldova, Republic of</option>
                <option value="Monaco">Monaco</option>
                <option value="Mongolia">Mongolia</option>
                <option value="Montenegro">Montenegro</option>
                <option value="Montserrat">Montserrat</option>
                <option value="Morocco">Morocco</option>
                <option value="Mozambique">Mozambique</option>
                <option value="Myanmar">Myanmar</option>
                <option value="Namibia">Namibia</option>
                <option value="Nauru">Nauru</option>
                <option value="Nepal">Nepal</option>
                <option value="Netherlands">Netherlands</option>
                <option value="Netherlands Antilles">Netherlands Antilles</option>
                <option value="New Caledonia">New Caledonia</option>
                <option value="New Zealand">New Zealand</option>
                <option value="Nicaragua">Nicaragua</option>
                <option value="Niger">Niger</option>
                <option value="Nigeria">Nigeria</option>
                <option value="Niue">Niue</option>
                <option value="Norfolk Island">Norfolk Island</option>
                <option value="Northern Mariana Islands">Northern Mariana Islands</option>
                <option value="Norway">Norway</option>
                <option value="Oman">Oman</option>
                <option value="Pakistan">Pakistan</option>
                <option value="Palau">Palau</option>
                <option value="Palestinian Territory, Occupied">Palestinian Territory, Occupied</option>
                <option value="Panama">Panama</option>
                <option value="Papua New Guinea">Papua New Guinea</option>
                <option value="Paraguay">Paraguay</option>
                <option value="Peru">Peru</option>
                <option value="Philippines">Philippines</option>
                <option value="Pitcairn">Pitcairn</option>
                <option value="Poland">Poland</option>
                <option value="Portugal">Portugal</option>
                <option value="Puerto Rico">Puerto Rico</option>
                <option value="Qatar">Qatar</option>
                <option value="Reunion">Reunion</option>
                <option value="Romania">Romania</option>
                <option value="Russian Federation">Russian Federation</option>
                <option value="Rwanda">Rwanda</option>
                <option value="Saint Helena">Saint Helena</option>
                <option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
                <option value="Saint Lucia">Saint Lucia</option>
                <option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
                <option value="Saint Vincent and The Grenadines">Saint Vincent and The Grenadines</option>
                <option value="Samoa">Samoa</option>
                <option value="San Marino">San Marino</option>
                <option value="Sao Tome and Principe">Sao Tome and Principe</option>
                <option value="Saudi Arabia">Saudi Arabia</option>
                <option value="Senegal">Senegal</option>
                <option value="Serbia">Serbia</option>
                <option value="Seychelles">Seychelles</option>
                <option value="Sierra Leone">Sierra Leone</option>
                <option value="Singapore">Singapore</option>
                <option value="Slovakia">Slovakia</option>
                <option value="Slovenia">Slovenia</option>
                <option value="Solomon Islands">Solomon Islands</option>
                <option value="Somalia">Somalia</option>
                <option value="South Africa">South Africa</option>
                <option value="South Georgia and The South Sandwich Islands">South Georgia and The South Sandwich Islands</option>
                <option value="Spain">Spain</option>
                <option value="Sri Lanka">Sri Lanka</option>
                <option value="Sudan">Sudan</option>
                <option value="Suriname">Suriname</option>
                <option value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
                <option value="Swaziland">Swaziland</option>
                <option value="Sweden">Sweden</option>
                <option value="Switzerland">Switzerland</option>
                <option value="Syrian Arab Republic">Syrian Arab Republic</option>
                <option value="Taiwan, Province of China">Taiwan, Province of China</option>
                <option value="Tajikistan">Tajikistan</option>
                <option value="Tanzania, United Republic of">Tanzania, United Republic of</option>
                <option value="Thailand">Thailand</option>
                <option value="Timor-leste">Timor-leste</option>
                <option value="Togo">Togo</option>
                <option value="Tokelau">Tokelau</option>
                <option value="Tonga">Tonga</option>
                <option value="Trinidad and Tobago">Trinidad and Tobago</option>
                <option value="Tunisia">Tunisia</option>
                <option value="Turkey">Turkey</option>
                <option value="Turkmenistan">Turkmenistan</option>
                <option value="Turks and Caicos Islands">Turks and Caicos Islands</option>
                <option value="Tuvalu">Tuvalu</option>
                <option value="Uganda">Uganda</option>
                <option value="Ukraine">Ukraine</option>
                <option value="United Arab Emirates">United Arab Emirates</option>
                <option value="United Kingdom">United Kingdom</option>
                <option value="United States">United States</option>
                <option value="United States Minor Outlying Islands">United States Minor Outlying Islands</option>
                <option value="Uruguay">Uruguay</option>
                <option value="Uzbekistan">Uzbekistan</option>
                <option value="Vanuatu">Vanuatu</option>
                <option value="Venezuela">Venezuela</option>
                <option value="Viet Nam">Viet Nam</option>
                <option value="Virgin Islands, British">Virgin Islands, British</option>
                <option value="Virgin Islands, U.S.">Virgin Islands, U.S.</option>
                <option value="Wallis and Futuna">Wallis and Futuna</option>
                <option value="Western Sahara">Western Sahara</option>
                <option value="Yemen">Yemen</option>
                <option value="Zambia">Zambia</option>
                <option value="Zimbabwe">Zimbabwe</option>
                                </select>
                               
                            </div>
                        </div>
                        <div class="form-group text-center m-t-20">
                            <div class="col-xs-12">
                                <button class="btn btn-block waves-effect waves-light" style="background:#f44236;color:#fff;" type="submit">Register Now</button>
                            </div>
                        </div> 
						</div>

                    </form>
                </div>
            </div>
        </div>
    </section>
    <!-- ============================================================== -->
    <!-- End Wrapper -->
    <!-- ============================================================== -->
    <!-- ============================================================== -->
    <!-- All Jquery -->
    <!-- ============================================================== -->
    <script src="assets/plugins/jquery/jquery.min.js"></script>
    <!-- Bootstrap tether Core JavaScript -->
    <script src="assets/plugins/bootstrap/js/popper.min.html"></script>
    <script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
    <!-- slimscrollbar scrollbar JavaScript -->
    <script src="js/jquery.slimscroll.js"></script>
    <!--Wave Effects -->
    <script src="js/waves.js"></script>
    <!--Menu sidebar -->
    <script src="js/sidebarmenu.js"></script>
    <!--stickey kit -->
    <script src="assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
    <script src="assets/plugins/sparkline/jquery.sparkline.min.js"></script>
    <!--Custom JavaScript -->
    <script src="js/custom.min.js"></script>
	<!-- This page plugins -->
    <!-- ============================================================== -->
    <script src="assets/plugins/switchery/dist/switchery.min.js"></script>
    <script src="assets/plugins/select2/dist/js/select2.full.min.js" type="text/javascript"></script>
    <script src="assets/plugins/bootstrap-select/bootstrap-select.min.js" type="text/javascript"></script>
    <script src="assets/plugins/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js"></script>
    <script src="assets/plugins/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js" type="text/javascript"></script>
    <script src="assets/plugins/dff/dff.js" type="text/javascript"></script>
    <script type="text/javascript" src="assets/plugins/multiselect/js/jquery.multi-select.js"></script>
    <script type="text/javascript">
    jQuery(document).ready(function() {
        // Switchery
        var elems = Array.prototype.slice.call(document.querySelectorAll('.js-switch'));
        $('.js-switch').each(function() {
            new Switchery($(this)[0], $(this).data());
        });
        // For select 2
        $(".select2").select2();
        $('.selectpicker').selectpicker();
        //Bootstrap-TouchSpin
        $(".vertical-spin").TouchSpin({
            verticalbuttons: true,
            verticalupclass: 'ti-plus',
            verticaldownclass: 'ti-minus'
        });
        var vspinTrue = $(".vertical-spin").TouchSpin({
            verticalbuttons: true
        });
        if (vspinTrue) {
            $('.vertical-spin').prev('.bootstrap-touchspin-prefix').remove();
        }
        $("input[name='tch1']").TouchSpin({
            min: 0,
            max: 100,
            step: 0.1,
            decimals: 2,
            boostat: 5,
            maxboostedstep: 10,
            postfix: '%'
        });
        $("input[name='tch2']").TouchSpin({
            min: -1000000000,
            max: 1000000000,
            stepinterval: 50,
            maxboostedstep: 10000000,
            prefix: '$'
        });
        $("input[name='tch3']").TouchSpin();
        $("input[name='tch3_22']").TouchSpin({
            initval: 40
        });
        $("input[name='tch5']").TouchSpin({
            prefix: "pre",
            postfix: "post"
        });
        // For multiselect
        $('#pre-selected-options').multiSelect();
        $('#optgroup').multiSelect({
            selectableOptgroup: true
        });
        $('#public-methods').multiSelect();
        $('#select-all').click(function() {
            $('#public-methods').multiSelect('select_all');
            return false;
        });
        $('#deselect-all').click(function() {
            $('#public-methods').multiSelect('deselect_all');
            return false;
        });
        $('#refresh').on('click', function() {
            $('#public-methods').multiSelect('refresh');
            return false;
        });
        $('#add-option').on('click', function() {
            $('#public-methods').multiSelect('addOption', {
                value: 42,
                text: 'test 42',
                index: 0
            });
            return false;
        });
        $(".ajax").select2({
            ajax: {
                url: "https://api.github.com/search/repositories",
                dataType: 'json',
                delay: 250,
                data: function(params) {
                    return {
                        q: params.term, // search term
                        page: params.page
                    };
                },
                processResults: function(data, params) {
                    // parse the results into the format expected by Select2
                    // since we are using custom formatting functions we do not need to
                    // alter the remote JSON data, except to indicate that infinite
                    // scrolling can be used
                    params.page = params.page || 1;
                    return {
                        results: data.items,
                        pagination: {
                            more: (params.page * 30) < data.total_count
                        }
                    };
                },
                cache: true
            },
            escapeMarkup: function(markup) {
                return markup;
            }, // let our custom formatter work
            minimumInputLength: 1,
            //templateResult: formatRepo, // omitted for brevity, see the source of this page
            //templateSelection: formatRepoSelection // omitted for brevity, see the source of this page
        });
    });
    </script>
    <!-- ============================================================== -->
    <!-- Style switcher -->
    <!-- ============================================================== -->
    <script src="assets/plugins/styleswitcher/jQuery.style.switcher.js"></script>
	
</body>


<!-- Mirrored from themedesigner.in/demo/admin-press/main/pages-register.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 06 Nov 2019 10:14:46 GMT -->
</html>