<div align="center">
<table border="0" width="640" id="table4" cellpadding="0" style="border-collapse: collapse" height="32">
<tr>
<td height="32" background="images/mavi.jpg">
<span style="font-size: 9pt; font-family: Arial; color: #FFF;">
DOSYA ARŞİVİ
</span>
</td>
</tr>
</table>
</div>
<div align="center">
<table width="99%" cellspacing="0" cellpadding="0">
<tr>
<td height="40" style="border-left-width: 1px; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 1px">
<b><font face="Arial" style="font-size: 8pt"> DOSYA ARŞİVİ</font></b><font face="Arial" style="font-size: 8pt"><b>
</b>¬ ARŞİV LİSTESİ</font></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
<?php
$sno = 0;
$sayfa = $_GET["sayfa"];
if(empty($sayfa))
{
$sayfa = "1";
}
$limit = 30;
$satirsayisi = mysql_num_rows(mysql_query("SELECT * FROM arsiv"));
$sayfasayisi = ceil($satirsayisi / $limit);
$baslangic = ($sayfa-1)*$limit;
$sor = mysql_query("SELECT * FROM arsiv LIMIT $baslangic,$limit");
while($yaz = mysql_fetch_array($sor))
{
$id = $yaz["id"];
$baslik = $yaz["baslik"];
$arsiv = $yaz["arsiv"];
$tarih = $yaz["tarih"];
$sno++;
?>
<div align="center">
<table cellpadding="0" width="99%" height="27" style="; padding:0px" cellspacing="0" bordercolor="#E1E1E1">
<tr onmouseover="this.style.backgroundColor='#F2F2F2'" onmouseout="this.style.backgroundColor=''">
<td align="center" width="20" style="border-left-width: 1px; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px"><font face="Arial" style="font-size: 8pt"><b><?=$sno?></b></font></td>
<td align="left" width="250" style="border-left-width: 1px; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px"> <b><a href="../arsiv/<?=$arsiv?>"><?=$baslik?></a></b></td>
<td align="left" style="border-left-width: 1px; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px"> </td>
<td width="100" style="border-left-width: 1px; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px" align="right"><font color='#FF0000'><?=$tarih?> </font></td>
</tr>
</table>
</div>
<?php } ?> php tarihe göre sıralama yaptırma en son eklene en üstte
3
●1.028
- 31-07-2013, 15:46:35