
        <footer id="footer">
            <div class="container">
                <div class="row">
                    <div class="col-sm-3">
                        &copy; <?php echo date('Y'); ?> www.webschool.in 
                    </div>
                    <div class="col-sm-8">
                        <ul>
                            <li><a href="#">Dashboard</a></li>
                            <li>&middot;</li>
                            <li><a href="#">Terms of Service</a></li>
                            <li>&middot;</li>
                            <li><a href="#">Privacy Policy</a></li>
                            <li>&middot;</li>
                            <li><a href="#">Contact us</a></li>
                        </ul>
                    </div>
                    <div class="col-sm-1 text-right">
                        <small class="text-muted"></small>
                    </div>
                </div>
            </div>
        </footer>
        	
		<nav id="side_fixed_nav">
			<div class="slim_scroll">
				<div class="side_nav_actions">
					<a href="javascript:void(0)" id="side_fixed_nav_toggle"><span class="icon-align-justify"></span></a>
					<div id="toogle_nav_visible" class="make-switch switch-mini" data-on="success" data-on-label="<i class='icon-lock'></i>" data-off-label="<i class='icon-unlock-alt'></i>">
						<input id="nav_visible_input" type="checkbox">
					</div>
				</div>
               
				<ul id="text_nav_side_fixed">
                <li>
					<a href="javascript:void(0)"><span class="icon-dashboard"></span>Dashboard</a>
					 <ul>
                     <li class="link_active"><a href="<?php if($empid!='')
{ ?><?php echo SITE_URL; ?>employees/dashboard.php<?php } else { ?><?php echo SITE_URL; ?>dashboard.php<?php } ?>">Dashboard</a></li>
                   </ul>
                  </li>
					<li>
						<a href="javascript:void(0)"><span class="icon-wrench"></span>Settings</a>
						<ul>
                         
                        <?php if($empid=='') { ?> <li <?php if($basename==$settingspage){?> class="link_active" <?php } ?>><a href="<?php echo SITE_URL; ?>general_setting.php">General Settings</a></li> <?php } ?>
                         <li <?php if($basename==$profilepage){?> class="link_active" <?php } ?>><a href="<?php if($empid!='') { ?><?php echo SITE_URL; ?>employees/profile.php<?php } else {?><?php echo SITE_URL; ?>my_profile.php<?php } ?>">My Profile</a></li>
                         
                         <li <?php if($basename==$coursepage){?> class="link_active" <?php } ?>><a href="<?php echo SITE_URL; ?>course.php">Course</a></li>
                         <li <?php if($basename==$batchpage){?> class="link_active" <?php } ?>><a href="<?php echo SITE_URL; ?>batch.php">Batch</a></li>
                         <li <?php if($basename==$subjectspage){?> class="link_active" <?php } ?>><a href="<?php echo SITE_URL; ?>subjects.php">Subjects</a></li>
                         <li <?php if($basename==$stdcatpage){?> class="link_active" <?php } ?>><a href="<?php echo SITE_URL; ?>std_category.php">Students Category</a></li>
                         <?php if($empid=='') { ?> <li <?php if($basename==$leavepage){?> class="link_active" <?php } ?>><a href="<?php echo SITE_URL; ?>emp_leave.php">Leave Management</a></li><?php } ?>
                          <li <?php if($basename==$addeventpage){?> class="link_active" <?php } ?>><a href="<?php echo SITE_URL; ?>add_event.php">Event Management</a></li>
						</ul>
					</li>
                    
                    
                      <li>
						<a href="javascript:void(0)"><span class="icon-envelope-alt"></span>Messages</a>
						<ul>
                    
							<li ><a href="#" class="upgrade">Mailbox</a></li>
                           
                            <!--<li <?php //if($basename==$marksreportpage){?> class="link_active" <?php //} ?>><a href="#">Marks Report</a></li>-->
                        
                    </ul></li>
                    
                    
					<?php if($empid=='') { ?>
                    <li>
						<a href="javascript:void(0)"><span class="icon-user"></span>Human Resource</a>
						<ul>
                         <li><a class="upgrade">Admin Users</a></li><?php } ?>
                        	 <?php if($empid=='') { ?><li><a href="javascript:void(0)">Employee Management</a>
                           
								<ul>
									<li ><a href="#" class="upgrade">Add Department</a></li>
									<li ><a href="#" class="upgrade">Add Position</a></li>
                                    <li ><a href="#" class="upgrade">Add Employee</a></li>
                                    <li><a href="#" class="upgrade">Employee List</a></li>
								</ul>
                                </li>
                         	<li ><a href="#" class="upgrade">Set Working Days</a></li>
                            <li><a href="javascript:void(0)">Attendance Management</a>
                           
								<ul>
									<li><a href="#" class="upgrade">Attendance</a></li>
									<li><a href="#" class="upgrade">Report</a></li>
                                    
								</ul>
                                </li>
                         	<li ><a href="#" class="upgrade">Subject Allocation</a></li>
							
						</ul>
					</li><?php } ?>
					<li>
						<a href="javascript:void(0)"><span class="icon-group"></span>Student</a>
						<ul>
							<li><a href="#" class="upgrade">Admission</a></li>
							<li><a href="#" class="upgrade">List</a></li>
							<li><a href="javascript:void(0)">Attendance Management</a>
                            <ul>
									<li><a href="#" class="upgrade">Attendance</a></li>
									<li><a href="#" class="upgrade">Report</a></li>
                                    
							</ul>
                            </li>
							<!--<li>
								<a href="javascript:void(0)">Tables</a>
								<ul>
									<li><a href="<?php //echo SITE_URL; ?>datatables.html">Datatables</a></li>
									<li><a href="<?php //echo SITE_URL; ?>regular_tables.html">Regular</a></li>
									<li><a href="<?php //echo SITE_URL; ?>slick_grid.html">Slick Grid</a></li>
									<li><a href="<?php //echo SITE_URL; ?>table_responsive.html">Responsive Table</a></li>
								</ul>
							</li>-->
							
						</ul>
					</li>
                    
					<li>
						<a href="javascript:void(0)"><span class="icon-tasks"></span>Timetable</a>
						<ul>
                            
							<?php if($empid=='') {?><li ><a href="#" class="upgrade">Set Timetable</a></li><?php } ?>
							<?php if($empid=='') {?><li ><a href="#" class="upgrade">View Timetable</a></li><?php } ?>
                            <?php if($empid!='') {?><li ><a href="#" class="upgrade">View Timetable</a></li><?php } ?>
						</ul>
					</li>
                    <li>
						<a href="javascript:void(0)"><span class="icon-edit"></span>Exam</a>
						<ul>
							<li ><a href="#" class="upgrade">Category</a></li>
							<li ><a href="#" class="upgrade">Set Exam</a></li>
                            <li ><a href="#" class="upgrade">Exam List</a></li>
							<li ><a href="#" class="upgrade">Set Marklist</a></li>
                        </ul>
					</li>
					<li>
						<a href="javascript:void(0)"><span class="li_banknote"></span>Fees</a>
						<ul>
                        <li ><a href="#" class="upgrade">Fees Category</a></li>
							<li><a href="#" class="upgrade">Fees Period</a></li>
							<li><a href="#" class="upgrade">Fees Collect</a></li>
							<li><a href="#" class="upgrade">Fees Paid/Unpaid</a></li>
							
						</ul>
					</li>
                    
                    
                    
                   
                   
                  
                      <li>
						<a href="javascript:void(0)"><span class="icon-book"></span>Library</a>
						<ul>
                     
							<li ><a href="#" class="upgrade">Add Category</a></li>
                            <li ><a href="#" class="upgrade">Add Books</a></li>
                           <li ><a href="#" class="upgrade">List of Books</a></li>
                           <li ><a href="#" class="upgrade">Issue Book</a></li>
                            <!--<li <?php //if($basename==$marksreportpage){?> class="link_active" <?php //} ?>><a href="#">Marks Report</a></li>-->
                        
                    </ul>
                    </li>
                    
                    
                     <li>
						<a href="javascript:void(0)"><span class="icon-truck"></span>Transport</a>
						<ul>
                    
							<li ><a href="#" class="upgrade">Add Vehicle</a></li>
                            <li ><a href="#" class="upgrade">Add Route</a></li>
                           <li ><a href="#" class="upgrade">Add Destination</a></li>
                           <li ><a href="#" class="upgrade">Add Driver</a></li>
                           <li ><a href="#" class="upgrade">Add Vehicle Timing</a></li>
                           <li ><a href="#" class="upgrade">Allocation</a></li>
                            <li ><a href="#" class="upgrade">Fees</a></li>
                            <!--<li <?php //if($basename==$marksreportpage){?> class="link_active" <?php //} ?>><a href="#">Marks Report</a></li>-->
                       
                    </ul>
                    </li>
                    
                    
                    
                     <li>
						<a href="javascript:void(0)"><span class="icon-hospital"></span>Hostel</a>
						<ul>
                    
							<li><a href="#" class="upgrade">Add Hostel</a></li>
                            <li><a href="#" class="upgrade">Add Floor</a></li>
                           <li><a href="" class="upgrade">Room List</a></li>
                           <li><a href="" class="upgrade">Registration</a></li>
                           <li><a href="" class="upgrade">Fees</a></li>
                           
                            <!--<li <?php //if($basename==$marksreportpage){?> class="link_active" <?php //} ?>><a href="#">Marks Report</a></li>-->
                        
                    </ul>
                    </li>
                    
                    
                    
                     <li>
						<a href="javascript:void(0)"><span class="icon-file-text-alt"></span>Assignment</a>
						<ul>
                        <li >
						<a href="" class="upgrade"><span ></span>Assignment</a>
                        </li>
                       </ul>
                    </li>
                     <li>
						<a href="javascript:void(0)"><span class="icon-list-alt"></span>Notes</a>
						<ul>
                        <li >
						<a href="" class="upgrade"><span ></span>Notes</a>
                        </li>
                       </ul>
                    </li>
                   
                    <!--<li>
						<a href="javascript:void(0)"><span class="icon-folder-open"></span>More</a>
						<ul>
							<li><a href="blank.html">Blank page</a></li>
							<li><a href="chat.html">Chat</a></li>
							<li><a href="contact_page.html">Contact Page</a></li>
							<li><a href="error_404.html">Error 404</a></li>
							<li><a href="help_faq.html">Help/Faq</a></li>
							<li><a href="invoices.html">Invoices</a></li>
							<li><a href="landing_page.html">Landing Page</a></li>
							<li><a href="login_page.html">Login Page</a></li>
							<li><a href="mailbox.html">Mailbox</a></li>
							<li><a href="pricing_table.html">Pricing Table</a></li>
							<li><a href="search_page.html">Search Page</a></li>
							<li><a href="settings.html">Site Settings</a></li>
							<li><a href="user_profile.html">User profile</a></li>
						</ul>
					</li>-->				
				</ul>
			</div>
		</nav>

	<!--[[ common plugins ]]-->
	
	<!-- jQuery -->
		<script src="<?php echo SITE_URL; ?>js/jquery.min.js"></script>
	<!-- bootstrap framework -->
		<script src="<?php echo SITE_URL; ?>bootstrap/js/bootstrap.min.js"></script>
	<!-- jQuery resize event -->
		<script src="<?php echo SITE_URL; ?>js/jquery.ba-resize.min.js"></script>
	<!-- jquery cookie -->
		<script src="<?php echo SITE_URL; ?>js/jquery_cookie.min.js"></script>
	<!-- retina ready -->
		<script src="<?php echo SITE_URL; ?>js/retina.min.js"></script>
	<!-- typeahead -->
		<script src="<?php echo SITE_URL; ?>js/lib/typeahead.js/typeahead.min.js"></script>
		<script src="<?php echo SITE_URL; ?>js/lib/typeahead.js/hogan-2.0.0.js"></script>

	<!-- tinyNav -->
		<script src="<?php echo SITE_URL; ?>js/tinynav.js"></script>
	<!-- slimscroll -->
		<script src="<?php echo SITE_URL; ?>js/lib/jQuery-slimScroll/jquery.slimscroll.min.js"></script>
	
	<!-- bootstrap switch -->
		<script src="<?php echo SITE_URL; ?>js/lib/bootstrap-switch/js/bootstrap-switch.min.js"></script>
	
	<!-- touchSwipe -->
		<script src="<?php echo SITE_URL; ?>js/lib/TouchSwipe/jquery.touchSwipe.min.js"></script>
		
	<!-- Navgoco -->
		<script src="<?php echo SITE_URL; ?>js/lib/navgoco/jquery.navgoco.min.js"></script>
		
	<!-- ebro common scripts/functions -->
		<script src="<?php echo SITE_URL; ?>js/ebro_common.js"></script>
	
	
	<!--[[ page specific plugins ]]-->

	<!-- peity (small charts) -->
		<script src="<?php echo SITE_URL; ?>js/lib/peity/jquery.peity.min.js"></script>
	<!-- vector map -->
		<script src="<?php echo SITE_URL; ?>js/lib/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
		<script src="<?php echo SITE_URL; ?>js/lib/jvectormap/maps/jquery-jvectormap-world-mill-en.js"></script>
	<!-- easy pie chart -->
		<script src="<?php echo SITE_URL; ?>js/lib/easy-pie-chart/jquery.easy-pie-chart.js"></script>
	<!-- charts -->
		<script src="<?php echo SITE_URL; ?>js/lib/flot/jquery.flot.min.js"></script>
		<script src="<?php echo SITE_URL; ?>js/lib/flot/jquery.flot.pie.min.js"></script>
		<script src="<?php echo SITE_URL; ?>js/lib/flot/jquery.flot.time.min.js"></script>
		<script src="<?php echo SITE_URL; ?>js/lib/flot/jquery.flot.tooltip.min.js"></script>
		<script src="<?php echo SITE_URL; ?>js/lib/flot/jquery.flot.resize.js"></script>
	<!-- video embed -->
		<script src="<?php echo SITE_URL; ?>js/lib/FitVids/jquery.fitvids.js"></script>
	<!-- carousel -->
		<script src="<?php echo SITE_URL; ?>js/lib/owl-carousel/owl.carousel.min.js"></script>
	<!-- responsive lightbox -->
		<script src="<?php echo SITE_URL; ?>js/lib/magnific-popup/jquery.magnific-popup.min.js"></script>
	<!-- jQueryUi -->
		<script src="<?php echo SITE_URL; ?>js/lib/jquery_ui/jquery-ui-1.10.3.custom.min.js"></script>
	<!-- fullcalendar -->
		<script src="<?php echo SITE_URL; ?>js/lib/fullcalendar/fullcalendar.js"></script>
		
		<script src="<?php echo SITE_URL; ?>js/pages/ebro_dashboard.js"></script>
        
        <!-- 2col multiselect -->
			<script src="<?php echo SITE_URL; ?>js/lib/multi-select/js/jquery.multi-select.js"></script>
		<!-- select2 -->
			<script src="<?php echo SITE_URL; ?>js/lib/select2/select2.min.js"></script>
		<!-- datepicker -->
			<script src="<?php echo SITE_URL; ?>js/lib/datepicker/js/bootstrap-datepicker.js"></script>
		<!-- iCheck -->
			<script src="<?php echo SITE_URL; ?>js/lib/iCheck/jquery.icheck.min.js"></script>
		<!-- parsley -->
			<script src="<?php echo SITE_URL; ?>js/lib/parsley/parsley.min.js"></script>
			
			<script src="<?php echo SITE_URL; ?>js/pages/ebro_form_validate.js"></script>
            
            <!-- bootbox.js -->
			<script src="<?php echo SITE_URL; ?>js/lib/bootbox/bootbox.min.js"></script>
			
			<script src="<?php echo SITE_URL; ?>js/pages/ebro_user_profile.js"></script>
            
            <!-- responsive table -->
			<script src="<?php echo SITE_URL; ?>js/lib/FooTable/js/footable.js"></script>
			<script src="<?php echo SITE_URL; ?>js/lib/FooTable/js/footable.sort.js"></script>
			<script src="<?php echo SITE_URL; ?>js/lib/FooTable/js/footable.filter.js"></script>
			<script src="<?php echo SITE_URL; ?>js/lib/FooTable/js/footable.paginate.js"></script>
            
           
		<!-- rowlink -->
			<script src="<?php echo SITE_URL; ?>js/lib/jasny_plugins/bootstrap-rowlink.js"></script>
		
			<script src="<?php echo SITE_URL; ?>js/pages/ebro_mailbox.js"></script>

			<script src="<?php echo SITE_URL; ?>js/pages/ebro_responsive_table.js"></script>
            <script src="<?php echo SITE_URL; ?>js/pages/ajax_getfn.js"></script>
            <script src="<?php echo SITE_URL; ?>js/pages/get_batch.js"></script>
              
                
               
                <script src="<?php echo SITE_URL; ?>js/dev_script.js"></script>
                <script src="<?php echo SITE_URL; ?>js/jquery.mtz.monthpicker.js"></script>
            <!--Delete Script-->
            <script src="<?php echo SITE_URL; ?>facebox/jquery.confirm/jquery.confirm.js"></script>
			<script src="<?php echo SITE_URL; ?>facebox/js/script.js"></script>
            
		<script type="text/javascript" src="<?php echo SITE_URL; ?>js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="<?php echo SITE_URL; ?>js/jquery-ui-timepicker-addon.js"></script>
		<script type="text/javascript" src="<?php echo SITE_URL; ?>js/jquery-ui-sliderAccess.js"></script>
        <script type='text/javascript' src='<?php echo SITE_URL; ?>css/jquery.autocomplete.js'></script>
        <!--Bar Chart-->
        <script src="<?php echo SITE_URL; ?>js/bar/highcharts.js"></script>
<script src="<?php echo SITE_URL; ?>js/bar/modules/data.js"></script>
<script src="<?php echo SITE_URL; ?>js/bar/modules/exporting.js"></script>


		

<script type="text/javascript">
<!--Employee password-->


</script>
<script>
	$(function() {
			
			//* validation
			$('#edit_course').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
			//* validation
			$('#edit_batch').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
				$('#edit_subject').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
			$('#edit_stdcat').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
			$('#edit_users').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
			$('#edit_dept').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
			$('#edit_pos').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
			$('#editemp').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
			$('#edit_leave').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
			$('#edit_empsubject').parsley({
				errors: {
					classHandler: function ( elem, isRadioOrCheckbox ) {
						if(isRadioOrCheckbox) {
							return $(elem).closest('.form_sep');
						}
					},
					container: function (element, isRadioOrCheckbox) {
						if(isRadioOrCheckbox) {
							return element.closest('.form_sep');
						}
					}
				}
			});
	

	});
	
	<!--Get Batch-->
function get_batch1(courseid)  
{  
var batchid= document.getElementById("bid").value; 
    $("#loading").html('<img src="_layout/images/loading.gif"> loading...');  
    $.ajax({  
        type: "GET",  
        url: "../inc/data.php",  
        data: "courseid="+courseid+"&batchid="+batchid,  
        success: function(msg){  
            $("#batch_div1").html(msg); 
			 $("#loading").html(''); 
        }  
    });  
}



<!--Upgrade Account-->

$(document).ready(function(){
$(".upgrade").click(function(){  
			bootbox.dialog({
				message: '<div class="text-center lead">Hello , Please Contact <a href="http://web-school.in/" target="_blank">Web-School</a> to upgrade your software<br> </div>',
				title: 'Upgrade Now',
				buttons: {
					cancel: {
						label: "Cancel",
						className: "btn-link",
						callback: function() {
						}
					},
					confirm: {
						label: "Contact Web School",
						className: "btn-primary",
						callback : function() {
			                
						}
					}
				}
			});
		})		
});

<!--Upgrade Account-->


<!--Remove Employee leave-->

$(document).ready(function(){
$(".deleteempleave").click(function(){  
	$("#del_id").val($(this).attr("del_id"));
			bootbox.dialog({
				message: '<div class="text-center lead">Do you want to delete this Leave?<br> </div>',
				title: 'Delete Employee Leave',
				buttons: {
					cancel: {
						label: "Cancel",
						className: "btn-link",
						callback: function() {
						}
					},
					confirm: {
						label: "Delete",
						className: "btn-primary",
						callback : function() {
			                $("#delete_leaveform").submit();
						}
					}
				}
			});
		})
			
		
});
<!--Remove Employee leave-->

<!--Remove Student Category-->

$(document).ready(function(){
$(".deletestdcategory").click(function(){  
	$("#del_id").val($(this).attr("del_id"));
			bootbox.dialog({
				message: '<div class="text-center lead">Do you want to delete this Student Category?<br> </div>',
				title: 'Delete Student Category',
				buttons: {
					cancel: {
						label: "Cancel",
						className: "btn-link",
						callback: function() {
						}
					},
					confirm: {
						label: "Delete",
						className: "btn-primary",
						callback : function() {
			                $("#delete_std_catform").submit();
						}
					}
				}
			});
		})
			
		
});
<!--Remove Student Category-->
<!--Remove Subject-->

$(document).ready(function(){
$(".deletesubject").click(function(){  
	$("#del_id").val($(this).attr("del_id"));
			bootbox.dialog({
				message: '<div class="text-center lead">Do you want to delete this Subject?<br> </div>',
				title: 'Delete Subject',
				buttons: {
					cancel: {
						label: "Cancel",
						className: "btn-link",
						callback: function() {
						}
					},
					confirm: {
						label: "Delete",
						className: "btn-primary",
						callback : function() {
			                $("#delete_subjectform").submit();
						}
					}
				}
			});
		})
			
		
});
<!--Remove Subject-->
<!--Remove Batch-->

$(document).ready(function(){
$(".deletebatch").click(function(){  
	$("#del_id").val($(this).attr("del_id"));
			bootbox.dialog({
				message: '<div class="text-center lead">Do you want to delete this Batch?<br> </div>',
				title: 'Delete Batch',
				buttons: {
					cancel: {
						label: "Cancel",
						className: "btn-link",
						callback: function() {
						}
					},
					confirm: {
						label: "Delete",
						className: "btn-primary",
						callback : function() {
			                $("#delete_batchform").submit();
						}
					}
				}
			});
		})
			
		
});
<!--Remove Batch-->
<!--Remove Course-->

$(document).ready(function(){
$(".deletecourse").click(function(){  
	$("#del_id").val($(this).attr("del_id"));
			bootbox.dialog({
				message: '<div class="text-center lead">Are you sure?<br>All the records of this course will be deleted with this. </div>',
				title: 'Delete Course',
				buttons: {
					cancel: {
						label: "Cancel",
						className: "btn-link",
						callback: function() {
						}
					},
					confirm: {
						label: "Delete",
						className: "btn-primary",
						callback : function() {
			                $("#delete_cform").submit();
						}
					}
				}
			});
		})
			
		
});
<!--Remove Course-->




<!--Get Subject-->
function get_subjecttest(batch_id)  
{  
    $("#loading").html('<img src="_layout/images/loading.gif"> loading...');  
    $.ajax({  
        type: "GET",  
        url: "../inc/get_subject.php",  
        data: "id="+batch_id,  
        success: function(msg){  
            $("#subject_div").html(msg); 
			 $("#loading").html(''); 
        }  
    });  
}
<!--Get Subject-->
<!--Remove attachment-->
<!--Responsive Table-->

</script>
<!--Bar chart-->
<script type="text/javascript">
$(function () {
    $('#containerbarchart').highcharts({
        data: {
            table: document.getElementById('datatable')
        },
        chart: {
            type: 'column'
        },
        title: {
            text: 'Student Admission Status'
        },
        yAxis: {
            allowDecimals: false,
            title: {
                text: 'Units'
            }
        },
        tooltip: {
            formatter: function() {
                return '<b>'+ this.series.name +'</b><br/>'+
                    this.y +' '+ this.x.toLowerCase();
            }
        }
    });
});
		</script>
<!--Bar chart-->

<!--Pie Chart-->
<script type="text/javascript">
$(function () {
    var chart;
    
    $(document).ready(function () {
    	
    	// Build the chart
        $('#employee_department').highcharts({
            chart: {
                plotBackgroundColor: null,
                plotBorderWidth: null,
                plotShadow: false
            },
            title: {
                text: 'Departmentwise Employee Allocation'
            },
            tooltip: {
        	    pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
            },
            plotOptions: {
                pie: {
                    allowPointSelect: true,
                    cursor: 'pointer',
                    dataLabels: {
                        enabled: false
                    },
                    showInLegend: true
                }
            },
            series: [{
                type: 'pie',
                name: 'Employee Allocation',
                data: [
		
                    ['Information Technology', 25],
					['Computer Science',   30],
                    
                 
                ]
            }]
        });
    });
    
});
		</script>
<!--Pie Chart-->


<!--Calendar-->
<script type="text/javascript">
	$(document).ready(function() {
	
	if($('#calendar').length) {
				var date = new Date();
				var d = date.getDate();
				var m = date.getMonth();
				var y = date.getFullYear();
		
		var calendar = $('#calendar').fullCalendar({
			header: {
						center: 'prev title next',
						left: 'month agendaWeek agendaDay today',
						right: ''
					},
					buttonText: {
						prev: '<i class="icon-chevron-left" />',
						next: '<i class="icon-chevron-right" />'
					},
			selectable: true,
			selectHelper: true,
			select: function(start, end, allDay) {
				var title = prompt('Event Title:');
				if (title) {
					calendar.fullCalendar('renderEvent',
						{
							title: title,
							start: start,
							end: end,
							allDay: allDay
						},
						true // make the event "stick"
					);
				}
				calendar.fullCalendar('unselect');
			},
			editable: true,
			events: [
			
				{
					title: '<?php echo 'Web School'; ?>',
					start: new Date(<?php echo '2014'; ?>, <?php echo '5'; ?>, <?php echo '25'; ?>),
					end: new Date(<?php echo '2014'; ?>, <?php echo '5'; ?>, <?php echo '26'; ?>)
				},
				
				
				
			]
		});
	}
	
	});
    </script>

<script type="text/javascript">
$(document).ready(function(){
  $("#common").click(function(){
    $(".hidecoursedept").toggle();
  });
  
});
</script>

<script type="text/javascript">


    $(document).ready(function() {
      $(".hidepremium").hide();
      
      $('#more').click(function(e) {
          $('.hidepremium').toggle();
          e.preventDefault();
      });
    });
</script>
<!--Mail box email list-->
<script type="text/javascript">
$().ready(function() {

	var emails = [
	<?php $userlist=$userObj->selectall('type='.$org_id,'',''); foreach($userlist as $adminlist) {?>{ name: "<?php echo $adminlist->first_name.' '.$adminlist->last_name; ?>", to: "<?php echo $adminlist->email; ?>" },<?php } ?>
	<?php $emplist=$emp_regObj->selectorgall(); foreach($emplist as $elist) {?>{ name: "<?php echo $elist->first_name.' '.$elist->mid_name.' '.$elist->last_name; ?>", to: "<?php echo $elist->email; ?>" },<?php } ?>
	<?php $stdlist=$std_regObj->selectorgall(); foreach($stdlist as $slist) {?>{ name: "<?php echo $slist->first_name.' '.$slist->midd_name.' '.$slist->last_name; ?>", to: "<?php echo $slist->email; ?>" },<?php } ?>
	<?php $gudlist=$guardianObj->selectorgall(); foreach($gudlist as $glist) {?>{ name: "<?php echo $glist->first_name.' '.$glist->midd_name.' '.$glist->last_name; ?>", to: "<?php echo $glist->email; ?>" },<?php } ?>
	
];
	$("#suggest13").autocomplete(emails, {
		minChars: 0,
		width: 310,
		matchContains: "word",
		autoFill: false,
		formatItem: function(row, i, max) {
			return row.name + "\" [" + row.to + "]";
		},
		formatMatch: function(row, i, max) {
			return row.name + " " + row.to;
		},
		formatResult: function(row) {
			return row.to;
		}
	});
});
</script>

<!--email reply-->
<script type="text/javascript">

function reply_click(clicked_id)  
{   
    $("#loading").html('<img src="_layout/images/loading.gif"> loading...');  
    $.ajax({  
        type: "GET",  
        url: "<?php echo SITE_URL; ?>/inc/readmessage.php",  
        data: "messageid="+clicked_id,  
        success: function(msg){  
            $("#testdiv").html(msg); 
			 $("#loading").html(''); 
        }  
    });  
} 
function read_click(clicked_id)  
{   
    $("#loading").html('<img src="_layout/images/loading.gif"> loading...');  
    $.ajax({  
        type: "GET",  
        url: "<?php echo SITE_URL; ?>/inc/sentmessage.php",  
        data: "messageid="+clicked_id,  
        success: function(msg){  
            $("#testdiv").html(msg); 
			 $("#loading").html(''); 
        }  
    });  
} 
</script>
<!--email reply-->

<!--Add Attachment-->

<script>
	
$(document).ready(function(){
	$(".addrow").click(function(){
		var newRow=$(".rows").html();
		 var no=1;
		 $("#rowcount").val(parseInt($("#rowcount").val())+1);
		 no=$("#rowcount").val();
		 $(".rows").append('<tr> <td><a href="#" class="btn btn-success btn-sm"><input type="file" name="file_name-'+no+'" id="file_name-'+no+'" /></a></td></tr> '); 
		 	});
}); 
</script>
<!--Add Attachment-->
<!--Mail box email list-->



	<!--[if lte IE 9]>
		<script src="js/ie/jquery.placeholder.js"></script>
		<script>
			$(function() {
				$('input, textarea').placeholder();
			});
		</script>
	<![endif]-->
	
    
    <!-- style switcher -->
		<div id="style_switcher" class="switcher_open" style="visibility:hidden;">
            <a href="#" class="switcher_toggle"><i class="icon-cog"></i></a>
			<div class="style_items">
				<p class="style_title">Theme</p>
				<ul class="clearfix" id="theme_switch">
					<li class="style_active" style="background:#48ac2e" title="color_1">Color 1</li>
					<li style="background:#993399" title="color_2">Color 2</li>
					<li style="background:#168cbe" title="color_3">Color 3</li>
					<li style="background:#d61110" title="color_4">Color 4</li>
					<li style="background:#e96710" title="color_5">Color 5</li>
					<li style="background:#262626" title="color_6">Color 6</li>
					<li style="background:#01aaad" title="color_7">Color 7</li>
					<li style="background:#9c5100" title="color_8">Color 8</li>
					<li style="background:#e31a8f" title="color_9">Color 9</li>
					<li style="background:#ffbb0e" title="color_10">Color 10</li>
					<li style="background:#79be0b" title="color_11">Color 11</li>
					<li style="background:#887171" title="color_12">Color 12</li>
					<li style="background:#28abe2" title="color_13">Color 13</li>
					<li style="background:#2f7138" title="color_14">Color 14</li>
					<li style="background:#ce4627" title="color_15">Color 15</li>
					<li style="background:#693986" title="color_16">Color 16</li>
					<li style="background:#7f8c8d" title="color_17">Color 17</li>
					<li style="background:#2c3e50" title="color_18">Color 18</li>
					<li style="background:#34495e" title="color_19">Color 19</li>
					<li style="background:#1abc9c" title="color_20">Color 20</li>
				</ul>
			</div>
			<div class="style_items" id="sidebar_switch">
				<p class="style_title">Sidebar position</p>
				<label class="radio-inline">
					<input type="radio" name="sidebar_position" id="sidebar_left" value="left" checked> Left
				</label>
				<label class="radio-inline">
					<input type="radio" name="sidebar_position" id="sidebar_right" value="right"> Right
				</label>
			</div>
			<div class="style_items" id="layout_switch">
				<p class="style_title">Layout</p>
				<select name="layout_style" id="layout_style" class="form-control">
                <option value="boxed" class="hidden-sm hidden-md">Boxed</option>
					<option value="fixed">Fixed</option>
					<option value="full_width" class="hidden-sm hidden-md">Full Width</option>
					
				</select>
			</div>
			<div class="style_items" id="style_pattern">
				<p class="style_title">Pattern (boxed layout)</p>
				<ul class="clearfix">
					<li class="pattern_active" style="background:url(img/patterns/pattern_1.png) no-repeat 0 0" title="pattern_1">Pattern 1</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_2.png) no-repeat 0 0" title="pattern_2">Pattern 2</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_3.png) no-repeat 0 0" title="pattern_3">Pattern 3</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_4.png) no-repeat 0 0" title="pattern_4">Pattern 4</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_5.png) no-repeat 0 0" title="pattern_5">Pattern 5</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_6.png) no-repeat 0 0" title="pattern_6">Pattern 6</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_7.png) no-repeat 0 0" title="pattern_7">Pattern 7</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_8.png) no-repeat 0 0" title="pattern_8">Pattern 8</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_9.png) no-repeat 0 0" title="pattern_9">Pattern 9</li>
					<li style="background:url(<?php echo SITE_URL; ?>img/patterns/pattern_10.png) no-repeat 0 0" title="pattern_10">Pattern 10</li>
				</ul>
			</div>
			<div class="text-center">
				<button class="btn btn-default" id="style_reset">Reset</button>
			</div>
        </div>
	</body>
</html>