<div class="container">
	<form name="register" id="register_form" method="post">
		<div class="Loginform" style="border: 1px solid #ebebeb;border-radius: 6px;box-shadow: 0 2px 6px 0 rgba(0,0,0,.07); padding: 30px 40px; background-color: #ffff; margin-top: 100px;margin-left: auto; 
    margin-right: auto; border-bottom: 3px solid #ff8500;
     ">
			<div class="header" style="margin-bottom: 20px;">
				<img src="" alt="">
				<h2 style="color: #000;">สมัครสมาชิก</h2>
			</div>
			<hr>
			<div class="Login">
				<div class="row">
					<div class="col">
						<div class="form-group">
							<span style="color: #000;">รหัสผู้ใช้</span>
							<input type="text" class="form-control mt-2" name="username" id="username"
								placeholder="Username" style="background: #fcfcfc; color: #000 ; margin-bottom: 20px">
						</div>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col">
						<div class="form-group">
							<span style="color: #000;">รหัสผ่าน</span>
							<input type="password" class="form-control mt-2 " name="pass" id="password"
								placeholder="Password" style="background: #fcfcfc; color: #000 ; margin-bottom: 20px">
						</div>
					</div>
					<div class="col">
						<div class="form-group">
							<span style="color: #000;">ยืนยันรหัสผ่าน</span>
							<input type="password" class="form-control mt-2 " name="cfpassword" id="password"
								placeholder="Confirm-Password"
								style="background: #fcfcfc; color: #000 ; margin-bottom: 20px">
						</div>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col">
						<div class="form-group">
							<span style="color: #000;">อีเมลล์</span>
							<input type="email" class="form-control mt-2 " name="email" id="password"
								placeholder="Email" style="background: #fcfcfc; color: #000 ; margin-bottom: 20px">
						</div>
					</div>
				</div>
				<div class="Footer">
					<?php
					$ref = $this->input->get("ref"); 
					if($ref != null){
						echo '<input type="hidden" name="ref" value='.$ref.'>';
					} ?>
					<div class="row">
						<div class="col-12">
							<button type="submit" class="btn btn"
								style="margin-bottom: 20px; background-color: #00a81f; color: #fff;width:100%; min-width: 200px;">ยืนยัน</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</form>
</div>
