<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="{$path}/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="text" name="search_text" style="width: 350px;text-align: center;" id="myTexts" placeholder="Search by barcode " class="form-control"   />
                    </div>
                    <button type="submit" id="submit" style="display: none;"></button>
                </form>





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

                    <div style="text-align: center;">
                        {foreach $Programs as $data}
                        <div  >
                            <img src="../views/default/images/upload/productbycodeimage/{$data->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>
                        {/foreach}
                    </div>



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

                    <div style="text-align: center;">
                        {foreach $Programs as $data}
                        <div  >
                            <img src="../views/default/images/upload/productbycodeimage/{$data->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>
                        {/foreach}
                    </div>



                </div>

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

