<?php defined('BASEPATH')or exit("NO DIRECT ACCESS iS ALLOWED");?>
<?php echo $this->uri->segment(n);?>
<style>
.box {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.box.box-primary {
    border-top-color: #faa21c;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}
.box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}
.profile-user-img {
    margin: 0 auto;
    width: 100px;
    padding: 3px;
    border: 3px solid #d2d6de;
}
.profile-username {
    font-size: 21px;
    margin-top: 5px;
}
.list-group-unbordered>.list-group-item {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}
.content_profile{
	min-height: 250px;
    padding: 15px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.text-aqua {
    color: #00c0ef !important;
}
.view_items{
	padding: 6px 15px;
}
.views_itemb{
   color: #333;
    font-size: 13px;
}
.nav-tabs-custom_view{
	border-top: 3px solid #faa21c;
    padding: 12px;
   margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    border-radius: 3px;
}
.mb25 {
    margin-bottom: 25px;
}
.tshadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #d7dfe3;
}
.bozero {
    border-top: 0 !important;
}
.pagetitleh2 {
       background: #f8f8f8;
    margin: 0;
    font-size: 16px;
    padding: 8px 14px;
    color: #000;
    /* box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2); */
    /* border: 1px solid #faa21c; */
}
.pt0 {
    padding-top: 0 !important;
}
table-responsive {
    overflow-y: hidden;
}
.around10 {
    padding: 10px;
}
.tables_margin{

 margin-top: 12px;
}
td, th {
	padding: 7px 6px 7px 4px !important;
	  <!--  border: none;-->
    border-bottom: 1px solid #ccc;
}
.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: transparent;
}
.table-hovers>tbody>tr:hover {
    background-color: #f5f5f5;
}
.font_view{
	font-size: 12px;
    font-weight: bold;
}
</style>

<section class="content_profile">
<div class="row">
<div class="col-md-12">
    <div class="col-md-3">
             <div class="box box-primary">
                    <div class="box-body box-profile">
                        <!-- <img class="profile-user-img img-responsive img-circle" src="https://demo1.smart-school.in/uploads/student_images/2.jpg" alt="User profile picture"> -->
          <?php if(preg_match ('./',$this->student_data->profile_image) && ($this->student_data->profile_image!="")){
          echo img(array("src"=>base_url($this->student_data->profile_image),"class"=>"profile-user-img img-responsive img-circle changepic",
          "style"=>"width:100px; height:100px;cursor:pointer;"));
          }
          else if(!preg_match ('./',$this->student_data->profile_image) && ($this->student_data->profile_image!="") ){
          echo img(array("src"=>$this->student_data->profile_image,"class"=>"profile-user-img img-responsive img-circle changepic",
          "style"=>"width:100px; height:100px;cursor:pointer;"));
          }
          else {echo img(array("src"=>"assets/easy-admin/images/user-img.png","class"=>"profile-user-img img-responsive img-circle changepic",
            "style"=>"width:100px; height:100px;cursor:pointer;"));}?>

                        <h3 class="profile-username text-center"><?=ucwords($list->first_name." ".$list->last_name);?></h3>
                        <ul class="list-group list-group-unbordered">
                            <li class="list-group-item view_items">
                                <b class="views_itemb">Admission Number</b> <a class="pull-right text-aqua">.....</a>
                            </li>
                            <li class="list-group-item view_items">
                                <b class="views_itemb">Roll Number</b> <a class="pull-right text-aqua">.....</a>
                            </li>
                            <li class="list-group-item view_items">
                                <b class="views_itemb">Class</b> <a class="pull-right text-aqua">.....</a>
                            </li>
                            <li class="list-group-item view_items">
                                <b class="views_itemb">Section</b> <a class="pull-right text-aqua">.....</a>
                            </li>
                            <li class="list-group-item view_items">
                                <b class="views_itemb">RTE</b> <a class="pull-right text-aqua">.....</a>
                            </li>
                        </ul>
                    </div>
                </div>
    </div>
    <div class="col-md-9">
      <div class="nav-tabs-custom_view">
	                     <div class="tshadow mb25 bozero">
                                <h3 class="pagetitleh2">General Information</h3>
                                <div class="table-responsive around10 pt0">
                                    <table class="table table-hovers tables_margin"><tbody>
                                            <tr>
                                                <td class="font_view">First Name</td>
                                                <td  class=""><?=$list->first_name;?></td>
												<td class="font_view">Last Name</td>
                                                <td><?=$list->last_name;?></td>
                                            </tr>


											<tr>
                                                <td class="font_view">Mobile</td>
                                                <td><?=$list->mobile;?></td>
												<td class="font_view">Date of Birth</td>
                                                <td><?=date("d-M-Y",strtotime($list->dob));?></td>

                                            </tr>

											<tr>
                                                <td class="font_view">country</td>
                                                <td><?=strtoupper($list->country);?></td>
												<td class="font_view">State</td>
                                                <td><?=strtoupper($list->state);?></td>
                                            </tr>

											<tr>
                                                <td class="font_view">City</td>
                                                <td><?=strtoupper($list->city);?></td>
												<td class="font_view">Zip Code</td>
                                                <td><?=strtoupper($list->pin_code);?></td>


											</tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
							 <div class="tshadow mb25 bozero">
                                <h3 class="pagetitleh2">School Information </h3>
                                <div class="table-responsive around10 pt0">
                                    <table class="table table-hovers tables_margin"><tbody>
                                            <tr>
                                                <td class="font_view">School Name</td>
                                                <td><?=strtoupper($list->school_name);?></td>
                                            </tr>
                                            <tr>
                                                <td class="font_view">School Address</td>
                                                <td><?=strtoupper($list->school_address);?></td>
                                            </tr>
											 <!-- <tr>
                                                <td class="font_view">Current Class</td>
                                                <td>56 Main Street, Suite 3, Brooklyn, NY 11210-0000</td>
                                            </tr> -->
                                        </tbody>
                                    </table>
                                </div>
                            </div>
							<div class="tshadow mb25 bozero">
                                <h3 class="pagetitleh2">Parents Details</h3>
                                <div class="table-responsive around10 pt0">
                                    <table class="table table-hovers tables_margin"><tbody>
                                            <tr>
                                                <td class="font_view">Parent First Name</td>
                                                <td><?=strtoupper($list->parent_fname);?></td>
                                            </tr>
                                            <tr>
                                                <td class="font_view">Parent Last Name</td>
                                                <td><?=strtoupper($list->parent_lname);?></td>
                                            </tr>
											 <tr>
                                                <td class="font_view">Parent Mobile</td>
                                                <td><?=strtoupper($list->parent_mobile);?></td>
                                            </tr>
											<tr>
                                                <td class="font_view">Parent Email</td>
                                                <td><?=strtoupper($list->parent_email);?></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
	  </div>
    </div>
</div>
</div>
</section>
