Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<div class="col-sm-12"> <?php if(count($student)) { $usertype = $this->sessi..

Decoded Output download

<div class="col-sm-12"> 
<?php 
	if(count($student)) 
	{ 
        $usertype = $this->session->userdata("usertype"); 
		if($usertype == "Admin")  
		{ 
	?> 
		<ol class="breadcrumb"> 
			<li><a href="<?=base_url("dashboard/index")?>"><i class="fa fa-laptop"></i> 
			 <?=$this->lang->line('menu_dashboard')?></a></li> 
			<li><a href="<?=base_url("student/index/$set")?>"> 
			<?=$this->lang->line('menu_student')?></a></li> 
			<li class="active"><?=$this->lang->line('view')?></li> 
		</ol> 
	<?php  
		}  
	}  
?> 
</div><!--end here col-sm-12--> 
<div class="row"> 
<div class="col-sm-12"> 
<div class="panel-group"> 
<section class="panel panel-default m-b-sm"> 
<div class="panel-collapse collapse in panel-body"> 
<div class="row"> 
<div class="col-sm-6"> 
<div class="form-horizontal"> 
<div class="col-lg-3"> 
<div class="studentphoto"><a href="#"><?=img(base_url('uploads/images/'.$student->photo))?> </a></div> 
</div><!--end here col-lg-3--> 
<div class="col-sm-9 mainPadding"> 
<div class="form-group m-b-sm"> 
<input name="Adminno" type="text" value="<?=$student->regID;?>" maxlength="7" onchange="" onkeypress="" id="" tabindex="1" class="form-control text-center pull-left" onfocus="SetEntireText(this);" style="width:39%; display: inline-block;" isdatepicker="true" title=""> 
<div class="pull-right text-right" style="width: 59%;"> 
<a id="non" title="First" style="width: 22%; padding: 9px 0;" class="btn btn-default" tabindex="-1" href="#"><i class="fa fa-fast-backward"></i></a> 
<a id="non" title="Previous" style="width: 22%; padding: 9px 0;" class="btn btn-default" tabindex="-1" href="#"><i class="fa fa-backward"></i></a> 
<a id="non" title="Next" style="width: 22%; padding: 9px 0;" class="btn btn-default disabled" tabindex="-1" disabled="disabled" href="#"><i class="fa fa-forward"></i></a> 
<a id="non" title="Last" style="width: 22%; padding: 9px 0;" class="btn btn-default disabled" tabindex="-1" disabled="disabled" href="#"><i class="fa fa-fast-forward"></i></a> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<div class="input-group"> 
<input name="ctl00$ContentPlaceHolder1$txtStudentName" type="text" value="<?=$student->name;?>" maxlength="50" id="Nmae" tabindex="3" class="form-control" disabled="true"style="font-weight:bold;" isdatepicker="true"> 
<a id="#non" title="Search" onclick="" class="input-group-addon" href="#"><i class="fa fa-search"></i></a> 
</div> 
</div> 
</div> 
</div><!--From-Horizontal--> 
</div><!--Col-sm-6--> 
<div class="col-sm-6"> 
<div class="form-horizontal"> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label"> 
<span id="ContentPlaceHolder1_lblAdmDate" title="">Adm Date</span></label> 
<div class=" col-sm-9"> 
<div class="input-group pull-left" style="width: 55%;"> 
<input name="ctl00$ContentPlaceHolder1$txtAdmDate" type="text" id="ContentPlaceHolder1_txtAdmDate" autocomplete="off" tabindex="6" disabled="disabled" bootstrapdate="true" class="form-control" value="11-Nov-2016" datepicker_format="DD-MON-YYYY" maxlength="11" isdatepicker="true"> 
<i id="CALBUTTONContentPlaceHolder1_txtAdmDate" datepicker_inputid="ContentPlaceHolder1_txtAdmDate" datepicker_format="DD-MON-YYYY" class="calendarbutton fa fa-calendar input-group-addon" style="cursor: pointer; display: table-cell;"></i></div> 
<span id="ContentPlaceHolder1_lblLiveStudents" title="Live Admissions" class="pull-right btn btn-default btn-xs" style="font-size:12px;width: 43%; padding: 3.5px 0px; border-radius: 2px;"><span class="fa-stack" style="margin-top:-3px;"><i class="fa fa-circle text-info" style="font-size: 24px;"></i> <i class="fa fa-check fa-stack-1x text-white"></i> </span><span style="font-size:16px; margin-left: 5px;"><b><?=$student->roll;?></b></span></span> 
</div> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Class</label> 
<div class=" col-sm-9"> 
<div class="form-inline"> 
<select name="" id="" tabindex="90" class="form-control pull-left" disabled="true" onchange="" style="width:55%;"> 
<option selected="selected" value="1"><?=$class->classes?></option> 
</select> 
<select name="" id="" tabindex="0" class="form-control pull-right" disabled="true" style="width:43%;"> 
<option value="">- None -</option> 
</select> 
 
</div> 
</div><!--form-horizontal--> 
 
</div> 
</div><!--Col-sm-6--> 
</div><!--end here --> 
</div><!--collapse1--> 
</section> 
<section class="panel panel-default m-b-sm"> 
<header class="panel-heading"> 
<span class="panel-title"><a data-toggle="collapse" data-parent="#accordion" href="#collapse1"><?=$this->lang->line("personal_information")?></a></span><a data-toggle="collapse" data-parent="#accordion" href="#collapse1" class="pull-right"> 
<b class="caret m-t-xs"></b></a> 
</header> 
<div id="collapse1" class="panel-collapse collapse in panel-body"> 
<div class="row"> 
<div class="col-sm-6"> 
<div class="form-horizontal"> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">DOB</label> 
<div class=" col-sm-9"> 
<div class="input-group pull-left" style="width: 59%;"> 
<input name="" type="text" id="" autocomplete="off" tabindex="15" bootstrapdate="true" disabled="disabled" class="form-control" value="<?=date("d M Y", strtotime($student->dob))?>" datepicker_format="DD-MON-YYYY" maxlength="11" isdatepicker="true"> 
<i id="CALBUTTONContentPlaceHolder1_txtDOB" datepicker_inputid="ContentPlaceHolder1_txtDOB" datepicker_format="DD-MON-YYYY" class="calendarbutton fa fa-calendar input-group-addon" style="cursor: pointer; display: table-cell;"></i></div> 
<select name="" id="" tabindex="" class="form-control pull-right" disabled="true" style="width:39%;"> 
<option value="<?//=$student->sex?>"><?=$student->sex?></option> 
</select> 
 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Address (R)</label> 
<div class=" col-sm-9"> 
<input name="" type="text" value="<?=$student->address?>" maxlength="100" id="" tabindex="21" class="form-control" disabled="true" onkeyup="" isdatepicker="true"> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Area</label> 
<div class=" col-sm-9"> 
<input name="" type="text" value="<?=$student->area?>" maxlength="100" id="" tabindex="" class="form-control" disabled="true" onfocus="" onkeypress="" autocomplete="off" onkeyup="" isdatepicker="true"> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">City</label> 
<div class=" col-sm-9"> 
<div class="form-inline"> 
<input name="" type="text" value="<?=$student->city?>" maxlength="50" id="" tabindex="27" class="form-control pull-left" disabled="true" onfocus="" onkeypress="" autocomplete="off" onkeyup="return properAddress(this);" style="width:59%;" isdatepicker="true"> 
<input name="" type="text" value="<?=$student->pin?>" maxlength="6" id="" tabindex="28" class="form-control pull-right" disabled="true" placeholder="PIN" onkeypress="" style="width:39%;" isdatepicker="true"> 
</div> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Phone</label> 
<div class=" col-sm-9"> 
<input name="" type="text" maxlength="50" id="" value="<?=$student->phone?>" tabindex="30" class="form-control" disabled="true" onkeyup="" isdatepicker="true"> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Mobile</label> 
<div class=" col-sm-9"> 
<input name="" type="text"  maxlength="50" id="" tabindex="" value="<?=$student->phone?>" class="form-control" disabled="true" onkeyup=""> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Email</label> 
<div class=" col-sm-9"> 
<input name="" type="text" maxlength="100" value="<?=$student->email?>" id="" tabindex="" class="form-control" disabled="true" onblur=""> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Aadhaar No</label> 
<div class=" col-sm-9"> 
<input name="" type="text" value="" maxlength="" id="" tabindex="" class="form-control" disabled="true" onkeypress="" isdatepicker="true"> 
</div> 
</div> 
</div> 
</div> 
<div class="col-sm-6"> 
<div class="form-horizontal"> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Blood Gr</label> 
<div class=" col-sm-9"> 
<select name="ctl00$ContentPlaceHolder1$ddlBloodGroup" id="ContentPlaceHolder1_ddlBloodGroup" tabindex="42" class="form-control" disabled="true"> 
<option selected="selected" value="">- None -</option> 
</select> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">House</label> 
<div class=" col-sm-9"> 
<select name="" id="" tabindex="45" class="form-control" disabled="true"> 
<option selected="selected" value="<?=$student->councilID?>"><?=$student->councilID?></option> 
</select> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Religion</label> 
<div class=" col-sm-9"> 
<select name="ctl00$ContentPlaceHolder1$ddlReligion" id="ContentPlaceHolder1_ddlReligion" tabindex="48" class="form-control" disabled="true"> 
<option selected="selected" value="<?=$student->religion?>"></option> 
 
</select> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Caste</label> 
<div class=" col-sm-9"> 
<select name="" id="" tabindex="51" class="form-control" disabled="true"> 
<option selected="selected" value="<?=$student->caste?>"><?=$student->caste?></option> 
</select> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Pay Mode</label> 
<div class=" col-sm-9"> 
<select name="" id="" tabindex="54" class="form-control pull-left" disabled="true" style="width:49%;"> 
<option selected="selected" value="">- None -</option> 
</select> 
<select name="" id="" tabindex="57" class="form-control pull-right" disabled="true" style="width:49%;"> 
<option selected="selected" value="0">Non-Hostler</option> 
<option value="1">Hostler</option> 
</select> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Concession</label> 
<div class=" col-sm-9"> 
<select name="" id="" tabindex="60" class="form-control" disabled="true"> 
<option value="">- None -</option> 
</select> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Category</label> 
<div class=" col-sm-9"> 
<select name="" id="" tabindex="63" class="form-control" disabled="true"> 
<option selected="selected" value="">- None -</option> 
</select> 
</div> 
</div> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label"> 
<span id="">Join Class</span></label> 
<div class=" col-sm-9"> 
<div class="form-inline"> 
<select name="" id="" tabindex="66" class="form-control pull-left" disabled="true" style="width:49%;"> 
<option selected="selected" value="">- None -</option> 
</select> 
<select name="" id="" tabindex="69" class="form-control pull-right" disabled="true" style="width:49%;"> 
<option selected="selected" value="0">New Student</option> 
</select> 
</div> 
</div> 
</div> 
</div> 
</div> 
</div><!--end here row--> 
</div> 
</section> 
<section class="panel panel-default m-b-sm"> 
<header class="panel-heading "> 
<a data-toggle="collapse" data-parent="#accordion" href="#divContact"><span class="panel-title">Parent Information </span></a> 
<a data-toggle="collapse" data-parent="#accordion" href="#divContact" class="pull-right"> 
<b class="caret m-t-xs"></b></a> 
<div class="mbl text-right bg-light "> 
<ul class="nav nav-tabs pull-left"> 
<li id="ContentPlaceHolder1_liRelation1" class="active"><a href="#ContentPlaceHolder1_trRelation1" data-toggle="tab" title=""><i class="fa fa-male text-default"></i>&nbsp;Father</a></li> 
<li id="ContentPlaceHolder1_liRelation2" class=""><a href="#ContentPlaceHolder1_trRelation2" data-toggle="tab" title=""><i class="fa fa-female text-default"></i>&nbsp;Mother</a></li> 
<li id="ContentPlaceHolder1_liRelation3" class=""><a href="#ContentPlaceHolder1_trRelation3" data-toggle="tab"><i class="fa fa-male text-default"></i>&nbsp;Guardian</a></li> 
</ul> 
</div> 
</header> 
 
<div id="divContact" class="panel-body  panel-collapse collapse in  pad-b-none"> 
<?php   if(isset($parent)) { ?> 
<div class="tab-content mt"> 
<div id="ContentPlaceHolder1_trRelation1" class="tab-pane fade active in"> 
<div class="row"> 
<div class="col-sm-6"> 
<div class="form-horizontal"> 
<div class="form-group m-b-sm"> 
<label class="col-sm-3 control-label">Title</label> 
<div class=" col-sm-9"> 
<select name="ctl00$ContentPlaceHolder1$ddlFatherTitle" id="ContentPlaceHolder1_ddlFatherTitle" tabindex="72" class="form-control pull-left" disabled="true" style="width:50%;"> 
<option selected="selected" value="1">Mr</option> 
</select> 
 
            <label class="switch pull-right"> 
                <input name="ctl00$ContentPlaceHolder1$rdFatherActive" type="checkbox" id="ContentPlaceHolder1_rdFatherActive" class="form-switch" rel="disable" groupname="ActiveRelation" checked="checked"> 
                <span></span> 
 
            </label> 
            <span style="display: inline-block; margin-right: 10px; padding: 8px 0;" class="pull-right">Active</span> 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Name</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtFatherName" type="text" value="<?=$parent->father_name?>" maxlength="50" id="ContentPlaceHolder1_txtFatherName" tabindex="75" class="form-control" disabled="true" onkeyup="return properName(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Age</label> 
        <div class=" col-sm-9"> 
            <div class="input-group"> 
 
                <input name="ctl00$ContentPlaceHolder1$txtFAge" type="text" value="30" maxlength="2" id="ContentPlaceHolder1_txtFAge" tabindex="78" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true" value="<?=$parent->father_age?>"> 
                <span class="input-group-addon">Years</span> 
            </div> 
 
 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Occupation</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsFatherOccupation" type="text" value="Service" maxlength="50" id="ContentPlaceHolder1_scsFatherOccupation" tabindex="81" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->father_profession?>"> 
        </div> 
 
    </div> 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Education</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsFatherEducation" type="text"  maxlength="50" id="ContentPlaceHolder1_scsFatherEducation" tabindex="84" class="form-control" disabled="true" autocomplete="off" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->father_qualification?>"> 
        </div> 
 
    </div> 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Aadhaar No</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtFAadhaarNo" type="text" maxlength="12" id="ContentPlaceHolder1_txtFAadhaarNo" tabindex="87" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true" value=""> 
 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">PAN</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtFatherPanno" type="text" maxlength="10" id="ContentPlaceHolder1_txtFatherPanno" tabindex="90" class="form-control" disabled="true" onkeyup="charUpperCase(this);" style="font-size:13px;" isdatepicker="true" value=""> 
 
        </div> 
 
    </div> 
</div> 
</div> 
<div class="col-sm-6"> 
<div class="form-horizontal"> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Company</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsFatherCompany" type="text" value="Private" maxlength="50" id="ContentPlaceHolder1_scsFatherCompany" tabindex="93" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->father_company?>"> 
        </div> 
 
    </div> 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Designation</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsFatherDesignation" type="text" value="Driver" maxlength="50" id="ContentPlaceHolder1_scsFatherDesignation" tabindex="96" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->father_designation?>"> 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Address (O)</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtFatherAddressCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtFatherAddressCo" tabindex="99" class="form-control" disabled="true" onkeyup="return properAddress(this);" isdatepicker="true"  value="<?=$student->permanent_address?>"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Area</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsFatherAreaCo" type="text" maxlength="100" id="ContentPlaceHolder1_scsFatherAreaCo" tabindex="102" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$student->parea?>"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">City</label> 
        <div class=" col-sm-9"> 
            <div class="form-inline"> 
                <input name="ctl00$ContentPlaceHolder1$scsFatherCityCo" type="text" maxlength="50" id="ContentPlaceHolder1_scsFatherCityCo" tabindex="105" class="form-control pull-left" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" style="width:59%;" isdatepicker="true" value="<?=$student->pcity?>"> 
				 
                <input name="ctl00$ContentPlaceHolder1$txtFatherPin" type="text" maxlength="6" id="ContentPlaceHolder1_txtFatherPin" tabindex="108" class="form-control pull-right" disabled="true" placeholder="PIN" onkeypress="return digitsOnly(this,event);" style="width:39%;" isdatepicker="true" value="<?=$student->ppin?>"> 
 
            </div> 
 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Phone</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtFatherPhoneCo" type="text" maxlength="50" id="ContentPlaceHolder1_txtFatherPhoneCo" tabindex="111" class="form-control" disabled="true" onkeyup="return properPhone(this);" style="width:100%;" isdatepicker="true" value="<?=$parent->phone?>"> 
        </div> 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Mobile</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtFatherMobileCo" type="text" value="9868726515" maxlength="100" id="ContentPlaceHolder1_txtFatherMobileCo" tabindex="114" class="form-control" disabled="true" onkeyup="return properPhone(this);" isdatepicker="true" value="<?=$parent->phone?>"> 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Email</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtFatherEmailCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtFatherEmailCo" tabindex="117" class="form-control" disabled="true" onblur="return EmailValidation(this);" isdatepicker="true" value="<?=$parent->email?>"> 
 
        </div> 
 
    </div> 
 
<?php }?> 
</div> 
</div> 
</div> 
</div> 
                            <div id="ContentPlaceHolder1_trRelation2" class="tab-pane fade"> 
                                <div class="row"> 
                                    <div class="col-sm-6"> 
 
<div class="form-horizontal"> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Title</label> 
        <div class=" col-sm-9"> 
            <div class="form-inline"> 
                <select name="ctl00$ContentPlaceHolder1$ddlMotherTitle" id="ContentPlaceHolder1_ddlMotherTitle" tabindex="72" class="form-control pull-left" disabled="true" style="width:50%;"> 
		<option selected="selected" value="2">Mrs</option> 
		<option value="3">Ms</option> 
		<option value="5">Dr(Mrs)</option> 
		<option value="7">Late Mrs</option> 
		<option value="24">Late Smt</option> 
 
	</select> 
 
 
                <label class="switch pull-right"> 
                    <input name="ctl00$ContentPlaceHolder1$rdMotherActive" type="checkbox" id="ContentPlaceHolder1_rdMotherActive" rel="disable" class="form-switch" groupname="ActiveRelation"> 
                    <span></span> 
 
                </label> 
                <span style="display: inline-block; margin-right: 10px; padding: 8px 0;" class="pull-right">Active</span> 
 
 
            </div> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Name</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtMotherName" type="text" value="<?=$parent->mother_name?>" maxlength="50" id="ContentPlaceHolder1_txtMotherName" tabindex="75" class="form-control pull-right" disabled="true" onkeyup="return properName(this);" isdatepicker="true" > 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Age</label> 
        <div class=" col-sm-9"> 
            <div class="input-group"> 
 
                <input name="ctl00$ContentPlaceHolder1$txtMAge" type="text" value="<?=$parent->mother_age?>" maxlength="2" id="ContentPlaceHolder1_txtMAge" tabindex="78" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true"> 
                <span class="input-group-addon">Years</span> 
            </div> 
 
 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Occupation</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsMotherOccupation" type="text" value="<?=$parent->mother_profession?>" maxlength="50" id="ContentPlaceHolder1_scsMotherOccupation" tabindex="81" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Education</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsMotherEducation" type="text" value="<?=$parent->mother_qualification?>" maxlength="50" id="ContentPlaceHolder1_scsMotherEducation" tabindex="84" class="form-control" disabled="true" autocomplete="off" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" onkeyup="return properAddress(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Aadhaar No</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtMAadhaarNo" type="text" value="919313105155" maxlength="12" id="ContentPlaceHolder1_txtMAadhaarNo" tabindex="87" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true"> 
 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">PAN</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtMotherpanno" type="text" maxlength="10" id="ContentPlaceHolder1_txtMotherpanno" tabindex="90" class="form-control" disabled="true" onkeyup="charUpperCase(this);" style="font-size:13px;" isdatepicker="true"> 
 
        </div> 
 
    </div> 
 
 
 
</div> 
 
                                    </div> 
 
                                    <div class="col-sm-6"> 
<div class="form-horizontal"> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Company</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsMotherCompany" type="text" maxlength="50" id="ContentPlaceHolder1_scsMotherCompany" tabindex="93" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->mother_company ?>"> 
        </div> 
 
    </div> 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Designation</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsMotherDesignation" type="text" maxlength="50" id="ContentPlaceHolder1_scsMotherDesignation" tabindex="96" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->mother_designation?>"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Address (O)</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtMotherAddressCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtMotherAddressCo" tabindex="99" class="form-control" disabled="true" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->address?>"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Area</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsMotherAreaCo" type="text" maxlength="100" id="ContentPlaceHolder1_scsMotherAreaCo" tabindex="102" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" > 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">City</label> 
        <div class=" col-sm-9"> 
            <div class="form-inline"> 
                <input name="ctl00$ContentPlaceHolder1$scsMotherCityCo" type="text" maxlength="50" id="ContentPlaceHolder1_scsMotherCityCo" tabindex="105" class="form-control pull-left" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" style="width:59%;" isdatepicker="true" value=""> 
                <input name="ctl00$ContentPlaceHolder1$txtMotherPin" type="text" maxlength="6" id="ContentPlaceHolder1_txtMotherPin" tabindex="108" class="form-control pull-right" disabled="true" placeholder="PIN" onkeypress="return digitsOnly(this,event);" style="width:39%;" isdatepicker="true"value=""> 
            </div> 
 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Phone</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtMotherPhoneCo" type="text" maxlength="50" id="ContentPlaceHolder1_txtMotherPhoneCo" tabindex="111" class="form-control" disabled="true" onkeyup="return properPhone(this);" isdatepicker="true" value="<?=$parent->mother_phone?>"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Mobile</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtMotherMobileCo" type="text" value="9968098550" maxlength="100" id="ContentPlaceHolder1_txtMotherMobileCo" tabindex="114" class="form-control" disabled="true" onkeyup="return properPhone(this);" isdatepicker="true" value="<?=$parent->mother_phone?>"> 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Email</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtMotherEmailCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtMotherEmailCo" tabindex="117" class="form-control" disabled="true" onblur="return EmailValidation(this);" isdatepicker="true" value="<?=$parent->mother_email?>"> 
        </div> 
 
    </div> 
 
 
 
 
</div> 
                                    </div> 
                                </div> 
                            </div> 
                            <div id="ContentPlaceHolder1_trRelation3" class="tab-pane fade"> 
                                <div class="row"> 
                                    <div class="col-sm-6"> 
 
<div class="form-horizontal"> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Title</label> 
        <div class=" col-sm-9"> 
            <div class="form-inline"> 
                <select name="ctl00$ContentPlaceHolder1$ddlGuardianTitle" id="ContentPlaceHolder1_ddlGuardianTitle" tabindex="72" class="form-control pull-left" disabled="true" style="width:50%;"> 
		<option value="1">Mr</option> 
		<option value="2">Mrs</option> 
		<option value="3">Ms</option> 
		<option value="4">Dr</option> 
		<option value="5">Dr(Mrs)</option> 
		<option value="6">Late Mr</option> 
		<option value="7">Late Mrs</option> 
		<option value="8">Major</option> 
		<option value="9">Colonel</option> 
		<option value="10">Captain</option> 
		<option value="11">Lt.Colonel</option> 
		<option value="12">Wg.Cmdr.</option> 
		<option value="13">Brigadier</option> 
		<option value="14">Gp.Capt.</option> 
		<option value="15">Sqn Leader</option> 
		<option value="17">Sub</option> 
		<option value="18">Lt. Cdr</option> 
		<option value="19">Cmdr.</option> 
		<option value="20">Cdr.</option> 
		<option value="21">Late</option> 
		<option value="22">Md</option> 
		<option value="23">Late Sh</option> 
		<option value="24">Late Smt</option> 
		<option value="25">Justic</option> 
		<option value="26">Hav</option> 
		<option value="27">Nk</option> 
		<option value="28">Cdr</option> 
		<option value="29">Lt Col</option> 
		<option value="30">Col</option> 
		<option value="31">Capt</option> 
		<option value="32">Sep</option> 
		<option value="33">Sqn Ldr</option> 
		<option value="34">Maj</option> 
		<option value="35">Lnk</option> 
		<option value="36">Dfr</option> 
		<option value="37">Late Rfn</option> 
		<option value="38">Late Maj</option> 
		<option value="39">Lt</option> 
		<option value="40">Nb Sub</option> 
		<option value="41">Lt Cdr</option> 
		<option value="42">Ld</option> 
		<option value="43">Gdsm</option> 
		<option value="44">Late Cfn</option> 
		<option value="45">Wg Cdr</option> 
		<option value="46">Sgt</option> 
		<option value="47">Brig</option> 
		<option value="48">Late Nk</option> 
		<option value="49">Flt Lt</option> 
		<option value="50">Jco</option> 
		<option value="51">Commander</option> 
		<option value="52">Rfn</option> 
		<option value="53">Mech</option> 
		<option value="54">Ex Hav</option> 
		<option value="55">Ex Nk</option> 
		<option value="56">Sig Mn</option> 
		<option value="57">Ex P O</option> 
		<option value="58">Ex Seg</option> 
		<option value="59">Sub Maj</option> 
		<option value="60">C Q M H</option> 
		<option value="61">J W O</option> 
		<option value="62">G N R</option> 
		<option value="63">Gp Capt</option> 
		<option value="64">Cmdr</option> 
		<option value="65">Cpl</option> 
		<option value="66">Jwo</option> 
		<option value="67">Nb Subedar</option> 
		<option value="68">Ex Jwo</option> 
		<option value="69">Hav(Army)</option> 
		<option value="70">Ex Sgt</option> 
		<option value="71">Clerk</option> 
		<option value="72">Nc(E)</option> 
		<option value="73">Wo</option> 
		<option value="74">Others</option> 
		<option value="75">Subedar</option> 
		<option value="76">L/Nk</option> 
		<option value="77">Cfn</option> 
		<option value="78">Ex Cpl</option> 
		<option value="79">Signal Man</option> 
		<option value="80">Dgt</option> 
		<option value="81">Brig Gen</option> 
		<option value="82">Hq Sfc</option> 
		<option value="83">Air Cmde</option> 
		<option value="84">Ld(Army)</option> 
		<option value="85">Ex Po</option> 
		<option value="86">Avm</option> 
		<option value="87">Mceaa-II</option> 
		<option value="88">M W O</option> 
		<option value="89">Mrs.</option> 
 
	</select> 
                <label class="switch pull-right"> 
                    <input name="ctl00$ContentPlaceHolder1$rdGuardianActive" type="checkbox" id="ContentPlaceHolder1_rdGuardianActive" rel="disable" class="form-switch" groupname="ActiveRelation"> 
                    <span></span> 
 
                </label> 
                <span style="display: inline-block; margin-right: 10px; padding: 8px 0;" class="pull-right">Active</span> 
            </div> 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Name</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtGuardianName" type="text" maxlength="50" id="ContentPlaceHolder1_txtGuardianName" tabindex="75" class="form-control pull-right" disabled="true" onkeyup="return properName(this);" isdatepicker="true"> 
 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Age</label> 
        <div class=" col-sm-9"> 
            <div class="input-group"> 
 
                <input name="ctl00$ContentPlaceHolder1$txtGAge" type="text" maxlength="2" id="ContentPlaceHolder1_txtGAge" tabindex="78" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true"> 
                <span class="input-group-addon">Years</span> 
            </div> 
 
 
        </div> 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Occupation</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsGuardianOccupation" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianOccupation" tabindex="81" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Education</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsGuardianEducation" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianEducation" tabindex="84" class="form-control" disabled="true" autocomplete="off" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" onkeyup="return properAddress(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Aadhaar No</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtGuardianAadhaarNo" type="text" maxlength="12" id="ContentPlaceHolder1_txtGuardianAadhaarNo" tabindex="87" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">PAN</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtGuardpanno" type="text" maxlength="10" id="ContentPlaceHolder1_txtGuardpanno" tabindex="90" class="form-control" disabled="true" onkeyup="charUpperCase(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
</div> 
 
                                    </div> 
 
                                    <div class="col-sm-6"> 
<div class="form-horizontal"> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Company</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsGuardianCompany" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianCompany" tabindex="93" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Designation</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsGuardianDesignation" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianDesignation" tabindex="96" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Address (O)</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtGuardianAddressCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtGuardianAddressCo" tabindex="99" class="form-control" disabled="true" onkeyup="return properAddress(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Area</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$scsGuardianAreaCo" type="text" maxlength="100" id="ContentPlaceHolder1_scsGuardianAreaCo" tabindex="102" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">City</label> 
        <div class=" col-sm-9"> 
            <div class="form-inline"> 
                <input name="ctl00$ContentPlaceHolder1$scsGuardianCityCo" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianCityCo" tabindex="105" class="form-control pull-left" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" style="width:59%;" isdatepicker="true"> 
                <input name="ctl00$ContentPlaceHolder1$txtGuardianPin" type="text" maxlength="6" id="ContentPlaceHolder1_txtGuardianPin" tabindex="108" class="form-control pull-right" disabled="true" placeholder="PIN" onkeypress="return digitsOnly(this,event);" style="width:39%;" isdatepicker="true"> 
            </div> 
 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Phone</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtGuardianPhoneCo" type="text" maxlength="50" id="ContentPlaceHolder1_txtGuardianPhoneCo" tabindex="111" class="form-control" disabled="true" onkeyup="return properPhone(this);" style="width:100%;" isdatepicker="true"> 
        </div> 
 
    </div> 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Mobile</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtGuardianMobileCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtGuardianMobileCo" tabindex="114" class="form-control" disabled="true" onkeyup="return properPhone(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
    <div class="form-group m-b-sm"> 
        <label class="col-sm-3 control-label">Email</label> 
        <div class=" col-sm-9"> 
            <input name="ctl00$ContentPlaceHolder1$txtGuardianEmailCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtGuardianEmailCo" tabindex="117" class="form-control" disabled="true" onblur="return EmailValidation(this);" isdatepicker="true"> 
        </div> 
 
    </div> 
 
 
 
 
</div> 
                                    </div> 
                                </div> 
                            </div> 
                        </div> 
                    </div> 
 </section> 
<section class="panel panel-default m-b-sm"> 
 <header class="panel-heading"> 
<a data-toggle="collapse" data-parent="#accordion" href="#attendance"><span class="panel-title">Other</span></a> <a data-toggle="collapse" data-parent="#accordion" href="#attendance" class="pull-right"> 
<b class="caret m-t-xs"></b></a> 
</header> 
<div id="attendance" class="panel-collapse collapse in panel-body"> 
</div> 
 </section> 
 
</div><!--end here panel-group--> 
 
</div><!--end here col-sm-12--> 
<div class="pull-right"> 
<div class="btnview"> 
<ul> 
<li><button class="btn-cs btn-sm-cs" onclick="javascript:printDiv('printablediv')" data-placement="top" data-toggle="tooltip" data-original-title="<?=$this->lang->line('print')?> "><i class="fa fa-print"></i> </button></li> 
<li><?php echo btn_add_pdf('student/print_preview/'.$student->studentID."/".$set, $this->lang->line('pdf_preview')) ?></li> 
<li><button class="btn-cs btn-sm-cs" data-toggle="modal" data-target="#idCard" data-placement="top" data-toggle="tooltip" data-original-title="<?=$this->lang->line('idcard')?>"><i class="fa fa-floppy-o"></i>  </button></li> 
<li><?php echo btn_sm_edit('student/edit/'.$student->studentID."/".$set, $this->lang->line('edit'))?></li> 
<li><button class="btn-cs btn-sm-cs" data-toggle="modal" data-target="#mail" data-placement="top"  data-toggle="tooltip" data-original-title="<?=$this->lang->line('mail')?>"><i class="fa fa-envelope-o"></i> </button></li> 
<li><button class="btn-cs btn-sm-cs" data-toggle="modal" data-target="#sms" data-placement="top"  data-toggle="tooltip" data-original-title="<?=$this->lang->line('SMS')?>"><i class="fa fa-commenting-o" ></i> </button></li> 
<li class="btn-cs btn-sm-cs"><a href="#" href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Attendance"><i class="fa fa-calendar-check-o" aria-hidden="true"></i></a></li> 
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Courses"><i class="fa fa-book" aria-hidden="true"></i></a></li> 
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Optional Fee Heads Entry"><i class="fa fa-money" aria-hidden="true"></i></a></li> 
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Fee Transaction Entry"><i class="fa fa-money" aria-hidden="true"></i></a></li> 
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Fee Ledger Details"><i class="fa fa-money" aria-hidden="true"></i></a></li>	 
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Documents"><i class="fa fa-file-text" aria-hidden="true"></i></a></li> 
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Medical"><i class="fa fa-medkit" aria-hidden="true"></i></a></li> 
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Transport"><i class="fa fa-bus" aria-hidden="true"></i></a></li> 
</ul> 
</div><!--End here BtnView--> 
</div><!--End Here col-sm-1-->  
 
 
 
                 
 
 
 
                 
 
 
 
                 
 
 
</div> 
<!--end here class row--> 
 
 
 
 
 
 
 
 
 
    
 
 
 
 
 
 
 
 
 
 
 
    <div id="printablediv"> 
 
 
 
        <section class="panel"> 
<div class="nav-tabs-custom2"> 
 
                            <ul class="nav nav-tabs" > 
 
                                <li class="active"><a data-toggle="tab" href="#personal" >Personal</a></li> 
 
                                <li class=""><a data-toggle="tab" href="#parential" >Parent</a></li> 
 
                                <li class=""><a data-toggle="tab" href="#stu_attendance" >Attendance</a></li> 
 
                                <li class=""><a data-toggle="tab" href="#stu_course" >Courses</a></li> 
 
                                <li class=""><a data-toggle="tab" href="#stu_facility" >Facility</a></li> 
 
                                <li class=""><a data-toggle="tab" href="#stu_document" >Documents</a></li> 
 
                                <li class=""><a data-toggle="tab" href="#stu_invoice" >Fees</a></li> 
 
                                <li class=""><a data-toggle="tab" href="#stu_medi" >Medical</a></li> 
 
                                <li class=""><a data-toggle="tab" href="#stu_transport" >Transport</a></li> 
 
                   
 
                            </ul> 
 
             
 
             
 
             
 
             
 
             
 
             
 
             
 
             
 
             
 
             
 
            <div class="tab-content"> 
 
                                <div id="personal" class="tab-pane active"> 
 
                                    
 
            <div class="panel-body profile-view-dis"> 
 
                 
 
                </div> 
 
                </div> 
 
 
 
 
 
                 
 
                 
 
                 
 
<div id="parential" class="tab-pane "> 
 
    <div class="panel-body profile-view-dis"> 
 
                <div class="inbox">  
 
                <h1>Parent Information</h1> 
 
 
 
                <div class="row pad_left"> 
 
 
 
                <?php   if(isset($parent)) { ?> 
 
 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_guargian_name")?> </span>: <?=$parent->name?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_father_name")?> </span>: <?=$parent->father_name?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_mother_name")?> </span>: <?=$parent->mother_name?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_father_profession")?> </span>: <?=$parent->father_profession?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_mother_profession")?> </span>: <?=$parent->mother_profession?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_email")?> </span>: <?=$parent->email?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_phone")?> </span>: <?=$parent->phone?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_address")?> </span>: <?=$parent->address?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <?php if($usertype == "Admin") { ?> 
 
 
 
                    <div class="profile-view-tab"> 
 
 
 
                        <p><span class="text_dark"><?=$this->lang->line("parent_username")?> </span>: <?=$parent->username?></p><hr> 
 
 
 
                    </div> 
 
 
 
                    <?php } ?> 
 
 
 
                </div> 
 
                </div> 
 
                </div> 
 
                </div> 
 
                 
 
                 
 
                 
 
                <div id="stu_attendance" class="tab-pane "> 
 
                 
 
                 
 
                <?php 
 
 
 
    $month = array( 
 
 
 
      "01" => "jan", 
 
 
 
      "02" => "feb", 
 
 
 
      "03" => "mar", 
 
 
 
      "04" => "apr", 
 
 
 
      "05" => "may", 
 
 
 
      "06" => "jun", 
 
 
 
      "07" => "jul", 
 
 
 
      "08" => "aug", 
 
 
 
      "09" => "sep", 
 
 
 
      "10" => "oct", 
 
 
 
      "11" => "nov", 
 
 
 
      "12" => "dec" 
 
 
 
 
 
 
 
    ); 
 
 
 
    function attendance($a,$lang) { 
 
 
 
      $i=1; 
 
 
 
      foreach ($a as $key => $val) { 
 
 
 
        $day = "a".$i; 
 
 
 
        if($key == $day){ 
 
 
 
            echo "<td class='att-bg-color' data-title='".$lang->line('attendance_'.$i)."' >".$val."</td>"; 
 
 
 
          $i++; 
 
 
 
        } 
 
 
 
      } 
 
 
 
    } 
 
 
 
?> 
 
 
 
 
 
                <div class=""> 
 
 
 
                <h1><?=$this->lang->line("attendance")?></h1> 
 
 
 
 
 
 
 
 
 
                <?php 
 
 
 
                  $year = date("Y"); 
 
 
 
                  if($this->data['setting']->attendance == "subject") { 
 
 
 
                     
 
 
 
                ?> 
 
 
 
                <div class="row"> 
 
 
 
                    <div class="col-sm-12"> 
 
 
 
                        <div id="hide-table"> 
 
 
 
                            <table class="table table-striped table-bordered"> 
 
 
 
                                <thead> 
 
 
 
                                    <tr> 
 
 
 
<th>Subject</th> 
 
<th>#</th> 
 
 
 
<?php 
 
 
 
    for($i=1; $i<=31; $i++){ 
 
 
 
       echo  "<th>".$this->lang->line('attendance_'.$i)."</th>"; 
 
 
 
    } 
 
 
 
?> 
 
 
 
                                    </tr> 
 
 
 
                                </thead> 
 
 
 
                      <?php 
 
                    if(count($subjects)){ 
 
 
 
                      foreach ($subjects as $subject) { 
 
 
 
                         
 
                              if(count($attendances)) { 
 
 
 
 
 
 
 
                                  foreach ($attendances as $key => $attendance) { 
 
 
 
                                      if($attendance->subjectID == $subject->subjectID) { 
 
 
 
$monthyear_ex = explode('-', $attendance->monthyear); 
 
 
 
if($monthyear_ex[1] == $year ) { 
 
 
 
  echo "<tr>"; 
 
        echo "<th>".$subject->subject." ".$this->lang->line("attendance_information")."</th>"; 
 
      echo "<th>".$this->lang->line('attendance_'.$month[$monthyear_ex[0]])."</th>"; 
 
 
 
      attendance($attendance,$this->lang); 
 
 
 
  echo "</tr>"; 
 
 
 
} 
 
 
 
                                      } 
 
 
 
                                  } 
 
 
 
                              } 
 
                              } 
 
                              } 
 
 
 
                              ?> 
 
 
 
                              </table> 
 
 
 
                          </div> 
 
 
 
                      </div> 
 
 
 
                  </div> 
 
 
 
                  <?php 
 
                 } else { 
 
 
 
 
 
 
 
                ?> 
 
 
 
                <h1><?=$this->lang->line("attendance_information")?></h1> 
 
 
 
 
 
 
 
                <div class="row"> 
 
 
 
                    <div class="col-sm-12"> 
 
 
 
                        <div id="hide-table"> 
 
 
 
                            <table class="table table-striped table-bordered"> 
 
 
 
                                <thead> 
 
 
 
                                    <tr> 
 
 
 
<th>#</th> 
 
 
 
<?php 
 
 
 
    for($i=1; $i<=31; $i++){ 
 
 
 
       echo  "<th>".$this->lang->line('attendance_'.$i)."</th>"; 
 
 
 
    } 
 
 
 
?> 
 
 
 
                                    </tr> 
 
 
 
                                </thead> 
 
 
 
                                <?php 
 
 
 
 
 
 
 
                                    if(count($attendances)) { 
 
 
 
 
 
 
 
foreach ($attendances as $key => $attendance) { 
 
 
 
    $monthyear_ex = explode('-', $attendance->monthyear); 
 
 
 
    if($monthyear_ex[0] === '01' && $monthyear_ex[1] == $year ) { 
 
 
 
                                ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_jan')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '02' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_feb')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '03' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_mar')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '04' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_apr')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '05' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_may')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '06' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_june')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '07' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_jul')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '08' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_aug')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '09' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_sep')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '10' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_oct')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '11' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_nov')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php } elseif($monthyear_ex[0] === '12' && $monthyear_ex[1] == $year) { ?> 
 
 
 
                                    <tr> 
 
 
 
<th><?=$this->lang->line('attendance_dec')?></th> 
 
 
 
<?php attendance($attendance,$this->lang); ?> 
 
 
 
                                    </tr> 
 
 
 
                                <?php 
 
 
 
    } 
 
 
 
} 
 
 
 
 
 
 
 
                                    } 
 
 
 
                                ?> 
 
 
 
                            </table> 
 
 
 
                        </div> 
 
 
 
                    </div> 
 
 
 
                </div> 
 
 
 
          <?php } ?> 
 
 
 
            </div> 
 
 
 
                 
 
 
 
            </div> 
 
            
 
                 
 
                 
 
               <div id="stu_course" class="tab-pane "> 
 
                <h1>Courses</h1> 
 
 
 
                <div class="box"> 
 
                <div class="box-body"> 
 
     
 
 
 
        <div class="row"> 
 
        <div class="col-sm-12"> 
 
               <div id="hide-table"> 
 
 
 
                    <table id="stu_view_example1" class="table table-striped table-bordered table-hover dataTable no-footer"> 
 
 
 
                        <thead> 
 
 
 
                            <tr > 
 
 
 
                                <th class="col-sm-2"><?=$this->lang->line('slno')?></th> 
 
 
 
                                <th class="col-sm-2"><?=$this->lang->line('subject_name')?></th> 
 
 
 
                                <th class="col-sm-2"><?=$this->lang->line('subject_author')?></th> 
 
 
 
                                <th class="col-sm-2"><?=$this->lang->line('subject_code')?></th> 
 
 
 
                                <th class="col-sm-2"><?=$this->lang->line('subject_teacher')?></th> 
 
 
 
                                <?php  if($usertype == "Admin") { ?> 
 
 
 
                                <th class="col-sm-2"><?=$this->lang->line('action')?></th> 
 
 
 
                                <?php } ?> 
 
 
 
                            </tr> 
 
                            <tr role="row"  class="filter"> 
 
                                <th class="col-sm-2 test"><?=$this->lang->line('slno')?></th> 
 
 
 
                                <th class="col-sm-2 test"><?=$this->lang->line('subject_name')?></th> 
 
 
 
                                <th class="col-sm-2 test"><?=$this->lang->line('subject_author')?></th> 
 
 
 
                                <th class="col-sm-2 test"><?=$this->lang->line('subject_code')?></th> 
 
 
 
                                <th class="col-sm-2 test"><?=$this->lang->line('subject_teacher')?></th> 
 
 
 
                                <?php  if($usertype == "Admin") { ?> 
 
 
 
                                <th class="col-sm-2 test"><?=$this->lang->line('action')?></th> 
 
 
 
                                <?php } ?> 
 
                            </tr> 
 
                        </thead> 
 
 
 
 
 
 
 
                        <tbody> 
 
 
 
                            <?php if(count($subjects)) {$i = 1; foreach($subjects as $subject) { ?> 
 
 
 
                                <tr> 
 
 
 
                                    <td data-title="<?=$this->lang->line('slno')?>"> 
 
 
 
<?php echo $i; ?> 
 
 
 
                                    </td> 
 
 
 
                                    <td data-title="<?=$this->lang->line('subject_name')?>"> 
 
 
 
<?php echo $subject->subject; ?> 
 
 
 
                                    </td> 
 
 
 
                                    <td data-title="<?=$this->lang->line('subject_author')?>"> 
 
 
 
<?php echo $subject->subject_author; ?> 
 
 
 
                                    </td> 
 
 
 
                                    <td data-title="<?=$this->lang->line('subject_code')?>"> 
 
 
 
<?php echo $subject->subject_code; ?> 
 
 
 
                                    </td> 
 
 
 
                                    <td data-title="<?=$this->lang->line('subject_teacher')?>"> 
 
 
 
<?php echo $subject->teacher_name; ?> 
 
 
 
                                    </td> 
 
 
 
                                    <?php  if($usertype == "Admin") { ?> 
 
 
 
                                    <td data-title="<?=$this->lang->line('action')?>"> 
 
 
 
<?php echo btn_edit('subject/edit/'.$subject->subjectID."/".$set, $this->lang->line('edit')) ?> 
 
 
 
<?php echo btn_delete('subject/delete/'.$subject->subjectID."/".$set, $this->lang->line('delete')) ?> 
 
 
 
 <?php if($usertype == 'Admin'){ 
 
 
 
    echo btn_view('subject/allocate/'.$subject->subjectID."/".$set, $this->lang->line('allocate')); 
 
 
 
    }  ?> 
 
 
 
                                    </td> 
 
 
 
                                    <?php } ?> 
 
 
 
                                </tr> 
 
 
 
                            <?php $i++; }} ?> 
 
 
 
                        </tbody> 
 
 
 
                    </table> 
 
 
 
                </div> 
 
                </div> 
 
                </div> 
 
                </div> 
 
                </div> 
 
                 
 
                </div>  
 
                 
 
                 
 
                <div id="stu_facility" class="tab-pane "> 
 
                <h1><?=$this->lang->line("facility")?></h1> 
 
                <div class="box"> 
 
                <div class="box-body"> 
 
     
 
 
 
        <div class="row"> 
 
        <div class="col-sm-12"> 
 
                  <div id="hide-table"> 
 
 
 
<table id="stu_view_example2" class="table table-striped table-bordered table-hover dataTable no-footer"> 
 
 
 
    <thead> 
 
 
 
        <tr> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('slno')?></th> 
 
 
 
           
 
 
 
            <th class="col-sm-2">Facility</th> 
 
 
 
            <th>Amount</th> 
 
 
 
              <th>Year</th> 
 
 
 
            
 
 
 
            <th class="col-sm-2"><?=$this->lang->line('action')?></th> 
 
 
 
        </tr> 
 
        <tr> 
 
 
 
            <th class="col-sm-2 test"><?=$this->lang->line('slno')?></th> 
 
 
 
           
 
 
 
            <th class="col-sm-2 test">Facility</th> 
 
 
 
            <th class="col-sm-2 test">Amount</th> 
 
 
 
              <th class="col-sm-2 test">Year</th> 
 
 
 
            
 
 
 
            <th class="col-sm-2 test"><?=$this->lang->line('action')?></th> 
 
 
 
        </tr> 
 
    </thead> 
 
     
 
    <tbody> 
 
 
 
        <?php if(count($student_facility)) {$i = 1; foreach($student_facility as $c) { ?> 
 
 
 
            <tr> 
 
 
 
                <td data-title="<?=$this->lang->line('slno')?>"> 
 
 
 
                    <?php echo $i; ?> 
 
 
 
                </td> 
 
 
 
 
 
 
 
                <td data-title="Facility"> 
 
 
 
                    <?php echo $c->facility; ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="Amount"> 
 
 
 
                    <?php echo $c->amount; ?> 
 
 
 
                </td> 
 
 
 
                  <td data-title="Year"> 
 
 
 
                    <?php echo $c->year; ?> 
 
 
 
                </td> 
 
 
 
                
 
 
 
                <td data-title="<?=$this->lang->line('action')?>"> 
 
 
 
                    <?php 
 
 
 
                       
 
 
 
                            
 
 
 
                            echo btn_delete('student/fac_delete/'.$c->studentfacilityID.'/'.$c->studentID, $this->lang->line('delete')); 
 
 
 
                            
 
 
 
                      
 
 
 
 
 
 
 
                    ?> 
 
 
 
                </td> 
 
 
 
           </tr> 
 
 
 
        <?php $i++; }} ?> 
 
 
 
    </tbody> 
 
 
 
</table> 
 
 
 
                                    </div> 
 
                                    </div> 
 
                                    </div> 
 
                                    </div> 
 
                                    </div> 
 
                 
 
                </div> 
 
                 
 
                 
 
                 <div id="stu_document" class="tab-pane "> 
 
                <h1>Documents</h1> 
 
 
 
                  <div id="hide-table"> 
 
 
 
<table id="stu_view_example3" class="table table-striped table-bordered table-hover dataTable no-footer"> 
 
 
 
    <thead> 
 
 
 
        <tr> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('slno')?></th> 
 
 
 
            <th class="col-sm-2">Title</th> 
 
 
 
            <th class="col-sm-2">Document</th> 
 
 
 
            <th class="col-sm-2"><?=$this->lang->line('action')?></th> 
 
 
 
             
 
 
 
 
 
 
 
        </tr> 
 
<tr > 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('slno')?></th> 
 
 
 
            <th class="col-sm-2 test">Title</th> 
 
 
 
            <th class="col-sm-2 test">Document</th> 
 
 
 
            <th class="col-sm-2 test"><?=$this->lang->line('action')?></th> 
 
 
 
             
 
 
 
 
 
 
 
        </tr>  
 
    </thead> 
 
     
 
    <tbody> 
 
 
 
        <?php if(count($students_doc)) {$i = 1; foreach($students_doc as $s) { ?> 
 
 
 
            <tr> 
 
 
 
                <td data-title="<?=$this->lang->line('slno')?>"> 
 
 
 
                    <?php echo $i; ?> 
 
 
 
                </td> 
 
 
 
 
 
 
 
                
 
 
 
                <td data-title="Title"> 
 
 
 
                <?php echo $s->title; ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('student_roll')?>"> 
 
 
 
                     
 
 
 
                      <a href="<?=base_url('uploads/images/'.$s->document) ?>" target="blank" class="btn btn-warning">View Document</a> 
 
 
 
                </td> 
 
 
 
                 
 
 
 
                
 
 
 
                <td data-title="<?=$this->lang->line('action')?>"> 
 
 
 
                    <?php 
 
 
 
                        
 
 
 
                            
 
 
 
                            echo btn_delete('student/delete_doc/'.$s->student_id.'/'.$s->id, $this->lang->line('delete')); 
 
 
 
                            echo btn_add('student/upload_document/'.$s->student_id, 'Document'); 
 
 
 
                        
 
 
 
 
 
 
 
                    ?> 
 
 
 
                </td> 
 
 
 
 
 
 
 
           </tr> 
 
 
 
        <?php $i++; }} ?> 
 
 
 
    </tbody> 
 
 
 
</table> 
 
 
 
                                    </div> 
 
                 
 
                </div> 
 
 
 
                 
 
                 <div id="stu_transport" class="tab-pane "> 
 
                 
 
                <?php if(!empty($transport) && !empty($tmember)) {?> 
 
                <div class="panel-body profile-view-dis"> 
 
                <div class="inbox">  
 
                     
 
                <h1>Transport</h1> 
 
 
 
                <div class="row pad_left"> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_roll")?> </span>: <?=$student->roll?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("menu_section")?> </span>: <?php if(count($section)) { echo $section->section;} else { echo $student->section;}?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_route_name")?> </span>: <?=$transport->route?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_tfee")?> </span>: <?=$tmember->tbalance?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_joindate")?> </span>: <?=date("d M Y", strtotime($tmember->tjoindate))?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_dob")?> </span>: <?=date("d M Y", strtotime($student->dob))?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_sex")?> </span>: <?=$student->sex?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_religion")?> </span>: <?=$student->religion?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_email")?> </span>: <?=$student->email?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_phone")?> </span>: <?=$student->phone?></p><hr> 
 
 
 
                            </div> 
 
 
 
                            <div class="profile-view-tab"> 
 
 
 
                                <p><span class="text_dark"><?=$this->lang->line("tmember_address")?> </span>: <?=$student->address?></p><hr> 
 
 
 
                            </div> 
 
 
 
                        </div> 
 
                        </div> 
 
                        </div> 
 
                <?php } 
 
                else{echo 'NO Transportation';}?> 
 
                </div> 
 
                 
 
                 
 
                <div id="stu_invoice" class="tab-pane "> 
 
                <h1>Fees</h1> 
 
                 
 
                <div class="box-body"> 
 
 
 
        <div class="row"> 
 
 
 
            <div class="col-sm-12"> 
 
 
 
 
 
 
 
            <?php 
 
 
 
            $amount = 0; 
 
 
 
            $concession = 0; 
 
 
 
            $received = 0; 
 
 
 
            $fine = 0; 
 
 
 
            ?> 
 
 
 
 
 
 
 
                <?php if(count($slips_list) > 0 ) { ?> 
 
 
 
 
 
 
 
                    <div class="col-sm-12"> 
 
 
 
 
 
 
 
                        <div class="nav-tabs-custom"> 
 
 
 
                            
 
 
 
 
 
 
 
 
 
 
 
                            <div class="tab-content"> 
 
 
 
                                <div id="all" class="tab-pane active"> 
 
 
 
                                    <div id="hide-table"> 
 
 
 
<table id="stu_view_example4" class="table table-striped table-bordered table-hover dataTable no-footer"> 
 
 
 
    <thead> 
 
 
 
        <tr> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('slno')?></th> 
 
 
 
            <th class="col-sm-1">Invoice Number</th> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('student_name')?></th> 
 
 
 
            <th class="col-sm-2"><?=$this->lang->line('classes')?></th> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('invoicetype')?></th> 
 
 
 
            <th class="col-sm-2"><?=$this->lang->line('time_period')?></th> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('due_date')?></th> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('invoice_amount')?></th> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('amount_receive')?></th> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('concession_amount')?></th> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('late_fee')?></th> 
 
 
 
            <th class="col-sm-1"><?=$this->lang->line('action')?></th> 
 
 
 
        </tr> 
 
<tr> 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('slno')?></th> 
 
 
 
            <th class="col-sm-1 test">Invoice Number</th> 
 
 
 
            <th class="col-sm-1  test"><?=$this->lang->line('student_name')?></th> 
 
 
 
            <th class="col-sm-2  test"><?=$this->lang->line('classes')?></th> 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('invoicetype')?></th> 
 
 
 
            <th class="col-sm-2 test"><?=$this->lang->line('time_period')?></th> 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('due_date')?></th> 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('invoice_amount')?></th> 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('amount_receive')?></th> 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('concession_amount')?></th> 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('late_fee')?></th> 
 
 
 
            <th class="col-sm-1 test"><?=$this->lang->line('action')?></th> 
 
 
 
        </tr> 
 
    </thead> 
 
     
 
    <tbody> 
 
 
 
        <?php if(count($slips_list)) {$i = 1; foreach($slips_list as $c) {  
 
 
 
            $amount = $amount+$c->amount; 
 
 
 
            $concession = $concession+$c->concession; 
 
 
 
            $received = $received+$c->paid_amount; 
 
 
 
            $fine = $fine+$c->fine; 
 
 
 
            ?> 
 
 
 
            <tr> 
 
 
 
                <td data-title="<?=$this->lang->line('slno')?>"> 
 
 
 
                    <?php echo $i; ?> 
 
 
 
                </td> 
 
 
 
                  <td data-title="Invoice No."> 
 
 
 
                    <?php echo $c->invoicefeeID; ?> 
 
 
 
                </td> 
 
 
 
 
 
 
 
                <td data-title="<?=$this->lang->line('student_name')?>"> 
 
 
 
                     <?php echo $c->student; ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('classes')?>"> 
 
 
 
                    <?php echo $c->class; ?>/ <?php echo $c->section; ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('invoicetype')?>"> 
 
 
 
                    <?php echo $c->feetype; ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('time_period')?>"> 
 
 
 
                    <?php echo date('M y',strtotime($c->from)).' - '.date('M y',strtotime($c->to)); ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('due_date')?>"> 
 
 
 
                    <?php echo date('d M Y',strtotime($c->date)); ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('invoice_amount')?>"> 
 
 
 
                    <?php echo $c->amount; ?> 
 
 
 
                </td> 
 
 
 
                 
 
 
 
                <td data-title="<?=$this->lang->line('amount_receive')?>"> 
 
 
 
                    <?php echo $c->paid_amount; ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('concession_amount')?>"> 
 
 
 
                    <?php echo $c->concession; ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('late_fee')?>"> 
 
 
 
                    <?php echo $c->fine; ?> 
 
 
 
                </td> 
 
 
 
                <td data-title="<?=$this->lang->line('action')?>"> 
 
 
 
                   <a href="<?=base_url('invoicefee/view_slip/'.$c->invoicefeeID)?>"><i class="fa fa-eye"></i> View Slip</a> 
 
 
 
                   <?php 
 
 
 
                   echo btn_delete('invoicefee/remove_invoice/'.$c->invoicefeeID.'/'.$sid , $this->lang->line('delete')); 
 
 
 
                   ?> 
 
 
 
                   
 
 
 
                </td> 
 
 
 
           </tr> 
 
 
 
        <?php $i++; }} ?> 
 
 
 
    </tbody> 
 
 
 
</table> 
 
 
 
                                    </div> 
 
 
 
 
 
 
 
                                </div> 
 
 
 
 
 
 
 
 
 
 
 
                            </div> 
 
 
 
 
 
 
 
                        </div> <!-- nav-tabs-custom --> 
 
 
 
                    </div> <!-- col-sm-12 for tab --> 
 
 
 
 
 
 
 
                <?php }  
 
 
 
                else 
 
 
 
                    { 
 
 
 
                       echo "No Previous Invoices Found"; 
 
 
 
                    } 
 
 
 
                    ?> 
 
 
 
                    
 
 
 
            </div> <!-- col-sm-12 --> 
 
 
 
 
 
 
 
        </div><!-- row --> 
 
 
 
        <div class="row "> 
 
 
 
           <div class="col-sm-3 col-sm-offset-1  text-center" style="border-radius: 10px;padding: 10px;"> 
 
 
 
                <h5>Total Amount: Rs.  =<?=$amount?></h5> 
 
 
 
                <h5>Total Concession: Rs. =<?=$concession?></h5> 
 
 
 
                <h5>Amount Receive: Rs.  =<?=$received?></h5> 
 
 
 
                <h5>Total Fine: Rs.  =<?=$fine?></h5> 
 
 
 
                <h4>DUE AMOUNT: Rs.  =<?=$amount+$fine-$concession-$received?></h4> 
 
                 
 
           </div> 
 
 
 
        </div> 
 
 
 
    </div><!-- Body --> 
 
                   
 
                 
 
                </div> 
 
                 
 
                 
 
                 <div id="stu_medi" class="tab-pane "> 
 
                 
 
                    <h1>Medical Info</h1> 
 
                  <div class="box"> 
 
 
 
     
 
 
 
    <!-- form start --> 
 
 
 
    <div class="box-body"> 
 
 
 
        <div class="row"> 
 
 
 
            <div class="col-sm-12"> 
 
 
 
                <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data"> 
 
 
 
<div><a href='<?=base_url('medical/manage/'.$student_id)?>' style="background-color:#9f5bbb;" class='btn btn-warning' 
 
 
                ><i class="fa fa-stethoscope"></i> Manage</a><a href='<?=base_url('medical/vaccination/'.$student_id)?>'  class='btn btn-success' 
 
                ><i class="fa fa-plus"></i> Vaccination</a></div> 
 
               <h3>Contact Details</h3> 
 
 
 
                <br> 
 
 
 
 
 
 
 
 
 
 
 
                    <?php 
 
 
 
                        if(form_error('ress_contact')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="ress_contact" class="col-sm-2 control-label"> 
 
 
 
                            <?=$this->lang->line("ress_contact")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
                            <?php foreach ($medicals as $medi) {?> 
 
                            <input type="text" class="form-control" id="ress_contact" name="ress_contact" value="<?= $medi->ress_contact?>" > 
 
                               
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('ress_contact'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
 
 
 
 
                     <?php 
 
 
 
                        if(form_error('off_contact')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="off_contact" class="col-sm-2 control-label"> 
 
 
 
                            <?=$this->lang->line("off_contact")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                            <input type="text" class="form-control" id="off_contact" name="off_contact" value="<?= $medi->off_contact?>" > 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('off_contact'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
 
 
 
 
                         <?php 
 
 
 
                        if(form_error('emergency_contact')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="emergency_contact" class="col-sm-2 control-label"> 
 
 
 
                           *<?=$this->lang->line("emergency_contact")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                            <input type="text" class="form-control" id="emergency_contact" name="emergency_contact" value="<?= $medi->emergency_contact?>" > 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('emergency_contact'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
                         <?php 
 
 
 
                        if(form_error('blood_group')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="blood_group" class="col-sm-2 control-label"> 
 
 
 
                          *<?=$this->lang->line("blood_group")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                            <input type="text" class="form-control" id="blood_group" name="blood_group" value="<?= $medi->blood_group?>" > 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('blood_group'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
                 
 
                       <h3>Medical Information</h3> 
 
 
 
                 <?php 
 
 
 
                        if(form_error('food_alergy')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="food_alergy" class="col-sm-2 control-label"> 
 
 
 
                            <?=$this->lang->line("food_alergy")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                           
 
 
 
                           <textarea class="form-control" id="food_alergy" name="food_alergy" ><?= $medi->food_elergy?></textarea> 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('food_alergy'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
                     <?php 
 
 
 
                        if(form_error('drug_alergy')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="drug_alergy" class="col-sm-2 control-label"> 
 
 
 
                            <?=$this->lang->line("drug_alergy")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                           
 
 
 
                           <textarea class="form-control" id="drug_alergy" name="drug_alergy" ><?= $medi->drug_elergy?></textarea> 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('drug_alergy'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
                     <?php 
 
 
 
                        if(form_error('medical_alergy')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="medical_elergy" class="col-sm-2 control-label"> 
 
 
 
                            <?=$this->lang->line("medical_alergy")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                           
 
 
 
                           <textarea class="form-control" id="medical_alergy" name="medical_alergy" ><?= $medi->medical_elergy?></textarea> 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('medical_alergy'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
                     <?php 
 
 
 
                        if(form_error('other_alergy')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="other_elergy" class="col-sm-2 control-label"> 
 
 
 
                            <?=$this->lang->line("other_alergy")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                           
 
 
 
                           <textarea class="form-control" id="other_alergy" name="other_alergy" ><?= $medi->other_elergy?></textarea> 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('other_alergy'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
                   
 
 
 
                   <?php 
 
 
 
                        if(form_error('major_illness')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="major_illness" class="col-sm-2 control-label"> 
 
 
 
                            <?=$this->lang->line("major_illness")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                           
 
 
 
                           <textarea class="form-control" id="major_illness" name="major_illness" ><?= $medi->major_illness?></textarea> 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('major_illness'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
                   
 
 
 
   <?php 
 
 
 
                        if(form_error('immunization')) 
 
 
 
                            echo "<div class='form-group has-error' >"; 
 
 
 
                        else 
 
 
 
                            echo "<div class='form-group' >"; 
 
 
 
                    ?> 
 
 
 
                        <label for="immunization" class="col-sm-2 control-label"> 
 
 
 
                            <?=$this->lang->line("immunization")?> 
 
 
 
                        </label> 
 
 
 
                        <div class="col-sm-6"> 
 
 
 
                           
 
 
 
                          <select class="form-control mark1 guargianID" placeholder="Select Immunization" name="immunization[]" id="immunization" multiple> 
 
 
 
                
 
 
 
                    
 
 
 
                      <option value="BCG">BCG</option> 
 
 
 
                      <option value="Measles">Measles</option> 
 
 
 
                      <option value="OPV">OPV</option> 
 
 
 
                      <option value="MMR">MMR</option> 
 
 
 
                      <option value="DPT">DPT</option> 
 
 
 
                      <option value="Typhoid">Typhoid</option> 
 
 
 
                      <option value="BOOSTER for OPV">BOOSTER for OPV</option> 
 
 
 
                      <option value="BOOSTER for DPT">BOOSTER for DPT</option> 
 
 
 
                      <option value="Hepatitis">Hepatitis</option> 
 
 
 
                      <option value="Any Other">Any Other</option> 
 
 
 
 
 
 
 
                      
 
 
 
                </select> 
 
 
 
                        </div> 
 
 
 
                        <span class="col-sm-4 control-label"> 
 
 
 
                            <?php echo form_error('immunization'); ?> 
 
 
 
                        </span> 
 
 
 
                    </div> 
 
 
 
 
 
 
 
 
 
 
 
                     
 
 
 
                 
 
 
 
                   
 
 
 
 
 
<?php }?>  
 
 
 
 
 
 
 
 
 
 
 
 
 
                </form> 
 
 
 
            </div> 
 
 
 
        </div> 
 
 
 
    </div> 
 
 
 
</div> 
 
                 
 
                </div> 
 
                 
 
                </div> 
 
                 
 
                </div> 
 
                 
 
                 
 
                </div> 
 
                 
 
                </div> 
 
 
 
                <?php 
 
 
 
                    } else { 
 
 
 
                        echo "<div class='col-sm-12'><div class='col-sm-12 alert alert-warning'><span class='fa fa-exclamation-triangle'></span> " .$this->lang->line("parent_error"). "</div></div>"; 
 
 
 
                    } 
 
 
 
                ?> 
 
 
 
 
 
 
 
            </div> 
 
 
 
        </section> 
 
 
 
    </div> 
 
 
 
 
 
 
 
    <?php if($usertype == "Admin") { ?> 
 
 
 
    <!-- Modal content start here --> 
 
 
 
    <div class="modal fade" id="idCard"> 
 
 
 
      <div class="modal-dialog"> 
 
 
 
        <div class="modal-content"> 
 
 
 
            <div id="idCardPrint"> 
 
 
 
              <div class="modal-header"> 
 
 
 
                <?=$this->lang->line('idcard')?> 
 
 
 
              </div> 
 
 
 
              <div class="modal-body" > 
 
 
 
                <table> 
 
 
 
                    <tr> 
 
 
 
                        <td> 
 
 
 
                            <h4 style="margin:0;"> 
 
 
 
                            <?php 
 
 
 
                                if($siteinfos->photo) { 
 
 
 
                                    $array = array( 
 
 
 
"src" => base_url('uploads/images/'.$siteinfos->photo), 
 
 
 
'width' => '25px', 
 
 
 
'height' => '25px', 
 
 
 
"style" => "margin-bottom:10px;" 
 
 
 
                                    ); 
 
 
 
                                    echo img($array); 
 
 
 
                                } 
 
 
 
 
 
 
 
                            ?> 
 
 
 
 
 
 
 
                            </h4> 
 
 
 
                        </td> 
 
 
 
                        <td style="padding-left:5px;"> 
 
 
 
                            <h4><?=$siteinfos->sname;?></h4> 
 
 
 
                        </td> 
 
 
 
                    </tr> 
 
 
 
                </table> 
 
 
 
 
 
 
 
                <table class="idcard-Table"> 
 
 
 
                    <tr> 
 
 
 
                        <td> 
 
 
 
                            <h4> 
 
 
 
                                <?php 
 
 
 
                                    echo img(base_url('uploads/images/'.$student->photo)); 
 
 
 
                                ?> 
 
 
 
                            </h4> 
 
 
 
                        </td> 
 
 
 
                        <td class="row-style"> 
 
 
 
                            <h3><?php  echo $student->name; ?></h3> 
 
 
 
                            <h5><?php  echo $this->lang->line("student_classes")." : ".$class->classes; ?> 
 
 
 
                            </h5> 
 
 
 
                            <h5><?php  echo $this->lang->line("student_section")." : ".$section->section; ?> 
 
 
 
                            </h5> 
 
 
 
                            <h5> 
 
 
 
                                <?php  echo $this->lang->line("student_roll")." : ".$student->roll; ?> 
 
 
 
                            </h5> 
 
 
 
                        </td> 
 
 
 
                    </tr> 
 
 
 
                </table> 
 
 
 
              </div> 
 
 
 
            </div> 
 
 
 
          <div class="modal-footer"> 
 
 
 
            <button type="button" class="btn btn-default" style="margin-bottom:0px;" onclick="javascript:closeWindow()" data-dismiss="modal"><?=$this->lang->line('close')?></button> 
 
 
 
            <button type="button" class="btn btn-success" onclick="javascript:printDiv('idCardPrint')"><?=$this->lang->line('print')?></button> 
 
 
 
          </div> 
 
 
 
        </div> 
 
 
 
      </div> 
 
 
 
    </div> 
 
 
 
    <!-- Modal content End here --> 
 
 
 
 
 
 
 
<!-- email modal starts here --> 
 
 
 
<form class="form-horizontal" role="form" action="<?=base_url('student/send_mail');?>" method="post"> 
 
 
 
    <div class="modal fade" id="mail"> 
 
 
 
      <div class="modal-dialog"> 
 
 
 
        <div class="modal-content"> 
 
 
 
            <div class="modal-header"> 
 
 
 
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> 
 
 
 
                <h4 class="modal-title"><?=$this->lang->line('mail')?></h4> 
 
 
 
            </div> 
 
 
 
            <div class="modal-body"> 
 
 
 
 
 
 
 
                <?php 
 
 
 
                    if(form_error('to')) 
 
 
 
                        echo "<div class='form-group has-error' >"; 
 
 
 
                    else 
 
 
 
                        echo "<div class='form-group' >"; 
 
 
 
                ?> 
 
 
 
                    <label for="to" class="col-sm-2 control-label"> 
 
 
 
                        <?=$this->lang->line("to")?> 
 
 
 
                    </label> 
 
 
 
                    <div class="col-sm-6"> 
 
 
 
                        <input type="email" class="form-control" id="to" name="to" value="<?=set_value('to')?>" > 
 
 
 
                    </div> 
 
 
 
                    <span class="col-sm-4 control-label" id="to_error"> 
 
 
 
                    </span> 
 
 
 
                </div> 
 
 
 
 
 
 
 
                <?php 
 
 
 
                    if(form_error('subject')) 
 
 
 
                        echo "<div class='form-group has-error' >"; 
 
 
 
                    else 
 
 
 
                        echo "<div class='form-group' >"; 
 
 
 
                ?> 
 
 
 
                    <label for="subject" class="col-sm-2 control-label"> 
 
 
 
                        <?=$this->lang->line("subject")?> 
 
 
 
                    </label> 
 
 
 
                    <div class="col-sm-6"> 
 
 
 
                        <input type="text" class="form-control" id="subject" name="subject" value="<?=set_value('subject')?>" > 
 
 
 
                    </div> 
 
 
 
                    <span class="col-sm-4 control-label" id="subject_error"> 
 
 
 
                    </span> 
 
 
 
 
 
 
 
                </div> 
 
 
 
 
 
 
 
                <?php 
 
 
 
                    if(form_error('message')) 
 
 
 
                        echo "<div class='form-group has-error' >"; 
 
 
 
                    else 
 
 
 
                        echo "<div class='form-group' >"; 
 
 
 
                ?> 
 
 
 
                    <label for="message" class="col-sm-2 control-label"> 
 
 
 
                        <?=$this->lang->line("message")?> 
 
 
 
                    </label> 
 
 
 
                    <div class="col-sm-6"> 
 
 
 
                        <textarea class="form-control" id="message" style="resize: vertical;" name="message" value="<?=set_value('message')?>" ></textarea> 
 
 
 
                    </div> 
 
 
 
                </div> 
 
 
 
 
 
 
 
 
 
 
 
            </div> 
 
 
 
            <div class="modal-footer"> 
 
 
 
                <button type="button" class="btn btn-default" style="margin-bottom:0px;" data-dismiss="modal"><?=$this->lang->line('close')?></button> 
 
 
 
                <input type="button" id="send_pdf" class="btn btn-success" value="<?=$this->lang->line("send")?>" /> 
 
 
 
            </div> 
 
 
 
        </div> 
 
 
 
      </div> 
 
 
 
    </div> 
 
 
 
</form> 
 
 
 
<!-- email end here --> 
 
<script> 
 
 $(document).ready(function() { 
 
      
 
          $('#example4, #example5').DataTable( { 
 
               
 
              dom: 'Bfrtip', 
 
 
 
              buttons: [ 
 
 
 
                  'copyHtml5', 
 
 
 
                  'excelHtml5', 
 
 
 
                  'csvHtml5', 
 
 
 
                  'pdfHtml5' 
 
 
 
              ], 
 
              responsive: true, 
 
              search: false 
 
 
 
          } ); 
 
 
 
        } ); 
 
 
 
        </script> 
 
 
 
    <script language="javascript" type="text/javascript"> 
 
      $('#sattendance').addClass('active'); 
 
        function printDiv(divID) { 
 
 
 
            //Get the HTML of div 
 
 
 
            var divElements = document.getElementById(divID).innerHTML; 
 
 
 
            //Get the HTML of whole page 
 
 
 
            var oldPage = document.body.innerHTML; 
 
 
 
 
 
 
 
            //Reset the page's HTML with div's HTML only 
 
 
 
            document.body.innerHTML = 
 
 
 
              "<html><head><title></title></head><body>" + 
 
 
 
              divElements + "</body>"; 
 
 
 
 
 
 
 
            //Print Page 
 
 
 
            window.print(); 
 
 
 
 
 
 
 
            //Restore orignal HTML 
 
 
 
            document.body.innerHTML = oldPage; 
 
 
 
        } 
 
 
 
        function closeWindow() { 
 
 
 
            location.reload(); 
 
 
 
        } 
 
 
 
 
 
 
 
        function check_email(email) { 
 
 
 
            var status = false; 
 
 
 
            var emailRegEx = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i; 
 
 
 
            if (email.search(emailRegEx) == -1) { 
 
 
 
                $("#to_error").html(''); 
 
 
 
                $("#to_error").html("<?=$this->lang->line('mail_valid')?>").css("text-align", "left").css("color", 'red'); 
 
 
 
            } else { 
 
 
 
                status = true; 
 
 
 
            } 
 
 
 
            return status; 
 
 
 
        } 
 
 
 
 
 
 
 
 
 
 
 
        $("#send_pdf").click(function(){ 
 
 
 
            var to = $('#to').val(); 
 
 
 
            var subject = $('#subject').val(); 
 
 
 
            var message = $('#message').val(); 
 
 
 
            var id = "<?=$student->studentID;?>"; 
 
 
 
            var set = "<?=$set;?>"; 
 
 
 
            var error = 0; 
 
 
 
 
 
 
 
            if(to == "" || to == null) { 
 
 
 
                error++; 
 
 
 
                $("#to_error").html(""); 
 
 
 
                $("#to_error").html("<?=$this->lang->line('mail_to')?>").css("text-align", "left").css("color", 'red'); 
 
 
 
            } else { 
 
 
 
                if(check_email(to) == false) { 
 
 
 
                    error++ 
 
 
 
                } 
 
 
 
            } 
 
 
 
 
 
 
 
            if(subject == "" || subject == null) { 
 
 
 
                error++; 
 
 
 
                $("#subject_error").html(""); 
 
 
 
                $("#subject_error").html("<?=$this->lang->line('mail_subject')?>").css("text-align", "left").css("color", 'red'); 
 
 
 
            } else { 
 
 
 
                $("#subject_error").html(""); 
 
 
 
            } 
 
 
 
 
 
 
 
            if(error == 0) { 
 
 
 
                $.ajax({ 
 
 
 
                    type: 'POST', 
 
 
 
                    url: "<?=base_url('student/send_mail')?>", 
 
 
 
                    data: 'to='+ to + '&subject=' + subject + "&id=" + id+ "&message=" + message+ "&set=" + set, 
 
 
 
                    dataType: "html", 
 
 
 
                    success: function(data) { 
 
 
 
                        location.reload(); 
 
 
 
                    } 
 
 
 
                }); 
 
 
 
            } 
 
 
 
        }); 
 
 
 
    </script> 
 
    <script> 
 
$(document).ready(function() { 
 
    // Setup - add a text input to each footer cell 
 
    $('#stu_view_example1   .test').each( function () { 
 
        var title = $(this).text(); 
 
         
 
        $(this).html( '<input type="text" placeholder="Search '+title+'" />' ); 
 
    } ); 
 
  
 
    // DataTable 
 
    var table = $('#stu_view_example1 ').DataTable({ 
 
               "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]], 
 
               "autoWidth": false, 
 
              dom: 'Bfrtip', 
 
               
 
              buttons: [ 
 
                  'pageLength', 
 
                   
 
                  'copyHtml5', 
 
 
 
                  'excelHtml5', 
 
 
 
                  'csvHtml5', 
 
 
 
                  'pdfHtml5' 
 
 
 
              ], 
 
 
 
              search: false 
 
 
 
          }); 
 
  
 
    // Apply the search 
 
    table.columns().every( function () { 
 
        var that = this; 
 
  
 
        $( 'input', this.header() ).on( 'keyup change', function () { 
 
            if ( that.search() !== this.value ) { 
 
                that 
 
                    .search( this.value ) 
 
                    .draw(); 
 
            } 
 
        } ); 
 
    } ); 
 
     
 
     // Setup - add a text input to each footer cell 
 
    $('#stu_view_example2  .test').each( function () { 
 
        var title = $(this).text(); 
 
        $(this).html( '<input type="text" placeholder="Search '+title+'" />' ); 
 
    } ); 
 
  
 
    // DataTable 
 
    var table2 = $('#stu_view_example2 ').DataTable({ 
 
               "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]], 
 
               "autoWidth": false, 
 
              dom: 'Bfrtip', 
 
               
 
              buttons: [ 
 
                  'pageLength', 
 
                   
 
                  'copyHtml5', 
 
 
 
                  'excelHtml5', 
 
 
 
                  'csvHtml5', 
 
 
 
                  'pdfHtml5' 
 
 
 
              ], 
 
 
 
              search: false 
 
 
 
          }); 
 
  
 
    // Apply the search 
 
    table2.columns().every( function () { 
 
        var that = this; 
 
  
 
        $( 'input', this.header() ).on( 'keyup change', function () { 
 
            if ( that.search() !== this.value ) { 
 
                that 
 
                    .search( this.value ) 
 
                    .draw(); 
 
            } 
 
        } ); 
 
    } ); 
 
     
 
     // Setup - add a text input to each footer cell 
 
    $('#stu_view_example3  .test').each( function () { 
 
        var title = $(this).text(); 
 
        $(this).html( '<input type="text" placeholder="Search '+title+'" />' ); 
 
    } ); 
 
  
 
    // DataTable 
 
    var table3 = $('#stu_view_example3 ').DataTable({ 
 
               "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]], 
 
               "autoWidth": false, 
 
              dom: 'Bfrtip', 
 
               
 
              buttons: [ 
 
                  'pageLength', 
 
                   
 
                  'copyHtml5', 
 
 
 
                  'excelHtml5', 
 
 
 
                  'csvHtml5', 
 
 
 
                  'pdfHtml5' 
 
 
 
              ], 
 
 
 
              search: false 
 
 
 
          }); 
 
  
 
    // Apply the search 
 
    table3.columns().every( function () { 
 
        var that = this; 
 
  
 
        $( 'input', this.header() ).on( 'keyup change', function () { 
 
            if ( that.search() !== this.value ) { 
 
                that 
 
                    .search( this.value ) 
 
                    .draw(); 
 
            } 
 
        } ); 
 
    } ); 
 
     
 
     // Setup - add a text input to each footer cell 
 
    $('#stu_view_example4  .test').each( function () { 
 
        var title = $(this).text(); 
 
        $(this).html( '<input type="text" placeholder="Search '+title+'" />' ); 
 
    } ); 
 
  
 
    // DataTable 
 
    var table4 = $('#stu_view_example4 ').DataTable({ 
 
               "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]], 
 
               "autoWidth": false, 
 
              dom: 'Bfrtip', 
 
               "scrollX": true, 
 
               "scrollY": true, 
 
               
 
              buttons: [ 
 
                  'pageLength', 
 
                   
 
                  'copyHtml5', 
 
 
 
                  'excelHtml5', 
 
 
 
                  'csvHtml5', 
 
 
 
                  'pdfHtml5' 
 
 
 
              ], 
 
 
 
              search: false 
 
 
 
          }); 
 
  
 
    // Apply the search 
 
    table4.columns().every( function () { 
 
        var that = this; 
 
  
 
        $( 'input', this.header() ).on( 'keyup change', function () { 
 
            if ( that.search() !== this.value ) { 
 
                that 
 
                    .search( this.value ) 
 
                    .draw(); 
 
            } 
 
        } ); 
 
    } ); 
 
} ); 
 
</script> 
 
    <?php } ?> 
 
 
 

Did this file decode correctly?

Original Code

<div class="col-sm-12">
<?php
	if(count($student))
	{
        $usertype = $this->session->userdata("usertype");
		if($usertype == "Admin") 
		{
	?>
		<ol class="breadcrumb">
			<li><a href="<?=base_url("dashboard/index")?>"><i class="fa fa-laptop"></i>
			 <?=$this->lang->line('menu_dashboard')?></a></li>
			<li><a href="<?=base_url("student/index/$set")?>">
			<?=$this->lang->line('menu_student')?></a></li>
			<li class="active"><?=$this->lang->line('view')?></li>
		</ol>
	<?php 
		} 
	} 
?>
</div><!--end here col-sm-12-->
<div class="row">
<div class="col-sm-12">
<div class="panel-group">
<section class="panel panel-default m-b-sm">
<div class="panel-collapse collapse in panel-body">
<div class="row">
<div class="col-sm-6">
<div class="form-horizontal">
<div class="col-lg-3">
<div class="studentphoto"><a href="#"><?=img(base_url('uploads/images/'.$student->photo))?> </a></div>
</div><!--end here col-lg-3-->
<div class="col-sm-9 mainPadding">
<div class="form-group m-b-sm">
<input name="Adminno" type="text" value="<?=$student->regID;?>" maxlength="7" onchange="" onkeypress="" id="" tabindex="1" class="form-control text-center pull-left" onfocus="SetEntireText(this);" style="width:39%; display: inline-block;" isdatepicker="true" title="">
<div class="pull-right text-right" style="width: 59%;">
<a id="non" title="First" style="width: 22%; padding: 9px 0;" class="btn btn-default" tabindex="-1" href="#"><i class="fa fa-fast-backward"></i></a>
<a id="non" title="Previous" style="width: 22%; padding: 9px 0;" class="btn btn-default" tabindex="-1" href="#"><i class="fa fa-backward"></i></a>
<a id="non" title="Next" style="width: 22%; padding: 9px 0;" class="btn btn-default disabled" tabindex="-1" disabled="disabled" href="#"><i class="fa fa-forward"></i></a>
<a id="non" title="Last" style="width: 22%; padding: 9px 0;" class="btn btn-default disabled" tabindex="-1" disabled="disabled" href="#"><i class="fa fa-fast-forward"></i></a>
</div>
</div>
<div class="form-group m-b-sm">
<div class="input-group">
<input name="ctl00$ContentPlaceHolder1$txtStudentName" type="text" value="<?=$student->name;?>" maxlength="50" id="Nmae" tabindex="3" class="form-control" disabled="true"style="font-weight:bold;" isdatepicker="true">
<a id="#non" title="Search" onclick="" class="input-group-addon" href="#"><i class="fa fa-search"></i></a>
</div>
</div>
</div>
</div><!--From-Horizontal-->
</div><!--Col-sm-6-->
<div class="col-sm-6">
<div class="form-horizontal">
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">
<span id="ContentPlaceHolder1_lblAdmDate" title="">Adm Date</span></label>
<div class=" col-sm-9">
<div class="input-group pull-left" style="width: 55%;">
<input name="ctl00$ContentPlaceHolder1$txtAdmDate" type="text" id="ContentPlaceHolder1_txtAdmDate" autocomplete="off" tabindex="6" disabled="disabled" bootstrapdate="true" class="form-control" value="11-Nov-2016" datepicker_format="DD-MON-YYYY" maxlength="11" isdatepicker="true">
<i id="CALBUTTONContentPlaceHolder1_txtAdmDate" datepicker_inputid="ContentPlaceHolder1_txtAdmDate" datepicker_format="DD-MON-YYYY" class="calendarbutton fa fa-calendar input-group-addon" style="cursor: pointer; display: table-cell;"></i></div>
<span id="ContentPlaceHolder1_lblLiveStudents" title="Live Admissions" class="pull-right btn btn-default btn-xs" style="font-size:12px;width: 43%; padding: 3.5px 0px; border-radius: 2px;"><span class="fa-stack" style="margin-top:-3px;"><i class="fa fa-circle text-info" style="font-size: 24px;"></i> <i class="fa fa-check fa-stack-1x text-white"></i> </span><span style="font-size:16px; margin-left: 5px;"><b><?=$student->roll;?></b></span></span>
</div>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Class</label>
<div class=" col-sm-9">
<div class="form-inline">
<select name="" id="" tabindex="90" class="form-control pull-left" disabled="true" onchange="" style="width:55%;">
<option selected="selected" value="1"><?=$class->classes?></option>
</select>
<select name="" id="" tabindex="0" class="form-control pull-right" disabled="true" style="width:43%;">
<option value="">- None -</option>
</select>

</div>
</div><!--form-horizontal-->

</div>
</div><!--Col-sm-6-->
</div><!--end here -->
</div><!--collapse1-->
</section>
<section class="panel panel-default m-b-sm">
<header class="panel-heading">
<span class="panel-title"><a data-toggle="collapse" data-parent="#accordion" href="#collapse1"><?=$this->lang->line("personal_information")?></a></span><a data-toggle="collapse" data-parent="#accordion" href="#collapse1" class="pull-right">
<b class="caret m-t-xs"></b></a>
</header>
<div id="collapse1" class="panel-collapse collapse in panel-body">
<div class="row">
<div class="col-sm-6">
<div class="form-horizontal">
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">DOB</label>
<div class=" col-sm-9">
<div class="input-group pull-left" style="width: 59%;">
<input name="" type="text" id="" autocomplete="off" tabindex="15" bootstrapdate="true" disabled="disabled" class="form-control" value="<?=date("d M Y", strtotime($student->dob))?>" datepicker_format="DD-MON-YYYY" maxlength="11" isdatepicker="true">
<i id="CALBUTTONContentPlaceHolder1_txtDOB" datepicker_inputid="ContentPlaceHolder1_txtDOB" datepicker_format="DD-MON-YYYY" class="calendarbutton fa fa-calendar input-group-addon" style="cursor: pointer; display: table-cell;"></i></div>
<select name="" id="" tabindex="" class="form-control pull-right" disabled="true" style="width:39%;">
<option value="<?//=$student->sex?>"><?=$student->sex?></option>
</select>

</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Address (R)</label>
<div class=" col-sm-9">
<input name="" type="text" value="<?=$student->address?>" maxlength="100" id="" tabindex="21" class="form-control" disabled="true" onkeyup="" isdatepicker="true">
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Area</label>
<div class=" col-sm-9">
<input name="" type="text" value="<?=$student->area?>" maxlength="100" id="" tabindex="" class="form-control" disabled="true" onfocus="" onkeypress="" autocomplete="off" onkeyup="" isdatepicker="true">
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">City</label>
<div class=" col-sm-9">
<div class="form-inline">
<input name="" type="text" value="<?=$student->city?>" maxlength="50" id="" tabindex="27" class="form-control pull-left" disabled="true" onfocus="" onkeypress="" autocomplete="off" onkeyup="return properAddress(this);" style="width:59%;" isdatepicker="true">
<input name="" type="text" value="<?=$student->pin?>" maxlength="6" id="" tabindex="28" class="form-control pull-right" disabled="true" placeholder="PIN" onkeypress="" style="width:39%;" isdatepicker="true">
</div>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Phone</label>
<div class=" col-sm-9">
<input name="" type="text" maxlength="50" id="" value="<?=$student->phone?>" tabindex="30" class="form-control" disabled="true" onkeyup="" isdatepicker="true">
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Mobile</label>
<div class=" col-sm-9">
<input name="" type="text"  maxlength="50" id="" tabindex="" value="<?=$student->phone?>" class="form-control" disabled="true" onkeyup="">
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Email</label>
<div class=" col-sm-9">
<input name="" type="text" maxlength="100" value="<?=$student->email?>" id="" tabindex="" class="form-control" disabled="true" onblur="">
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Aadhaar No</label>
<div class=" col-sm-9">
<input name="" type="text" value="" maxlength="" id="" tabindex="" class="form-control" disabled="true" onkeypress="" isdatepicker="true">
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-horizontal">
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Blood Gr</label>
<div class=" col-sm-9">
<select name="ctl00$ContentPlaceHolder1$ddlBloodGroup" id="ContentPlaceHolder1_ddlBloodGroup" tabindex="42" class="form-control" disabled="true">
<option selected="selected" value="">- None -</option>
</select>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">House</label>
<div class=" col-sm-9">
<select name="" id="" tabindex="45" class="form-control" disabled="true">
<option selected="selected" value="<?=$student->councilID?>"><?=$student->councilID?></option>
</select>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Religion</label>
<div class=" col-sm-9">
<select name="ctl00$ContentPlaceHolder1$ddlReligion" id="ContentPlaceHolder1_ddlReligion" tabindex="48" class="form-control" disabled="true">
<option selected="selected" value="<?=$student->religion?>"></option>

</select>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Caste</label>
<div class=" col-sm-9">
<select name="" id="" tabindex="51" class="form-control" disabled="true">
<option selected="selected" value="<?=$student->caste?>"><?=$student->caste?></option>
</select>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Pay Mode</label>
<div class=" col-sm-9">
<select name="" id="" tabindex="54" class="form-control pull-left" disabled="true" style="width:49%;">
<option selected="selected" value="">- None -</option>
</select>
<select name="" id="" tabindex="57" class="form-control pull-right" disabled="true" style="width:49%;">
<option selected="selected" value="0">Non-Hostler</option>
<option value="1">Hostler</option>
</select>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Concession</label>
<div class=" col-sm-9">
<select name="" id="" tabindex="60" class="form-control" disabled="true">
<option value="">- None -</option>
</select>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Category</label>
<div class=" col-sm-9">
<select name="" id="" tabindex="63" class="form-control" disabled="true">
<option selected="selected" value="">- None -</option>
</select>
</div>
</div>
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">
<span id="">Join Class</span></label>
<div class=" col-sm-9">
<div class="form-inline">
<select name="" id="" tabindex="66" class="form-control pull-left" disabled="true" style="width:49%;">
<option selected="selected" value="">- None -</option>
</select>
<select name="" id="" tabindex="69" class="form-control pull-right" disabled="true" style="width:49%;">
<option selected="selected" value="0">New Student</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div><!--end here row-->
</div>
</section>
<section class="panel panel-default m-b-sm">
<header class="panel-heading ">
<a data-toggle="collapse" data-parent="#accordion" href="#divContact"><span class="panel-title">Parent Information </span></a>
<a data-toggle="collapse" data-parent="#accordion" href="#divContact" class="pull-right">
<b class="caret m-t-xs"></b></a>
<div class="mbl text-right bg-light ">
<ul class="nav nav-tabs pull-left">
<li id="ContentPlaceHolder1_liRelation1" class="active"><a href="#ContentPlaceHolder1_trRelation1" data-toggle="tab" title=""><i class="fa fa-male text-default"></i>&nbsp;Father</a></li>
<li id="ContentPlaceHolder1_liRelation2" class=""><a href="#ContentPlaceHolder1_trRelation2" data-toggle="tab" title=""><i class="fa fa-female text-default"></i>&nbsp;Mother</a></li>
<li id="ContentPlaceHolder1_liRelation3" class=""><a href="#ContentPlaceHolder1_trRelation3" data-toggle="tab"><i class="fa fa-male text-default"></i>&nbsp;Guardian</a></li>
</ul>
</div>
</header>

<div id="divContact" class="panel-body  panel-collapse collapse in  pad-b-none">
<?php   if(isset($parent)) { ?>
<div class="tab-content mt">
<div id="ContentPlaceHolder1_trRelation1" class="tab-pane fade active in">
<div class="row">
<div class="col-sm-6">
<div class="form-horizontal">
<div class="form-group m-b-sm">
<label class="col-sm-3 control-label">Title</label>
<div class=" col-sm-9">
<select name="ctl00$ContentPlaceHolder1$ddlFatherTitle" id="ContentPlaceHolder1_ddlFatherTitle" tabindex="72" class="form-control pull-left" disabled="true" style="width:50%;">
<option selected="selected" value="1">Mr</option>
</select>

            <label class="switch pull-right">
                <input name="ctl00$ContentPlaceHolder1$rdFatherActive" type="checkbox" id="ContentPlaceHolder1_rdFatherActive" class="form-switch" rel="disable" groupname="ActiveRelation" checked="checked">
                <span></span>

            </label>
            <span style="display: inline-block; margin-right: 10px; padding: 8px 0;" class="pull-right">Active</span>
        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Name</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtFatherName" type="text" value="<?=$parent->father_name?>" maxlength="50" id="ContentPlaceHolder1_txtFatherName" tabindex="75" class="form-control" disabled="true" onkeyup="return properName(this);" isdatepicker="true">
        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Age</label>
        <div class=" col-sm-9">
            <div class="input-group">

                <input name="ctl00$ContentPlaceHolder1$txtFAge" type="text" value="30" maxlength="2" id="ContentPlaceHolder1_txtFAge" tabindex="78" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true" value="<?=$parent->father_age?>">
                <span class="input-group-addon">Years</span>
            </div>


        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Occupation</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsFatherOccupation" type="text" value="Service" maxlength="50" id="ContentPlaceHolder1_scsFatherOccupation" tabindex="81" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->father_profession?>">
        </div>

    </div>


    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Education</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsFatherEducation" type="text"  maxlength="50" id="ContentPlaceHolder1_scsFatherEducation" tabindex="84" class="form-control" disabled="true" autocomplete="off" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->father_qualification?>">
        </div>

    </div>


    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Aadhaar No</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtFAadhaarNo" type="text" maxlength="12" id="ContentPlaceHolder1_txtFAadhaarNo" tabindex="87" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true" value="">

        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">PAN</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtFatherPanno" type="text" maxlength="10" id="ContentPlaceHolder1_txtFatherPanno" tabindex="90" class="form-control" disabled="true" onkeyup="charUpperCase(this);" style="font-size:13px;" isdatepicker="true" value="">

        </div>

    </div>
</div>
</div>
<div class="col-sm-6">
<div class="form-horizontal">

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Company</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsFatherCompany" type="text" value="Private" maxlength="50" id="ContentPlaceHolder1_scsFatherCompany" tabindex="93" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->father_company?>">
        </div>

    </div>


    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Designation</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsFatherDesignation" type="text" value="Driver" maxlength="50" id="ContentPlaceHolder1_scsFatherDesignation" tabindex="96" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->father_designation?>">
        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Address (O)</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtFatherAddressCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtFatherAddressCo" tabindex="99" class="form-control" disabled="true" onkeyup="return properAddress(this);" isdatepicker="true"  value="<?=$student->permanent_address?>">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Area</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsFatherAreaCo" type="text" maxlength="100" id="ContentPlaceHolder1_scsFatherAreaCo" tabindex="102" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$student->parea?>">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">City</label>
        <div class=" col-sm-9">
            <div class="form-inline">
                <input name="ctl00$ContentPlaceHolder1$scsFatherCityCo" type="text" maxlength="50" id="ContentPlaceHolder1_scsFatherCityCo" tabindex="105" class="form-control pull-left" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" style="width:59%;" isdatepicker="true" value="<?=$student->pcity?>">
				
                <input name="ctl00$ContentPlaceHolder1$txtFatherPin" type="text" maxlength="6" id="ContentPlaceHolder1_txtFatherPin" tabindex="108" class="form-control pull-right" disabled="true" placeholder="PIN" onkeypress="return digitsOnly(this,event);" style="width:39%;" isdatepicker="true" value="<?=$student->ppin?>">

            </div>

        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Phone</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtFatherPhoneCo" type="text" maxlength="50" id="ContentPlaceHolder1_txtFatherPhoneCo" tabindex="111" class="form-control" disabled="true" onkeyup="return properPhone(this);" style="width:100%;" isdatepicker="true" value="<?=$parent->phone?>">
        </div>
    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Mobile</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtFatherMobileCo" type="text" value="9868726515" maxlength="100" id="ContentPlaceHolder1_txtFatherMobileCo" tabindex="114" class="form-control" disabled="true" onkeyup="return properPhone(this);" isdatepicker="true" value="<?=$parent->phone?>">
        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Email</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtFatherEmailCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtFatherEmailCo" tabindex="117" class="form-control" disabled="true" onblur="return EmailValidation(this);" isdatepicker="true" value="<?=$parent->email?>">

        </div>

    </div>

<?php }?>
</div>
</div>
</div>
</div>
                            <div id="ContentPlaceHolder1_trRelation2" class="tab-pane fade">
                                <div class="row">
                                    <div class="col-sm-6">

<div class="form-horizontal">
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Title</label>
        <div class=" col-sm-9">
            <div class="form-inline">
                <select name="ctl00$ContentPlaceHolder1$ddlMotherTitle" id="ContentPlaceHolder1_ddlMotherTitle" tabindex="72" class="form-control pull-left" disabled="true" style="width:50%;">
		<option selected="selected" value="2">Mrs</option>
		<option value="3">Ms</option>
		<option value="5">Dr(Mrs)</option>
		<option value="7">Late Mrs</option>
		<option value="24">Late Smt</option>

	</select>


                <label class="switch pull-right">
                    <input name="ctl00$ContentPlaceHolder1$rdMotherActive" type="checkbox" id="ContentPlaceHolder1_rdMotherActive" rel="disable" class="form-switch" groupname="ActiveRelation">
                    <span></span>

                </label>
                <span style="display: inline-block; margin-right: 10px; padding: 8px 0;" class="pull-right">Active</span>


            </div>
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Name</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtMotherName" type="text" value="<?=$parent->mother_name?>" maxlength="50" id="ContentPlaceHolder1_txtMotherName" tabindex="75" class="form-control pull-right" disabled="true" onkeyup="return properName(this);" isdatepicker="true" >
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Age</label>
        <div class=" col-sm-9">
            <div class="input-group">

                <input name="ctl00$ContentPlaceHolder1$txtMAge" type="text" value="<?=$parent->mother_age?>" maxlength="2" id="ContentPlaceHolder1_txtMAge" tabindex="78" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true">
                <span class="input-group-addon">Years</span>
            </div>


        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Occupation</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsMotherOccupation" type="text" value="<?=$parent->mother_profession?>" maxlength="50" id="ContentPlaceHolder1_scsMotherOccupation" tabindex="81" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true">
        </div>

    </div>


    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Education</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsMotherEducation" type="text" value="<?=$parent->mother_qualification?>" maxlength="50" id="ContentPlaceHolder1_scsMotherEducation" tabindex="84" class="form-control" disabled="true" autocomplete="off" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" onkeyup="return properAddress(this);" isdatepicker="true">
        </div>

    </div>


    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Aadhaar No</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtMAadhaarNo" type="text" value="919313105155" maxlength="12" id="ContentPlaceHolder1_txtMAadhaarNo" tabindex="87" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true">

        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">PAN</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtMotherpanno" type="text" maxlength="10" id="ContentPlaceHolder1_txtMotherpanno" tabindex="90" class="form-control" disabled="true" onkeyup="charUpperCase(this);" style="font-size:13px;" isdatepicker="true">

        </div>

    </div>



</div>

                                    </div>

                                    <div class="col-sm-6">
<div class="form-horizontal">

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Company</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsMotherCompany" type="text" maxlength="50" id="ContentPlaceHolder1_scsMotherCompany" tabindex="93" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->mother_company ?>">
        </div>

    </div>


    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Designation</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsMotherDesignation" type="text" maxlength="50" id="ContentPlaceHolder1_scsMotherDesignation" tabindex="96" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->mother_designation?>">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Address (O)</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtMotherAddressCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtMotherAddressCo" tabindex="99" class="form-control" disabled="true" onkeyup="return properAddress(this);" isdatepicker="true" value="<?=$parent->address?>">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Area</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsMotherAreaCo" type="text" maxlength="100" id="ContentPlaceHolder1_scsMotherAreaCo" tabindex="102" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true" >
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">City</label>
        <div class=" col-sm-9">
            <div class="form-inline">
                <input name="ctl00$ContentPlaceHolder1$scsMotherCityCo" type="text" maxlength="50" id="ContentPlaceHolder1_scsMotherCityCo" tabindex="105" class="form-control pull-left" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" style="width:59%;" isdatepicker="true" value="">
                <input name="ctl00$ContentPlaceHolder1$txtMotherPin" type="text" maxlength="6" id="ContentPlaceHolder1_txtMotherPin" tabindex="108" class="form-control pull-right" disabled="true" placeholder="PIN" onkeypress="return digitsOnly(this,event);" style="width:39%;" isdatepicker="true"value="">
            </div>

        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Phone</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtMotherPhoneCo" type="text" maxlength="50" id="ContentPlaceHolder1_txtMotherPhoneCo" tabindex="111" class="form-control" disabled="true" onkeyup="return properPhone(this);" isdatepicker="true" value="<?=$parent->mother_phone?>">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Mobile</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtMotherMobileCo" type="text" value="9968098550" maxlength="100" id="ContentPlaceHolder1_txtMotherMobileCo" tabindex="114" class="form-control" disabled="true" onkeyup="return properPhone(this);" isdatepicker="true" value="<?=$parent->mother_phone?>">
        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Email</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtMotherEmailCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtMotherEmailCo" tabindex="117" class="form-control" disabled="true" onblur="return EmailValidation(this);" isdatepicker="true" value="<?=$parent->mother_email?>">
        </div>

    </div>




</div>
                                    </div>
                                </div>
                            </div>
                            <div id="ContentPlaceHolder1_trRelation3" class="tab-pane fade">
                                <div class="row">
                                    <div class="col-sm-6">

<div class="form-horizontal">
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Title</label>
        <div class=" col-sm-9">
            <div class="form-inline">
                <select name="ctl00$ContentPlaceHolder1$ddlGuardianTitle" id="ContentPlaceHolder1_ddlGuardianTitle" tabindex="72" class="form-control pull-left" disabled="true" style="width:50%;">
		<option value="1">Mr</option>
		<option value="2">Mrs</option>
		<option value="3">Ms</option>
		<option value="4">Dr</option>
		<option value="5">Dr(Mrs)</option>
		<option value="6">Late Mr</option>
		<option value="7">Late Mrs</option>
		<option value="8">Major</option>
		<option value="9">Colonel</option>
		<option value="10">Captain</option>
		<option value="11">Lt.Colonel</option>
		<option value="12">Wg.Cmdr.</option>
		<option value="13">Brigadier</option>
		<option value="14">Gp.Capt.</option>
		<option value="15">Sqn Leader</option>
		<option value="17">Sub</option>
		<option value="18">Lt. Cdr</option>
		<option value="19">Cmdr.</option>
		<option value="20">Cdr.</option>
		<option value="21">Late</option>
		<option value="22">Md</option>
		<option value="23">Late Sh</option>
		<option value="24">Late Smt</option>
		<option value="25">Justic</option>
		<option value="26">Hav</option>
		<option value="27">Nk</option>
		<option value="28">Cdr</option>
		<option value="29">Lt Col</option>
		<option value="30">Col</option>
		<option value="31">Capt</option>
		<option value="32">Sep</option>
		<option value="33">Sqn Ldr</option>
		<option value="34">Maj</option>
		<option value="35">Lnk</option>
		<option value="36">Dfr</option>
		<option value="37">Late Rfn</option>
		<option value="38">Late Maj</option>
		<option value="39">Lt</option>
		<option value="40">Nb Sub</option>
		<option value="41">Lt Cdr</option>
		<option value="42">Ld</option>
		<option value="43">Gdsm</option>
		<option value="44">Late Cfn</option>
		<option value="45">Wg Cdr</option>
		<option value="46">Sgt</option>
		<option value="47">Brig</option>
		<option value="48">Late Nk</option>
		<option value="49">Flt Lt</option>
		<option value="50">Jco</option>
		<option value="51">Commander</option>
		<option value="52">Rfn</option>
		<option value="53">Mech</option>
		<option value="54">Ex Hav</option>
		<option value="55">Ex Nk</option>
		<option value="56">Sig Mn</option>
		<option value="57">Ex P O</option>
		<option value="58">Ex Seg</option>
		<option value="59">Sub Maj</option>
		<option value="60">C Q M H</option>
		<option value="61">J W O</option>
		<option value="62">G N R</option>
		<option value="63">Gp Capt</option>
		<option value="64">Cmdr</option>
		<option value="65">Cpl</option>
		<option value="66">Jwo</option>
		<option value="67">Nb Subedar</option>
		<option value="68">Ex Jwo</option>
		<option value="69">Hav(Army)</option>
		<option value="70">Ex Sgt</option>
		<option value="71">Clerk</option>
		<option value="72">Nc(E)</option>
		<option value="73">Wo</option>
		<option value="74">Others</option>
		<option value="75">Subedar</option>
		<option value="76">L/Nk</option>
		<option value="77">Cfn</option>
		<option value="78">Ex Cpl</option>
		<option value="79">Signal Man</option>
		<option value="80">Dgt</option>
		<option value="81">Brig Gen</option>
		<option value="82">Hq Sfc</option>
		<option value="83">Air Cmde</option>
		<option value="84">Ld(Army)</option>
		<option value="85">Ex Po</option>
		<option value="86">Avm</option>
		<option value="87">Mceaa-II</option>
		<option value="88">M W O</option>
		<option value="89">Mrs.</option>

	</select>
                <label class="switch pull-right">
                    <input name="ctl00$ContentPlaceHolder1$rdGuardianActive" type="checkbox" id="ContentPlaceHolder1_rdGuardianActive" rel="disable" class="form-switch" groupname="ActiveRelation">
                    <span></span>

                </label>
                <span style="display: inline-block; margin-right: 10px; padding: 8px 0;" class="pull-right">Active</span>
            </div>
        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Name</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtGuardianName" type="text" maxlength="50" id="ContentPlaceHolder1_txtGuardianName" tabindex="75" class="form-control pull-right" disabled="true" onkeyup="return properName(this);" isdatepicker="true">

        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Age</label>
        <div class=" col-sm-9">
            <div class="input-group">

                <input name="ctl00$ContentPlaceHolder1$txtGAge" type="text" maxlength="2" id="ContentPlaceHolder1_txtGAge" tabindex="78" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true">
                <span class="input-group-addon">Years</span>
            </div>


        </div>
    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Occupation</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsGuardianOccupation" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianOccupation" tabindex="81" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true">
        </div>

    </div>


    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Education</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsGuardianEducation" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianEducation" tabindex="84" class="form-control" disabled="true" autocomplete="off" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" onkeyup="return properAddress(this);" isdatepicker="true">
        </div>

    </div>




    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Aadhaar No</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtGuardianAadhaarNo" type="text" maxlength="12" id="ContentPlaceHolder1_txtGuardianAadhaarNo" tabindex="87" class="form-control" disabled="true" onkeypress="return digitsOnly(this,event);" isdatepicker="true">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">PAN</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtGuardpanno" type="text" maxlength="10" id="ContentPlaceHolder1_txtGuardpanno" tabindex="90" class="form-control" disabled="true" onkeyup="charUpperCase(this);" isdatepicker="true">
        </div>

    </div>

</div>

                                    </div>

                                    <div class="col-sm-6">
<div class="form-horizontal">

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Company</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsGuardianCompany" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianCompany" tabindex="93" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true">
        </div>

    </div>


    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Designation</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsGuardianDesignation" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianDesignation" tabindex="96" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Address (O)</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtGuardianAddressCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtGuardianAddressCo" tabindex="99" class="form-control" disabled="true" onkeyup="return properAddress(this);" isdatepicker="true">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Area</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$scsGuardianAreaCo" type="text" maxlength="100" id="ContentPlaceHolder1_scsGuardianAreaCo" tabindex="102" class="form-control" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" isdatepicker="true">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">City</label>
        <div class=" col-sm-9">
            <div class="form-inline">
                <input name="ctl00$ContentPlaceHolder1$scsGuardianCityCo" type="text" maxlength="50" id="ContentPlaceHolder1_scsGuardianCityCo" tabindex="105" class="form-control pull-left" disabled="true" onfocus="actb(this,31,true);" onkeypress="actb(this,31,true);" autocomplete="off" onkeyup="return properAddress(this);" style="width:59%;" isdatepicker="true">
                <input name="ctl00$ContentPlaceHolder1$txtGuardianPin" type="text" maxlength="6" id="ContentPlaceHolder1_txtGuardianPin" tabindex="108" class="form-control pull-right" disabled="true" placeholder="PIN" onkeypress="return digitsOnly(this,event);" style="width:39%;" isdatepicker="true">
            </div>

        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Phone</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtGuardianPhoneCo" type="text" maxlength="50" id="ContentPlaceHolder1_txtGuardianPhoneCo" tabindex="111" class="form-control" disabled="true" onkeyup="return properPhone(this);" style="width:100%;" isdatepicker="true">
        </div>

    </div>
    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Mobile</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtGuardianMobileCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtGuardianMobileCo" tabindex="114" class="form-control" disabled="true" onkeyup="return properPhone(this);" isdatepicker="true">
        </div>

    </div>

    <div class="form-group m-b-sm">
        <label class="col-sm-3 control-label">Email</label>
        <div class=" col-sm-9">
            <input name="ctl00$ContentPlaceHolder1$txtGuardianEmailCo" type="text" maxlength="100" id="ContentPlaceHolder1_txtGuardianEmailCo" tabindex="117" class="form-control" disabled="true" onblur="return EmailValidation(this);" isdatepicker="true">
        </div>

    </div>




</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
 </section>
<section class="panel panel-default m-b-sm">
 <header class="panel-heading">
<a data-toggle="collapse" data-parent="#accordion" href="#attendance"><span class="panel-title">Other</span></a> <a data-toggle="collapse" data-parent="#accordion" href="#attendance" class="pull-right">
<b class="caret m-t-xs"></b></a>
</header>
<div id="attendance" class="panel-collapse collapse in panel-body">
</div>
 </section>

</div><!--end here panel-group-->

</div><!--end here col-sm-12-->
<div class="pull-right">
<div class="btnview">
<ul>
<li><button class="btn-cs btn-sm-cs" onclick="javascript:printDiv('printablediv')" data-placement="top" data-toggle="tooltip" data-original-title="<?=$this->lang->line('print')?> "><i class="fa fa-print"></i> </button></li>
<li><?php echo btn_add_pdf('student/print_preview/'.$student->studentID."/".$set, $this->lang->line('pdf_preview')) ?></li>
<li><button class="btn-cs btn-sm-cs" data-toggle="modal" data-target="#idCard" data-placement="top" data-toggle="tooltip" data-original-title="<?=$this->lang->line('idcard')?>"><i class="fa fa-floppy-o"></i>  </button></li>
<li><?php echo btn_sm_edit('student/edit/'.$student->studentID."/".$set, $this->lang->line('edit'))?></li>
<li><button class="btn-cs btn-sm-cs" data-toggle="modal" data-target="#mail" data-placement="top"  data-toggle="tooltip" data-original-title="<?=$this->lang->line('mail')?>"><i class="fa fa-envelope-o"></i> </button></li>
<li><button class="btn-cs btn-sm-cs" data-toggle="modal" data-target="#sms" data-placement="top"  data-toggle="tooltip" data-original-title="<?=$this->lang->line('SMS')?>"><i class="fa fa-commenting-o" ></i> </button></li>
<li class="btn-cs btn-sm-cs"><a href="#" href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Attendance"><i class="fa fa-calendar-check-o" aria-hidden="true"></i></a></li>
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Courses"><i class="fa fa-book" aria-hidden="true"></i></a></li>
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Optional Fee Heads Entry"><i class="fa fa-money" aria-hidden="true"></i></a></li>
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Fee Transaction Entry"><i class="fa fa-money" aria-hidden="true"></i></a></li>
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Fee Ledger Details"><i class="fa fa-money" aria-hidden="true"></i></a></li>	
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Documents"><i class="fa fa-file-text" aria-hidden="true"></i></a></li>
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Medical"><i class="fa fa-medkit" aria-hidden="true"></i></a></li>
<li class="btn-cs btn-sm-cs"><a href="#" data-placement="left"  data-toggle="tooltip" data-original-title="Transport"><i class="fa fa-bus" aria-hidden="true"></i></a></li>
</ul>
</div><!--End here BtnView-->
</div><!--End Here col-sm-1--> 



                



                



                


</div>
<!--end here class row-->









   











    <div id="printablediv">



        <section class="panel">
<div class="nav-tabs-custom2">

                            <ul class="nav nav-tabs" >

                                <li class="active"><a data-toggle="tab" href="#personal" >Personal</a></li>

                                <li class=""><a data-toggle="tab" href="#parential" >Parent</a></li>

                                <li class=""><a data-toggle="tab" href="#stu_attendance" >Attendance</a></li>

                                <li class=""><a data-toggle="tab" href="#stu_course" >Courses</a></li>

                                <li class=""><a data-toggle="tab" href="#stu_facility" >Facility</a></li>

                                <li class=""><a data-toggle="tab" href="#stu_document" >Documents</a></li>

                                <li class=""><a data-toggle="tab" href="#stu_invoice" >Fees</a></li>

                                <li class=""><a data-toggle="tab" href="#stu_medi" >Medical</a></li>

                                <li class=""><a data-toggle="tab" href="#stu_transport" >Transport</a></li>

                  

                            </ul>

            

            

            

            

            

            

            

            

            

            

            <div class="tab-content">

                                <div id="personal" class="tab-pane active">

                                   

            <div class="panel-body profile-view-dis">

                

                </div>

                </div>





                

                

                

<div id="parential" class="tab-pane ">

    <div class="panel-body profile-view-dis">

                <div class="inbox"> 

                <h1>Parent Information</h1>



                <div class="row pad_left">



                <?php   if(isset($parent)) { ?>





                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_guargian_name")?> </span>: <?=$parent->name?></p><hr>



                    </div>



                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_father_name")?> </span>: <?=$parent->father_name?></p><hr>



                    </div>



                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_mother_name")?> </span>: <?=$parent->mother_name?></p><hr>



                    </div>



                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_father_profession")?> </span>: <?=$parent->father_profession?></p><hr>



                    </div>



                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_mother_profession")?> </span>: <?=$parent->mother_profession?></p><hr>



                    </div>



                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_email")?> </span>: <?=$parent->email?></p><hr>



                    </div>



                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_phone")?> </span>: <?=$parent->phone?></p><hr>



                    </div>



                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_address")?> </span>: <?=$parent->address?></p><hr>



                    </div>



                    <?php if($usertype == "Admin") { ?>



                    <div class="profile-view-tab">



                        <p><span class="text_dark"><?=$this->lang->line("parent_username")?> </span>: <?=$parent->username?></p><hr>



                    </div>



                    <?php } ?>



                </div>

                </div>

                </div>

                </div>

                

                

                

                <div id="stu_attendance" class="tab-pane ">

                

                

                <?php



    $month = array(



      "01" => "jan",



      "02" => "feb",



      "03" => "mar",



      "04" => "apr",



      "05" => "may",



      "06" => "jun",



      "07" => "jul",



      "08" => "aug",



      "09" => "sep",



      "10" => "oct",



      "11" => "nov",



      "12" => "dec"







    );



    function attendance($a,$lang) {



      $i=1;



      foreach ($a as $key => $val) {



        $day = "a".$i;



        if($key == $day){



            echo "<td class='att-bg-color' data-title='".$lang->line('attendance_'.$i)."' >".$val."</td>";



          $i++;



        }



      }



    }



?>





                <div class="">



                <h1><?=$this->lang->line("attendance")?></h1>









                <?php



                  $year = date("Y");



                  if($this->data['setting']->attendance == "subject") {



                    



                ?>



                <div class="row">



                    <div class="col-sm-12">



                        <div id="hide-table">



                            <table class="table table-striped table-bordered">



                                <thead>



                                    <tr>



<th>Subject</th>

<th>#</th>



<?php



    for($i=1; $i<=31; $i++){



       echo  "<th>".$this->lang->line('attendance_'.$i)."</th>";



    }



?>



                                    </tr>



                                </thead>



                      <?php

                    if(count($subjects)){



                      foreach ($subjects as $subject) {



                        

                              if(count($attendances)) {







                                  foreach ($attendances as $key => $attendance) {



                                      if($attendance->subjectID == $subject->subjectID) {



$monthyear_ex = explode('-', $attendance->monthyear);



if($monthyear_ex[1] == $year ) {



  echo "<tr>";

        echo "<th>".$subject->subject." ".$this->lang->line("attendance_information")."</th>";

      echo "<th>".$this->lang->line('attendance_'.$month[$monthyear_ex[0]])."</th>";



      attendance($attendance,$this->lang);



  echo "</tr>";



}



                                      }



                                  }



                              }

                              }

                              }



                              ?>



                              </table>



                          </div>



                      </div>



                  </div>



                  <?php

                 } else {







                ?>



                <h1><?=$this->lang->line("attendance_information")?></h1>







                <div class="row">



                    <div class="col-sm-12">



                        <div id="hide-table">



                            <table class="table table-striped table-bordered">



                                <thead>



                                    <tr>



<th>#</th>



<?php



    for($i=1; $i<=31; $i++){



       echo  "<th>".$this->lang->line('attendance_'.$i)."</th>";



    }



?>



                                    </tr>



                                </thead>



                                <?php







                                    if(count($attendances)) {







foreach ($attendances as $key => $attendance) {



    $monthyear_ex = explode('-', $attendance->monthyear);



    if($monthyear_ex[0] === '01' && $monthyear_ex[1] == $year ) {



                                ?>



                                    <tr>



<th><?=$this->lang->line('attendance_jan')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '02' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_feb')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '03' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_mar')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '04' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_apr')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '05' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_may')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '06' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_june')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '07' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_jul')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '08' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_aug')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '09' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_sep')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '10' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_oct')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '11' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_nov')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php } elseif($monthyear_ex[0] === '12' && $monthyear_ex[1] == $year) { ?>



                                    <tr>



<th><?=$this->lang->line('attendance_dec')?></th>



<?php attendance($attendance,$this->lang); ?>



                                    </tr>



                                <?php



    }



}







                                    }



                                ?>



                            </table>



                        </div>



                    </div>



                </div>



          <?php } ?>



            </div>



                



            </div>

           

                

                

               <div id="stu_course" class="tab-pane ">

                <h1>Courses</h1>



                <div class="box">

                <div class="box-body">

    



        <div class="row">

        <div class="col-sm-12">

               <div id="hide-table">



                    <table id="stu_view_example1" class="table table-striped table-bordered table-hover dataTable no-footer">



                        <thead>



                            <tr >



                                <th class="col-sm-2"><?=$this->lang->line('slno')?></th>



                                <th class="col-sm-2"><?=$this->lang->line('subject_name')?></th>



                                <th class="col-sm-2"><?=$this->lang->line('subject_author')?></th>



                                <th class="col-sm-2"><?=$this->lang->line('subject_code')?></th>



                                <th class="col-sm-2"><?=$this->lang->line('subject_teacher')?></th>



                                <?php  if($usertype == "Admin") { ?>



                                <th class="col-sm-2"><?=$this->lang->line('action')?></th>



                                <?php } ?>



                            </tr>

                            <tr role="row"  class="filter">

                                <th class="col-sm-2 test"><?=$this->lang->line('slno')?></th>



                                <th class="col-sm-2 test"><?=$this->lang->line('subject_name')?></th>



                                <th class="col-sm-2 test"><?=$this->lang->line('subject_author')?></th>



                                <th class="col-sm-2 test"><?=$this->lang->line('subject_code')?></th>



                                <th class="col-sm-2 test"><?=$this->lang->line('subject_teacher')?></th>



                                <?php  if($usertype == "Admin") { ?>



                                <th class="col-sm-2 test"><?=$this->lang->line('action')?></th>



                                <?php } ?>

                            </tr>

                        </thead>







                        <tbody>



                            <?php if(count($subjects)) {$i = 1; foreach($subjects as $subject) { ?>



                                <tr>



                                    <td data-title="<?=$this->lang->line('slno')?>">



<?php echo $i; ?>



                                    </td>



                                    <td data-title="<?=$this->lang->line('subject_name')?>">



<?php echo $subject->subject; ?>



                                    </td>



                                    <td data-title="<?=$this->lang->line('subject_author')?>">



<?php echo $subject->subject_author; ?>



                                    </td>



                                    <td data-title="<?=$this->lang->line('subject_code')?>">



<?php echo $subject->subject_code; ?>



                                    </td>



                                    <td data-title="<?=$this->lang->line('subject_teacher')?>">



<?php echo $subject->teacher_name; ?>



                                    </td>



                                    <?php  if($usertype == "Admin") { ?>



                                    <td data-title="<?=$this->lang->line('action')?>">



<?php echo btn_edit('subject/edit/'.$subject->subjectID."/".$set, $this->lang->line('edit')) ?>



<?php echo btn_delete('subject/delete/'.$subject->subjectID."/".$set, $this->lang->line('delete')) ?>



 <?php if($usertype == 'Admin'){



    echo btn_view('subject/allocate/'.$subject->subjectID."/".$set, $this->lang->line('allocate'));



    }  ?>



                                    </td>



                                    <?php } ?>



                                </tr>



                            <?php $i++; }} ?>



                        </tbody>



                    </table>



                </div>

                </div>

                </div>

                </div>

                </div>

                

                </div> 

                

                

                <div id="stu_facility" class="tab-pane ">

                <h1><?=$this->lang->line("facility")?></h1>

                <div class="box">

                <div class="box-body">

    



        <div class="row">

        <div class="col-sm-12">

                  <div id="hide-table">



<table id="stu_view_example2" class="table table-striped table-bordered table-hover dataTable no-footer">



    <thead>



        <tr>



            <th class="col-sm-1"><?=$this->lang->line('slno')?></th>



          



            <th class="col-sm-2">Facility</th>



            <th>Amount</th>



              <th>Year</th>



           



            <th class="col-sm-2"><?=$this->lang->line('action')?></th>



        </tr>

        <tr>



            <th class="col-sm-2 test"><?=$this->lang->line('slno')?></th>



          



            <th class="col-sm-2 test">Facility</th>



            <th class="col-sm-2 test">Amount</th>



              <th class="col-sm-2 test">Year</th>



           



            <th class="col-sm-2 test"><?=$this->lang->line('action')?></th>



        </tr>

    </thead>

    

    <tbody>



        <?php if(count($student_facility)) {$i = 1; foreach($student_facility as $c) { ?>



            <tr>



                <td data-title="<?=$this->lang->line('slno')?>">



                    <?php echo $i; ?>



                </td>







                <td data-title="Facility">



                    <?php echo $c->facility; ?>



                </td>



                <td data-title="Amount">



                    <?php echo $c->amount; ?>



                </td>



                  <td data-title="Year">



                    <?php echo $c->year; ?>



                </td>



               



                <td data-title="<?=$this->lang->line('action')?>">



                    <?php



                      



                           



                            echo btn_delete('student/fac_delete/'.$c->studentfacilityID.'/'.$c->studentID, $this->lang->line('delete'));



                           



                     







                    ?>



                </td>



           </tr>



        <?php $i++; }} ?>



    </tbody>



</table>



                                    </div>

                                    </div>

                                    </div>

                                    </div>

                                    </div>

                

                </div>

                

                

                 <div id="stu_document" class="tab-pane ">

                <h1>Documents</h1>



                  <div id="hide-table">



<table id="stu_view_example3" class="table table-striped table-bordered table-hover dataTable no-footer">



    <thead>



        <tr>



            <th class="col-sm-1"><?=$this->lang->line('slno')?></th>



            <th class="col-sm-2">Title</th>



            <th class="col-sm-2">Document</th>



            <th class="col-sm-2"><?=$this->lang->line('action')?></th>



            







        </tr>

<tr >



            <th class="col-sm-1 test"><?=$this->lang->line('slno')?></th>



            <th class="col-sm-2 test">Title</th>



            <th class="col-sm-2 test">Document</th>



            <th class="col-sm-2 test"><?=$this->lang->line('action')?></th>



            







        </tr> 

    </thead>

    

    <tbody>



        <?php if(count($students_doc)) {$i = 1; foreach($students_doc as $s) { ?>



            <tr>



                <td data-title="<?=$this->lang->line('slno')?>">



                    <?php echo $i; ?>



                </td>







               



                <td data-title="Title">



                <?php echo $s->title; ?>



                </td>



                <td data-title="<?=$this->lang->line('student_roll')?>">



                    



                      <a href="<?=base_url('uploads/images/'.$s->document) ?>" target="blank" class="btn btn-warning">View Document</a>



                </td>



                



               



                <td data-title="<?=$this->lang->line('action')?>">



                    <?php



                       



                           



                            echo btn_delete('student/delete_doc/'.$s->student_id.'/'.$s->id, $this->lang->line('delete'));



                            echo btn_add('student/upload_document/'.$s->student_id, 'Document');



                       







                    ?>



                </td>







           </tr>



        <?php $i++; }} ?>



    </tbody>



</table>



                                    </div>

                

                </div>



                

                 <div id="stu_transport" class="tab-pane ">

                

                <?php if(!empty($transport) && !empty($tmember)) {?>

                <div class="panel-body profile-view-dis">

                <div class="inbox"> 

                    

                <h1>Transport</h1>



                <div class="row pad_left">



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_roll")?> </span>: <?=$student->roll?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("menu_section")?> </span>: <?php if(count($section)) { echo $section->section;} else { echo $student->section;}?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_route_name")?> </span>: <?=$transport->route?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_tfee")?> </span>: <?=$tmember->tbalance?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_joindate")?> </span>: <?=date("d M Y", strtotime($tmember->tjoindate))?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_dob")?> </span>: <?=date("d M Y", strtotime($student->dob))?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_sex")?> </span>: <?=$student->sex?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_religion")?> </span>: <?=$student->religion?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_email")?> </span>: <?=$student->email?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_phone")?> </span>: <?=$student->phone?></p><hr>



                            </div>



                            <div class="profile-view-tab">



                                <p><span class="text_dark"><?=$this->lang->line("tmember_address")?> </span>: <?=$student->address?></p><hr>



                            </div>



                        </div>

                        </div>

                        </div>

                <?php }

                else{echo 'NO Transportation';}?>

                </div>

                

                

                <div id="stu_invoice" class="tab-pane ">

                <h1>Fees</h1>

                

                <div class="box-body">



        <div class="row">



            <div class="col-sm-12">







            <?php



            $amount = 0;



            $concession = 0;



            $received = 0;



            $fine = 0;



            ?>







                <?php if(count($slips_list) > 0 ) { ?>







                    <div class="col-sm-12">







                        <div class="nav-tabs-custom">



                           











                            <div class="tab-content">



                                <div id="all" class="tab-pane active">



                                    <div id="hide-table">



<table id="stu_view_example4" class="table table-striped table-bordered table-hover dataTable no-footer">



    <thead>



        <tr>



            <th class="col-sm-1"><?=$this->lang->line('slno')?></th>



            <th class="col-sm-1">Invoice Number</th>



            <th class="col-sm-1"><?=$this->lang->line('student_name')?></th>



            <th class="col-sm-2"><?=$this->lang->line('classes')?></th>



            <th class="col-sm-1"><?=$this->lang->line('invoicetype')?></th>



            <th class="col-sm-2"><?=$this->lang->line('time_period')?></th>



            <th class="col-sm-1"><?=$this->lang->line('due_date')?></th>



            <th class="col-sm-1"><?=$this->lang->line('invoice_amount')?></th>



            <th class="col-sm-1"><?=$this->lang->line('amount_receive')?></th>



            <th class="col-sm-1"><?=$this->lang->line('concession_amount')?></th>



            <th class="col-sm-1"><?=$this->lang->line('late_fee')?></th>



            <th class="col-sm-1"><?=$this->lang->line('action')?></th>



        </tr>

<tr>



            <th class="col-sm-1 test"><?=$this->lang->line('slno')?></th>



            <th class="col-sm-1 test">Invoice Number</th>



            <th class="col-sm-1  test"><?=$this->lang->line('student_name')?></th>



            <th class="col-sm-2  test"><?=$this->lang->line('classes')?></th>



            <th class="col-sm-1 test"><?=$this->lang->line('invoicetype')?></th>



            <th class="col-sm-2 test"><?=$this->lang->line('time_period')?></th>



            <th class="col-sm-1 test"><?=$this->lang->line('due_date')?></th>



            <th class="col-sm-1 test"><?=$this->lang->line('invoice_amount')?></th>



            <th class="col-sm-1 test"><?=$this->lang->line('amount_receive')?></th>



            <th class="col-sm-1 test"><?=$this->lang->line('concession_amount')?></th>



            <th class="col-sm-1 test"><?=$this->lang->line('late_fee')?></th>



            <th class="col-sm-1 test"><?=$this->lang->line('action')?></th>



        </tr>

    </thead>

    

    <tbody>



        <?php if(count($slips_list)) {$i = 1; foreach($slips_list as $c) { 



            $amount = $amount+$c->amount;



            $concession = $concession+$c->concession;



            $received = $received+$c->paid_amount;



            $fine = $fine+$c->fine;



            ?>



            <tr>



                <td data-title="<?=$this->lang->line('slno')?>">



                    <?php echo $i; ?>



                </td>



                  <td data-title="Invoice No.">



                    <?php echo $c->invoicefeeID; ?>



                </td>







                <td data-title="<?=$this->lang->line('student_name')?>">



                     <?php echo $c->student; ?>



                </td>



                <td data-title="<?=$this->lang->line('classes')?>">



                    <?php echo $c->class; ?>/ <?php echo $c->section; ?>



                </td>



                <td data-title="<?=$this->lang->line('invoicetype')?>">



                    <?php echo $c->feetype; ?>



                </td>



                <td data-title="<?=$this->lang->line('time_period')?>">



                    <?php echo date('M y',strtotime($c->from)).' - '.date('M y',strtotime($c->to)); ?>



                </td>



                <td data-title="<?=$this->lang->line('due_date')?>">



                    <?php echo date('d M Y',strtotime($c->date)); ?>



                </td>



                <td data-title="<?=$this->lang->line('invoice_amount')?>">



                    <?php echo $c->amount; ?>



                </td>



                



                <td data-title="<?=$this->lang->line('amount_receive')?>">



                    <?php echo $c->paid_amount; ?>



                </td>



                <td data-title="<?=$this->lang->line('concession_amount')?>">



                    <?php echo $c->concession; ?>



                </td>



                <td data-title="<?=$this->lang->line('late_fee')?>">



                    <?php echo $c->fine; ?>



                </td>



                <td data-title="<?=$this->lang->line('action')?>">



                   <a href="<?=base_url('invoicefee/view_slip/'.$c->invoicefeeID)?>"><i class="fa fa-eye"></i> View Slip</a>



                   <?php



                   echo btn_delete('invoicefee/remove_invoice/'.$c->invoicefeeID.'/'.$sid , $this->lang->line('delete'));



                   ?>



                  



                </td>



           </tr>



        <?php $i++; }} ?>



    </tbody>



</table>



                                    </div>







                                </div>











                            </div>







                        </div> <!-- nav-tabs-custom -->



                    </div> <!-- col-sm-12 for tab -->







                <?php } 



                else



                    {



                       echo "No Previous Invoices Found";



                    }



                    ?>



                   



            </div> <!-- col-sm-12 -->







        </div><!-- row -->



        <div class="row ">



           <div class="col-sm-3 col-sm-offset-1  text-center" style="border-radius: 10px;padding: 10px;">



                <h5>Total Amount: Rs.  =<?=$amount?></h5>



                <h5>Total Concession: Rs. =<?=$concession?></h5>



                <h5>Amount Receive: Rs.  =<?=$received?></h5>



                <h5>Total Fine: Rs.  =<?=$fine?></h5>



                <h4>DUE AMOUNT: Rs.  =<?=$amount+$fine-$concession-$received?></h4>

                

           </div>



        </div>



    </div><!-- Body -->

                  

                

                </div>

                

                

                 <div id="stu_medi" class="tab-pane ">

                

                    <h1>Medical Info</h1>

                  <div class="box">



    



    <!-- form start -->



    <div class="box-body">



        <div class="row">



            <div class="col-sm-12">



                <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data">



<div><a href='<?=base_url('medical/manage/'.$student_id)?>' style="background-color:#9f5bbb;" class='btn btn-warning'


                ><i class="fa fa-stethoscope"></i> Manage</a><a href='<?=base_url('medical/vaccination/'.$student_id)?>'  class='btn btn-success'

                ><i class="fa fa-plus"></i> Vaccination</a></div>

               <h3>Contact Details</h3>



                <br>











                    <?php



                        if(form_error('ress_contact'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="ress_contact" class="col-sm-2 control-label">



                            <?=$this->lang->line("ress_contact")?>



                        </label>



                        <div class="col-sm-6">

                            <?php foreach ($medicals as $medi) {?>

                            <input type="text" class="form-control" id="ress_contact" name="ress_contact" value="<?= $medi->ress_contact?>" >

                              

                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('ress_contact'); ?>



                        </span>



                    </div>







                     <?php



                        if(form_error('off_contact'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="off_contact" class="col-sm-2 control-label">



                            <?=$this->lang->line("off_contact")?>



                        </label>



                        <div class="col-sm-6">



                            <input type="text" class="form-control" id="off_contact" name="off_contact" value="<?= $medi->off_contact?>" >



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('off_contact'); ?>



                        </span>



                    </div>







                         <?php



                        if(form_error('emergency_contact'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="emergency_contact" class="col-sm-2 control-label">



                           *<?=$this->lang->line("emergency_contact")?>



                        </label>



                        <div class="col-sm-6">



                            <input type="text" class="form-control" id="emergency_contact" name="emergency_contact" value="<?= $medi->emergency_contact?>" >



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('emergency_contact'); ?>



                        </span>



                    </div>



                         <?php



                        if(form_error('blood_group'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="blood_group" class="col-sm-2 control-label">



                          *<?=$this->lang->line("blood_group")?>



                        </label>



                        <div class="col-sm-6">



                            <input type="text" class="form-control" id="blood_group" name="blood_group" value="<?= $medi->blood_group?>" >



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('blood_group'); ?>



                        </span>



                    </div>

                

                       <h3>Medical Information</h3>



                 <?php



                        if(form_error('food_alergy'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="food_alergy" class="col-sm-2 control-label">



                            <?=$this->lang->line("food_alergy")?>



                        </label>



                        <div class="col-sm-6">



                          



                           <textarea class="form-control" id="food_alergy" name="food_alergy" ><?= $medi->food_elergy?></textarea>



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('food_alergy'); ?>



                        </span>



                    </div>



                     <?php



                        if(form_error('drug_alergy'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="drug_alergy" class="col-sm-2 control-label">



                            <?=$this->lang->line("drug_alergy")?>



                        </label>



                        <div class="col-sm-6">



                          



                           <textarea class="form-control" id="drug_alergy" name="drug_alergy" ><?= $medi->drug_elergy?></textarea>



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('drug_alergy'); ?>



                        </span>



                    </div>



                     <?php



                        if(form_error('medical_alergy'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="medical_elergy" class="col-sm-2 control-label">



                            <?=$this->lang->line("medical_alergy")?>



                        </label>



                        <div class="col-sm-6">



                          



                           <textarea class="form-control" id="medical_alergy" name="medical_alergy" ><?= $medi->medical_elergy?></textarea>



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('medical_alergy'); ?>



                        </span>



                    </div>



                     <?php



                        if(form_error('other_alergy'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="other_elergy" class="col-sm-2 control-label">



                            <?=$this->lang->line("other_alergy")?>



                        </label>



                        <div class="col-sm-6">



                          



                           <textarea class="form-control" id="other_alergy" name="other_alergy" ><?= $medi->other_elergy?></textarea>



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('other_alergy'); ?>



                        </span>



                    </div>



                  



                   <?php



                        if(form_error('major_illness'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="major_illness" class="col-sm-2 control-label">



                            <?=$this->lang->line("major_illness")?>



                        </label>



                        <div class="col-sm-6">



                          



                           <textarea class="form-control" id="major_illness" name="major_illness" ><?= $medi->major_illness?></textarea>



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('major_illness'); ?>



                        </span>



                    </div>



                  



   <?php



                        if(form_error('immunization'))



                            echo "<div class='form-group has-error' >";



                        else



                            echo "<div class='form-group' >";



                    ?>



                        <label for="immunization" class="col-sm-2 control-label">



                            <?=$this->lang->line("immunization")?>



                        </label>



                        <div class="col-sm-6">



                          



                          <select class="form-control mark1 guargianID" placeholder="Select Immunization" name="immunization[]" id="immunization" multiple>



               



                   



                      <option value="BCG">BCG</option>



                      <option value="Measles">Measles</option>



                      <option value="OPV">OPV</option>



                      <option value="MMR">MMR</option>



                      <option value="DPT">DPT</option>



                      <option value="Typhoid">Typhoid</option>



                      <option value="BOOSTER for OPV">BOOSTER for OPV</option>



                      <option value="BOOSTER for DPT">BOOSTER for DPT</option>



                      <option value="Hepatitis">Hepatitis</option>



                      <option value="Any Other">Any Other</option>







                     



                </select>



                        </div>



                        <span class="col-sm-4 control-label">



                            <?php echo form_error('immunization'); ?>



                        </span>



                    </div>











                    



                



                  





<?php }?> 













                </form>



            </div>



        </div>



    </div>



</div>

                

                </div>

                

                </div>

                

                </div>

                

                

                </div>

                

                </div>



                <?php



                    } else {



                        echo "<div class='col-sm-12'><div class='col-sm-12 alert alert-warning'><span class='fa fa-exclamation-triangle'></span> " .$this->lang->line("parent_error"). "</div></div>";



                    }



                ?>







            </div>



        </section>



    </div>







    <?php if($usertype == "Admin") { ?>



    <!-- Modal content start here -->



    <div class="modal fade" id="idCard">



      <div class="modal-dialog">



        <div class="modal-content">



            <div id="idCardPrint">



              <div class="modal-header">



                <?=$this->lang->line('idcard')?>



              </div>



              <div class="modal-body" >



                <table>



                    <tr>



                        <td>



                            <h4 style="margin:0;">



                            <?php



                                if($siteinfos->photo) {



                                    $array = array(



"src" => base_url('uploads/images/'.$siteinfos->photo),



'width' => '25px',



'height' => '25px',



"style" => "margin-bottom:10px;"



                                    );



                                    echo img($array);



                                }







                            ?>







                            </h4>



                        </td>



                        <td style="padding-left:5px;">



                            <h4><?=$siteinfos->sname;?></h4>



                        </td>



                    </tr>



                </table>







                <table class="idcard-Table">



                    <tr>



                        <td>



                            <h4>



                                <?php



                                    echo img(base_url('uploads/images/'.$student->photo));



                                ?>



                            </h4>



                        </td>



                        <td class="row-style">



                            <h3><?php  echo $student->name; ?></h3>



                            <h5><?php  echo $this->lang->line("student_classes")." : ".$class->classes; ?>



                            </h5>



                            <h5><?php  echo $this->lang->line("student_section")." : ".$section->section; ?>



                            </h5>



                            <h5>



                                <?php  echo $this->lang->line("student_roll")." : ".$student->roll; ?>



                            </h5>



                        </td>



                    </tr>



                </table>



              </div>



            </div>



          <div class="modal-footer">



            <button type="button" class="btn btn-default" style="margin-bottom:0px;" onclick="javascript:closeWindow()" data-dismiss="modal"><?=$this->lang->line('close')?></button>



            <button type="button" class="btn btn-success" onclick="javascript:printDiv('idCardPrint')"><?=$this->lang->line('print')?></button>



          </div>



        </div>



      </div>



    </div>



    <!-- Modal content End here -->







<!-- email modal starts here -->



<form class="form-horizontal" role="form" action="<?=base_url('student/send_mail');?>" method="post">



    <div class="modal fade" id="mail">



      <div class="modal-dialog">



        <div class="modal-content">



            <div class="modal-header">



                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>



                <h4 class="modal-title"><?=$this->lang->line('mail')?></h4>



            </div>



            <div class="modal-body">







                <?php



                    if(form_error('to'))



                        echo "<div class='form-group has-error' >";



                    else



                        echo "<div class='form-group' >";



                ?>



                    <label for="to" class="col-sm-2 control-label">



                        <?=$this->lang->line("to")?>



                    </label>



                    <div class="col-sm-6">



                        <input type="email" class="form-control" id="to" name="to" value="<?=set_value('to')?>" >



                    </div>



                    <span class="col-sm-4 control-label" id="to_error">



                    </span>



                </div>







                <?php



                    if(form_error('subject'))



                        echo "<div class='form-group has-error' >";



                    else



                        echo "<div class='form-group' >";



                ?>



                    <label for="subject" class="col-sm-2 control-label">



                        <?=$this->lang->line("subject")?>



                    </label>



                    <div class="col-sm-6">



                        <input type="text" class="form-control" id="subject" name="subject" value="<?=set_value('subject')?>" >



                    </div>



                    <span class="col-sm-4 control-label" id="subject_error">



                    </span>







                </div>







                <?php



                    if(form_error('message'))



                        echo "<div class='form-group has-error' >";



                    else



                        echo "<div class='form-group' >";



                ?>



                    <label for="message" class="col-sm-2 control-label">



                        <?=$this->lang->line("message")?>



                    </label>



                    <div class="col-sm-6">



                        <textarea class="form-control" id="message" style="resize: vertical;" name="message" value="<?=set_value('message')?>" ></textarea>



                    </div>



                </div>











            </div>



            <div class="modal-footer">



                <button type="button" class="btn btn-default" style="margin-bottom:0px;" data-dismiss="modal"><?=$this->lang->line('close')?></button>



                <input type="button" id="send_pdf" class="btn btn-success" value="<?=$this->lang->line("send")?>" />



            </div>



        </div>



      </div>



    </div>



</form>



<!-- email end here -->

<script>

 $(document).ready(function() {

     

          $('#example4, #example5').DataTable( {

              

              dom: 'Bfrtip',



              buttons: [



                  'copyHtml5',



                  'excelHtml5',



                  'csvHtml5',



                  'pdfHtml5'



              ],

              responsive: true,

              search: false



          } );



        } );



        </script>



    <script language="javascript" type="text/javascript">

      $('#sattendance').addClass('active');

        function printDiv(divID) {



            //Get the HTML of div



            var divElements = document.getElementById(divID).innerHTML;



            //Get the HTML of whole page



            var oldPage = document.body.innerHTML;







            //Reset the page's HTML with div's HTML only



            document.body.innerHTML =



              "<html><head><title></title></head><body>" +



              divElements + "</body>";







            //Print Page



            window.print();







            //Restore orignal HTML



            document.body.innerHTML = oldPage;



        }



        function closeWindow() {



            location.reload();



        }







        function check_email(email) {



            var status = false;



            var emailRegEx = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i;



            if (email.search(emailRegEx) == -1) {



                $("#to_error").html('');



                $("#to_error").html("<?=$this->lang->line('mail_valid')?>").css("text-align", "left").css("color", 'red');



            } else {



                status = true;



            }



            return status;



        }











        $("#send_pdf").click(function(){



            var to = $('#to').val();



            var subject = $('#subject').val();



            var message = $('#message').val();



            var id = "<?=$student->studentID;?>";



            var set = "<?=$set;?>";



            var error = 0;







            if(to == "" || to == null) {



                error++;



                $("#to_error").html("");



                $("#to_error").html("<?=$this->lang->line('mail_to')?>").css("text-align", "left").css("color", 'red');



            } else {



                if(check_email(to) == false) {



                    error++



                }



            }







            if(subject == "" || subject == null) {



                error++;



                $("#subject_error").html("");



                $("#subject_error").html("<?=$this->lang->line('mail_subject')?>").css("text-align", "left").css("color", 'red');



            } else {



                $("#subject_error").html("");



            }







            if(error == 0) {



                $.ajax({



                    type: 'POST',



                    url: "<?=base_url('student/send_mail')?>",



                    data: 'to='+ to + '&subject=' + subject + "&id=" + id+ "&message=" + message+ "&set=" + set,



                    dataType: "html",



                    success: function(data) {



                        location.reload();



                    }



                });



            }



        });



    </script>

    <script>

$(document).ready(function() {

    // Setup - add a text input to each footer cell

    $('#stu_view_example1   .test').each( function () {

        var title = $(this).text();

        

        $(this).html( '<input type="text" placeholder="Search '+title+'" />' );

    } );

 

    // DataTable

    var table = $('#stu_view_example1 ').DataTable({

               "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],

               "autoWidth": false,

              dom: 'Bfrtip',

              

              buttons: [

                  'pageLength',

                  

                  'copyHtml5',



                  'excelHtml5',



                  'csvHtml5',



                  'pdfHtml5'



              ],



              search: false



          });

 

    // Apply the search

    table.columns().every( function () {

        var that = this;

 

        $( 'input', this.header() ).on( 'keyup change', function () {

            if ( that.search() !== this.value ) {

                that

                    .search( this.value )

                    .draw();

            }

        } );

    } );

    

     // Setup - add a text input to each footer cell

    $('#stu_view_example2  .test').each( function () {

        var title = $(this).text();

        $(this).html( '<input type="text" placeholder="Search '+title+'" />' );

    } );

 

    // DataTable

    var table2 = $('#stu_view_example2 ').DataTable({

               "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],

               "autoWidth": false,

              dom: 'Bfrtip',

              

              buttons: [

                  'pageLength',

                  

                  'copyHtml5',



                  'excelHtml5',



                  'csvHtml5',



                  'pdfHtml5'



              ],



              search: false



          });

 

    // Apply the search

    table2.columns().every( function () {

        var that = this;

 

        $( 'input', this.header() ).on( 'keyup change', function () {

            if ( that.search() !== this.value ) {

                that

                    .search( this.value )

                    .draw();

            }

        } );

    } );

    

     // Setup - add a text input to each footer cell

    $('#stu_view_example3  .test').each( function () {

        var title = $(this).text();

        $(this).html( '<input type="text" placeholder="Search '+title+'" />' );

    } );

 

    // DataTable

    var table3 = $('#stu_view_example3 ').DataTable({

               "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],

               "autoWidth": false,

              dom: 'Bfrtip',

              

              buttons: [

                  'pageLength',

                  

                  'copyHtml5',



                  'excelHtml5',



                  'csvHtml5',



                  'pdfHtml5'



              ],



              search: false



          });

 

    // Apply the search

    table3.columns().every( function () {

        var that = this;

 

        $( 'input', this.header() ).on( 'keyup change', function () {

            if ( that.search() !== this.value ) {

                that

                    .search( this.value )

                    .draw();

            }

        } );

    } );

    

     // Setup - add a text input to each footer cell

    $('#stu_view_example4  .test').each( function () {

        var title = $(this).text();

        $(this).html( '<input type="text" placeholder="Search '+title+'" />' );

    } );

 

    // DataTable

    var table4 = $('#stu_view_example4 ').DataTable({

               "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],

               "autoWidth": false,

              dom: 'Bfrtip',

               "scrollX": true,

               "scrollY": true,

              

              buttons: [

                  'pageLength',

                  

                  'copyHtml5',



                  'excelHtml5',



                  'csvHtml5',



                  'pdfHtml5'



              ],



              search: false



          });

 

    // Apply the search

    table4.columns().every( function () {

        var that = this;

 

        $( 'input', this.header() ).on( 'keyup change', function () {

            if ( that.search() !== this.value ) {

                that

                    .search( this.value )

                    .draw();

            }

        } );

    } );

} );

</script>

    <?php } ?>



Function Calls

count 1

Variables

None

Stats

MD5 b00548d65784ba6a9c23cc1a7b4f8c84
Eval Count 0
Decode Time 242 ms