<?php 
include "wp-blog-header.php"; 


///// DOMAIN BILGINI DUZELT 

$dcanmain = "http://siteadi.com";

////////////////

$v = mysql_query("select * from ".$table_prefix."posts order by ID desc limit 0,5"); 
while($b = mysql_fetch_assoc($v)){ 
$al = explode(" ",$b['post_title']);  
$tek = ""; 
for($y=0;$y<5;$y++){$tek .= $al[$y]." ";}   
echo "<a href='".$dcanmain."/?p=".$b['ID']."' />".$tek."</a><br />"; 
} 


?>