<?php /* Smarty version Smarty-3.1.11, created on 2024-09-02 09:06:13
         compiled from "../views/obgy/sonar/scrollimg.html" */ ?>
<?php /*%%SmartyHeaderCode:42867116566d5e275575f35-37810450%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6224e545f189d70cef8ee5c5499f16f696efe03e' => 
    array (
      0 => '../views/obgy/sonar/scrollimg.html',
      1 => 1595917906,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '42867116566d5e275575f35-37810450',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'allsonar' => 0,
    'i' => 0,
    'sonar' => 0,
    'hosturl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66d5e275643874_50907383',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66d5e275643874_50907383')) {function content_66d5e275643874_50907383($_smarty_tpl) {?><!--div class="w3-center">
                  <div class="w3-section">
                      <button class="w3-button w3-light-grey" onclick="plusDivs(-1)">❮ Prev</button>
                      <button class="w3-button w3-light-grey" onclick="plusDivs(1)">Next ❯</button>
                  </div>
              </div-->


<div class="fileinput-preview thumbnail" data-trigger="fileinput" style="max-width:100%;" > 
    <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
    <?php  $_smarty_tpl->tpl_vars['sonar'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sonar']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allsonar']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sonar']->key => $_smarty_tpl->tpl_vars['sonar']->value){
$_smarty_tpl->tpl_vars['sonar']->_loop = true;
?>

    <img id="slideImg<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" class="mySlides" style="width:100%"    <?php if ($_smarty_tpl->tpl_vars['sonar']->value['imagename']){?> src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/sonar/<?php echo $_smarty_tpl->tpl_vars['sonar']->value['imagename'];?>
"<?php }?>/>

         <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_smarty_tpl->tpl_vars['i']->value+1, null, 0);?>
         <?php } ?>
</div>

<div class="w3-center" style="    background-color: #f1f1f1!important;">
    <div class="w3-section">
        <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
        <?php  $_smarty_tpl->tpl_vars['sonar'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sonar']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allsonar']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sonar']->key => $_smarty_tpl->tpl_vars['sonar']->value){
$_smarty_tpl->tpl_vars['sonar']->_loop = true;
?>
        <button class="w3-button demo" onclick="currentDiv(<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
)"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</button> 
        <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_smarty_tpl->tpl_vars['i']->value+1, null, 0);?>
        <?php } ?>
    </div>
</div><?php }} ?>