<?php /* Smarty version Smarty-3.1.11, created on 2024-08-18 22:03:30
         compiled from "../views/obgy/lab/labs/labs_4.html" */ ?>
<?php /*%%SmartyHeaderCode:120016720766c245821d0089-45775133%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c2f2ca8897cac319da388b3c09604342296857a6' => 
    array (
      0 => '../views/obgy/lab/labs/labs_4.html',
      1 => 1714872704,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '120016720766c245821d0089-45775133',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'inv' => 0,
    'patientNo' => 0,
    'hosturl' => 0,
    'paid' => 0,
    'archive' => 0,
    'culture_sample' => 0,
    'data' => 0,
    'culture_organism_a' => 0,
    'culture_organism_b' => 0,
    'culture_organism_c' => 0,
    'culture_condition' => 0,
    'culture_condition1' => 0,
    'culture_colony_count' => 0,
    'urine_reaction' => 0,
    'urine_pus' => 0,
    'urine_pus2' => 0,
    'urine_pbcs' => 0,
    'urine_pbcs2' => 0,
    'urine_epithelial' => 0,
    'urine_crystal' => 0,
    'urine_fungi' => 0,
    'urine_bacteria' => 0,
    'urine_other' => 0,
    'urine_other1' => 0,
    'urine_other2' => 0,
    'urine_other3' => 0,
    'urine_other4' => 0,
    'urine_gram' => 0,
    'urine_zn_film' => 0,
    'culture_sensitivity_cat' => 0,
    'i' => 0,
    'antibiotic_sensitivity' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66c2458254f940_31003907',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66c2458254f940_31003907')) {function content_66c2458254f940_31003907($_smarty_tpl) {?><div class="card" style="margin-bottom: 1%;">
    <input type="hidden" id="cultureInvest" value="1" />
    <div class="card-header txtl">


        <div class="fright wds100">
            <table class="table" style="width: 100%">
                <tbody>
                    <tr>
                        <td rowspan="2">   
                            <span style="float: left;">
                                <input type="checkbox"  class="checkGroup" value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" name="invCheck[]">
                            </span>

                            <a class="card-link fleft" data-toggle="collapse" href="#invDiv<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
">
                                <?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>

                            </a>




                            <div class="col-md-1  fright">
                                <a class="btn btn-xs  bg-green-haze  printResultsOne "  data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   
                                   href="javascript:;"   > <i class="fa fa-print"></i> 
                                </a>
                            </div>   

                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdfNos>0){?>
                            <div class="col-md-1 wds5  fright">
                                <a href="#"  class="btn green-jungle btn-xs"
                                   onclick="document.getElementById('invPdf1_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
').click(); return false;" >
                                    <i class="fa fa-upload"></i> 1   </a>
                                <input type="file" name="invPdf1_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  id="invPdf1_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                       class=" form-control addInvPdf" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-no="1" style="visibility:hidden;height: 9px;"  >


                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdf!=''&&$_smarty_tpl->tpl_vars['inv']->value->pdf!='.'&&$_smarty_tpl->tpl_vars['inv']->value->pdf!=null&&$_smarty_tpl->tpl_vars['inv']->value->pdf!='no image'){?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_1_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/inv_pdf/<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['inv']->value->pdf;?>
" id="pdf1Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" >
                                    <i class="fa fa-download"></i> 1
                                </a>

                                <?php }else{ ?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_1_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   id="pdf1Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style="display: none;" >
                                    <i class="fa fa-download"></i> 1
                                </a>
                                <?php }?>
                                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif" id="talks-loading<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
_1" style="display: none;">
                            </div>

                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdfNos>1){?>
                            <div class="col-md-1  wds5  fright">
                                <a href="#"  class="btn green-jungle btn-xs"
                                   onclick="document.getElementById('invPdf2_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
').click(); return false;" >
                                    <i class="fa fa-upload"></i>  2  </a>
                                <input type="file" name="invPdf2_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  id="invPdf2_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                       class=" form-control addInvPdf" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-no="2" style="visibility:hidden;height: 9px;"  >

                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdf2!=''&&$_smarty_tpl->tpl_vars['inv']->value->pdf2!='.'&&$_smarty_tpl->tpl_vars['inv']->value->pdf2!=null&&$_smarty_tpl->tpl_vars['inv']->value->pdf2!='no image'){?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_2_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/inv_pdf/<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['inv']->value->pdf2;?>
" id="pdf2Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" >
                                    <i class="fa fa-download"></i> 2
                                </a>

                                <?php }else{ ?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_2_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   id="pdf2Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style="display: none;" >
                                    <i class="fa fa-download"></i> 2
                                </a>
                                <?php }?>
                                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif" id="talks-loading<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
_2" style="display: none;">
                            </div>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdfNos>2){?>
                            <div class="col-md-1 wds5   fright">
                                <a href="#"  class="btn green-jungle btn-xs"
                                   onclick="document.getElementById('invPdf3_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
').click(); return false;" >
                                    <i class="fa fa-upload"></i>  3 </a>
                                <input type="file" name="invPdf3_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  id="invPdf3_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                       class=" form-control addInvPdf" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-no="3" style="visibility:hidden;height: 9px;"  >

                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdf3!=''&&$_smarty_tpl->tpl_vars['inv']->value->pdf3!='.'&&$_smarty_tpl->tpl_vars['inv']->value->pdf3!=null&&$_smarty_tpl->tpl_vars['inv']->value->pdf3!='no image'){?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_3_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/inv_pdf/<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['inv']->value->pdf3;?>
" id="pdf3Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" >
                                    <i class="fa fa-download"></i> 3
                                </a>

                                <?php }else{ ?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_3_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   id="pdf3Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style="display: none;" >
                                    <i class="fa fa-download"></i> 3
                                </a>
                                <?php }?>
                                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif" id="talks-loading<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
_3" style="display: none;">
                            </div>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdfNos>3){?>
                            <div class="col-md-1 wds5  fright">
                                <a href="#"  class="btn green-jungle btn-xs"
                                   onclick="document.getElementById('invPdf4_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
').click(); return false;" >
                                    <i class="fa fa-upload"></i>  4 </a>
                                <input type="file" name="invPdf4_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  id="invPdf4_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"
                                       class=" form-control addInvPdf" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" data-no="4" style="visibility:hidden;height: 9px;"  >

                                <?php if ($_smarty_tpl->tpl_vars['inv']->value->pdf4!=''&&$_smarty_tpl->tpl_vars['inv']->value->pdf4!='.'&&$_smarty_tpl->tpl_vars['inv']->value->pdf4!=null&&$_smarty_tpl->tpl_vars['inv']->value->pdf4!='no image'){?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_4_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/inv_pdf/<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['inv']->value->pdf4;?>
" id="pdf4Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" >
                                    <i class="fa fa-download"></i> 4
                                </a>

                                <?php }else{ ?>
                                <a class=" btn  btn-xs blue" download="<?php echo $_smarty_tpl->tpl_vars['inv']->value->invname;?>
_4_<?php echo $_smarty_tpl->tpl_vars['patientNo']->value;?>
"
                                   id="pdf4Download<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" style="display: none;" >
                                    <i class="fa fa-download"></i> 4
                                </a>
                                <?php }?>
                                <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif" id="talks-loading<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
_4" style="display: none;">
                            </div>

                            <?php }?>

                            <?php }?>

                            <?php }?>

                            <?php }?>

                            <div class="col-md-2 filledName mL5 fright" >   (By :   <?php echo $_smarty_tpl->tpl_vars['inv']->value->filledName;?>
  ) </div>    
                            <div class="col-md-2 sampleNo mL5 fright" >   (Sample No :   <?php echo $_smarty_tpl->tpl_vars['inv']->value->sampleNo;?>
  ) </div>  

                        </td>
                        <th class="wds5 txtc"> F </th>
                        <th class="wds5 txtc"> V </th>
                        <th class="wds5 txtc"> P </th>
                        <th class="wds5 txtc"> D </th>
                        <td class="wds5 txtc"> S </td>
                    </tr>


                    <tr>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->filled==1){?>
                            <i class="fa fa-check  invStatusChange"   data-colName="filled"  data-val="0" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"    id="invFilled<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"   data-colName="filled"    data-val="1" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"    id="invFilled<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->verified==1){?>
                            <i class="fa fa-check invStatusChange"   data-colName="verified"   data-val="0"  
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"   data-colName="verified"    data-val="1" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->printed==1){?>
                            <i class="fa fa-check invStatusChange"    data-colName="printed"    data-val="0"      id="invPrinted<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"    data-colName="printed"    data-val="1"      id="invPrinted<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->delivered==1){?>
                            <i class="fa fa-check invReDeliver "     data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  data-paid="<?php echo $_smarty_tpl->tpl_vars['paid']->value;?>
"  data-val="1" 
                               style="color: #119866;font-size: 20px;margin-top: 5%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"    data-colName="delivered"    data-val="1" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  data-paid="<?php echo $_smarty_tpl->tpl_vars['paid']->value;?>
" 
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>

                        <td>
                            <?php if ($_smarty_tpl->tpl_vars['inv']->value->sent==1){?>
                            <i class="fa fa-check invStatusChange"  data-colName="sent"    data-val="0" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"    
                               style="color: #119866;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }else{ ?>
                            <i class="fa fa-times invStatusChange"    data-colName="sent"    data-val="1" 
                               data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"  
                               style="color: red;font-size: 20px;margin-top: 5%;margin-bottom: 10%;"></i> 
                            <?php }?>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            <div class="form-group collapse  " data-parent="#accordion" style=" width: 100%; float: left;   border-bottom:1px solid black;  margin: 5px;padding-bottom: 5px;" id="invDiv<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
">
                                <div class="card-body">



                                    <div class="tabbable tabbable-custom tabbable-noborder">

                                        <ul class="nav nav-tabs">
                                            <li class="aw_3d_list active"> <a href="#tab_1_main<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" data-toggle="tab"> Culture </a> </li>
                                            <li class="aw_3d_list"  > <a href="#tab_2_main<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" data-toggle="tab"> Sensitivity </a> </li>
                                        </ul>

                                        <div class="tab-content">

                                            <div class="tab-pane active" id="tab_1_main<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
">
                                                <div class="row all nolabel" style="border-bottom:  1px solid black;">
                                                    <div class="col-md-6">
                                                        <div class="portlet-title tbox col-md-6">
                                                            <div class="caption font-green-haze col-md-12">
                                                                <span class="caption-subject bold uppercase"> Culture :  </span>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Sample : </label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="culture_sample"     class="form-control updateInvest  culture_sample" 
                                                                            data-colName="sample"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_sample"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['culture_sample']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['sample']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Organism A : </label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="culture_organism_a"     class="form-control updateInvest  culture_organism_a" 
                                                                            data-colName="organism_a"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_organism_a"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['culture_organism_a']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['organism_a']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Organism B : </label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="culture_organism_b"     class="form-control updateInvest  culture_organism_b" 
                                                                            data-colName="organism_b"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_organism_b"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['culture_organism_b']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['organism_b']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Organism C : </label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="culture_organism_c"     class="form-control updateInvest  culture_organism_c" 
                                                                            data-colName="organism_c"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_organism_c"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['culture_organism_c']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['organism_c']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Culture Condition : </label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="culture_condition"     class="form-control updateInvest  culture_condition" 
                                                                            data-colName="condition"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_condition"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['culture_condition']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['condition']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;"></label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="culture_condition1"     class="form-control updateInvest  culture_condition1" 
                                                                            data-colName="condition1"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_condition1"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['culture_condition1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['condition1']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>


                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Colony Count : </label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="culture_colony_count"     class="form-control updateInvest  culture_colony_count" 
                                                                            data-colName="colony_count"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_colony_count"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['culture_colony_count']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['colony_count']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                    </div>
                                                    <div class="col-md-6" style="border-left:  1px solid black;padding-left: 20px;">
                                                        <div class="portlet-title tbox col-md-6">
                                                            <div class="caption font-green-haze col-md-12">
                                                                <span class="caption-subject bold uppercase"> Urine Examination :  </span>
                                                            </div>
                                                        </div>


                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Reaction:</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_reaction"     class="form-control updateInvest  culture_reaction" 
                                                                            data-colName="reaction"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_reaction"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_reaction']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['reaction']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>



                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Pus Cells:</label>
                                                            <div class="col-md-3">
                                                                <select     select-colName="name"    select-tableName="urine_pus"     class="form-control updateInvest  culture_pus" 
                                                                            data-colName="pus"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_pus"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_pus']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['pus']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                            <div class="col-md-1">
                                                                - 
                                                            </div>

                                                            <div class="col-md-3">
                                                                <select     select-colName="name"    select-tableName="urine_pus2"     class="form-control updateInvest  culture_pus2" 
                                                                            data-colName="pus2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_pus2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_pus2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['pus2']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>



                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">R.B.Cs:</label>
                                                            <div class="col-md-3">
                                                                <select     select-colName="name"    select-tableName="urine_pbcs"     class="form-control updateInvest  culture_pbcs" 
                                                                            data-colName="pbcs"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_pbcs"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_pbcs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['pbcs']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>

                                                            <div class="col-md-1">
                                                                - 
                                                            </div>

                                                            <div class="col-md-3">
                                                                <select     select-colName="name"    select-tableName="urine_pbcs2"     class="form-control updateInvest  culture_pbcs2" 
                                                                            data-colName="pbcs2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_pbcs2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_pbcs2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['pbcs2']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>


                                                        </div>




                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Epithelial Cells: :</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_epithelial"     class="form-control updateInvest  culture_epithelial" 
                                                                            data-colName="epithelial"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_epithelial"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_epithelial']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['epithelial']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>



                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Crystal:</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_crystal"     class="form-control updateInvest  culture_crystal" 
                                                                            data-colName="crystal"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_crystal"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_crystal']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['crystal']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Fungi:</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_fungi"     class="form-control updateInvest  culture_fungi" 
                                                                            data-colName="fungi"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_fungi"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_fungi']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['fungi']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>




                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Bacteria:</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_bacteria"     class="form-control updateInvest  culture_bacteria" 
                                                                            data-colName="bacteria"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_bacteria"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_bacteria']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['bacteria']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Others : </label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_other"     class="form-control updateInvest  culture_other" 
                                                                            data-colName="other"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_other"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_other']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['other']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Others :</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_other1"     class="form-control updateInvest  culture_other1" 
                                                                            data-colName="other1"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_other1"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_other1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['other1']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Others :</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_other2"     class="form-control updateInvest  culture_other2" 
                                                                            data-colName="other2"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_other2"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_other2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['other2']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Others :</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_other3"     class="form-control updateInvest  culture_other3" 
                                                                            data-colName="other3"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_other3"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_other3']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['other3']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Others :</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_other4"     class="form-control updateInvest  culture_other4" 
                                                                            data-colName="other4"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_other4"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_other4']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['other4']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">Gram stain film  :</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_gram"     class="form-control updateInvest  culture_gram" 
                                                                            data-colName="gram"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_gram"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_gram']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['gram']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <label class="col-md-4 control-label bold txtl" style=" font-size: 16px;margin-left: 4px;">ZN film  :</label>
                                                            <div class="col-md-7">
                                                                <select     select-colName="name"    select-tableName="urine_zn_film"     class="form-control updateInvest  culture_zn_film" 
                                                                            data-colName="zn_film"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_zn_film"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['urine_zn_film']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['zn_film']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>


                                                    </div>
                                                </div>

                                                <div class="form-group col-md-12 " style=" float: left;margin-top :  5px; ">
                                                    <label class="col-md-2 control-label bold txtl" style=" font-size: 16px;"> Comment </label>
                                                    <div class="col-md-10">
                                                        <textarea class="form-control updateInvest txtc" rows="2" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" data-colName="comment" 
                                                                  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
" placeholder="Enter more text" data-toggle="popover" 
                                                                  data-trigger="hover" data-placement="bottom" data-content="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['comment'];?>
">
                                                            <?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['comment'];?>

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

                                            <!-------------------------------------------------------------------------------------------------------------------->

                                            <div class="tab-pane" id="tab_2_main<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
">
                                                <div class="row all nolabel" style="border-bottom:  1px solid black;">
                                                    <div class="col-md-6">
                                                        <div class="portlet-title tbox col-md-6">
                                                            <div class="caption font-green-haze col-md-12">
                                                                <span class="caption-subject bold uppercase"> Sensitivity :  </span>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-4 " style=" float: left;padding: 8px 3px; ">
                                                            <div class="col-md-12">
                                                                <select     select-colName="name"    select-tableName="culture_sensitivity_cat"     class="form-control updateInvest  culture_sensitivity_cat" 
                                                                            data-colName="sensitivity_cat"   data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  data-tableName="<?php echo $_smarty_tpl->tpl_vars['inv']->value->tableName;?>
"
                                                                            id="culture_sensitivity_cat"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                            <option value=""></option>
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['culture_sensitivity_cat']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php if ($_smarty_tpl->tpl_vars['inv']->value->culture['sensitivity_cat']==$_smarty_tpl->tpl_vars['data']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                                                    <?php } ?>
                                                                    <option value="-2" class="deleteoptincompo">حذف</option>
                                                                </select>
                                                            </div>
                                                        </div>



                                                        <div class="form-group col-md-12 " style=" float: left; ">

                                                            <div class="tabbable tabbable-custom tabbable-noborder">

                                                                <ul class="nav nav-tabs">
                                                                    <li class="aw_3d_list active" style="padding: 0px 5px !important;"> <a class="activeTab" data-tab="hs_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  href="#tab_2_1_sub<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" data-toggle="tab"> Highly For </a> </li>
                                                                    <li class="aw_3d_list"  style="padding: 0px 5px !important;" > <a class="activeTab" data-tab="ms_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  href="#tab_2_2_sub<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" data-toggle="tab"> Moderate For  </a> </li>
                                                                    <li class="aw_3d_list"  style="padding: 0px 5px !important;" > <a class="activeTab" data-tab="ls_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  href="#tab_2_3_sub<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" data-toggle="tab"> Low For  </a> </li>
                                                                    <li class="aw_3d_list"  style="padding: 0px 5px !important;" > <a class="activeTab" data-tab="rs_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_" data-id="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"  href="#tab_2_4_sub<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" data-toggle="tab"> Resistant For  </a> </li>
                                                                </ul>

                                                                <div class="tab-content">
                                                                    <input type="hidden" id="activeTab_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" value="hs_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_" />
                                                                    <div class="tab-pane active" id="tab_2_1_sub<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
">
                                                                        <div class="row nolabel" style="border:  1px solid black;">
                                                                            <div class="col-md-12">
                                                                                <table class="table table-striped table-hover table-bordered">
                                                                                    <thead>
                                                                                        <tr>
                                                                                            <th class="bold col-md-1"> <div align="center">No </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Abbr </div></th>
                                                                                            <th class="bold"> <div align="center">Scientific Name </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Sensit. </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Sensitivity </div></th>
                                                                                            <th class="wds3"></th>
                                                                                        </tr>
                                                                                    </thead>
                                                                                    <tbody id="hs_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_Container">
                                                                                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                                                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value->culture['investigationresults_culture_hs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                                        <tr>
                                                                                            <td> <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
 </td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['abbr'];?>
</td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
</td>
                                                                                            <td>
                                                                                                <input type="text"  class="form-control updateInvest  notPop   " data-colName="sensitive"     
                                                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"  data-tableName="investigationresults_culture_hs" 
                                                                                                       value="<?php echo $_smarty_tpl->tpl_vars['data']->value['sensitive'];?>
"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                                            </td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
</td>
                                                                                            <td>
                                                                                                <a class=" btn-warning btn-xs wds3 deleteMAbbr "  href="javascript:;"  data-culture="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"
                                                                                                   data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"  data-tableName="investigationresults_culture_hs"   >
                                                                                                    <i class="fa fa-close"></i> 
                                                                                                </a>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                                                                                        <?php } ?>
                                                                                    </tbody>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                        <div class="clearfix"></div>
                                                                    </div>


                                                                    <div class="tab-pane" id="tab_2_2_sub<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
">
                                                                        <div class="row  nolabel" style="border:  1px solid black;">
                                                                            <div class="col-md-12">
                                                                                <table class="table table-striped table-hover table-bordered">
                                                                                    <thead>
                                                                                        <tr>
                                                                                            <th class="bold col-md-1"> <div align="center">No </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Abbr </div></th>
                                                                                            <th class="bold"> <div align="center">Scientific Name </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Sensit. </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Sensitivity </div></th>
                                                                                            <th class="wds3"></th>
                                                                                        </tr>
                                                                                    </thead>
                                                                                    <tbody id="ms_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_Container">
                                                                                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                                                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value->culture['investigationresults_culture_ms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                                        <tr>
                                                                                            <td> <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
 </td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['abbr'];?>
</td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
</td>
                                                                                            <td>
                                                                                                <input type="text"  class="form-control updateInvest  notPop   " data-colName="sensitive"     
                                                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"  data-tableName="investigationresults_culture_ms" 
                                                                                                       value="<?php echo $_smarty_tpl->tpl_vars['data']->value['sensitive'];?>
"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                                            </td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
</td>
                                                                                            <td>
                                                                                                <a class=" btn-warning btn-xs wds3 deleteMAbbr "  href="javascript:;"  data-culture="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"
                                                                                                   data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"  data-tableName="investigationresults_culture_ms"   >
                                                                                                    <i class="fa fa-close"></i> 
                                                                                                </a>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                                                                                        <?php } ?>
                                                                                    </tbody>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                        <div class="clearfix"></div>
                                                                    </div>



                                                                    <div class="tab-pane" id="tab_2_3_sub<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
">
                                                                        <div class="row  nolabel" style="border:  1px solid black;">
                                                                            <div class="col-md-12">
                                                                                <table class="table table-striped table-hover table-bordered">
                                                                                    <thead>
                                                                                        <tr>
                                                                                            <th class="bold col-md-1"> <div align="center">No </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Abbr </div></th>
                                                                                            <th class="bold"> <div align="center">Scientific Name </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Sensit. </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Sensitivity </div></th>
                                                                                            <th class="wds3"></th>
                                                                                        </tr>
                                                                                    </thead>
                                                                                    <tbody id="ls_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_Container">
                                                                                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                                                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value->culture['investigationresults_culture_ls']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                                        <tr>
                                                                                            <td> <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
 </td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['abbr'];?>
</td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
</td>
                                                                                            <td>
                                                                                                <input type="text"  class="form-control updateInvest  notPop   " data-colName="sensitive"     
                                                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"  data-tableName="investigationresults_culture_ls" 
                                                                                                       value="<?php echo $_smarty_tpl->tpl_vars['data']->value['sensitive'];?>
"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                                            </td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
</td>
                                                                                            <td>
                                                                                                <a class=" btn-warning btn-xs wds3 deleteMAbbr "  href="javascript:;"  data-culture="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"
                                                                                                   data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"  data-tableName="investigationresults_culture_ls"   >
                                                                                                    <i class="fa fa-close"></i> 
                                                                                                </a>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                                                                                        <?php } ?>
                                                                                    </tbody>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                        <div class="clearfix"></div>
                                                                    </div>

                                                                    <div class="tab-pane" id="tab_2_4_sub<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
">
                                                                        <div class="row  nolabel" style="border:  1px solid black;">
                                                                            <div class="col-md-12">
                                                                                <table class="table table-striped table-hover table-bordered">
                                                                                    <thead>
                                                                                        <tr>
                                                                                            <th class="bold col-md-1"> <div align="center">No </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Abbr </div></th>
                                                                                            <th class="bold"> <div align="center">Scientific Name </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Sensit. </div></th>
                                                                                            <th class="bold col-md-2"> <div align="center">Sensitivity </div></th>
                                                                                            <th class="wds3"></th>
                                                                                        </tr>
                                                                                    </thead>
                                                                                    <tbody id="rs_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_Container">
                                                                                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                                                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value->culture['investigationresults_culture_rs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                                        <tr>
                                                                                            <td> <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
 </td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['abbr'];?>
</td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
</td>
                                                                                            <td>
                                                                                                <input type="text"  class="form-control updateInvest  notPop   " data-colName="sensitive"     
                                                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"  data-tableName="investigationresults_culture_rs" 
                                                                                                       value="<?php echo $_smarty_tpl->tpl_vars['data']->value['sensitive'];?>
"  <?php if ($_smarty_tpl->tpl_vars['archive']->value==1){?> disabled="" <?php }?> >
                                                                                            </td>
                                                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
</td>
                                                                                            <td>
                                                                                                <a class=" btn-warning btn-xs wds3 deleteMAbbr "  href="javascript:;"  data-culture="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
"
                                                                                                   data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"  data-tableName="investigationresults_culture_rs"   >
                                                                                                    <i class="fa fa-close"></i> 
                                                                                                </a>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                                                                                        <?php } ?>
                                                                                    </tbody>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                        <div class="clearfix"></div>
                                                                    </div>


                                                                </div>


                                                            </div>




                                                        </div>

                                                    </div>


                                                    <div class="col-md-6" style="padding-left: 20px;">
                                                        <div class="col-md-6" style="padding: 10px 3px;margin: 3px 0px; height: 37px;">
                                                            <div class="caption font-green-haze col-md-12">
                                                                <span class="caption-subject bold uppercase">  </span>
                                                            </div>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <div class="col-md-2">
                                                                <div class="form-group  form-md-floating-label has-info">
                                                                    <label for="abbr" class="txtc">Abbr</label>
                                                                    <input type="text"  class="form-control  notPop   "   id="abbr_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" >
                                                                </div>
                                                            </div>

                                                            <div class="col-md-6">
                                                                <div class="form-group  form-md-floating-label has-info">
                                                                    <label for="scientific_name" class="txtc">Scientific Name</label>
                                                                    <input type="text"  class="form-control  notPop   "   id="scientific_name_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" >
                                                                </div>
                                                            </div>

                                                            <div class="col-md-3">
                                                                <div class="form-group  form-md-floating-label has-info">
                                                                    <label for="sensitivity" class="txtc">Sensitivity</label>
                                                                    <input type="text"  class="form-control  notPop   "   id="sensitivity_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" >
                                                                </div>
                                                            </div>

                                                            <a class="btn btn-success btn-xs AddAbbr " i  href="javascript:;"  
                                                               data-culture="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" 
                                                               style=" float: right;margin-right: 0px; margin-top: 25px;"  >
                                                                <i class="fa fa-plus"></i> </a>
                                                        </div>

                                                        <div class="form-group col-md-12 " style=" float: left; ">
                                                            <table class="table table-striped table-hover table-bordered">
                                                                <thead>
                                                                    <tr>
                                                                        <th class="wds5"></th>
                                                                        <th class="bold"> <div align="center">Abbr </div></th>
                                                                        <th class="bold"> <div align="center">Scientific Name </div></th>
                                                                        <th class="bold"> <div align="center">Sensitivity </div></th>
                                                                    </tr>
                                                                </thead>
                                                                <tbody id="abbr_<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
_Container" class="abbr_Container">
                                                                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['antibiotic_sensitivity']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                                    <tr>
                                                                        <td>
                                                                            <a class=" btn-success btn-xs moveAbbr "  href="javascript:;" data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
" data-culture="<?php echo $_smarty_tpl->tpl_vars['inv']->value->culture['id'];?>
" >
                                                                                <i class="fa fa-arrow-left"></i> </a>
                                                                        </td>
                                                                        <td><?php echo $_smarty_tpl->tpl_vars['data']->value['abbr'];?>
</td>
                                                                        <td><?php echo $_smarty_tpl->tpl_vars['data']->value['scientific_name'];?>
</td>
                                                                        <td><?php echo $_smarty_tpl->tpl_vars['data']->value['sensitivity'];?>
</td>
                                                                    </tr>
                                                                    <?php } ?>
                                                                </tbody>
                                                            </table>
                                                        </div>

                                                    </div>
                                                </div>

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



                                        </div>


                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>


</div><?php }} ?>