<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Başlıksız Belge</title>
<style type="text/css">
.hepsi{ width:900px; height:700px; margin:10px auto; background:#fff}
.ust{ width:890px; height:30px; background:#900; float:left; font:bold 18px Tahoma, Geneva, sans-serif; color:#FFF; padding:10px 0 10px 10px}
.sol{ width:200px; height:650px; background:#000; float:left; opacity:0.5}
.ad{ width:190px; height:20px; float:left; margin:20px 0 0 10px; font:12px Tahoma, Geneva, sans-serif; color:#CCC;; text-decoration:none }
.ad a{ font:12px Tahoma, Geneva, sans-serif; color:#CCC;; text-decoration:none}
.sag{ width:600px; height:650; float:left}
table{
	margin: 20px 0 0 20px;
	font: 15px Tahoma, Geneva, sans-serif;
	/* [disabled]color:#999; */
}
td a{font:15px Tahoma, Geneva, sans-serif; color:#999; }
td a{font:15px Tahoma, Geneva, sans-serif; color:#999; }
#arka{ background:#Fff; text-align:center; margin:20px auto; opacity:0.9; border-radius:10px; }
#ad{ font:bold 18px Tahoma, Geneva, sans-serif; color:#036}
</style>
</head>

<body>
<?php
include("baglan.php");
?>
<form action=""> 
<input type="button" onclick="window.print();" value="Yazdır" />
</form>
<table width="1000" border="0" cellpadding="0" cellspacing="0" id="arka">
  <tr>
    <td colspan="5" align="center" id="ad" height="50">Öğrenci Bilgileri</td>
  </tr>
  <tr><td colspan="5" align="center" id="ad">Lise</td></tr>
   <?php
$sorgu="select * from lise ";
$veri=mysqli_query($baglan,$sorgu);
while($oku = mysqli_fetch_assoc($veri))
{
  ?>
  <tr height="20">
    <td><?php echo $oku["id"];?></td>
    <td><?php echo $oku["ad"];?></td>
    <td><a href="formdetay2.php?id=<?php echo $oku["id"] ?>&okulturu=lise">Düzenle</a></td>
    <td><a href="ogrsil.php?id=<?php echo $oku["id"];?>&okulturu=lise">Sil</a></td>
  </tr>
  <?php
}
?>
</table>
</body>
</html>