6515996f87
Role, Employee, Department, Degree, Semester, Subject, Faculty Edit Completed
150 lines
6.1 KiB
PHP
150 lines
6.1 KiB
PHP
<link href="<?=base_url();?>/assets/datatables/plugins/bootstrap/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
|
<link href="<?=base_url();?>assets/select2/css/select2.css" rel="stylesheet" type="text/css" />
|
|
<link href="<?=base_url();?>assets/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" /><link href="<?=base_url();?>assets/select2/css/select2.css" rel="stylesheet" type="text/css" />
|
|
<link href="<?=base_url();?>assets/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
|
|
<?php $this->load->view('includes/header');?>
|
|
<div class="page-container">
|
|
<!-- start sidebar menu -->
|
|
<?php $this->load->view('includes/sidebar');?>
|
|
<!-- start page content -->
|
|
<div class="page-content-wrapper">
|
|
<div class="page-content">
|
|
<div class="page-bar">
|
|
<div class="page-title-breadcrumb">
|
|
<div class=" pull-left">
|
|
<div class="page-title">Add Student</div>
|
|
</div>
|
|
<ol class="breadcrumb page-breadcrumb pull-right">
|
|
<li><i class="fa fa-home"></i> <a class="parent-item" href="<?=base_url();?>/dashboard">Home</a> <i class="fa fa-angle-right"></i>
|
|
</li>
|
|
<li> <a class="parent-item" href="<?=base_url();?>/student">Student</a> <i class="fa fa-angle-right"></i>
|
|
</li>
|
|
<li class="active">Add Student</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<!-- Midium Model -->
|
|
<div class="row">
|
|
<div class="col-md-12 col-sm-12">
|
|
<div class="card card-box">
|
|
<div class="card-head">
|
|
<header>Student</header>
|
|
</div>
|
|
<div class="card-body" id="bar-parent">
|
|
<form action="<?=base_url();?>add_student" method="post" class="form-horizontal" enctype="multipart/form-data">
|
|
<div class="form-body">
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3"> Student
|
|
<span class="required"> * </span>
|
|
</label>
|
|
<div class="col-md-5">
|
|
<input type="text" name="student" placeholder="Enter Student Id" data-validation="required" class="form-control input-height">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3">Name
|
|
<span class="required"> * </span>
|
|
</label>
|
|
<div class="col-md-5">
|
|
<input name="name" type="text" placeholder="Enter Student Name" data-validation="required" class="form-control input-height" /> </div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3">Email
|
|
<span class="required"> * </span>
|
|
</label>
|
|
<div class="col-md-5">
|
|
<input name="email" type="email" placeholder="Enter Student Email" data-validation="required" class="form-control input-height" /> </div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3">Mobile No
|
|
<span class="required"> * </span>
|
|
</label>
|
|
<div class="col-md-5">
|
|
<input name="mobileNumber" type="text" placeholder="Mobile Number" data-validation="required" class="form-control input-height" /> </div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3">Date Of Birth
|
|
<span class="required"> * </span>
|
|
</label>
|
|
<div class="col-md-5">
|
|
<div class="input-append date" id="dp3">
|
|
<input type="date" name="date" class="form-control input-height formDatePicker" placeholder="Date Of Birth" size="44" type="text" data-validation="required">
|
|
<!--<span class="add-on"><i class="fa fa-calendar"></i></span>-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3">Gender
|
|
<span class="required"> * </span>
|
|
</label>
|
|
<div class="col-md-5">
|
|
<select class="form-control select2" data-validation="required" name="gender">
|
|
<option value="">Select...</option>
|
|
<option value="1">Male</option>
|
|
<option value="2">Female</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3">Address
|
|
<span class="required"> * </span>
|
|
</label>
|
|
<div class="col-md-5">
|
|
<textarea name="address" placeholder=" Enter Address" data-validation="required" class="form-control" rows="5"></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3">Department.
|
|
<span class="required"> * </span>
|
|
</label>
|
|
<div class="col-md-5">
|
|
<select class="form-control select2" id="departmentId" data-validation="required" name="department">
|
|
<option value="" selected="selected">Select</option>
|
|
<?php
|
|
if(isset($dep) && $dep->num_rows()>0)
|
|
{
|
|
foreach($dep->result() as $depart)
|
|
{
|
|
?> <option value="<?=$depart->id;?>"><?=$depart->name;?></option><?php
|
|
}
|
|
}
|
|
?>
|
|
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="control-label col-md-3">Profile Img
|
|
</label>
|
|
<div class="col-md-5 compose-editor">
|
|
<input name="image" type="file" data-validation="required" class="form-control default" multiple>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-actions">
|
|
<div class="row">
|
|
<div class="offset-md-3 col-md-9">
|
|
<input type="submit" name="submit" class="btn btn-info m-r-20" value="Submit">
|
|
<button type="button" class="btn btn-default">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Modal -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<?php $this->load->view('includes/footer');?>
|
|
<script src="<?=base_url();?>assets/select2/js/select2.js"></script>
|
|
<script src="<?=base_url();?>assets/select2/js/select2-init.js"></script>
|
|
<script src="<?=base_url();?>assets/jquery.form-validator.min.js"></script>
|