<!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>Çok Satanlar</title>
<head>
<?php
$rss = simplexml_load_file('http://www.kitapyurdu.com/xml/coksatanlar.xml');
$title = $rss->channel->title;
?>
<?php
include "fonksiyon.php";
?>
<table width="100%" border="0">
<?php
for ( $i=0; $i<25; $i++)
{
if (fmod($i, 5)==0)
{
echo '<tr>';
}
$strsub=str_sub($rss->channel->item[$i]->description[0], strpos($rss->channel->item[$i]->description[0], "http://"), strpos($rss->channel->item[$i]->description[0], "boyut=60")+7);
$imgsrc=str_replace("www","dene","$strsub");
?>
<td align="center" width="20%" valign="top">
<table width="100%" border="0" height="100%">
<tr>
<td align="center"><a href="<?php echo $rss->channel->item[$i]->link; ?>" target="_blank"><img src="<?php echo "$imgsrc"; ?>" width="60" border="0"/></a></td>
</tr>
<tr>
<td align="center"><a href="<?php echo $rss->channel->item[$i]->link; ?>" target="_blank"><?php echo $rss->channel->item[$i]->title; ?></a></td>
</tr>
</table>
</td>
<?php
if (fmod($i, 5)==4)
{
echo '</tr>';
}
}
?>
</table>
</html>