<div class="users_section_area install mb-20">
	<?php $setting = get_setting();?>
	<div class="create">
		<div class="row">
			<div class="col-md-5 col-md-offset-4">
				<div class="card install_card">
					<div class="alert alert-info alert-dismissible">
						<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
						<div class="d_flex_alert" style="display:flex;flex-direction: row;">
							<strong class="mr-20"><i class="icon fas fa-question-circle fa-2x"></i> Info!</strong>
							<div class="double_text">
								<div class="text-left">
									<p> You have to enter purchases code to active this site</p>
									<p>If you need help to find purchase code</p>

								</div>
								<a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code" class="re_url" target="blank" style="text-decoration: underline!important; color: #000;" >click here!</a>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-sm-12 col-xs-12">
							<?php include 'admin/inc/success_msg.php'; ?>
						</div>
					</div>
					<form action="<?php echo base_url('setup-admin'); ?>" method="post" id="create_form">
						<!-- csrf -->
							<input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" value="<?= $this->security->get_csrf_hash(); ?>">
							<!-- csrf -->
						<div class="card-body">
							<div class="user_reg_area">
								<div class="form-group">
									<label for="">Item Purchase Code</label>
									<input type="text" name="code" class="form-control" placeholder="Item Purchase / License Code">
								</div>
								<div class="form-group">
									<label for="">Admin Username</label>
									<input type="text" name="username" class="form-control" placeholder="Your username">
								</div>
								<div class="form-group">
									<label for="">Admin Email</label>
									<input type="text" name="email" class="form-control" placeholder="Your Email">
								</div>

								<div class="form-group">
									<label for="">Admin Password</label>
									<input type="password" name="password" class="form-control" placeholder="Your Password">
								</div>

								<div class="form-group">
									<label for="">Confirm Password</label>
									<input type="password" name="cpassword" class="form-control" placeholder="Confirm Password">
								</div>
							</div>
						</div>
						<div class="card-footer text-right">
							<input type="hidden" name="site_id" value="<?= isset($setting['site_id'])?$setting['site_id']:0;?>">
							<button type="submit" class="btn btn-info mail_send_btn">Submit</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	
</div>

