<?php /* Smarty version Smarty-3.1.11, created on 2024-08-20 21:34:26
         compiled from "../views/obgy/invoffer/add.html" */ ?>
<?php /*%%SmartyHeaderCode:75952325966c4e1b26e6aa8-38380209%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c2af68a04deff005601c5ceee19694af8a1bc294' => 
    array (
      0 => '../views/obgy/invoffer/add.html',
      1 => 1709389195,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '75952325966c4e1b26e6aa8-38380209',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hosturl' => 0,
    'controllname' => 0,
    'group1' => 0,
    'cat' => 0,
    'inv' => 0,
    'j' => 0,
    'i' => 0,
    'group2' => 0,
    'group3' => 0,
    'group4' => 0,
    'group5' => 0,
    'others' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66c4e1b283cfe6_58682929',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66c4e1b283cfe6_58682929')) {function content_66c4e1b283cfe6_58682929($_smarty_tpl) {?>
<div class="page-content-wrapper">
    <div class="page-content all">
        <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=addit" method="post" enctype="multipart/form-data">
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet box blue">
                        <div class="portlet-title" style="height: 5px">
                            <div class="caption">
                                <i class="fa fa-edit"></i> Investigation Offer
                            </div>
                            <div class="actions">
                                <a class="btn default btn-xs blue tooltips" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=index" data-container="body" data-placement="top" data-original-title="Show">
                                    Show items
                                </a>
                                <button type="submit" id="saveOffer" class="btn default" style="float: right;">
                                    Save Offer
                                </button>
                            </div>
                        </div>
                        <div class="portlet-body" >
                            <div class="form-body">
                                <div class="form-body">

                                    <input type="hidden"  name="inv_itr" id="inv_itr"   value="0"/>

                                    <table class="table table-striped table-hover table-bordered">
                                        <tbody>
                                            <tr>
                                                <td class="wds15">  Offer Name  </td>
                                                <td>    <input type="text" class="form-control"  name="name"  value="" required/> </td>
                                                <td class="wds15">    Offer Total Price     </td>
                                                <td class="wds20">
                                                    <input type="text" class="form-control" name="totalPrice" id="totalPrice"  
                                                           readonly  value="0" />
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>

                                    <div id="invoffers"  ></div>


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

                                    <div class="row" style="margin-top : 20px !important ;">
                                        <div class="col-md-12">
                                            <div class="portlet box blue">
                                                <div class="portlet-title" style="height: 5px">
                                                    <div class="caption">
                                                        <i class="fa fa-edit"></i> Investigations
                                                    </div>
                                                </div>
                                                <div class="portlet-body" >
                                                    <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-body">

                                                                        <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=" checkOfferInvGroup">
                                                                                    </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=" checkOfferInvGroup">
                                                                                    </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=" checkOfferInvGroup">
                                                                                    </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=" checkOfferInvGroup">
                                                                                    </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=" checkOfferInvGroup">
                                                                                    </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=" checkOfferInvGroup">
                                                                                    </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 class="form-body">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

<input type="hidden" id="controllName" value="invoffers"/>
<input type="hidden" id="invOffers" value="1"/>

<?php }} ?>