<?php require('includes/head.php');
  require 'connection/conn.php';
  $item="select * from `items` where `active`=1 and `store_number`<`target`";
  $item_r=$conn->query($item);
?>
<div class="container">
          <div class="page-inner">
            <div class="page-header">
              <h3 class="fw-bold mb-3"> کاڵا کەم بووەکان</h3>
              <ul class="breadcrumbs mb-3">
                <li class="nav-home">
                  <a href="home.php">
                    <i class="icon-home"></i>
                  </a>
                </li>
                <li class="separator">
                  <i class="icon-arrow-right"></i>
                </li>
                <li class="nav-item">
                  <a href="#"></a>
                </li>
                <li class="separator">
                  <i class="icon-arrow-right"></i>
                </li>
                <li class="nav-item">
                  <a href="#"></a>
                </li>
              </ul>
            </div>
            <div class="row">
              <div class="col-md-12">
                <div class="card">
                  
                  <div class="card-body">
                    <div class="table-responsive">
                      <table
                        id="basic-datatables"
                        class="display table table-striped table-hover"
                      >
<thead>
  <tr >
     <th></th><th></th>
     <th>کۆد</th>
     <th>ناو</th>
     <th>ناو بە لاتینی</th>
	 <th>ژمارە </th>
	 
	    <th>تارگێت</th>
	 
    
  </tr>
  </thead>
  <tbody>
  <?php $count=1; while($row=mysqli_fetch_array($item_r)) { ?>
    <tr>
	<td><?php echo $count; $count++;?></td>
	<td><img src="item_image/<?php echo $row['item_image'];?>" height=40px></td>
     <td><?php echo $row['code'];?></td>
	 <td><?php echo $row['name'];?></td>
	 <td><?php echo $row['name_latin'];?></td>
     <td><?php echo $num1=$row['store_number'];?></td>
	
	 <td><?php echo $row['target'];?></td>
    </tr>
  <?php } ?>
  
  
  	
						
                         
                         
                       
                        
                       
                        </tbody>
                      </table>
                    </div>
                  </div>
                </div>
              </div>
			  
			  </div>
          </div>
        </div>


  
  
  
  
  
<?php require'includes/foot.php';?>


  