<?php 
session_start(); 
if(!isset($_SESSION['tulsilogin']))
	{
		header('Location: index.php');
		return;
	}

include("connect.php");
	include("mylibrary.php");
?>
<!DOCTYPE html>
<!--
Author: Keenthemes
Product Name: Metronic - Bootstrap 5 HTML, VueJS, React, Angular. Laravel, Asp.Net Core, Ruby on Rails, Spring Boot, Blazor, Django, Express Node.js & Flask Admin Dashboard Theme
Purchase: https://1.envato.market/EA4JP
Website: http://www.keenthemes.com
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Dribbble: www.dribbble.com/keenthemes
Like: www.facebook.com/keenthemes
License: For each use you must have a valid license purchased only from above link in order to legally use the theme for your project.
-->
<html lang="en">
	<!--begin::Head-->
	<head>
		<title>Institute Detail</title>
		<meta charset="utf-8" />
		
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta property="og:locale" content="en_US" />
		<meta property="og:type" content="article" />
		<meta property="og:title" content="Metronic - Bootstrap 5 HTML, VueJS, React, Angular. Laravel, Asp.Net Core, Ruby on Rails, Spring Boot, Blazor, Django, Express Node.js & Flask Admin Dashboard Theme" />
		<meta property="og:url" content="https://keenthemes.com/metronic" />
		<meta property="og:site_name" content="Keenthemes | Metronic" />
		<link rel="canonical" href="https://preview.keenthemes.com/metronic8" />
		<link rel="shortcut icon" href="assets/media/logos/favicon.ico" />
		<!--begin::Fonts(mandatory for all pages)-->
		<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700" />
		<!--end::Fonts-->
		<!--begin::Vendor Stylesheets(used for this page only)-->
		<link href="assets/plugins/custom/datatables/datatables.bundle.css" rel="stylesheet" type="text/css" />
		<!--end::Vendor Stylesheets-->
		<!--begin::Global Stylesheets Bundle(mandatory for all pages)-->
		<link href="assets/plugins/global/plugins.bundle.css" rel="stylesheet" type="text/css" />
		<link href="assets/css/style.bundle.css" rel="stylesheet" type="text/css" />
		<style>
		    body{
		        background-image: none !important;
    background-color: #F3F6F9;
		    }
		</style>
		<!--end::Global Stylesheets Bundle-->
	</head>
	<!--end::Head-->
	<!--begin::Body-->
	<body id="kt_body" class="header-fixed header-tablet-and-mobile-fixed aside-fixed aside-secondary-disabled">
		<!--begin::Theme mode setup on page load-->
		<script>var defaultThemeMode = "light"; var themeMode; if ( document.documentElement ) { if ( document.documentElement.hasAttribute("data-theme-mode")) { themeMode = document.documentElement.getAttribute("data-theme-mode"); } else { if ( localStorage.getItem("data-theme") !== null ) { themeMode = localStorage.getItem("data-theme"); } else { themeMode = defaultThemeMode; } } if (themeMode === "system") { themeMode = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"; } document.documentElement.setAttribute("data-theme", themeMode); }</script>
		<!--end::Theme mode setup on page load-->
		<!--begin::Main-->
		<!--begin::Root-->
		<div class="d-flex flex-column flex-root">
			<!--begin::Page-->
			<div class="page d-flex flex-row flex-column-fluid">
				<!--begin::Aside-->
				<?php include('sidebar.php'); ?>
				<!--end::Aside-->
				<!--begin::Wrapper-->
				<div class="wrapper d-flex flex-column flex-row-fluid" id="kt_wrapper">
					<!--begin::Header-->
					<div id="kt_header" style="" class="header align-items-stretch">
						<!--begin::Container-->
						<div class="container-fluid d-flex align-items-stretch justify-content-between">
							<!--begin::Aside mobile toggle-->
							<div class="d-flex align-items-center d-lg-none ms-n3 me-1" title="Show aside menu">
								<div class="btn btn-icon btn-active-color-primary w-40px h-40px" id="kt_aside_toggle">
									<!--begin::Svg Icon | path: icons/duotune/abstract/abs015.svg-->
									<span class="svg-icon svg-icon-1">
										<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
											<path d="M21 7H3C2.4 7 2 6.6 2 6V4C2 3.4 2.4 3 3 3H21C21.6 3 22 3.4 22 4V6C22 6.6 21.6 7 21 7Z" fill="currentColor" />
											<path opacity="0.3" d="M21 14H3C2.4 14 2 13.6 2 13V11C2 10.4 2.4 10 3 10H21C21.6 10 22 10.4 22 11V13C22 13.6 21.6 14 21 14ZM22 20V18C22 17.4 21.6 17 21 17H3C2.4 17 2 17.4 2 18V20C2 20.6 2.4 21 3 21H21C21.6 21 22 20.6 22 20Z" fill="currentColor" />
										</svg>
									</span>
									<!--end::Svg Icon-->
								</div>
							</div>
							<!--end::Aside mobile toggle-->
							<!--begin::Mobile logo-->
							<div class="d-flex align-items-center flex-grow-1 flex-lg-grow-0">
								<a href="dashboard.php" class="d-lg-none">
									<img alt="Logo" src="assets/media/logos/demo4-mobile.svg" class="h-25px" />
								</a>
							</div>
							<!--end::Mobile logo-->
							<div class="d-flex align-items-center" id="kt_header_wrapper">
								<!--begin::Page title-->
								<div class="page-title d-flex flex-column align-items-start justify-content-center flex-wrap me-lg-20 pb-5 pb-lg-0" data-kt-swapper="true" data-kt-swapper-mode="prepend" data-kt-swapper-parent="{default: '#kt_content_container', lg: '#kt_header_wrapper'}">
									<!--begin::Heading-->
									<h1 class="text-dark fw-bold my-1 fs-3 lh-1">Institue Details</h1>
									<!--end::Heading-->
									<!--begin::Breadcrumb-->
									<ul class="breadcrumb fw-semibold fs-8 my-1">
										<li class="breadcrumb-item text-muted">
											<a href="dashboard.php" class="text-muted">Home</a>
										</li>
										<li class="breadcrumb-item text-muted">Course Managemnet</li>
										
										<li class="breadcrumb-item text-muted">Institue Details</li>
									</ul>
									<!--end::Breadcrumb-->
								</div>
								<!--end::Page title=-->
							</div>
							<!--begin::Wrapper-->
							<?php include('header.php'); ?>
							<!--end::Wrapper-->
						</div>
						<!--end::Container-->
					</div>
					<!--end::Header-->
					<?php
					
	
	
	$eve = "select * from res_college_master,res_contact_master where res_contact_master.clinkid = res_college_master.collegemid and res_contact_master.clinktype = 'College' and  res_college_master.collegemid=".$_GET['id'];
			$re = mysqli_query($conn, $eve);
			while($row = mysqli_fetch_assoc($re))
			{
	$cmname=checkvalidstring ($row['cmname']);
				
				
				$cmaddress1=checkvalidstring ($row['caddress1']);
				
				
				$cmaddress2=checkvalidstring ($row['caddress2']);
			
				
				$cmaddress = $cmaddress1." ".$cmaddress2;
				
				$cmiddlename=checkvalidstring ($row['cmiddlename']);
				
				
				$contactname=checkvalidstring ($row['contactname']);
				
				$csurname=checkvalidstring ($row['csurname']);
				
				
				$cmcontactperson = $contactname." ".$cmiddlename." ".$csurname;
				
				
				$cmphone=checkvalidstring ($row['contactnumber']);
				
				
				$cmemail=checkvalidstring ($row['contactemail']);
				
				
				$countrymid=checkvalidstring ($row['ccountry']);
				
				
				$statemid=checkvalidstring ($row['cstate']);
			
				
				$citymid=checkvalidstring ($row['ccity']);
			
				
				$collegemid=checkvalidstring ($row['collegemid']);
				
				
				$collegecode=checkvalidstring ($row['collegecode']);
				
				$collegetypemid=checkvalidstring ($row['collegetypemid']);
				
				
				$ctotalcampus=checkvalidstring ($row['ctotalcampus']);
				
				
				$ctotalprograms=checkvalidstring ($row['ctotalprograms']);
				
				
				$ctotalstudents=checkvalidstring ($row['ctotalstudents']);
				
				
				$ctotalinternationstudent=checkvalidstring ($row['ctotalinternationstudent']);
				
				
				$csectiondesc=checkvalidstring ($row['csectiondesc']);
				
				
				$capplyvia=checkvalidstring ($row['capplyvia']);
				
				
				$indirecttieupcmpmid=checkvalidstring ($row['indirecttieupcmpmid']);
				
				
				$ccurrency=checkvalidstring ($row['ccurrency']);
				
				
				$cyearoffoundation=checkvalidstring ($row['cyearoffoundation']);
				
				
				$cdlinumber=checkvalidstring ($row['cdlinumber']);
				
				
				$cwebsite=checkvalidstring ($row['cwebsite']);
				
				
				$capplicationurl=checkvalidstring ($row['capplicationurl']);
				
				
				$cvideoprofile=checkvalidstring ($row['cvideoprofile']);
				
				
				$cranking=checkvalidstring ($row['cranking']);
				
				
				$cbankname=checkvalidstring ($row['cbankname']);
				
				
				$cbankbranch=checkvalidstring ($row['cbankbranch']);
				
				
				$ctotaldomesticstudents=checkvalidstring ($row['ctotaldomesticstudents']);
				
				
				$caccountname=checkvalidstring ($row['caccountname']);
				
				
				$caccountnumber=checkvalidstring ($row['caccountnumber']);
				
				
				$cifsccode=checkvalidstring ($row['cifsccode']);
				
				
				$cmicrcode=checkvalidstring ($row['cmicrcode']);
			
				
				$cbankdetails=checkvalidstring ($row['cbankdetails']);
				
				$countryname='';
				$eve2= "select countryname from res_country_master where countrymid=$countrymid";
					$re2 = mysqli_query($conn, $eve2);
					 while($row2 = mysqli_fetch_assoc($re2))
					{
						$countryname=$row2['countryname'];
					}
				$indirecttieupcmpname='';
				$eve2= "select indirecttieupcmpname from res_indirecttieupcmp_master where indirecttieupcmpmid=$indirecttieupcmpmid";
					$re2 = mysqli_query($conn, $eve2);
					 while($row2 = mysqli_fetch_assoc($re2))
					{
						$indirecttieupcmpname=$row2['indirecttieupcmpname'];
					}
				$collegetypename='';
				$eve2= "select collegetypename from res_collegetype_master where collegetypemid=$collegetypemid";
					$re2 = mysqli_query($conn, $eve2);
					 while($row2 = mysqli_fetch_assoc($re2))
					{
						$collegetypename=$row2['collegetypename'];
					}
				$statename='';
					$eve2= "select statename from res_state_master where statemid=$statemid";
					$re2 = mysqli_query($conn, $eve2);
					 while($row2 = mysqli_fetch_assoc($re2))
					{
						$statename=$row2['statename'];
					}
				$cityname='';
					$eve2= "select cityname from res_city_master where citymid=$citymid";
					$re2 = mysqli_query($conn, $eve2);
					 while($row2 = mysqli_fetch_assoc($re2))
					{
						$cityname=$row2['cityname'];
					}
			}
				
					
	
?>
					<!--begin::Content-->
					<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
						<!--begin::Container-->
						<div class="container-xxl" id="kt_content_container">
							<!--begin::Order details page-->
							<div class="d-flex flex-column gap-7 gap-lg-10">
								
									
							
								
								<!--begin::Tab content-->
								<div class="tab-content">
									<!--begin::Tab pane-->
									<div class="tab-pane fade show active" id="User_detail" role="tab-panel">
										<!--begin::Orders-->
										<div class="d-flex flex-column gap-7 gap-lg-10">
											<div class="d-flex flex-column flex-xl-row gap-7 gap-lg-10">
												<!--begin::Payment address-->
												<div class="card card-flush py-4 flex-row-fluid overflow-hidden">
													<!--begin::Background-->
													
													<!--end::Background-->
													<div class="d-flex justify-content-end" data-kt-user-table-toolbar="base">
													
													<!--begin::Add user-->
										
											<!--end::Add user-->
												</div>
													<!--begin::Card header-->
													<div class="card-body pt-0">
													<div class="table-responsive">
													<table class="table align-middle table-row-dashed fs-6 gy-5 mb-0">
                
             
				
				<tr>
                  <th class="fw-bold">Institute Type
                  </th>
                  <td>
                    <?php echo $collegetypename;?>
                  </td>
				  <th class="fw-bold"> Agreement
                  </th>
                  <td>
                    <?php echo $capplyvia;?>
                  </td>
                </tr>
				<tr>
                  <th class="fw-bold">Tie-up Company
                  </th>
                  <td>
                    <?php echo $indirecttieupcmpname;?>
                  </td>
				  <th class="fw-bold"> Institution Code
                  </th>
                  <td>
                    <?php echo $collegecode;?>
                  </td>
                </tr>
				<tr>
                  <th class="fw-bold">Institute Name
                  </th>
                  <td>
                    <?php echo $cmname;?>
                  </td>
				  <th class="fw-bold"> Location
                  </th>
                  <td>
                    <?php echo $cmaddress;?>
                  </td>
                </tr>	
				<tr>
                  <th class="fw-bold">City
                  </th>
                  <td>
                    <?php echo $cityname;?>
                  </td>
				  <th class="fw-bold"> State
                  </th>
                  <td>
                    <?php echo $statename;?>
                  </td>
                </tr>	
				
                <tr>
				 <th class="fw-bold">Country
                  </th>
                  <td >
                    <?php echo $countryname;?>
					
                  </td>
                  <th class="fw-bold">Contact Person
                  </th>
                  <td >
                    <?php echo $cmcontactperson;?>
                  </td>								
                  
                </tr>
				
                <tr>
				<th class="fw-bold">Phone
                  </th>
                  <td >
                    <?php echo $cmphone;?>
                  </td>
                  <th class="fw-bold">E-mail
                  </th>
                  <td >
                    <?php echo $cmemail;?>
                  </td>
				  
                </tr>
				<tr>
				<th class="fw-bold">Currency
                  </th>
                  <td >
                    <?php echo $ccurrency;?>
                  </td>
                  <th class="fw-bold">Year Of Foundation
                  </th>
                  <td >
                    <?php echo $cyearoffoundation;?>
                  </td>
				  
                </tr>
				<tr>
				<th class="fw-bold">DLI Number
                  </th>
                  <td >
                    <?php echo $cdlinumber;?>
                  </td>
                  <th class="fw-bold">Website
                  </th>
                  <td >
                    <?php echo $cwebsite;?>
                  </td>
				  
                </tr>
				<tr>
				<th class="fw-bold">Application URL
                  </th>
                  <td >
                    <?php echo $capplicationurl;?>
                  </td>
                  <th class="fw-bold">Additional Video Profile
                  </th>
                  <td >
                    <?php echo $cvideoprofile;?>
                  </td>
				  
                </tr>
				<tr>
				<th class="fw-bold">Ranking
                  </th>
                  <td >
                    <?php echo $cranking;?>
                  </td>
                  <th class="fw-bold">Total Campuses
                  </th>
                  <td >
                    <?php echo $ctotalcampus;?>
                  </td>
				  
                </tr>
				<tr>
				<th class="fw-bold">Total Programs
                  </th>
                  <td >
                    <?php echo $ctotalprograms;?>
                  </td>
                  <th class="fw-bold">Total Students
                  </th>
                  <td >
                    <?php echo $ctotalstudents;?>
                  </td>
				  
                </tr>
				<tr>
				<th class="fw-bold">Total Domestic Students
                  </th>
                  <td >
                    <?php echo $ctotaldomesticstudents;?>
                  </td>
                  <th class="fw-bold">Total International Students
                  </th>
                  <td >
                    <?php echo $ctotalinternationstudent;?>
                  </td>
				  
                </tr>
				<tr>
				<th class="fw-bold">Short Description
                  </th>
                  <td >
                    <?php echo $csectiondesc;?>
                  </td>
                  
                </tr>
				<tr>
				<th class="fw-bold">Bank Name
                  </th>
                  <td >
                    <?php echo $cbankname;?>
                  </td>
                  <th class="fw-bold">Branch Name
                  </th>
                  <td >
                    <?php echo $cbankbranch;?>
                  </td>
				  
                </tr>
				<tr>
               <th class="fw-bold">Name on Account
                  </th>
                  <td >
                    <?php echo $caccountname;?>
                  </td>
                  <th class="fw-bold">Account Number
                  </th>
                  <td >
                    <?php echo $caccountnumber;?>
                  </td>
				  
                </tr>
				<tr>
               <th class="fw-bold">IFSC Code/CRNB Code
                  </th>
                  <td >
                    <?php echo $cifsccode;?>
                  </td>
                  <th class="fw-bold">MICR Code/SWIFT Code
                  </th>
                  <td >
                    <?php echo $cmicrcode;?>
                  </td>
				  
                </tr><tr>
               <th class="fw-bold">Bank Account Details
                  </th>
                  <td >
                    <?php echo $cbankdetails;?>
                  </td>
                  
				  
                </tr>
               </table>
			  </div>
			  </div>
           
													<!--end::Card header-->
													<!--begin::Card body-->
													
													<!--end::Card body-->
												</div>
												<!--end::Payment address-->
												</div>
											<!--begin::Order history-->
											<div class="card card-flush py-4 flex-row-fluid">
												<!--begin::Card header-->
													<div class="card-header cursor-pointer">
														<!--begin::Card title-->
														<div class="card-title m-0">
															<h3 class="fw-bold m-0 text-uppercase">Credentials</h3>
														</div>
														<!--end::Card title-->
														<!--begin::Action-->
														<a href="#" data-bs-toggle="modal" data-bs-target="#college_credential" class="btn btn-sm btn-primary align-self-center"><span class="svg-icon svg-icon-2">
												<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
													<rect opacity="0.5" x="11.364" y="20.364" width="16" height="2" rx="1" transform="rotate(-90 11.364 20.364)" fill="currentColor" />
													<rect x="4.36396" y="11.364" width="16" height="2" rx="1" fill="currentColor" />
												</svg>
											</span>Add </a>
														<!--end::Action-->
													</div>
												
												<!--end::Card header-->
												<!--begin::Card body-->
												<div class="card-body pt-0">
													<div class="table-responsive">
														<!--begin::Table-->
														<table class="table align-middle table-row-dashed fs-6 gy-5 mb-0">
															<!--begin::Table head-->
															<thead>
																<tr class="text-start text-gray-400 fw-bold fs-7 text-uppercase gs-0">
																	<th class="min-w-100px">User Name </th>
																	<th class="min-w-100px">Password </th>
																	<th class="min-w-100px">URL </th>
																	<th class="min-w-100px">Remark </th>
																	<th class="min-w-100px">Delete </th>
																	

																	
																	
																</tr>
															</thead>
															<!--end::Table head-->
															<!--begin::Table body-->
															<tbody class="fw-semibold text-gray-600">
															<?php 
															
															$eve11 = "select * from  res_credential_master where collegemid=$collegemid ";
															$re11 = mysqli_query($conn, $eve11);
															while($rt11 = mysqli_fetch_assoc($re11))
															{
																
																$cremid=$rt11['cremid'];
				$cusername=$rt11['cusername'];
				$curl=$rt11['curl'];
				$cpassword=$rt11['cpassword'];
				$cremark=$rt11['cremark'];
																
																
													$adelete = "<a href='credentialdelete.php?id=$cremid&collegemid=$collegemid'  class='far fa-trash-alt fa-lg'>  </a>";
							
																
															
															?>
																<tr>
																	
																	<td><?php echo $cusername; ?></td>
																	<td><?php echo $cpassword; ?></td>
																	<td><?php echo $curl; ?></td>
																	<td><?php echo $cremark; ?></td>
																	<td><?php echo $adelete; ?></td>
																	
																</tr>
															<?php } ?>
																</tbody>
															<!--end::Table head-->
														</table>
														<!--end::Table-->
													</div>
												</div>
												<!--end::Card body-->
											</div>
											<!--end::Order history-->
											<!--begin::Order history-->
											<div class="card card-flush py-4 flex-row-fluid">
												<!--begin::Card header-->
													<div class="card-header cursor-pointer">
														<!--begin::Card title-->
														<div class="card-title m-0">
															<h3 class="fw-bold m-0 text-uppercase">College Document Details</h3>
														</div>
														<!--end::Card title-->
														<!--begin::Action-->
														<a href="#" data-bs-toggle="modal" data-bs-target="#college_documents" class="btn btn-sm btn-primary align-self-center"><span class="svg-icon svg-icon-2">
												<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
													<rect opacity="0.5" x="11.364" y="20.364" width="16" height="2" rx="1" transform="rotate(-90 11.364 20.364)" fill="currentColor" />
													<rect x="4.36396" y="11.364" width="16" height="2" rx="1" fill="currentColor" />
												</svg>
											</span>Add </a>
														<!--end::Action-->
													</div>
												
												<!--end::Card header-->
												<!--begin::Card body-->
												<div class="card-body pt-0">
													<div class="table-responsive">
														<!--begin::Table-->
														<table class="table align-middle table-row-dashed fs-6 gy-5 mb-0">
															<!--begin::Table head-->
															<thead>
																<tr class="text-start text-gray-400 fw-bold fs-7 text-uppercase gs-0">
																	<th class="min-w-100px">Document Type </th>
																	<th class="min-w-100px">Document </th>
																	<th class="min-w-100px">Delete </th>
																	

																	
																	
																</tr>
															</thead>
															<!--end::Table head-->
															<!--begin::Table body-->
															<tbody class="fw-semibold text-gray-600">
															<?php 
															
															$eve11 = "select * from  res_collegedocs_detail where collegemid=$collegemid ";
															$re11 = mysqli_query($conn, $eve11);
															while($rt11 = mysqli_fetch_assoc($re11))
															{
																
																$cdocdid=$rt11['cdocdid'];
				$cdocstype=$rt11['cdocstype'];
				$cdocsname=$rt11['cdocsname'];
				$cdocsname1 = "<a href='./images/$cdocsname' target='_blank'>View</a>";
														
													$adelete = "<a href='collegedocsdelete.php?id=$cdocdid&collegemid=$collegemid'  class='far fa-trash-alt fa-lg'>  </a>";
							
																
															
															?>
																<tr>
																	
																	<td><?php echo $cdocstype; ?></td>
																	<td><?php echo $cdocsname1; ?></td>
																	<td><?php echo $adelete; ?></td>
																	
																</tr>
															<?php } ?>
																</tbody>
															<!--end::Table head-->
														</table>
														<!--end::Table-->
													</div>
												</div>
												<!--end::Card body-->
											</div>
											<!--end::Order history-->
											<!--begin::Order history-->
											<div class="card card-flush py-4 flex-row-fluid">
												<!--begin::Card header-->
													<div class="card-header cursor-pointer">
														<!--begin::Card title-->
														<div class="card-title m-0">
															<h3 class="fw-bold m-0 text-uppercase">Application Management</h3>
														</div>
														<!--end::Card title-->
														<!--begin::Action-->
														<a href="#" data-bs-toggle="modal" data-bs-target="#college_application" class="btn btn-sm btn-primary align-self-center"><span class="svg-icon svg-icon-2">
												<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
													<rect opacity="0.5" x="11.364" y="20.364" width="16" height="2" rx="1" transform="rotate(-90 11.364 20.364)" fill="currentColor" />
													<rect x="4.36396" y="11.364" width="16" height="2" rx="1" fill="currentColor" />
												</svg>
											</span>Add </a>
														<!--end::Action-->
													</div>
												
												<!--end::Card header-->
												<!--begin::Card body-->
												<div class="card-body pt-0">
													<div class="table-responsive">
														<!--begin::Table-->
														<table class="table align-middle table-row-dashed fs-6 gy-5 mb-0">
															<!--begin::Table head-->
															<thead>
																<tr class="text-start text-gray-400 fw-bold fs-7 text-uppercase gs-0">
																	<th class="min-w-100px">Application Type </th>
																	<th class="min-w-100px">Start Date </th>
																	<th class="min-w-100px">Deadline </th>
																	<th class="min-w-100px">Specific Condition </th>
																	<th class="min-w-100px">Document Name </th>
																	<th class="min-w-100px">Download document </th>
																	<th class="min-w-100px">Steps </th>
																	<th class="min-w-100px">Delete </th>
																	

																	
																	
																</tr>
															</thead>
															<!--end::Table head-->
															<!--begin::Table body-->
															<tbody class="fw-semibold text-gray-600">
															<?php 
															
															$eve11 = "select * from  res_collegeappmanagement_detail where collegemid=$collegemid ";
															$re11 = mysqli_query($conn, $eve11);
															while($rt11 = mysqli_fetch_assoc($re11))
															{
																
																$camdid=$rt11['camdid'];
				$collegeappliacationmid=$rt11['collegeapplicationmid'];
				$eve2= "select collegeappliacationname from res_collegeappliacation_master where collegeappliacationmid=$collegeappliacationmid";
					$re2 = mysqli_query($conn, $eve2);
					 while($row2 = mysqli_fetch_assoc($re2))
					{
						$collegeappliacationname=$row2['collegeappliacationname'];
					}
				$camstartdate=date("d-m-Y",strtotime($rt11['camstartdate']));
				$camdeadline=date("d-m-Y",strtotime($rt11['camdeadline']));
				
				$camdocumentname=$rt11['camdocumentname'];
				$camdocumnet=$rt11['camdocumnet'];
				$camcondition=$rt11['camcondition'];
				$camdocumnet1 ='';
					if($camdocumnet != '')	
					{						
					$camdocumnet1 = "<a href='./docs/$camdocumnet' target='_blank'>View</a>";
					}								
					$status23 = ' <a href="#" data-bs-toggle="modal" data-bs-target="#view-modal2" class="fa fa-edit fa-lg"  data-id="'.$camdid.'" id="getUser2">';
																			
												$adelete = "<a href='collegeappdelete.php?id=$camdid&collegemid=$collegemid'  class='far fa-trash-alt fa-lg'>  </a>";
											$aa = $status23.' '.$adelete;
														$termdetail = '<a href="#" data-bs-toggle="modal" data-bs-target="#view-modal8" "  data-id="'.$rt11['camdid'].'" id="getUser8" class="fa fa-eye"></a>';		
															
															?>
																<tr>
																	
																	<td><?php echo $collegeappliacationname; ?></td>
																	<td><?php echo $camstartdate; ?></td>
																	<td><?php echo $camdeadline; ?></td>
																	<td><?php echo $camcondition; ?></td>
																	<td><?php echo $camdocumentname; ?></td>
																	<td><?php echo $camdocumnet1; ?></td>
																	<td><?php echo $termdetail; ?></td>
																	<td><?php echo $aa; ?></td>
																	
																</tr>
															<?php } ?>
																</tbody>
															<!--end::Table head-->
														</table>
														<!--end::Table-->
													</div>
												</div>
												<!--end::Card body-->
											</div>
											<!--end::Order history-->
											<div class="card card-flush py-4 flex-row-fluid overflow-hidden">
													<!--begin::Background-->
													<div class="card-header cursor-pointer">
													<!--end::Background-->
												<!--	<div class="d-flex justify-content-end" data-kt-user-table-toolbar="base">
													
													<!--begin::Add user-->
													<div class="card-title m-0">
															<h3 class="fw-bold m-0 text-uppercase">Contacts</h3>
														</div>
											<a href="#" data-bs-toggle="modal" data-bs-target="#kt_modal_add_user" class="btn btn-sm btn-primary align-self-end"><span class="svg-icon svg-icon-2">
												<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
													<rect opacity="0.5" x="11.364" y="20.364" width="16" height="2" rx="1" transform="rotate(-90 11.364 20.364)" fill="currentColor" />
													<rect x="4.36396" y="11.364" width="16" height="2" rx="1" fill="currentColor" />
												</svg>
											</span>Add Contacts</a>
											<!--end::Add user-->
												</div>
													<!--begin::Card header-->
													<div class="card-body pt-0">
													<div class="table-responsive">
														<!--begin::Table-->
														<table class="table align-middle table-row-dashed fs-6 gy-5 mb-0">
															<!--begin::Table head-->
															<thead>
																<tr class="text-start text-gray-400 fw-bold fs-7 text-uppercase gs-0">
																	<th class="min-w-100px">Contact Type</th>
																	<th class="min-w-100px">Staff Name</th>

																	<th class="min-w-70px">Contact Number</th>
																	<th class="min-w-100px">Email</th>
																
																	<th class="min-w-100px">City</th>
																	
																</tr>
															</thead>
															<!--end::Table head-->
															<!--begin::Table body-->
															<tbody class="fw-semibold text-gray-600">
															<?php 
															//$_SESSION['frompage']='Inquirydetail';
															$eve11 = "select * from res_contact_master where clinkid=".$_GET['id']." and clinktype='College'";
															$re11 = mysqli_query($conn, $eve11);
															while($rt11 = mysqli_fetch_assoc($re11))
															{
																
																$contactmid=$rt11['contactmid'];
																$contacttype=$rt11['contacttype'];
																$contactname=$rt11['contactname'];
																$cmiddlename=$rt11['cmiddlename'];
																$csurname=$rt11['csurname'];
																$contactname = $contactname." ".$cmiddlename." ".$csurname;
																$contactemail=$rt11['contactemail'];
																$contactnumber=$rt11['contactnumber'];
												$carea=$rt11['carea'];
												$ccity=$rt11['ccity'];
												
												$eve2 = "select * from res_city_master where citymid ='$ccity'";
				
				$re2 = mysqli_query($conn, $eve2);
				$agentcity='';
				if(mysqli_num_rows($re2) > 0)
				{
					
					while($rt2 = mysqli_fetch_assoc($re2))
					{
							$agentcity=$rt2['cityname'];
					}
				}
				
				
				
				
				
				$eve2 = "select * from res_area_master where areamid ='$carea'";
				
				$re2 = mysqli_query($conn, $eve2);
				$agentarea='';
				if(mysqli_num_rows($re2) > 0)
				{
					
					while($rt2 = mysqli_fetch_assoc($re2))
					{
							$agentarea=$rt2['areaname'];
					}
				}
						$adelete = "<a href='collegeappdelete.php?id=$contactmid&collegemid=$collegemid'  class='far fa-trash-alt fa-lg'>  </a>";
																	
															
															?>
																<tr>
																	
																	<td><?php echo $contacttype; ?></td>
																	<td><?php echo $contactname; ?></td>
																	
																	
																	
																	<td><?php echo $contactnumber; ?></td>
																	<!--begin::Status--
																	<td>
																		
																		<div class="badge badge-light-success">Completed</div>
																		
																	</td>
																	-end::Status-->
																	
																	<td><?php echo $contactemail; ?></td>
																	
																	<td><?php echo $agentcity; ?></td>
																	
																	
																</tr>
															<?php } ?>
																</tbody>
															<!--end::Table head-->
														</table>
														<!--end::Table-->
													</div>
												</div>
												
											</div>
										
											</div>
										<!--end::Orders-->
										
									</div>
									<!--end::Tab pane-->
									
								</div>
								<!--end::Tab content-->
							</div>
							<!--end::Order details page-->
						</div>
						<!--end::Container-->
					</div>
					<!--end::Content-->
					<!--begin::Footer-->
					<?php include('footer.php'); ?>
					<!--end::Footer-->
				</div>
				<!--end::Wrapper-->
			</div>
			<!--end::Page-->
		</div>
		<!--end::Root-->
		<!--begin::Drawers-->
		
		<!--begin::Engage modals-->
		<!--end::Engage modals-->
		<!--begin::Modal - Add task-->
										
			<!--begin::Modal - Student follow up-->
							<div class="modal fade" id="college_credential" tabindex="-1" aria-hidden="true">
								<!--begin::Modal dialog-->
								<div class="modal-dialog modal-dialog-centered mw-750px">
									<!--begin::Modal content-->
									<div class="modal-content rounded">
										<!--begin::Modal header-->
										<div class="modal-header pb-10 border-0 ">
										<div class="card-title text-uppercase ">
														<h2>Add Credentials</h2>
													</div>
											<!--begin::Close-->
											<div class="btn btn-sm btn-icon btn-active-color-primary justify-content-end" data-bs-dismiss="modal">
												<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
												<span class="svg-icon svg-icon-1">
													<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
														<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
														<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
													</svg>
												</span>
												<!--end::Svg Icon-->
											</div>
											<!--end::Close-->
										</div>
										<!--begin::Modal header-->
										<!--begin::Modal body-->
										<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
											<!--begin::Form-->
														<form id="kt_modal_add_user_form" class="form" action="credentialadd2.php" method="POST">
														<input type="hidden" name="collegemid" value="<?php echo $collegemid; ?>">
															<!--begin::Scroll-->
												<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
													<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="required">User Name</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<input type="text" class="form-control form-control-solid" name="cusername" value="" required>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="required">Password</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<input type="text" class="form-control form-control-solid" name="cpassword" value="" required>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="required">URL</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<input type="text" class="form-control form-control-solid" name="curl" value="" required>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="">Remark</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<textarea type="text" class="form-control form-control-solid" name="cremark" value="" ></textarea>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												
												</div>
															
															<!--end::Scroll-->
															<!--begin::Actions-->
															<div class="text-center pt-15">
																<button type="reset" class="btn btn-light me-3" data-kt-users-modal-action="cancel" data-bs-dismiss="modal" data-bs-dismiss="modal">Discard</button>
																<button type="submit" class="btn btn-primary" data-kt-users-modal-action="submit">
																	<span class="indicator-label">Submit</span>
																	<span class="indicator-progress">Please wait...
																	<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
																</button>
															</div>
															
															<!--end::Actions-->
														</form>
														<!--end::Form-->
													</div>
										<!--end::Modal body-->
									</div>
									<!--end::Modal content-->
								</div>
								<!--end::Modal dialog-->
							</div>
							<!--end::Modal - Student follow up-->
		<!--begin::Modal - Student follow up-->
							<div class="modal fade" id="college_documents" tabindex="-1" aria-hidden="true">
								<!--begin::Modal dialog-->
								<div class="modal-dialog modal-dialog-centered mw-750px">
									<!--begin::Modal content-->
									<div class="modal-content rounded">
										<!--begin::Modal header-->
										<div class="modal-header pb-10 border-0 ">
										<div class="card-title text-uppercase ">
														<h2>Add Document</h2>
													</div>
											<!--begin::Close-->
											<div class="btn btn-sm btn-icon btn-active-color-primary justify-content-end" data-bs-dismiss="modal">
												<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
												<span class="svg-icon svg-icon-1">
													<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
														<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
														<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
													</svg>
												</span>
												<!--end::Svg Icon-->
											</div>
											<!--end::Close-->
										</div>
										<!--begin::Modal header-->
										<!--begin::Modal body-->
										<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
											<!--begin::Form-->
														<form id="kt_modal_add_user_form" class="form" action="collegedocsadd2.php" method="POST" enctype="multipart/form-data">
														<input type="hidden" name="collegemid" value="<?php echo $collegemid; ?>">
															<!--begin::Scroll-->
												<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
													<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="required">Document Type</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<select  class="form-select form-select-solid" data-control="select2" id="pname" name="cdocstype">
													<option value = "Logo">Logo</option>
													<option value = "Broucher">Broucher</option>
													<option value = "Banner">Banner</option>
													<option value = "Photograph">Photograph</option>	
													</select>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="required">Password</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<input type="file" class="form-control form-control-solid" name="cdocsname" value="" required>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												
												</div>
															
															<!--end::Scroll-->
															<!--begin::Actions-->
															<div class="text-center pt-15">
																<button type="reset" class="btn btn-light me-3" data-kt-users-modal-action="cancel" data-bs-dismiss="modal" data-bs-dismiss="modal">Discard</button>
																<button type="submit" class="btn btn-primary" data-kt-users-modal-action="submit">
																	<span class="indicator-label">Submit</span>
																	<span class="indicator-progress">Please wait...
																	<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
																</button>
															</div>
															
															<!--end::Actions-->
														</form>
														<!--end::Form-->
													</div>
										<!--end::Modal body-->
									</div>
									<!--end::Modal content-->
								</div>
								<!--end::Modal dialog-->
							</div>
							<!--end::Modal - Student follow up-->
			<!--begin::Modal - Student follow up-->
							<div class="modal fade" id="college_application" tabindex="-1" aria-hidden="true">
								<!--begin::Modal dialog-->
								<div class="modal-dialog modal-dialog-centered mw-750px">
									<!--begin::Modal content-->
									<div class="modal-content rounded">
										<!--begin::Modal header-->
										<div class="modal-header pb-10 border-0 ">
										<div class="card-title text-uppercase ">
														<h2>Add Application Managemnet Details</h2>
													</div>
											<!--begin::Close-->
											<div class="btn btn-sm btn-icon btn-active-color-primary justify-content-end" data-bs-dismiss="modal">
												<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
												<span class="svg-icon svg-icon-1">
													<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
														<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
														<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
													</svg>
												</span>
												<!--end::Svg Icon-->
											</div>
											<!--end::Close-->
										</div>
										<!--begin::Modal header-->
										<!--begin::Modal body-->
										<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
											<!--begin::Form-->
														<form id="kt_modal_add_user_form" class="form" action="collegeapplicationadd2.php" method="POST" enctype="multipart/form-data">
														<input type="hidden" name="collegemid" value="<?php echo $collegemid; ?>">
															<!--begin::Scroll-->
															<!--begin::Input group-->
																<div class="fv-row mb-7">
																	<!--begin::Label-->
																	<label class=" fw-semibold fs-6 mb-2"> Application Type</label>
																	<!--end::Label-->
																	<!--begin::Input-->
																	<select class="form-select form-select-solid" data-control="select2"   name="collegeapplicationmid" id="collegeapplicationmid">
													<option value="0">Select</option>
													
													<?php 
																			$eve = "select * from res_collegeappliacation_master  ";

																			$re = mysqli_query($conn, $eve);
																			
																			while($rt = mysqli_fetch_assoc($re))

																			{											
																				
																				$collegeappliacationmid=$rt['collegeappliacationmid'];
																				$collegeappliacationname=$rt['collegeappliacationname'];
																				
																				echo "<option value='$collegeappliacationmid'>$collegeappliacationname</option>";
																				 
																			}
																			
																	?>
													</select>
																	<!--end::Input-->
																</div>
																<!--end::Input group-->
																
												<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
													<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="required">Start Date</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<input type="text" class="form-control form-control-solid" name="camstartdate" value="" id="kt_daterangepicker_1" required>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												
												<!--begin::Col-->
													<div class="col">
													
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="required">End Date</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<input type="text" class="form-control form-control-solid" name="camdeadline" value="" id="kt_daterangepicker_2" required>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												</div>
													<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-1 rol-cols-md-1 row-cols-lg-1">
													<!--begin::Col-->
												<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="">Specific Condition </span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<textarea type="text" class="form-control form-control-solid" name="camcondition" value="" ></textarea>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="">Process Detail</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<textarea type="text" class="form-control form-control-solid" name="camprocessdetail" value="" ></textarea>
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												
												</div>
												<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
													<!--begin::Col-->
													<div class="col">
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="">Document Name</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<input type="text" class="form-control form-control-solid" name="camdocumentname" value="" >
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												
												<!--begin::Col-->
													<div class="col">
													
												<!--begin::Input group-->
												<div class="fv-row mb-7">
													<!--begin::Label-->
													<label class="fs-6 fw-semibold form-label mt-3">
														<span class="">Upload Document</span>
														
													</label>
													<!--end::Label-->
													<!--begin::Input-->
													<input type="file" class="form-control form-control-solid" name="camdocumnet" value="" >
													<!--end::Input-->
												</div>
												<!--end::Input group-->
												</div>
												</div>
												
												<div class="row row-cols-1 row-cols-sm-1 rol-cols-md-1 row-cols-lg-1">
												<!--begin::Col-->
												<!--begin::Col-->
													<div class="col" id="slab">
														<!--begin::Input group-->
														<div class="fv-row mb-7" >
													<table id="items" border="0" style="width:100%">
											<tr>
												<th>Steps </th>
												
												</tr>
										</table>
										<input type="button"  id="add_item" value="Add" class="btn btn-primary btn-sm"/>
										
												</div>
														<!--end::Input group-->
													</div>
													<!--end::Col-->
													</div>
												
															
															<!--end::Scroll-->
															<!--begin::Actions-->
															<div class="text-center pt-15">
																<button type="reset" class="btn btn-light me-3" data-kt-users-modal-action="cancel" data-bs-dismiss="modal" data-bs-dismiss="modal">Discard</button>
																<button type="submit" class="btn btn-primary" data-kt-users-modal-action="submit">
																	<span class="indicator-label">Submit</span>
																	<span class="indicator-progress">Please wait...
																	<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
																</button>
															</div>
															
															<!--end::Actions-->
														</form>
														<!--end::Form-->
													</div>
										<!--end::Modal body-->
									</div>
									<!--end::Modal content-->
								</div>
								<!--end::Modal dialog-->
							</div>
							<!--end::Modal - Student follow up-->
								<!--begin::Modal - Inquiry-->
							<div class="modal fade" id="kt_modal_add_user" tabindex="-1" aria-hidden="true">
								<!--begin::Modal dialog-->
								<div class="modal-dialog modal-dialog-centered mw-750px">
									<!--begin::Modal content-->
									<div class="modal-content rounded">
										<!--begin::Modal header-->
										
										<div class="modal-header pb-10 border-0 ">
										<div class="card-title text-uppercase ">
														<h2>Add Contacts</h2>
													</div>
											<!--begin::Close-->
											<div class="btn btn-sm btn-icon btn-active-color-primary justify-content-end" data-bs-dismiss="modal">
												<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
												<span class="svg-icon svg-icon-1">
													<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
														<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
														<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
													</svg>
												</span>
												<!--end::Svg Icon-->
											</div>
											<!--end::Close-->
										</div>
										<!--begin::Modal header-->
										<!--begin::Modal body-->
										<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
											<!--begin::Form-->
														<form id="kt_modal_add_user_form4" class="form" action="collegestaffadd2.php" method="POST">
														<input type="hidden" name="collegemid" value="<?php echo $collegemid; ?>">
															<!--begin::Scroll-->
															<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Contact Type</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															
															<select class="form-select form-select-solid" data-control="select2" data-dropdown-parent="#kt_modal_add_user_form4"   name="contacttype" >
															<option value='OffShore'>OffShore</option>
															<option value='OnShore'>OnShore</option>
															
															</select>
													
															<!--end::Input-->
														</div>
														<!--end::Input group-->
												
														<div class="row row-cols-1 row-cols-sm-3 rol-cols-md-1 row-cols-lg-3">
													<!--begin::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">First Name</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<div class="w-100">
																<div class="form-floating border rounded">
															<input type="text" class="form-control form-control-solid" name="scontactname" value="" required>
													</div>
													</div>
															<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													<!--end::Col-->
													<!--begin::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Middle Name</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<div class="w-100">
																<div class="form-floating border rounded">
													<input type="text" class="form-control form-control-solid" name="scmiddlename" value="" required>
													</div>
													</div>
															<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													<!--end::Col-->
													<!--begin::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Surname</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<div class="w-100">
																<div class="form-floating border rounded">
													<input type="text" class="form-control form-control-solid" name="scsurname" value="" required>
													</div>
													</div>
															<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													<!--end::Col-->
												</div>
												<!--end::Row-->
												<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
												
												<!--begin::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Contact Number</span>
																<i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Enter contact Code"></i>
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<div class="row row-cols-lg-2 row-cols-2 row-cols-sm-2 rol-cols-md-2">
															<div class="col">
															<select class="form-select form-select-solid" data-control="select2" data-dropdown-parent="#kt_modal_add_user_form4"   name="smobilecode" >
													<?php 
																			$eve = "select * from res_country_master";

																			$re = mysqli_query($conn, $eve);
																			
																			while($rt = mysqli_fetch_assoc($re))

																			{											
																				
																				$countrycode=$rt['countrycode'];
																				$countrysortname=$rt['countrysortname'];
																				
																				echo "<option value='$countrycode'>$countrycode ($countrysortname)</option>";
																				 
																			}
																			
																	?>
													</select>
															</div>
															<div class="col-md-9">
															<input type="text" class="form-control form-control-solid" name="scontactnumber" value="" required>
															</div>
															</div></div>
														
															<!--end::Input-->

														<!--end::Input group-->
													</div>
													<!--end::Col-->
													
												<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Mobile Number</span>
																<i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" ></i>
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															
												<div class="row row-cols-lg-2 row-cols-2 row-cols-sm-2 rol-cols-md-2">
															<div class="col">
															<select class="form-select form-select-solid" data-control="select2"  data-dropdown-parent="#kt_modal_add_user_form4"  name="shomemobilecode" >
													<?php 
																			$eve = "select * from res_country_master";

																			$re = mysqli_query($conn, $eve);
																			
																			while($rt = mysqli_fetch_assoc($re))

																			{											
																				
																				$countrycode=$rt['countrycode'];
																				$countrysortname=$rt['countrysortname'];
																				
																				echo "<option value='$countrycode'>$countrycode ($countrysortname)</option>";
																				 
																			}
																			
																	?>
													</select>
															</div>
															<div class="col-md-9">
															<input type="text" class="form-control form-control-solid" name="scmobilenumber" value="" required>
															</div>
															</div>
															<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													
													</div>
												<!--end::Row-->
												<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
												
												<!--begin::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Email</span>
																<i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Enter contact Code"></i>
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<input type="text" class="form-control form-control-solid" name="scontactemail" value="" required>
															<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													<!--end::Col-->
													
												<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Alternate Email</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															
												<input type="text" class="form-control form-control-solid" name="scaltenateemail" value="" required>
															<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													
													</div>
												<!--end::Row-->
												
													<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
												<!--end::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span>Messaging app</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
													<select class="form-select form-select-solid" data-control="select2" data-dropdown-parent="#kt_modal_add_user_form4" name="scmsgappname" >
													<option value="0">select</option>
													<?php 
																			$eve = "select * from res_messagingapp_master";

																			$re = mysqli_query($conn, $eve);
																			
																			while($rt = mysqli_fetch_assoc($re))

																			{											
																				
																				$messagingappmid =$rt['messagingappmid'];
																				$messagingappname=$rt['messagingappname'];
																				
																				echo "<option value='$messagingappname '>$messagingappname</option>";
																				 
																			}
																			
																			
																			
																			
																	?>
													</select>
													<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													  <!--end::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span>Messaging App ID</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<input type="text" class="form-control form-control-solid" name="scmsgappid" value="" />
													<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													</div>
													<!--end::Col-->
													<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
												<!--end::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span>Video Calling app</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
													<select class="form-select form-select-solid" data-control="select2" data-dropdown-parent="#kt_modal_add_user_form4" name="scvideoappname" >
													<option value="0">select</option>
													<?php 
																			$eve = "select * from res_videocallingapp_master";

																			$re = mysqli_query($conn, $eve);
																			
																			while($rt = mysqli_fetch_assoc($re))

																			{											
																				
																				$videocallingappmid =$rt['videocallingappmid'];
																				$videocallingappname=$rt['videocallingappname'];
																				
																				echo "<option value='$videocallingappname'>$videocallingappname</option>";
																				 
																			}
																			
																			
																			
																			
																	?>
													</select>
													<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													  <!--end::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span>Video Calling App ID</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<input type="text" class="form-control form-control-solid" name="scvideoappid" value="" />
													<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													</div>
													<!--end::Col-->
												<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-2 rol-cols-md-1 row-cols-lg-2">
												 <!--end::Col-->
													<!--begin::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Department</span>
																<i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Enter contact Code"></i>
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<select class="form-select form-select-solid" data-control="select2"  name="scontactdepartmnet" data-dropdown-parent="#kt_modal_add_user_form4" id="departmentmid">
													<option value="0">select</option>
													<?php 
																			$eve = "select * from res_department_master";

																			$re = mysqli_query($conn, $eve);
																			
																			while($rt = mysqli_fetch_assoc($re))

																			{											
																				
																				$departmentmid=$rt['departmentmid'];
																				$dname=$rt['departmentname'];
																				
																				echo "<option value='$departmentmid'>$dname</option>";
																				 
																			}
																			
																			
																			
																			
																	?>
													</select>
															<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													<!--end::Col-->
													
												<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Position</span>
																<i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" ></i>
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															
												<select class="form-select form-select-solid" data-control="select2"  name="scposition" data-dropdown-parent="#kt_modal_add_user_form4" id="sdepartmentmid">
													<option value="0">select</option>
													<?php 
																			$eve = "select * from res_role_master";

																			$re = mysqli_query($conn, $eve);
																			
																			while($rt = mysqli_fetch_assoc($re))

																			{											
																				
																				$rolemid=$rt['rolemid'];
																				$rolename=$rt['rolename'];
																				
																				echo "<option value='$rolemid'>$rolename</option>";
																				 
																			}
																			
																			
																			
																			
																	?>
													</select>
																		<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													
													</div>
												<!--end::Row-->
												
												<!--begin::Row-->
												<div class="row row-cols-1 row-cols-sm-1 rol-cols-md-1 row-cols-lg-1">
												<!--begin::Col-->
													<div class="col">
														<!--begin::Input group-->
														<div class="fv-row mb-7">
															<!--begin::Label-->
															<label class="fs-6 fw-semibold form-label mt-3">
																<span class="required">Remarks</span>
																
															</label>
															<!--end::Label-->
															<!--begin::Input-->
															<textarea type="text" class="form-control form-control-solid" name="scremarks" value="" required></textarea>
															<!--end::Input-->
														</div>
														<!--end::Input group-->
													</div>
													<!--end::Col-->
												</div>
												<!--end::Row-->
																										
															<!--end::Scroll-->
															<!--begin::Actions-->
															<div class="text-center pt-15">
																<button type="reset" class="btn btn-light me-3" data-kt-users-modal-action="cancel" data-bs-dismiss="modal" data-bs-dismiss="modal">Discard</button>
																<button type="submit" class="btn btn-primary" data-kt-users-modal-action="submit">
																	<span class="indicator-label">Submit</span>
																	<span class="indicator-progress">Please wait...
																	<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
																</button>
															</div>
															
															<!--end::Actions-->
														</form>
														<!--end::Form-->
													</div>
										<!--end::Modal body-->
									</div>
									<!--end::Modal content-->
								</div>
								<!--end::Modal dialog-->
							</div>
							<!--begin::Modal - Inquiry-->
								<!--begin::Modal - Payment Transcation-->
							<div class="modal fade" id="view-modal8" role="dialog" aria-labelledby="myModalLabel" tabindex="-1" aria-hidden="true">
								<!--begin::Modal dialog-->
								<div class="modal-dialog modal-dialog-centered mw-750px">
									<!--begin::Modal content-->
									<div class="modal-content rounded">
										<!--begin::Modal header-->
										<div class="modal-header pb-0 border-0 justify-content-end">
											<!--begin::Close-->
											<div class="btn btn-sm btn-icon btn-active-color-primary" data-bs-dismiss="modal">
												<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
												<span class="svg-icon svg-icon-1">
													<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
														<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
														<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
													</svg>
												</span>
												<!--end::Svg Icon-->
											</div>
											<!--end::Close-->
										</div>
										<!--begin::Modal header-->
										<!--begin::Modal body-->
										<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
											<!--begin::Form-->
														
															<!--begin::Scroll-->
															<!-- content will be load here -->
															<div id="dynamic-content8"></div>
														<!--end::Scroll-->
													
															<!--end::Actions-->
														</form>
														<!--end::Form-->
													</div>
										<!--end::Modal body-->
									</div>
									<!--end::Modal content-->
								</div>
								<!--end::Modal dialog-->
							</div>
							<!--end::Modal - Payment Transcation-->
							<!--begin::Modal - Status Update-->
							<div class="modal fade" id="view-modal2" role="dialog" aria-labelledby="myModalLabel" tabindex="-1" aria-hidden="true">
								<!--begin::Modal dialog-->
								<div class="modal-dialog modal-dialog-centered mw-750px">
									<!--begin::Modal content-->
									<div class="modal-content rounded">
										<!--begin::Modal header-->
										<div class="modal-header pb-0 border-0 justify-content-end">
											<!--begin::Close-->
											<div class="btn btn-sm btn-icon btn-active-color-primary" data-bs-dismiss="modal">
												<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
												<span class="svg-icon svg-icon-1">
													<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
														<rect opacity="0.5" x="6" y="17.3137" width="16" height="2" rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
														<rect x="7.41422" y="6" width="16" height="2" rx="1" transform="rotate(45 7.41422 6)" fill="currentColor" />
													</svg>
												</span>
												<!--end::Svg Icon-->
											</div>
											<!--end::Close-->
										</div>
										<!--begin::Modal header-->
										<!--begin::Modal body-->
										<div class="modal-body scroll-y px-10 px-lg-15 pt-0 pb-15">
											<!--begin::Form-->
														<form id="kt_modal_add_user_form11" class="form" action="editclgapp2.php" method="POST" enctype="multipart/form-data">
														<input type="hidden" name="umid" value="<?php echo $umid; ?>">
															<!--begin::Scroll-->
															<!-- content will be load here -->
															<div id="dynamic-content2"></div>
														<!--end::Scroll-->
															<!--begin::Actions-->
															<div class="text-center pt-15">
																<button type="reset" class="btn btn-light me-3" data-kt-users-modal-action="cancel" data-bs-dismiss="modal" data-bs-dismiss="modal">Discard</button>
																<button type="submit" class="btn btn-primary" data-kt-users-modal-action="submit">
																	<span class="indicator-label">Submit</span>
																	<span class="indicator-progress">Please wait...
																	<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
																</button>
															</div>
															
															<!--end::Actions-->
														</form>
														<!--end::Form-->
													</div>
										<!--end::Modal body-->
									</div>
									<!--end::Modal content-->
								</div>
								<!--end::Modal dialog-->
							</div>
							<!--end::Modal - Status Update-->
							
							
									
		<!--end::Modals-->
		<!--begin::Javascript-->
		<script>var hostUrl = "assets/";</script>
		<!--begin::Global Javascript Bundle(mandatory for all pages)-->
		<script src="assets/plugins/global/plugins.bundle.js"></script>
		<script src="assets/js/scripts.bundle.js"></script>
		<!--end::Global Javascript Bundle-->
		<!--begin::Vendors Javascript(used for this page only)-->
		<script src="assets/plugins/custom/datatables/datatables.bundle.js"></script>
		<!--end::Vendors Javascript-->
		<!--begin::Custom Javascript(used for this page only)-->
		<script src="assets/js/widgets.bundle.js"></script>
		<script src="assets/js/custom/widgets.js"></script>
		<script src="assets/js/custom/apps/chat/chat.js"></script>
		<script src="assets/js/custom/utilities/modals/upgrade-plan.js"></script>
		<script src="assets/js/custom/utilities/modals/users-search.js"></script>
		<!--end::Custom Javascript-->
		<script type="text/javascript">
		$(document).ready(function(){
			$('#visatmid').on('change',function(){
				var siprefferservice = $(this).val();
				//alert(ibirthstate);
				if(siprefferservice){
					$.ajax({
						type:'POST',
						url:'getsubservicedata2.php',
						data:'siprefferservice='+siprefferservice,
						success:function(html){
							$('#subservice').html(html);
						}
					}); 
				}else{
					$('#subservice').html('<option value="0">No Data Found</option>'); 
				}
			});
		});
		</script>
		<script type="text/javascript">
			$(document).ready(function(){
				$('#countrymid1').on('change',function(){
					var countrymid = $(this).val();
					//alert(countrymid);
					if(countrymid){
						$.ajax({
							type:'POST',
							url:'countrytocollegedata.php',
							data:'countrymid='+countrymid,
							success:function(html){
								$('#collegemid1').html(html);
							}
						});
					}else{
						$('#collegemid1').html('<option value=""></option>');
					}
				});
			});
	</script>
	<script type="text/javascript">
		$(document).ready(function(){
			
			
 $("#kt_daterangepicker_1").flatpickr({
        enableTime:!1,dateFormat:"d-m-Y"
    }
   
);
		});
		</script>
		<script type="text/javascript">
		$(document).ready(function(){
			
			
 $("#kt_daterangepicker_2").flatpickr({
        enableTime:!1,dateFormat:"d-m-Y"
    }
   
);
		});
		</script>
		<script type="text/javascript">

$('#agentcountry').on('change',function(){
var agentcountry = $(this).val();

if(agentcountry){
$.ajax({
	
type:'POST',
url:'getstatedata1.php',
data:'countrymid='+agentcountry,
success:function(html){
$('#agentstate').html(html);
}
});
}else{
$('#agentstate').html('<option value="0">No Data Found</option>');
}
});

</script>

<script type="text/javascript">
$(document).ready(function(){
$('#agentstate').on('change',function(){
var agentstate = $(this).val();
//alert(agentstate);
if(agentstate){
$.ajax({
type:'POST',
url:'getcitydata1.php',
data:'statemid='+agentstate,
success:function(html){
$('#agentcity').html(html);
}
});
}else{
$('#agentcity').html('<option value="0">No Data Found</option>');
}
});
});
</script>
<script>
$(document).ready(function(){

		$("#items").append(" <tr><td> <input type=\"text\" class=\"form-control form-control-solid\" id=\"cdstep" + $('#mycounter').val()  + "\" name=\"cdstep[]\"></td><td> <input type=\"file\" class=\"form-control form-control-solid\" id=\"cdsdocument1" + $('#mycounter').val()  + "\" name=\"cdsdocument1[]\"></td></tr>.");

		$('#mycounter').val( parseInt($('#mycounter').val()) + 1);
});
</script>

				
<script>
$(document).ready(function(){
	$("#add_item").click(function(){

		$("#items").append(" <tr><td> <input type=\"text\" class=\"form-control form-control-solid\" id=\"cdstep" + $('#mycounter').val()  + "\" name=\"cdstep[]\"></td><td> <input type=\"file\" class=\"form-control form-control-solid\" id=\"cdsdocument1" + $('#mycounter').val()  + "\" name=\"cdsdocument1[]\"></td></tr>.");

		$('#mycounter').val( parseInt($('#mycounter').val()) + 1);
	});
});
</script>
<script>
		$(document).ready(function(){

		$(document).on('click', '#getUser8', function(e){

			e.preventDefault();

			var uid = $(this).data('id');   // it will get id of clicked row
			
			//alert(uid);

			$('#dynamic-content8').html(''); // leave it blank before ajax call
			      // load ajax loader

			$.ajax({
				url: 'applicationstep.php',
				type: 'POST',
				data: 'id='+uid,
				dataType: 'html'
			})
			.done(function(data){
				console.log(data);
				$('#dynamic-content8').html('');
				$('#dynamic-content8').html(data); // load response
						  // hide ajax loader
			})
			.fail(function(){
				$('#dynamic-content8').html('<i class="glyphicon glyphicon-info-sign"></i> Something went wrong, Please try again...');
				
			});

		});
	});

	

</script>	
<script>
		$(document).ready(function(){

		$(document).on('click', '#getUser2', function(e){

			e.preventDefault();

			var uid = $(this).data('id');   // it will get id of clicked row
			
			

			$('#dynamic-content2').html(''); // leave it blank before ajax call
			      // load ajax loader

			$.ajax({
				url: 'clgapplicationmanedit.php',
				type: 'POST',
				data: 'id='+uid,
				dataType: 'html'
			})
			.done(function(data){
				console.log(data);
				$('#dynamic-content2').html('');
				$('#dynamic-content2').html(data); // load response
						  // hide ajax loader
			})
			.fail(function(){
				$('#dynamic-content2').html('<i class="glyphicon glyphicon-info-sign"></i> Something went wrong, Please try again...');
				
			});

		});
	});

	

</script>	



<?php

if(isset($_SESSION['msg']))
{
	$tt = $_SESSION['msg'];
	echo "<input type=\"hidden\" id=\"mymsg\" value=\"$tt\"/>";
	unset($_SESSION['msg']);
	
	
?>	
								
		<script lang="javascript">

var a = [
    function () {
	

		var mymsg = document.getElementById("mymsg").value;
		toastr.success(mymsg, "Operation Completed")
		
    },
    function () {
        $('span').show();
    },
    function () {
        $('p').fadeIn(100);
    }
];		
					

a[0]();
</script>


		
	
<?php
}

if(isset($_SESSION['msg1']))
{
	$tt1 = $_SESSION['msg1'];
	echo "<input type=\"hidden\" id=\"mymsg1\" value=\"$tt1\"/>";
	unset($_SESSION['msg1']);
	
	
	?>	
								
		<script lang="javascript">

var a = [
    function () {
	

		var mymsg = document.getElementById("mymsg1").value;
		toastr.warning(mymsg, "Error")
		
    },
    function () {
        $('span').show();
    },
    function () {
        $('p').fadeIn(100);
    }
];		
					

a[0]();
</script>
	
<?php

}
?>	
		<!--end::Javascript-->
	</body>
	<!--end::Body-->
</html>