<?php defined('BASEPATH')or exit('No Direct Access is Allowed');?>
 <div class="services-login1 students-signup">
<div class="container student-logins student-register">

<?php if($error=$this->session->flashdata('register_failed')): ?>
    <div class="row">
      <div class="col-lg-12">
            <div class="alert alert-dismissible alert-danger">
              <?php echo $error;?>  <!-- <div class="status alert alert-success"></div> -->
            </div>
        </div>
    </div>
<?php endif;?>

	  <div class="reg1">
          <h3 class="reg1x">Student Sign up</h3>
      </div>
		<div class="loginx agileits">
			<?php echo form_open('student/signup')?>
			<div class="form-group">

                    <div class="form-group  col-lg-6 col-md-6 col-sm-6">
					<!--<label class="email-box email-boxes">First Name</label>-->
                      <?php echo form_error('first_name','<p class="text-danger">','</p>');?>
					  <?=form_input('first_name',set_value('first_name'),array('class'=>'form-control user','placeholder'=>'First Name'));?>

                    </div>

                <div class="form-group  col-lg-6 col-md-6 col-sm-6">
						<?php echo form_error('last_name','<p class="text-danger">','</p>');?>
            	  <?=form_input('last_name',set_value('last_name'),array('class'=>'form-control user','placeholder'=>'Last Name'));?>

                </div>
                </div>

			<div class="form-group">


                    <div class="form-group  col-lg-6 col-md-6 col-sm-6">
					<!--<label class="email-box email-boxes">First Name</label>-->
					<?php echo form_error('gender','<p class="text-danger">','</p>');?>
            		<?php $option=array(""=>'Gender','male'=>'Male','female'=>'Female','others'=>'Others');?>
					           <?=form_dropdown('gender', $option,set_value('gender'),array('class'=>'form-control country-select  input-sm pass1'));?>

                    </div>

                <div class="form-group  col-lg-6 col-md-6 col-sm-6">
						<?php echo form_error('email','<p class="text-danger">','</p>');?>
				<?=form_input('email',set_value('email'),array('class'=>'form-control user','placeholder'=>'Email'));?>

                </div>
                </div>
				<div class="form-group">

                    <div class="form-group  col-lg-6 col-md-6 col-sm-6">
					<?php echo form_error('password','<p class="text-danger">','</p>');?>
				<?=form_password('password','',array('class'=>'form-control user','placeholder'=>'Password','maxlength'=>'15'));?>

                    </div>

                <div class="form-group  col-lg-6 col-md-6 col-sm-6">
						<?php echo form_error('confirm_password','<p class="text-danger">','</p>');?>
				<?=form_password('confirm_password','',array('class'=>'form-control user','placeholder'=>'Confirm Password','maxlength'=>'15'));?>

                </div>
                </div>
				<div class="form-group">

          <div class="form-group  col-lg-6 col-md-6 col-sm-6">
<?php echo form_error('mobile','<p class="text-danger">','</p>');?>
<?=form_input('mobile',set_value('mobile'),array('class'=>'form-control user','placeholder'=>'Mobile'));?>

          </div>

                <div class="form-group  col-lg-6 col-md-6 col-sm-6">
						<!--<label class="email-box email-boxes">Last Name</label>-->
						<?php echo form_error('Country','<p class="text-danger">','</p>');?>
                 <!-- <input type="text" class="pass" placeholder="zip Code"  name='zipcode' > -->
                 <?=form_dropdown('country', $country,set_value('country'),array('class'=>'form-control country-select  input-sm pass1'));?>
                 <?php //form_input('zipcode',set_value('zipcode'),array('class'=>'form-control user','placeholder'=>'zipcode'));?>
                </div>
                </div>



			<div class="reg agileits w3layouts regs-walyouts">
            <ul style="float: none;">
				<li>
					<input type="checkbox" id="brand1" value="">
					<label for="brand1"><span></span>Remember me</label>
				</li>
            </ul>
			</div>
			<div class="reg agileits w3layouts">
		<button type="submit"  name="Login" class="btn btn-primary btn btn-default  send-btns logins-btn" style="margin-top: -35px;">Register</button>
		<?php //form_submit('Login','Register','class="btn btn-primary btn btn-default  send-btns logins-btn"','style="margin-top: -35px;"')?>
			<?php echo form_close();?>
			</div>
			<div class="clear"></div>
			<div class="reg agileits w3layouts regs-walyouts">

			<h3>Already Register?</h3>
			</div>
			<div class="reg agileits w3layouts">
			<a class="popup-with-zoom-anim hvr-underline-from-left" href="<?php echo site_url('student/signin');?>" style="margin-top: 19px;">Login Here</a>
			</div>
			<div class="clear"></div>
			</div>
		</div>

	</div>
 <?php /*?>
 <div class="services-login1 students-signup">
<div class="container student-logins">
    <!-- <div class="logo">
        <a href="index.html"><img src="<?=base_url('assets/web/images/20.png');?>" alt="theOnlineGurukul" class="img-responsive standard-logo" title="theOnlineGurukul" rel="lightbox"></a>
    </div>-->
    <?php if($error=$this->session->flashdata('register_failed')): ?>
    <div class="row">
      <div class="col-lg-12">
            <div class="alert alert-dismissible alert-danger">
              <?php echo $error;?>  <!-- <div class="status alert alert-success"></div> -->
            </div>
        </div>
    </div>
    <?php endif;?>

	  <div class="reg1">
          <h3 class="reg1x">Student Registration</h3>
      </div>
		<div class="loginx agileits">
			<?php echo form_open('student/signup')?>
			<label class="email-box">First Name</label>
				<!-- <input type="text" class="user" placeholder="First Name" required=""> -->
				<?php echo form_error('first_name','<p class="text-danger">','</p>');?>
				<?=form_input('first_name',set_value('first_name'),array('class'=>'form-control user','placeholder'=>'First Name'));?>
				<label class="email-box">Last Name</label>
				  <?php echo form_error('last_name','<p class="text-danger">','</p>');?>
            	  <?=form_input('last_name',set_value('last_name'),array('class'=>'form-control user','placeholder'=>'Last Name'));?>

				<label class="email-box">Phone</label>
				  <?php echo form_error('mobile','<p class="text-danger">','</p>');?>
				  <?=form_input('mobile',set_value('mobile'),array('class'=>'form-control user','placeholder'=>'Mobile','maxlength'=>'10'));?>

				<label class="email-box">Email</label>
				<?php echo form_error('email','<p class="text-danger">','</p>');?>
				<?=form_input('email',set_value('email'),array('class'=>'form-control user','placeholder'=>'Email'));?>

				<label class="email-box" >Password</label>
				<?php echo form_error('password','<p class="text-danger">','</p>');?>
				<?=form_password('password','',array('class'=>'form-control user','placeholder'=>'Password','maxlength'=>'15'));?>

			<ul>
				<li>
					<input type="checkbox" id="brand1" value="">
					<label for="brand1"><span></span>Remember me</label>
				</li>
			</ul>
			<?=form_submit('Login','Register','class="btn btn-primary btn btn-default  send-btns logins-btn"')?>
			<?php echo form_close();?>

			<div class="clear"></div>
			<div class="reg agileits w3layouts">

			<h3>Already Register</h3>
			</div>
			<div class="reg agileits w3layouts">
			<a class="popup-with-zoom-anim hvr-underline-from-left sign-in-popup" href="<?php echo site_url('student/signin');?>">Login Here</a>
			</div>
			<div class="clear"></div>
			</div>
		</div>
	</div>
<?php */?>
