<?php /* Smarty version Smarty-3.1.11, created on 2025-02-24 06:59:28
         compiled from "../views/default/productbycodename/show.html" */ ?>
<?php /*%%SmartyHeaderCode:89623759767bbfcb09997d4-00428715%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '034a34c6208887a1bafc9a9551aba5dc1c1e6936' => 
    array (
      0 => '../views/default/productbycodename/show.html',
      1 => 1740000151,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '89623759767bbfcb09997d4-00428715',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'path' => 0,
    'Programs' => 0,
    'data' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67bbfcb09c8a60_65725906',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67bbfcb09c8a60_65725906')) {function content_67bbfcb09c8a60_65725906($_smarty_tpl) {?><body class="usedfont" style="
      background-color: #f3b2e8;
      ">
    <div class="row" >
        <div style="background-color: #ef63d775;min-height: 600px;border:2px solid #ccc">

            <div  style="height: 40px;background-color: #000;border-radius: 4px">
                <div style="float: right;">
                    <img src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/img/images.png" style="width: 50px;height: 30px;padding:0px 10px 0px 0px;">
                    <span class="caption-subject font  " style="color: #fff;font-size: 20px" >بحث المنتج  بالاسم </span>
                </div>
                <form action="productbycode.php" method="post" id="searchByParcodeForm">
                    <div class="form-group" style="float: left;margin-left:300px;padding-top: 3px">
                        <input type="hidden" id="mynameTexts" name="product" class="select2product">

                    </div>
                    <button type="submit" id="submit" style="display: none;"></button>
                </form>





                <div class="container" id="ress">

                    <div style="text-align: center;">
                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['Programs']->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;
?>
                        <div  >
                            <img src="../views/default/images/upload/productbycodeimage/<?php echo $_smarty_tpl->tpl_vars['data']->value->productbycodeimage;?>
" style="width: 100%;max-height: 400px;border:2px solid #000;border-radius: 4px" />
                        </div>
                        <div style="clear: both;"></div>
                        <div >
                            <h1 style="color: #000;font-size: 70px;font:bolder;font-weight:bolder;" > اظهار المنتج بالاسم    </h1>

                        </div>
                        <?php } ?>
                    </div>



                </div>
                <div class="container" id="ressEmpty" style="display: none;">

                    <div style="text-align: center;">
                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['Programs']->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;
?>
                        <div  >
                            <img src="../views/default/images/upload/productbycodeimage/<?php echo $_smarty_tpl->tpl_vars['data']->value->productbycodeimage;?>
" style="width: 100%;max-height: 400px;border:2px solid #000;border-radius: 4px" />
                        </div>
                        <div style="clear: both;"></div>
                        <div >
                            <h1 style="color: #000;font-size: 70px;font:bolder;font-weight:bolder;" > اظهار المنتج بالباركود    </h1>

                        </div>
                        <?php } ?>
                    </div>



                </div>

            </div>
            <div id="resserror" style="text-align: center;"></div>

<?php }} ?>