<meta http-equiv="content-type" content="text/html; charset=windows-1254">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-9">
 
 
<div class="row">
  <div class="nav-tabs-custom">
                                 
<div class="box">
<div class="box-header">
<h3 class="box-title">Arayanlar Listesi</h3>
</div><!-- /.box-header -->
<div class="box-body table-responsive">
                              <table id="example2" class="table table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>Arama Tarihi</th>
                                                <th>Adı ve Soyadı</th>
                                               <th>Açıklama</th>
                                                <th>Telefon Numarası</th>
                                               
                                            </tr>
                                        </thead>
                                        <tbody>		
 	<tr>

<?php

 include("baglan.php");
	
$gosterim=30;
 $sayfa=@$_GET['sayfa'];
 
if(empty($sayfa) || !is_numeric($sayfa)){$sayfa=1;}

 
$k_sayisi=mysql_num_rows(mysql_query("Select ARAMA_ID From aramalar"));
 
$s_sayisi=ceil($k_sayisi/$gosterim);
 
$ilk_kayit=($sayfa*$gosterim)-$gosterim;
	
	
	
  
  $sql = mysql_query("SELECT * FROM aramalar  Order By ARAMA_ID desc Limit $ilk_kayit,$gosterim");
 $i = 0; 
    $sutun    = 1;  
$s    = 0; 
    
    


	while($veri = mysql_fetch_assoc($sql)) 
	
    { 
	
$i++; 

    

	
        echo ' 
      	


 <td><b>',$veri["ARAMA_TARIH"],'</b></td>
	<td><b>',$veri["ARAMA_BASLIK"],'</b></td>
 <td  >',$veri["ARAMA_ACIKLAMA"],'</td>
	<td  >',$veri["ARAMA_TEL"],'</td>

 
<td><a  href="admin.php?target=aramaduzenle&?&ARAMA_ID=',$veri["ARAMA_ID"],'"> 

<button  class="btn btn-success btn-sm" ><i class="fa fa-fw fa-edit"></i>Düzenle</button></a></td>


    <td width="90px" ><a class="kayit_sil" href="admin.php?target=arayansil-islem&?&ARAMA_ID=',$veri["ARAMA_ID"],'" onclick="return confirmDel();"><button class="btn btn-danger btn-sm">Sil</button></a>    </td>
   


 
			

				
				
				 </tr> 
				'; 
		
		
        if ($i % $sutun == 0) 
        { 
        echo ' 
 

<ul class="pagination">
   '; 
        } 
    } 

if($sayfa!=1){
   
}

for($i=1;$i<=$s_sayisi;$i++){
    

}

if($sayfa!=$s_sayisi){
  

} 
?> 

</div>
    </div>

                                            
                                        </tfoot>
                                    </table>
                                </div>
     
    </div>
               