<?php /* Smarty version Smarty-3.1.11, created on 2024-08-15 12:58:13
         compiled from "../views/obgy/labdevices/device.html" */ ?>
<?php /*%%SmartyHeaderCode:17912000666bdd1357bd385-77117360%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f87331e650d80f82e4fd57e45aa0a62db3a9d1b5' => 
    array (
      0 => '../views/obgy/labdevices/device.html',
      1 => 1709812624,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17912000666bdd1357bd385-77117360',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'is_add' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'show' => 0,
    'device' => 0,
    'tableName' => 0,
    'deviceInvests' => 0,
    'data' => 0,
    'i' => 0,
    'group1' => 0,
    'cat' => 0,
    'inv' => 0,
    'j' => 0,
    'group2' => 0,
    'group3' => 0,
    'group4' => 0,
    'group5' => 0,
    'others' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66bdd135907498_12321919',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66bdd135907498_12321919')) {function content_66bdd135907498_12321919($_smarty_tpl) {?><style>
    table {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 100%;
        table-layout: fixed
    }

    td,
    th {
        border: 1px solid #000000;
        text-align: center;
        padding: 2px;
    }

    tr:nth-child(even) {
        background-color: #dddddd;
    }
</style>
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12 clinick invz" id="gprinModel">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>Analysis Device
                        </div>
                        <div class="actions">
                            <?php if (isset($_smarty_tpl->tpl_vars['is_add']->value)){?>
                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=complete_one&&show=<?php echo $_smarty_tpl->tpl_vars['show']->value;?>
&&id=<?php echo $_smarty_tpl->tpl_vars['device']->value->id;?>
&&tname=<?php echo $_smarty_tpl->tpl_vars['tableName']->value;?>
"
                               class="btn btn-default btn-sm pull-left" style="margin-right: 5px;">
                                save </a>
                            <?php }?>

                            <a href="javascript:;" class="btn default btn-sm" id="addDeviceInv">
                                <i class="fa fa-plus"></i> Choose Investigations  </a>

                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=<?php echo $_smarty_tpl->tpl_vars['show']->value;?>
"
                               class="btn btn-default btn-sm">
                                Show </a>

                        </div>
                    </div>
                    <div class="portlet-body all">

                        <!---======================================================== tab1============================================================================================ ----->

                        <div class="row">
                            <div id="ultrasoundgynaDiv">
                                <div class="row">
                                    <div class="portlet-body form">
                                        <form>
                                            <div class="form-body">
                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds25"> Device Name  : </th>
                                                            <td>
                                                                <input type="text"  class="form-control   updateElement"
                                                                       data-tableName="lab_devices" data-colName="name" 
                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['device']->value->id;?>
"   value="<?php echo $_smarty_tpl->tpl_vars['device']->value->name;?>
"   />
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>

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

                                                <div class="caption font-green-haze col-md-6">
                                                    <span class="caption-subject bold"> Device Investigations :
                                                    </span>
                                                </div>

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

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th> Category </th>
                                                            <th> Test Name </th>
                                                            <th class="wds10">Element </th>
                                                            <th class="wds9"> Sending Code </th>
                                                            <th class="wds9"> Receiving  Code </th>
                                                            <th class="wds12"> Range </th>
                                                            <th class="wds5"> Range L  </th>
                                                            <th class="wds5"> Range H  </th>
                                                            <th class="wds8"> Unit </th>
                                                            <th class="wds5"> Age From </th>
                                                            <th class="wds5"> Age To </th>
                                                            <th class="wds5"> Age Unit  </th>
                                                            <th class="wds5"> G </th>
                                                            <th class="wds3">  </th>
                                                        </tr>
                                                    </thead>
                                                    <tbody id="investigationsContainer">
                                                        <?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['deviceInvests']->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><?php echo $_smarty_tpl->tpl_vars['data']->value['catName'];?>
</td>
                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['invName'];?>
</td>
                                                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['invest_child'];?>
</td>
                                                            <td>
                                                                <input type="text"  class="form-control   updateElement"
                                                                       data-tableName="lab_devices_ranges" data-colName="send_code" 
                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['send_code'];?>
"   />
                                                            </td>
                                                            <td>
                                                                <input type="text"  class="form-control   updateElement"
                                                                       data-tableName="lab_devices_ranges" data-colName="receive_code" 
                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['receive_code'];?>
"   />
                                                            </td>
                                                            <td>
                                                                <textarea  id="range_txt" class="form-control  updateElement"  
                                                                           data-tableName="lab_devices_ranges" data-colName="range_txt" 
                                                                           data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   style="overflow-y: scroll;">
                                                                    <?php echo $_smarty_tpl->tpl_vars['data']->value['range_txt'];?>

                                                                </textarea>
                                                            </td>
                                                            <td>
                                                                <input type="text"  class="form-control   updateElement positivefloat"
                                                                       data-tableName="lab_devices_ranges" data-colName="range_low" 
                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['range_low'];?>
"   />
                                                            </td>
                                                            <td>
                                                                <input type="text"  class="form-control   updateElement positivefloat"
                                                                       data-tableName="lab_devices_ranges" data-colName="range_high" 
                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['range_high'];?>
"   />
                                                            </td>
                                                            <td>
                                                                <input type="text"  class="form-control   updateElement positivefloat"
                                                                       data-tableName="lab_devices_ranges" data-colName="invest_units" 
                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['invest_units'];?>
"   />
                                                            </td>
                                                            <td>
                                                                <input type="text"  class="form-control   updateElement positivefloat"
                                                                       data-tableName="lab_devices_ranges" data-colName="agefrom" 
                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['agefrom'];?>
"   />
                                                            </td>
                                                            <td>
                                                                <input type="text"  class="form-control   updateElement positivefloat"
                                                                       data-tableName="lab_devices_ranges" data-colName="ageto" 
                                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"   value="<?php echo $_smarty_tpl->tpl_vars['data']->value['ageto'];?>
"   />
                                                            </td>
                                                            <td>
                                                                <select class="form-control updateElement"   id="age_units" 
                                                                        data-tableName="lab_devices_ranges" data-colName="age_units" 
                                                                        data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
                                                                    <option value=""></option>
                                                                    <option value="1"  <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==1){?>  selected  <?php }?>>Year</option>
                                                                    <option value="2" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==2){?>  selected  <?php }?>>Month</option>
                                                                    <option value="3" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==3){?>  selected  <?php }?>>Day</option>
                                                                    <option value="4" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==4){?>  selected  <?php }?>>Hour</option>
                                                                    <option value="5" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==5){?>  selected  <?php }?>>Minute</option>
                                                                    <option value="6" <?php if ($_smarty_tpl->tpl_vars['data']->value['age_units']==6){?>  selected  <?php }?>>Second</option>
                                                                </select>
                                                            </td>
                                                            <td>
                                                                <select class="form-control updateElement"   id="gender" 
                                                                        data-tableName="lab_devices_ranges" data-colName="gender" 
                                                                        data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
                                                                    <option value=""></option>
                                                                    <option value="-1"  <?php if ($_smarty_tpl->tpl_vars['data']->value['gender']==-1){?>  selected  <?php }?>>All</option>
                                                                    <option value="0" <?php if ($_smarty_tpl->tpl_vars['data']->value['gender']==0){?>  selected  <?php }?>>F</option>
                                                                    <option value="1" <?php if ($_smarty_tpl->tpl_vars['data']->value['gender']==1){?>  selected  <?php }?>>M</option>
                                                                </select>
                                                            </td>
                                                            <td>
                                                                <a class="btn grey-cascade btn-xs deletemsgEX" data-id="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
" 
                                                                   style=" float: left;" href="#" data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
" 
                                                                   data-fn="del" data-tableName="lab_devices_ranges">
                                                                    <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>
                                        </form>
                                    </div>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>



<input type="hidden" id="controllName" value="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
">
<input type="hidden" id="labDevice" value="1"/>




<!--------------------------------------------------------------------------- add Investigation Model-------------------------------------------------------------------------------------->
<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" data-keyboard="false"  
     id="addPatientInvestigation" style="min-width:1000px;">
    <div class="modal-dialog  modal-lg wds95" style="max-width: 90%;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title">  </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form class="form-horizontal" role="form" action="" method="post" id="gynaInvest" enctype="multipart/form-data">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="portlet blue-hoki box">
                                    <div class="portlet-title">
                                        <div class="actions">
                                            <button type="button" class="btn green chooseDeviceInv"> Choose </button>
                                            <button type="button" class="btn default" id="closemodel" data-dismiss="modal"> Close</button>
                                        </div>
                                    </div>
                                    <div class="portlet-body">

                                        <input type="hidden"  id="deviceId"   name="deviceId"     value="<?php echo $_smarty_tpl->tpl_vars['device']->value->id;?>
"   />


                                        <div class="row" style="padding-left: 9px;padding-top:5px;overflow-y: scroll;">
                                            <div class="wds20 fleft">
                                                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                <?php  $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['group1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value){
$_smarty_tpl->tpl_vars['cat']->_loop = true;
?>

                                                <label style="font-weight:bold; text-decoration:underline" for="form_control_1"> <?php echo $_smarty_tpl->tpl_vars['cat']->value->name;?>

                                                    <span>
                                                        <input type="checkbox" data-gClass="<?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check" 
                                                               class=" checkDeviceInvGroup">
                                                    </span>
                                                </label>
                                                <div class="checkbox-list">
                                                    <?php $_smarty_tpl->tpl_vars['j'] = new Smarty_variable(1, null, 0);?>
                                                    <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['cat']->value->invests; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
                                                    <label>
                                                        <span>
                                                            <input type="checkbox" class=" <?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check  catInv" id="inv_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   name="invCheck[]"  data-name="<?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
" 
                                                                   data-price="<?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
">
                                                        </span> <?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
 ( <?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
 )
                                                    </label>

                                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'j', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['j']->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 } ?>
                                                </div>
                                                <?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 } ?>
                                            </div>

                                            <div class="wds20 fleft">
                                                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                <?php  $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['group2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value){
$_smarty_tpl->tpl_vars['cat']->_loop = true;
?>

                                                <label style="font-weight:bold; text-decoration:underline" for="form_control_1"> <?php echo $_smarty_tpl->tpl_vars['cat']->value->name;?>

                                                    <span>
                                                        <input type="checkbox" data-gClass="<?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check" 
                                                               class=" checkDeviceInvGroup">
                                                    </span>
                                                </label>
                                                <div class="checkbox-list">
                                                    <?php $_smarty_tpl->tpl_vars['j'] = new Smarty_variable(1, null, 0);?>
                                                    <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['cat']->value->invests; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
                                                    <label>
                                                        <span>
                                                            <input type="checkbox" class=" <?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check  catInv" id="inv_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   name="invCheck[]"  data-name="<?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
" 
                                                                   data-price="<?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
">
                                                        </span> <?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
 ( <?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
 )
                                                    </label>

                                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'j', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['j']->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 } ?>
                                                </div>
                                                <?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 } ?>
                                            </div>

                                            <div class="wds20 fleft">
                                                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                <?php  $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['group3']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value){
$_smarty_tpl->tpl_vars['cat']->_loop = true;
?>

                                                <label style="font-weight:bold; text-decoration:underline" for="form_control_1"> <?php echo $_smarty_tpl->tpl_vars['cat']->value->name;?>

                                                    <span>
                                                        <input type="checkbox" data-gClass="<?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check" 
                                                               class=" checkDeviceInvGroup">
                                                    </span>
                                                </label>
                                                <div class="checkbox-list">
                                                    <?php $_smarty_tpl->tpl_vars['j'] = new Smarty_variable(1, null, 0);?>
                                                    <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['cat']->value->invests; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
                                                    <label>
                                                        <span>
                                                            <input type="checkbox" class=" <?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check  catInv" id="inv_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   name="invCheck[]"  data-name="<?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
" 
                                                                   data-price="<?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
">
                                                        </span> <?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
 ( <?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
 )
                                                    </label>

                                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'j', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['j']->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 } ?>
                                                </div>
                                                <?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 } ?>


                                            </div>

                                            <div class="wds20 fleft">
                                                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                <?php  $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['group4']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value){
$_smarty_tpl->tpl_vars['cat']->_loop = true;
?>

                                                <label style="font-weight:bold; text-decoration:underline" for="form_control_1"> <?php echo $_smarty_tpl->tpl_vars['cat']->value->name;?>

                                                    <span>
                                                        <input type="checkbox" data-gClass="<?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check" 
                                                               class=" checkDeviceInvGroup">
                                                    </span>
                                                </label>
                                                <div class="checkbox-list">
                                                    <?php $_smarty_tpl->tpl_vars['j'] = new Smarty_variable(1, null, 0);?>
                                                    <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['cat']->value->invests; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
                                                    <label>
                                                        <span>
                                                            <input type="checkbox" class=" <?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check  catInv" id="inv_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   name="invCheck[]"  data-name="<?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
" 
                                                                   data-price="<?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
">
                                                        </span> <?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
 ( <?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
 )
                                                    </label>

                                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'j', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['j']->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 } ?>
                                                </div>
                                                <?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 } ?>


                                            </div>

                                            <div class="wds20 fleft">

                                                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                <?php  $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['group5']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value){
$_smarty_tpl->tpl_vars['cat']->_loop = true;
?>

                                                <label style="font-weight:bold; text-decoration:underline" for="form_control_1"> <?php echo $_smarty_tpl->tpl_vars['cat']->value->name;?>

                                                    <span>
                                                        <input type="checkbox" data-gClass="<?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check" 
                                                               class=" checkDeviceInvGroup">
                                                    </span>
                                                </label>
                                                <div class="checkbox-list">
                                                    <?php $_smarty_tpl->tpl_vars['j'] = new Smarty_variable(1, null, 0);?>
                                                    <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['cat']->value->invests; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
                                                    <label>
                                                        <span>
                                                            <input type="checkbox" class=" <?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check  catInv" id="inv_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   name="invCheck[]"  data-name="<?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
" 
                                                                   data-price="<?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
">
                                                        </span> <?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
 ( <?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
 )
                                                    </label>

                                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'j', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['j']->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 } ?>
                                                </div>
                                                <?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 } ?>

                                                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                                <?php  $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['others']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value){
$_smarty_tpl->tpl_vars['cat']->_loop = true;
?>

                                                <label style="font-weight:bold; text-decoration:underline" for="form_control_1"> <?php echo $_smarty_tpl->tpl_vars['cat']->value->name;?>

                                                    <span>
                                                        <input type="checkbox" data-gClass="<?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check" 
                                                               class=" checkDeviceInvGroup">
                                                    </span>
                                                </label>
                                                <div class="checkbox-list">
                                                    <?php $_smarty_tpl->tpl_vars['j'] = new Smarty_variable(1, null, 0);?>
                                                    <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['cat']->value->invests; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
                                                    <label>
                                                        <span>
                                                            <input type="checkbox" class=" <?php echo $_smarty_tpl->tpl_vars['cat']->value->id;?>
_Check  catInv" id="inv_<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
" 
                                                                   value="<?php echo $_smarty_tpl->tpl_vars['inv']->value->id;?>
"   name="invCheck[]"  data-name="<?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
" 
                                                                   data-price="<?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
">
                                                        </span> <?php echo $_smarty_tpl->tpl_vars['inv']->value->name;?>
 ( <?php echo $_smarty_tpl->tpl_vars['inv']->value->price;?>
 )
                                                    </label>

                                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'j', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['j']->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 } ?>
                                                </div>
                                                <?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 } ?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>




<?php }} ?>