<!DOCTYPE html>
<?php session_start();?>

<?php
	if($_SESSION ["role"]=="Evaluator")
	{
		
		$role = $_SESSION["role"];
		$email = $_SESSION["email"];
		
		// header('location:form.php');
	}
	else
	{
		header('location:expired.php');
		// $userName = $_SESSION["userName"]; $userRole = $_SESSION["userRole"];
		}
?>
<?
require ("_common/global.php");
require ("_common/conn.php");
//require ("_common/function.php");
require ("_common/check_session.php");
?>
<html lang="en">
    <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
        <title>VAC-DOS | Vaccine Dossier Mapping Tool</title>
        <meta content="Admin Dashboard" name="description" />
        <meta content="ThemeDesign" name="author" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />

        <link rel="shortcut icon" href="assets/images/favicon.ico">

        <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
        <link href="assets/css/icons.css" rel="stylesheet" type="text/css">
        <link href="assets/css/style.css" rel="stylesheet" type="text/css">

    </head>


    <body>

        <!-- Loader -->
        <div id="preloader"><div id="status"><div class="spinner"></div></div></div>

        <!-- Navigation Bar-->
        <header id="topnav">
            <div class="topbar-main">
                <div class="container-fluid">

                    <!-- Logo container-->
                    <div class="logo">
                        <!-- Image Logo -->
                        <a href="index.html" class="logo">
                            <img src="assets/images/logo-sm.png" alt="" height="32" class="logo-small">
                            <img src="assets/images/logo.png" alt="" height="20" class="logo-large">
                        </a>

                    </div>
                    <!-- End Logo container-->


                    <div class="menu-extras topbar-custom">

                        
                        <ul class="list-inline float-right mb-0">
                            <!-- Search -->
                            
                            <!-- Messages-->
                            
                            <!-- notification-->
                            
                            <!-- User-->
                            <li class="list-inline-item dropdown notification-list">
                                <a class="nav-link dropdown-toggle arrow-none waves-effect nav-user" data-toggle="dropdown" href="#" role="button"
                                    aria-haspopup="false" aria-expanded="false">
                                    <img src="assets/images/users/user-1.jpg" alt="user" class="rounded-circle">
                                </a>
                                <div class="dropdown-menu dropdown-menu-right dropdown-menu-animated profile-dropdown ">
                                    <a class="dropdown-item" href="#"><i class="mdi mdi-account-circle m-r-5 text-muted"></i> Profile</a>
                                   
                                    <a class="dropdown-item" href="logout.php"><i class="mdi mdi-logout m-r-5 text-muted"></i> Logout</a>
                                </div>

                            </li>
                            <li class="menu-item list-inline-item">
                                <!-- Mobile menu toggle-->
                                <a class="navbar-toggle nav-link">
                                    <div class="lines">
                                        <span></span>
                                        <span></span>
                                        <span></span>
                                    </div>
                                </a>
                                <!-- End mobile menu toggle-->
                            </li>

                        </ul>
                    </div>
                    <!-- end menu-extras -->

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

                </div> <!-- end container -->
            </div>
            <!-- end topbar-main -->

            <!-- MENU Start -->
            <div class="navbar-custom">
                <div class="container-fluid">
                    <div id="navigation">
                        <!-- Navigation Menu-->
                        <ul class="navigation-menu">

                            <li class="has-submenu">
                                <a href="dashboard.php"><i class="dripicons-meter"></i>Dashboard</a>
                            </li>

                            

                            <li class="has-submenu">
                                <a href="#"><i class="dripicons-broadcast"></i>Task</a>
                                <ul class="submenu">
									<li><a href="list.php">New</a></li>									
                                    <li><a href="listcomplete.php">Completed</a></li>
									
									
                                    
                                </ul>
                            </li>

                            

                            <li class="has-submenu">
                                <a href="#"><i class="dripicons-graph-bar"></i>About</a>
                                <ul class="submenu">
                                    <li><a href="#">About VAC-DOS</a></li>
                                    <li><a href="#">User Manual</a></li>
                                    
                                </ul>
                            </li>

                            

                        </ul>
                        <!-- End navigation menu -->
                    </div> <!-- end #navigation -->
                </div> <!-- end container -->
            </div> <!-- end navbar-custom -->
        </header>
        <!-- End Navigation Bar-->


        <div class="wrapper">
            <div class="container-fluid">
<?php
$idvac =$_REQUEST['idvac'];
?>
                <!-- Page-Title -->
                <div class="row">
                    <div class="col-sm-12">
                        <div class="page-title-box">
                            <div class="btn-group float-right">
                                <ol class="breadcrumb hide-phone p-0 m-0">
                                    <li class="breadcrumb-item"><a href="#">Task</a></li>
                                    <li class="breadcrumb-item"><a href="list.php">New</a></li>
                                    <li class="breadcrumb-item active"><a href="dossierform2.php?idvac=<?php echo $idvac ?>">Dossier Form</a></li>
                                    <li class="breadcrumb-item active"><a href="#">Quality Control on Finished Products</a></li>
                                </ol>
                            </div>
                            <h4 class="page-title">Vaccine Dossier Scoring Form</h4>
                        </div>
						<div class="col-sm-1">
                                        <a href="dossierform2.php?idvac=<?php echo $idvac ?>"><button class="btn btn-primary btn-block waves-effect waves-light">Go Back</button></a>
										
                        </div>
                    </div>
                </div>
                <!-- end page title end breadcrumb -->
				
				
<?php
$idvac =$_REQUEST['idvac'];
$conn = mysql_connect('localhost', 'dvsvigov_vacc', 'DVSvacdos123');
	 if (!$conn)
    {
	 die('Could not connect: ' . mysql_error());
	}
	mysql_select_db("dvsvigov_vacdos", $conn);
$result = mysql_query("SELECT * FROM vacc WHERE idvac  = '$idvac'");
$test = mysql_fetch_array($result);
if (!$result)
		{
		die("Error: Data not found..");
		}
				$tradename=$test['tradename'] ;
mysql_close($conn);
?>
 <?php
//$idvac =$_REQUEST['idvac'];
//$name =$_REQUEST['name'];
$email =$_SESSION['email'];
	$conn = mysql_connect('localhost', 'dvsvigov_vacc', 'DVSvacdos123');
	 if (!$conn)
    {
	 die('Could not connect: ' . mysql_error());
	}
	mysql_select_db("dvsvigov_vacdos", $conn);
$result = mysql_query("SELECT * FROM user WHERE email='$email'");
$test = mysql_fetch_array($result);
if (!$result)
		{
		die("Error: Data not found..");
		}
				$Assess=$test['name'] ;	
mysql_close($conn);
?>
				<br>
				<div class="row">
                    <div class="col-xl-12">
                        <div class="card m-b-30">
                            <div class="card-body">
								
                                
								 <form action="adddataquality.php" method="post"> 
                                <div class="form-group row">
                                    <label for="example-text-input" class="col-sm-2 col-form-label">ID</label>
                                    <div class="col-sm-10">
                                        <input class="form-control" type="text" value="<?php echo $idvac ?>" name="idvac"/readonly>
                                    </div>
                                </div>
								<div class="form-group row">
                                    <label for="example-text-input" class="col-sm-2 col-form-label">Trade Name</label>
                                    <div class="col-sm-10">
                                        <input class="form-control" type="text" value="<?php echo $tradename ?>" name="tradename"/readonly>
                                    </div>
                                </div>
								<div class="form-group row">
                                    <label for="example-text-input" class="col-sm-2 col-form-label">Evaluator</label>
                                    <div class="col-sm-10">
                                        <input class="form-control" type="text" value="<?php echo $Assess ?>" name="Assess"/readonly>
                                    </div>
                                </div>

  <?php
//$idvac =$_REQUEST['idvac'];
//$name =$_REQUEST['name'];
//$email =$_SESSION['email'];
	$conn = mysql_connect('localhost', 'dvsvigov_vacc', 'DVSvacdos123');
	 if (!$conn)
    {
	 die('Could not connect: ' . mysql_error());
	}
	mysql_select_db("dvsvigov_vacdos", $conn);
$result = mysql_query("SELECT * FROM dossierform WHERE idvac='$idvac' AND Assess='$Assess'");
$test = mysql_fetch_array($result);
if (!$result)
		{
		die("Error: Data not found..");
		}
				$vacctype=$test['vacctype'] ;
				$Assess=$test['Assess'] ;
				$Q28=$test['Q28'] ;
				$Q28comment=$test['Q28comment'] ;
				$Q28AI=$test['Q28AI'] ;
				$Q29=$test['Q29'] ;
				$Q29comment=$test['Q29comment'] ;
				$Q29AI=$test['Q29AI'] ;
				$Q30=$test['Q30'] ;
				$Q30comment=$test['Q30comment'] ;
				$Q30AI=$test['Q30AI'] ;
				$Q31=$test['Q31'] ;
				$Q31comment=$test['Q31comment'] ;
				$Q31AI=$test['Q31AI'] ;
				$Q32=$test['Q32'] ;
				$Q32comment=$test['Q32comment'] ;
				$Q32AI=$test['Q32AI'] ;
				$Q33=$test['Q33'] ;
				$Q33comment=$test['Q33comment'] ;
				$Q33AI=$test['Q33AI'] ;
				$Q34=$test['Q34'] ;
				$Q34comment=$test['Q34comment'] ;
				$Q34AI=$test['Q34AI'] ;
				$Q35=$test['Q35'] ;
				$Q35comment=$test['Q35comment'] ;
				$Q35AI=$test['Q35AI'] ;
				$Q36=$test['Q36'] ;
				$Q36comment=$test['Q36comment'] ;
				$Q36AI=$test['Q36AI'] ;	
				$refQ28=$test['refQ28'] ;
				$refQ29=$test['refQ29'] ;
				$refQ30=$test['refQ30'] ;
				$refQ31=$test['refQ31'] ;
				$refQ32=$test['refQ32'] ;
				$refQ33=$test['refQ33'] ;
				$refQ34=$test['refQ34'] ;
				$refQ35=$test['refQ35'] ;
				$refQ36=$test['refQ36'] ;
				
mysql_close($conn);

?>	                         
                        
   
                                    <p class="text-muted m-b-30 font-14">AREA: <strong>Overall quality - Safety</strong> <br>CATEGORY: <strong>Quality Control on Finished Products</strong><br>Default Score: <strong>1</strong></p>
										<div class="table-responsive">
                                    <table class="table table-bordered mb-0">
                                        <thead>
                                            <tr>
                                                <th colspan="2" width="10%"></th>
                                                <th colspan="4"width="30%"><center>Scores</center></th>
                                                <th colspan="1" width="5%"><center>Assessor Score</center></th>								
												<th colspan="3" width="55%"><center>Comments and <br> Additional Information</center></th>
												
                                            </tr>
                                        </thead>
										<thead>
                                            <tr>
                                                <th><center>#</center></th>
                                                <th><center>Sub Category</center></th>
                                                <th width="7.5%"><center>4</center></th>
                                                <th width="7.5%"><center>3</center></th>
												<th width="7.5%"><center>2</center></th>
												<th width="7.5%"><center>1</center></th>
													
												<th><center>Score</center></th>	
												<th><center>Assessor <br>Comments</center></th>
												<th><center>Additional <br>Information</center></th>
												<th width="10%"><center>Reference</center></th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                           <tr>
                                                <th scope="row">28</th>
                                                <td>Moisture contents (for live vaccines)<p style="color:red"><sub>*Not applicable for Killed Vaccine</sub></p></td>
                                                <td>Information on moisture content provided with reference to EU,  USDA , or OIE.</td>
                                                <td>Information on moisture content provided with reference to other standards than EU, USDA, OIE</td>
												<td>Moisture content provided with no references </td>
												<td>No information provided</td>
												<td>
												<input type="radio" name="Q28" id="Q28" value="6" <?php if($vacctype=="Killed") echo "disabled"; else if($Q28=="6") echo "checked" ?>>
												<label for="Q28">4</label><br>
												<input type="radio" name="Q28" id="Q28" value="4" <?php if($vacctype=="Killed") echo "disabled"; else if($Q28=="4") echo "checked" ?>>
												<label for="Q28">3</label>		<br>											
												<input type="radio" name="Q28" id="Q28" value="2" <?php if($vacctype=="Killed") echo "disabled"; else if($Q28=="2") echo "checked" ?>>
												<label for="Q28">2</label><br>
												<input type="radio" name="Q28" id="Q28" value="0" <?php if($vacctype=="Killed") echo "disabled"; else if($Q28=="0") echo "checked" ?>>
												<label for="Q28">1</label>	
												</td>
												
												<td><textarea id="elm1" name="Q28comment" placeholder=""<?php if($vacctype=="Killed") echo "disabled"?>><?php echo $Q28comment ?></textarea></td>
												<td><textarea id="elm1" name="Q28AI"<?php if($vacctype=="Killed") echo "disabled"?>><?php echo $Q28AI ?></textarea></td>
												<td><textarea name="refQ28" <?php if($vacctype=="Killed") echo "disabled"?>><?php echo $refQ28 ?></textarea></td>
                                            </tr>
											<tr>
                                                <th scope="row">29</th>
                                                <td>Viscosity of vaccine (for inactivated vaccines)<p style="color:red"><sub>*Not applicable for Live Vaccine</sub></p></td>
                                                <td> Availability of validation data on   accelerated stability tests confirmed by efficacy tests after expiry and 6 months beyond</td>
                                                <td>Validation data on viscosity is partially provided</td>
												<td>General information on viscocity provided</td>
												<td>No information founded .</td>
												<td>
												
												<input type="radio" name="Q29" id="Q29" value="6" <?php if($vacctype=="Live") echo "disabled"; else if($Q29=="6") echo "checked" ?>>
												<label for="Q29">4</label><br>
												<input type="radio" name="Q29" id="Q29" value="4" <?php if($vacctype=="Live") echo "disabled"; else if($Q29=="4") echo "checked" ?>>
												<label for="Q29">3</label>		<br>											
												<input type="radio" name="Q29" id="Q29" value="2" <?php if($vacctype=="Live") echo "disabled"; else if($Q29=="2") echo "checked" ?>>
												<label for="Q29">2</label><br>
												<input type="radio" name="Q29" id="Q29" value="0" <?php if($vacctype=="Live") echo "disabled"; else if($Q29=="0") echo "checked" ?>>
												<label for="Q29">1</label>	
												</td>
												
												<td><textarea id="elm1" name="Q29comment" placeholder="" <?php if($vacctype=="Live") echo "disabled"?>><?php echo $Q29comment ?></textarea></td>
												<td><textarea id="elm1" name="Q29AI" <?php if($vacctype=="Live") echo "disabled"?>><?php echo $Q29AI ?></textarea></td>
												<td><textarea name="refQ29" <?php if($vacctype=="Live") echo "disabled"?>><?php echo $refQ29 ?></textarea></td>
                                            </tr>
											<tr>
                                                <th scope="row">30</th>
                                                <td> Purity test of live vaccines</td>
                                                <td>Availability of the detection of extraneous viruses, bacteria, mycoplasma and fungi:<br>Salmonella, Brucella, chlamydial agents, haemagglutinating viruses, avian lymphoid leucosis (virus),<br>pathogens detected by a chicken inoculation test, or a chicken embryo inoculation test,<br>lymphocytic choriomeningitis virus, cytopathic and haemadsorbing agents, and pathogens detected by enzyme-linked immunosorbent assay, polymerase chain reaction, or the fluorescent antibody technique. </td>
                                                <td>Majority of data provided</td>
												<td>General information on purity test provided.</td>
												<td>No information provided</td>
												<td>
												<input type="radio" name="Q30" id="Q30" value="6" <?php if($Q30=="6") echo "checked" ?>>
												<label for="Q30">4</label><br>
												<input type="radio" name="Q30" id="Q30" value="4" <?php if($Q30=="4") echo "checked" ?>>
												<label for="Q30">3</label>		<br>											
												<input type="radio" name="Q30" id="Q30" value="2" <?php if($Q30=="2") echo "checked" ?>>
												<label for="Q30">2</label><br>
												<input type="radio" name="Q30" id="Q30" value="0" <?php if($Q30=="0") echo "checked" ?>>
												<label for="Q30">1</label>	
												</td>
												
												<td><textarea id="elm1" name="Q30comment" placeholder=""><?php echo $Q30comment ?></textarea></td>
												<td><textarea id="elm1" name="Q30AI"><?php echo $Q30AI ?></textarea></td>
												<td><textarea name="refQ30" ><?php echo $refQ30 ?></textarea></td>
                                            </tr>
											<tr>
                                                <th scope="row">31</th>
                                                <td>Composition of final product</td>
                                                <td>Availability of information on composition of final product including tests for the determination of concentrations of preservatives  carried out to show that these are in conformity with the limits set for the product. </td>
                                                <td>Majority of data is provided</td>
												<td>General information on composition of final product provided</td>
												<td>No information provided</td>
												<td>
												<input type="radio" name="Q31" id="Q31" value="6" <?php if($Q31=="6") echo "checked" ?>>
												<label for="Q31">4</label><br>
												<input type="radio" name="Q31" id="Q31" value="4" <?php if($Q31=="4") echo "checked" ?>>
												<label for="Q31">3</label>		<br>											
												<input type="radio" name="Q31" id="Q31" value="2" <?php if($Q31=="2") echo "checked" ?>>
												<label for="Q31">2</label><br>
												<input type="radio" name="Q31" id="Q31" value="0" <?php if($Q31=="0") echo "checked" ?>>
												<label for="Q31">1</label>	
												</td>
												
												<td><textarea id="elm1" name="Q31comment" placeholder=""><?php echo $Q31comment ?></textarea></td>
												<td><textarea id="elm1" name="Q31AI"><?php echo $Q31AI ?></textarea></td>
												<td><textarea name="refQ31" ><?php echo $refQ31 ?></textarea></td>
                                            </tr>
											<tr>
                                                <th scope="row">32</th>
                                                <td> Nature of final products (Lyophilised /inactivated /Live attenuated /Recombinant /subunit /Transgenic /Combination /Vectored </td>
                                                <td>Availability of information describing method of production and validation in consistent with nature of final product, as appear on vaccine registration certificate by competent authority  </td>
                                                <td>Information on validation data is partially provided.</td>
												<td>General information on nature of final prduct provided</td>
												<td>No information provided or inconsistency of information  between method of production and final product </td>
												<td>
												<input type="radio" name="Q32" id="Q32" value="6" <?php if($Q32=="6") echo "checked" ?>>
												<label for="Q32">4</label><br>
												<input type="radio" name="Q32" id="Q32" value="4" <?php if($Q32=="4") echo "checked" ?>>
												<label for="Q32">3</label>		<br>											
												<input type="radio" name="Q32" id="Q32" value="2" <?php if($Q32=="2") echo "checked" ?>>
												<label for="Q32">2</label><br>
												<input type="radio" name="Q32" id="Q32" value="0" <?php if($Q32=="0") echo "checked" ?>>
												<label for="Q32">1</label>	
												</td>
												
												<td><textarea id="elm1" name="Q32comment" placeholder=""><?php echo $Q32comment ?></textarea></td>
												<td><textarea id="elm1" name="Q32AI"><?php echo $Q32AI ?></textarea></td>
												<td><textarea name="refQ32" ><?php echo $refQ32 ?></textarea></td>
                                            </tr>
											<tr>
                                                <th scope="row">33</th>
                                                <td>Stability study </td>
                                                <td>Under recommended condition, the level of safety and efficacy has been demonstrated to be acceptable including information /data on extended shelf life</td>
                                                <td>Under recommended condition partial information is provided on safety and efficacy level of the vaccine.</td>
												<td>General information on stability study provided.</td>
												<td>No information provided</td>
												<td>
												<input type="radio" name="Q33" id="Q33" value="6" <?php if($Q33=="6") echo "checked" ?>>
												<label for="Q33">4</label><br>
												<input type="radio" name="Q33" id="Q33" value="4" <?php if($Q33=="4") echo "checked" ?>>
												<label for="Q33">3</label>		<br>											
												<input type="radio" name="Q33" id="Q33" value="2" <?php if($Q33=="2") echo "checked" ?>>
												<label for="Q33">2</label><br>
												<input type="radio" name="Q33" id="Q33" value="0" <?php if($Q33=="0") echo "checked" ?>>
												<label for="Q33">1</label>	
												</td>
												
												<td><textarea id="elm1" name="Q33comment" placeholder=""><?php echo $Q33comment ?></textarea></td>
												<td><textarea id="elm1" name="Q33AI"><?php echo $Q33AI ?></textarea></td>
												<td><textarea name="refQ33" ><?php echo $refQ33 ?></textarea></td>
                                            </tr>
											<tr>
                                                <th scope="row">34</th>
                                                <td>Vaccine Safety</td>
                                                <td>Information on final concentration of  anti microbial preservative used, confirmation test for freedom of extarneous agents as describe by EU, USDA and OIE</td>
                                                <td>Majority of data provided, or with reference other than EU, USDA, OIE </td>
												<td>General information on safety study provided</td>
												<td>No information provided</td>
												<td>
												<input type="radio" name="Q34" id="Q34" value="6" <?php if($Q34=="6") echo "checked" ?>>
												<label for="Q34">4</label><br>
												<input type="radio" name="Q34" id="Q34" value="4" <?php if($Q34=="4") echo "checked" ?>>
												<label for="Q34">3</label>		<br>											
												<input type="radio" name="Q34" id="Q34" value="2" <?php if($Q34=="2") echo "checked" ?>>
												<label for="Q34">2</label><br>
												<input type="radio" name="Q34" id="Q34" value="0" <?php if($Q34=="0") echo "checked" ?>>
												<label for="Q34">1</label>	
												</td>
												
												<td><textarea id="elm1" name="Q34comment" placeholder=""><?php echo $Q34comment ?></textarea></td>
												<td><textarea id="elm1" name="Q34AI"><?php echo $Q34AI ?></textarea></td>
												<td><textarea name="refQ34" ><?php echo $refQ34 ?></textarea></td>
                                            </tr>
											<tr>
                                                <th scope="row">35</th>
                                                <td>Field trials</td>
                                                <td>Field trials are conducted in 3 farms in various breeds in different (3) locations representing different husbandry systems, covering all the recommended ages of vaccination compared with control group. Provision of  procedures and results to see if they are appropriate ,other possible related effects: different body weight gain, increased mortalities or carcass condemnation at slaughter, etc. <br>Do results reflect vaccine safety under field conditions?</td>
                                                <td>Majority of data provided</td>
												<td>Insufficient data on filed trials provided.</td>
												<td>No data provided to support the claim.</td>
												<td>
												<input type="radio" name="Q35" id="Q35" value="6" <?php if($Q35=="6") echo "checked" ?>>
												<label for="Q35">4</label><br>
												<input type="radio" name="Q35" id="Q35" value="4" <?php if($Q35=="4") echo "checked" ?>>
												<label for="Q35">3</label>		<br>											
												<input type="radio" name="Q35" id="Q35" value="2" <?php if($Q35=="2") echo "checked" ?>>
												<label for="Q35">2</label><br>
												<input type="radio" name="Q35" id="Q35" value="0" <?php if($Q35=="0") echo "checked" ?>>
												<label for="Q35">1</label>	
												</td>
												
												<td><textarea id="elm1" name="Q35comment" placeholder=""><?php echo $Q35comment ?></textarea></td>
												<td><textarea id="elm1" name="Q35AI"><?php echo $Q35AI ?></textarea></td>
												<td><textarea name="refQ35" ><?php echo $refQ35 ?></textarea></td>
                                            </tr>
											<tr>
                                                <th scope="row">36</th>
                                                <td>Reversion to virulence (for live vaccines)<p style="color:red"><sub>*Not applicable for Killed Vaccine</sub></p></td>
                                                <td>Availability of validation data  on reversion to  virulence with  results of  back passage studies</td>
                                                <td>Majority of data provided</td>
												<td>Insufficient data on reversion to virulence  provided.</td>
												<td>No data provided to support the claim.</td>
												<td>
												<input type="radio" name="Q36" id="Q36" value="6" <?php if($vacctype=="Killed") echo "disabled"; else if($Q36=="6") echo "checked" ?>>
												<label for="Q36">4</label><br>
												<input type="radio" name="Q36" id="Q36" value="4" <?php if($vacctype=="Killed") echo "disabled"; else if($Q36=="4") echo "checked" ?>>
												<label for="Q36">3</label>		<br>											
												<input type="radio" name="Q36" id="Q36" value="2" <?php if($vacctype=="Killed") echo "disabled"; else if($Q36=="2") echo "checked" ?>>
												<label for="Q36">2</label><br>
												<input type="radio" name="Q36" id="Q36" value="0" <?php if($vacctype=="Killed") echo "disabled"; else if($Q36=="0") echo "checked" ?>>
												<label for="Q36">1</label>	
												</td>
												<td><textarea id="elm1" name="Q36comment" placeholder="" <?php if($vacctype=="Killed") echo "disabled"?>><?php echo $Q36comment ?></textarea></td>
												<td><textarea id="elm1" name="Q36AI" <?php if($vacctype=="Killed") echo "disabled"?>><?php echo $Q36AI ?></textarea></td>
												<td><textarea name="refQ36" <?php if($vacctype=="Killed") echo "disabled"?>><?php echo $refQ36 ?></textarea></td>
                                            </tr>
										 </tbody>
                                    </table>
									</div><br>
                                
									<div class="form-group row">
                                   
                                    <div class="col-sm-1">
                                        <button class="btn btn-primary btn-block waves-effect waves-light" type="submit">Save</button>
                                    </div></form>
									
									
									
                                </div>
                               
                    </div>
					</p>
									</div>
                                 </div>
								</div>
                        </div>
                    </div>
					</div> <!-- end row -->
				</div> <!-- end container -->
        </div>
        <!-- Footer -->
        <footer class="footer">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-12">
                        © 2020 <b>VAC-DOS </b>V1.0<br><span class="d-none d-sm-inline-block">Crafted by <b>Research and Innovation</b> Division, DVS</span>
                    </div>
                </div>
            </div>
        </footer>
        <!-- End Footer -->
    

        <!-- jQuery  -->
        <script src="assets/js/jquery.min.js"></script>
        <script src="assets/js/bootstrap.bundle.min.js"></script>
        <script src="assets/js/modernizr.min.js"></script>
        <script src="assets/js/detect.js"></script>
        <script src="assets/js/fastclick.js"></script>
        <script src="assets/js/jquery.slimscroll.js"></script>
        <script src="assets/js/jquery.blockUI.js"></script>
        <script src="assets/js/waves.js"></script>

		<!--Wysiwig js-->
        <script src="assets/plugins/tinymce/tinymce.min.js"></script>
        <!-- App js -->
        <script src="assets/js/app.js"></script>
		<script>
            $(document).ready(function () {
                if($("#elm1").length > 0){
                    tinymce.init({
                        selector: "textarea#elm1",
                        theme: "modern",
                        height:300,
                        plugins: [
                            "advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker",
                            "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
                            "save table contextmenu directionality emoticons template paste textcolor"
                        ],
                        toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | l      ink image | print preview media fullpage | forecolor backcolor emoticons",
                        style_formats: [
                            {title: 'Bold text', inline: 'b'},
                            {title: 'Red text', inline: 'span', styles: {color: '#ff0000'}},
                            {title: 'Red header', block: 'h1', styles: {color: '#ff0000'}},
                            {title: 'Example 1', inline: 'span', classes: 'example1'},
                            {title: 'Example 2', inline: 'span', classes: 'example2'},
                            {title: 'Table styles'},
                            {title: 'Table row 1', selector: 'tr', classes: 'tablerow1'}
                        ]
                    });
                }
            });
        </script>
    </body>
</html>