<?php include "inc/header.php";?>


<?php echo "Hoşgeldiniz Sayın $_SESSION[kullanici_adi] - ";
	 echo '<a href="logout.php">Çıkış Yap </a>'; ?>


<?php include "inc/sidebar.php"; 

if (@$_GET['sil']=="katsil"){  include 'inc/katsil.php'; } 
if (@$_GET['duzelt']=="katduzelt"){  include 'inc/katduzenle.php'; } 
if (@$_GET['update']=="guncelle"){  include 'inc/katupdate.php'; }




?>





<div class="yanyana">
<h3 class="anabaslik">Kategorileri düzenleme ve silme sayfası</h3>
<div class="formlar">


<?php
error_reporting(E_ALL ^ E_NOTICE); 
$sql = "SELECT * FROM kategoriler  ";
$result = mysql_query ($sql , $baglan1) or die (mysql_error());


	?>	

<?php while ($goster = mysql_fetch_array($result)) { ?>


<div class="tablo2">
<li class="no"><a href="kategoriler.php?sil=katsil&f_id=<?php echo $goster['id']; ?>" onclick="return confirm('<?php echo $goster['baslik'];  ?> 
Kategorisini Sil ?');"><img src="images/false.png" width="16" height="16" /></a> 

<a href="kategoriler.php?duzelt=katduzelt&id=<?php echo $goster['id']; ?>"><img src="images/edit.png" width="16" height="16" /></a></li>
<li class="baslik"><?php echo $goster['baslik']; } ?></li>

 


</div></div></div>

<div class="temizle"></div>

<div class="temizle"></div>
<div class="temizle"></div>

<div class="footer">
Copyright Webthec Admin Panel &copy; 2010-2011 
</div>


