Warning: mysql_query(): Access denied for user 'u580738966'@'10.2.1.25' (using password: NO) in /home/u580738966/public_html/wp-content/themes/koydernek-v2/manset.php on line 5
Warning: mysql_query(): A link to the server could not be established in /home/u580738966/public_html/wp-content/themes/koydernek-v2/manset.php on line 5
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/u580738966/public_html/wp-content/themes/koydernek-v2-/manset.php on line 6
$_xml ='
';
	$resim 	= mysql_query("SELECT * FROM ".$table_prefix."postmeta LEFT OUTER JOIN ".$table_prefix."posts ON ".$table_prefix."postmeta.post_id = ".$table_prefix."posts.id Where ".$table_prefix."postmeta.meta_key='manset' ORDER By ".$table_prefix."postmeta.post_id DESC Limit 0,5");
		for ($j=0; $niphell=mysql_fetch_array($resim); $j++){
		$_xml .= '- '.$niphell[post_title].'
 '.htmlspecialchars(substr(strip_tags($niphell[post_content]),0,150)).']]>
		';
	}
$_xml .= ' ';	
$dosya = "wp-content/themes/".get_template()."/data.xml";
$file= fopen($dosya, 'w+') or die("dosya açılamadı");
fwrite($file, $_xml);
fclose($file);
echo '';?> 
  

 
                    
