<div class="page-content-wrapper">
                <div class="page-content">
                    <div class="page-bar">
                        <div class="page-title-breadcrumb">
                            <div class=" pull-left">
                                <div class="page-title">Rate Settings</div>
                            </div>
                            <ol class="breadcrumb page-breadcrumb pull-right">
                                <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.php?page=manage_category">Category</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li>Rate Settings</li>
                            </ol>
                        </div>
                    </div>
<div class="row">
                        <div class="col-md-12 col-sm-12">
                            <div class="card card-box">
                                <div class="card-head">
                                    <header>Rate Settings</header>                                    
                                </div>
                                <div class="card-body" id="bar-parent1">
                                	
                                	<?php if(isset($error) && $error!='') { ?> 
                                	<div class="alert alert-danger"><?php echo $error; ?></div>
                                	<?php } else if(isset($success) && $success!=''){ ?>                                		
                                		<div class="alert alert-success"><?php echo $success; ?></div>
                                	<?php } else if(isset($_REQUEST['success'])){ ?>                                		
                                		<div class="alert alert-success"><?php echo $_REQUEST['success']; ?></div>
                                	<?php } ?>
                                	                                	
                                    <form action="" id="form_staff_add" class="form-horizontal" method="post" enctype="multipart/form-data">
                                        <div class="form-body">                                        	 
                                        	
                                            <div class="form-group row">
                                                <label class="control-label col-md-3">Visit Charge<span class="required"> * </span></label>
                                                <div class="col-md-4">                                                                                                                                                              
                                                        <input name="visit_charge" type="text" id="visit_charge" class="form-control" data-required="1" value="<?php if(isset($_POST['visit_charge'])) { echo htmlentities(($_POST['visit_charge']), ENT_QUOTES); } else if(isset($catRec['visit_charge']) && $catRec['visit_charge']!=''){ echo $catRec['visit_charge'];} ?>" placeholder="Visit Charge" />
                                             
                                                </div>
                                            </div>
                                            <div class="form-group row">
                                                <label class="control-label col-md-3">Minimum Charge<span class="required"> * </span></label>
                                                <div class="col-md-4">                                                                                                                                                              
                                                        <input name="min_charge" type="text" id="min_charge" class="form-control" data-required="1" value="<?php if(isset($_POST['min_charge'])) { echo htmlentities(($_POST['min_charge']), ENT_QUOTES); } else if(isset($catRec['min_charge']) && $catRec['min_charge']!=''){ echo $catRec['min_charge'];} ?>" placeholder="Minimum Charge" />
                                                </div>
                                            </div> 
                                            <div class="form-group row">
                                                <label class="control-label col-md-3">Maximum Charge<span class="required"> * </span></label>
                                                <div class="col-md-4">                                                                                                                                                              
                                                        <input name="max_charge" type="text" id="max_charge" class="form-control" data-required="1" value="<?php if(isset($_POST['max_charge'])) { echo htmlentities(($_POST['max_charge']), ENT_QUOTES); } else if(isset($catRec['max_charge']) && $catRec['max_charge']!=''){ echo $catRec['max_charge'];} ?>" placeholder="Maximum Charge" />
                                                </div>
                                            </div>   
                                            <div class="form-group row">
                                                <label class="control-label col-md-3">Hourly Rate<span class="required"> * </span></label>
                                                <div class="col-md-4">                                                                                                                                                              
                                                        <input name="hourly_rate" type="text" id="hourly_rate" class="form-control" data-required="1" value="<?php if(isset($_POST['hourly_rate'])) { echo htmlentities(($_POST['hourly_rate']), ENT_QUOTES); } else if(isset($catRec['hourly_rate']) && $catRec['hourly_rate']!=''){ echo $catRec['hourly_rate'];} ?>" placeholder="Hourly Rate" />
                                                </div>
                                            </div> 
                                                                        
                                           
                                        </div>                                        
                                      	<div class="form-group">
                                            <div class="offset-md-3 col-md-9">                                            	
                                            		<button type="submit" name="update" class="btn btn-info">Update</button>                                            	
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
	</div>
</div>
