<?php

if($_REQUEST['id']!='')

{

$m->where("class_id", $_REQUEST['id']);

$UsersWorkAssignList = $m->get("edu_class_config");

}

if($_REQUEST['fee']!='')

{
$m->where("class_id", utf8_decode_all($_REQUEST['id']));

$m->where ("branch_id", $_SESSION['branch']);

$result = $m->get('eduportal_class_fee_details');
}

?>

<style type="text/css">

.inputfield{

width: 100%;

height:34px;

}

</style>

<form class="form-style-7" action="<?php echo DOMAIN.AgentDirectory;?>parent/InsertMe.php" method="post" enctype="multipart/form-data">

<?php 

if(isset($_REQUEST['id'])) { ?>

<input type="hidden" name="action" value="EditClassDetail">

<input type="hidden" name="eid" value="<?php echo $_REQUEST['id'];?>">

<?php } else { ?>

<input type="hidden" name="action" value="AddClass">

<?php } ?>

<ul style="list-style-type:none;">

<div class="col-md-5"> <h3 class="heding_name">Add Class </h3></div>

<div class="clearfix"></div>

<hr>

<li>

<label for=""> Class Name </label>

<input type="text" name="name" class="inputfield" value="<?php echo $UsersWorkAssignList[0]['Class_Name'];?>"   autocomplete="off" required maxlength="100">

</li>


<li>

<label for=""> Standard Monthly Fee </label>

<input type="text" name="fee" class="inputfield"  value="<?php echo $result[0]['tution_fee'];?>"  required maxlength="100">

</li>


<li>

<label for=""> Standard Admission Fee </label>

<input type="text" name="admission_fee" class="inputfield"  value="<?php echo $result[0]['admission_fee'];?>"  required maxlength="100">

</li>


<li>

<label for=""> Order No </label>

<input type="text" name="orderno" class="inputfield"  value="<?php echo $UsersWorkAssignList[0]['orderno'];?>"  required maxlength="100">

</li>


<div class="clearfix"></div>

<li class=" pull-left" style="margin-top:30px;">

<input type="submit" value=" Submit " class="btn btn-primary" >

</li>

</ul>

</form>