<!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; />
<style type="text/css">
<!--
body,td,th {
font-family: Tahoma;
font-size: 11px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<style type="text/css">
<!--
a:link {
color: #404c1b;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
.style2 {color: #000000}
-->
</style></head>
<body>
<meta ; charset="utf-8"> <style type="text/css">
#sonyaz, {
border:1px solid #ffffff;
background-color:#f4f4f4;
color:#000000;
padding-left:10px;
font-color:#000000;
target="_blank"
display: none;
font-size:14px;
}
#son, {
text-color:#000000;
font-size:13px;
clear:both;
display: none;
</style>
<div id="sonyaz"><div class="son">
<?php
require("wp-config.php");
$son = wp_get_archives("echo=0&type=postbypost&limit=20&format=custom");
$kes = explode("<a", $son);
$kac = count($kes);
for($i=1;$i<$kac;$i++){
$href = explode("href='", $kes[$i]);
$href = explode("'", $href[1]);
$hedef = $href[0];
$title = explode("title='", $kes[$i]);
$title = explode("'", $title[1]);
$baslik = $title[0];
echo "<p><a href='".$hedef."' target='_blank' title='".$baslik."'>".$baslik."</a></p>";
}
?>
</div></div>
</body>
</html>dener misin?