Arkadaşlar yazarın makalesini yayınlandığı sayfada, yazarın sadece bir yazısı gözükmekte, buna bir çare bulabilir miyiz?

yazar sayfası kodu
session_start();
ini_set('error_reporting', E_ALL^E_NOTICE);
?>

$sql_ayar = mysql_query("select * from ayarlar order by id");
$ayar=mysql_fetch_array($sql_ayar)
?>

@$id=$_GET['id'];
$sql_haber_ic = mysql_query("select * from haberler where id='".@$id."' order by id");
$go = mysql_fetch_array($sql_haber_ic)
?>
@$it=$_GET["id"];
$sql_makale = mysql_query("select * from yazar_makale where id='".@$it."' order by id");
$ada = mysql_fetch_array($sql_makale);
$sql_makale2 = mysql_query("select * from yazarlar where id='$ada[yazar_id]' order by id");
$basak = mysql_fetch_array($sql_makale2);
?>
function rep_xx_wol2($url)
{
$url = trim($url);
$url = strtolower($url);

$find = array('-');
$url = str_replace ($find, '.', $url);

$find = array(' ');
$url = str_replace ($find, '  ', $url);

return $url;
}
?>
<script>

</script>

<script>
var da = (document.all) ? 1 : 0;
var pr = (window.print) ? 1 : 0;
var mac = (navigator.userAgent.indexOf("Mac") != -1);

function printPage() {
if (pr) // NS4, IE5
window.print()
else if (da && !mac) // IE4 (Windows)
vbPrintPage()
else // other browsers
alert("Sorry, your browser doesn't support this feature.");
return false;
}

if (da && !pr && !mac) with (document) {
writeln('');
writeln('<' + 'SCRIPT LANGUAGE="VBScript">');
writeln('Sub window_onunload');
writeln(' On Error Resume Next');
writeln(' Set WB = nothing');
writeln('End Sub');
writeln('Sub vbPrintPage');
writeln(' OLECMDID_PRINT = 6');
writeln(' OLECMDEXECOPT_DONTPROMPTUSER = 2');
writeln(' OLECMDEXECOPT_PROMPTUSER = 1');
writeln(' On Error Resume Next');
writeln(' WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER');
writeln('End Sub');
writeln('<' + '/SCRIPT>');
}
</script>


"



"/>
"/>

">

<? echo"$basak[yazar_isim]"?> - <? echo"$ada[makale_baslik]"?> / <? echo"$ayar[site_adi]"?>


<script></script>
<script></script>






















" width="120" height="149" border="0">








Tarih :





@$id = $_GET['id'];
$sql_news2 = mysql_query("select * from yazar_makale where id='".@$id." order by id'");
while($yap2 = mysql_fetch_array($sql_news2))
{
mysql_query("UPDATE yazar_makale SET makale_hit = makale_hit+1 WHERE id = '" . $id . "'");
?>
Bu haber toplam defa okunmuştur













$asdasd = mysql_query("select * from yazar_makale where id='".@$it."' order by id");
while($del2 = mysql_fetch_array($asdasd))
{
$yorumlar = mysql_query("select * from yorumlar where icerik_id='$del2[id]' and tip='2' and yorum_yayinlansin='EVET' order by id desc limit 0,3");
while($del = mysql_fetch_array($yorumlar))
{
?>



/








@$haber_id= $_GET['haber_id'];
$forgu = mysql_query("SELECT * FROM yazar_makale WHERE id = '" . $id . "' ORDER BY id DESC LIMIT 0,1");
while($yaz = mysql_fetch_array($forgu)) {
$sorgu2 = mysql_query("SELECT * FROM yorumlar WHERE (icerik_id = '$yaz[id]') AND (yorum_yayinlansin='EVET') AND (tip='2') ORDER BY id DESC LIMIT 0,3");
$toplam = mysql_num_rows($sorgu2);
$kayitsay = mysql_num_rows($sorgu2);
if ($kayitsay<=0)
{
?>

}}
?>


$sql_reklaml = mysql_query("select * from reklamlar where yer='468x60_3' order by id desc limit 0,3");
while($ol=mysql_fetch_array($sql_reklaml))
{ ?>







Yazarın Diğer Yazıları


$id = $_GET['id'];
$sql_kat_haber22 = mysql_query("select * from yazar_makale where id='".@$id."' order by id desc limit 0,20");
while($bir = mysql_fetch_array($sql_kat_haber22))
{
$sql_kat22 = mysql_query("select * from yazarlar where id='$bir[yazar_id]' order by id");
while($iki = mysql_fetch_array($sql_kat22))
{
?>