<?php include 'header.php'; ?>
<div id="tabledata" class="section">
<h2 class="ico_mug">Son 5 Duyuru</h2>
<table id="table">
<thead>
<tr>
<th>Duyuru No.</th>
<th>Eklenme Tarihi</th>
<th>Duyuru Baþlýðý</th>
</tr>
</thead>
<tbody>
<?php
include 'ayar.php';
$listeisl = mysql_query("SELECT * FROM duyurular ORDER BY id DESC LIMIT 0,5");
while($listele = mysql_fetch_array($listeisl))
{
$did = $listele['id'];
$dbaslik = $listele['baslik'];
$dtarih = $listele['tarih'];
echo "<tr>
<td class=\"table_date\">$did</td>
<td class=\"table_title\"><span class=\"approved\">$dtarih</span></td>
<td>$dbaslik</td>
</tr>";
}
?>
</tbody>
</table>
<div align="right"><a href="tumduyurular.php">Tüm Duyurulara Bak >></a></div>
</div>
<div id="tabledata" class="section">
<h2 class="ico_mug">Banka Hesaplarý</h2>
<table id="table">
<thead>
<tr>
<th>Liste No.</th>
<th>Banka Adý</th>
<th>Þube Adý/Kodu</th>
<th>Hesap No</th>
<th>IBAN No</th>
<th>Hesap Sahibi</th>
</tr>
</thead>
<tbody>
<?php
include 'ayar.php';
$listeisl = mysql_query("SELECT * FROM bankabilgi");
while($listele = mysql_fetch_array($listeisl))
{
$bhid = $listele['id'];
$bhad = $listele['bankaadi'];
$bhno = $listele['hesapno'];
$bhino = $listele['iban'];
$bhkisi = $listele['hesapsahibi'];
$bhsube = $listele['subeadno'];
echo "<tr>
<td class=\"table_date\">$bhid</td>
<td class=\"table_title\"><span class=\"approved\">$bhad</span></td>
<td>$bhsube</td>
<td><span class=\"approved\">$bhno</span></td>
<td>$bhino</td>
<td><span class=\"approved\">$bhkisi</span></td>
</tr>";
}
?>
</tbody>
</table>
</div>
<?php include 'footer.php'; ?>