<?php require('includes/head.php');
  require 'connection/conn.php';
  $customer="select * from `customer2` where `active`=0 ";
  $customer_r=$conn->query($customer);
?>
<center><h2>کڕیارەکان</h2></center><br>
<table  dir=rtl border=3 width=90% align=center style="font-size:16pt">
<thead>
  <tr bgcolor="skyblue">
     
     
     <th>ناو</th>
     <th>ناو بە لاتینی</th>
	 <th>مۆبایل</th>
     <th>ناونیشان</th>
	 <?php if($pos==1){ ?>
   <th ><a  href="customer_new2.php"><img src="icon/add.png" width=25px></a></th>
    <th ><a  href="customer_list.php">Back</a></th>
   <?php }?>
    
  </tr>
  </thead>
  <tbody>
  <?php while($row=mysqli_fetch_array($customer_r)) { ?>
    <tr>
     <td><?php echo $row['customer_name'];?></td>
	 <td><?php echo $row['customer_name_latin'];?></td>
	 <td><?php echo $row['customer_mobile'];?></td>
     <td><?php echo $num1=$row['customer_address'];?></td>
     <th  width=65px>
   <?php if($pos==1){ ?>
   <a onclick='return confirm("دڵنیای لە گەڕانەوە");' href="item_hide.php?customer_id222=<?php echo $row['customer_id'];?>"><img src="icon/show.png" width=25px></a>
   <?php }?></th>
   <th  width=65px>
    <?php if($pos==1){ ?>
  <a href="customer_edit.php?id=<?php echo $row['customer_id'];?>"><img src="icon/edit.png" width=25px></a>
   <?php }?>
     </th></tr>
  <?php } ?>
  </tbody>
</table>

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



  