Ekliyorum Şu Şekilde Çıkıyor;

Ekle.php Kodlarım;
<?php
function anasayfa($kategori, $altkategori){
global $baglanti;
sayfaac("YÖNETİM PANELİ - MAKALE EKLE - SEÇİM YAP");
include("spaw2/spaw.inc.php");
include("fckeditor.php") ;
$spa = new SpawEditor("icerik");
?>
<table border="1" width="100%" height="71" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
<form action="?op=makaleekle" method="post">
<tr>
<td height="24" width="160"><b> Kategori Seç</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><select onchange="submit()" size="1" name="kategori"><option value="">Lütfen Kategori Seçin</option>
<?php
$kategoricek=@mysql_query("select id, katadi from "._BURAK."kategoriler");
while(list($id, $katadi)=mysql_fetch_row($kategoricek))
if($kategori == $id) echo "<option value=$id selected>$katadi</option>";
else echo "<option value=$id>$katadi</option>";
?>
</select></td>
</tr>
</table>
</form>
<?
if($kategori){
?>
<table border="1" width="100%" height="71" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
<form action="?op=makaleekle&kategori=<?=$kategori?>" method="post">
<tr>
<td height="24" width="160"><b> Alt Kategori Seç</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><select onchange="submit()" size="1" name="altkategori"><option value="">Lütfen Alt Kategori Seçin</option>
<?php
$kategoricek=@mysql_query("select id, katadi from "._BURAK."altkategori where anakatid='$kategori'");
while(list($id, $katadi)=mysql_fetch_row($kategoricek))
if($altkategori == $id) echo "<option value=$id selected>$katadi</option>";
else echo "<option value=$id>$katadi</option>";
?>
</select></td>
</tr>
</table>
</form>
<?
?>
<table border="1" width="100%" height="71" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
<form action="?op=makaleekle&tur=makalekaydet&kategori=<?=$kategori?>&altkategori=<?=$altkategori?>" method="post">
<tr>
<td height="24" width="160"><b> Alt-Alt Kategori Seç</b></td><option value="">Lütfen Alt Kategori Seçin</option>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><select size="1" name="altaltkategori">
<option value="">Lütfen Alt2 Kategori Seçin</option><?php
$kategoricek=@mysql_query("select id, katadi from "._BURAK."altkategoriiki where altkatid='$altkategori'");
while(list($id, $katadi)=mysql_fetch_row($kategoricek))
echo "<option value=$id>$katadi</option>";
?>
</select></td>
</tr>
<tr>
<td height="24" width="160"><b> Makale Başlığı</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><input type="text" name="baslik" size="45"></td>
</tr>
<tr>
<td height="24" width="160"><b> Tag Ekleyin</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><input type="text" name="tag" size="45"></td>
</tr>
<tr>
<td height="24" width="897" colspan="3">
<p align="center">
<?php
$spa ->show();
?>
</td>
</tr>
<tr>
<td height="24" width="192" colspan="2"> </td>
<td height="24" width="699">
<input type="submit" value="Makaleyi Kaydet"></td>
</tr>
</table>
</form>
<?
}
sayfakapat();
}
//
function makalekaydet($kategori, $altkategori, $altaltkategori, $icerik, $baslik, $tag){
global $baglanti;
sayfaac("YÖNETİM PANELİ - ALT KATEGORİ KAYIT EDİLİYOR");
if(! $icerik){
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/reddet.gif" width="46" height="47"><br>
<br>
<b>Makale İçeriğini Boş Geçemezsiniz...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}else{
$tarih=date("Y-m-d");
$kaydetbakalim=@mysql_query("insert into "._BURAK."makaleler (anakatid, altkatid, altaltid, baslik, icerik, tarih, tag) values ('$kategori', '$altkategori', '$altaltkategori', '$baslik', '$icerik', '$tarih', '$tag')");
if(! $kaydetbakalim){
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/reddet.gif" width="46" height="47"><br>
<br>
<b>Makale Eklenirken Bir Hata Meydana Geldi - Lütfen Tekrar Deneyiniz...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}else{
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/onay.gif" width="46" height="47"><br>
<br>
<b>Makale Sisteme Başarıyla Eklenmiştir...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}
}
sayfakapat();
}
//
function anakategori(){
global $baglanti;
sayfaac("YÖNETİM PANELİ - MAKALE EKLE - ANA KATEGORİ");
include("spaw2/spaw.inc.php");
$spa = new SpawEditor("icerik");
?>
<table border="1" width="100%" bgcolor="#F5F5F5" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
<form action="?op=makaleekle&tur=anakategorikaydet" method="post">
<tr>
<td height="24" width="160"><b> Kategori Seç</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><select size="1" name="kategori">
<?php
$kategoricek=@mysql_query("select id, katadi from "._BURAK."kategoriler");
while(list($id, $katadi)=mysql_fetch_row($kategoricek))
echo "<option value=$id>$katadi</option>";
?>
</select></td>
</tr>
<tr>
<td height="24" width="160"><b> Makale Başlığı</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><input type="text" name="baslik" size="45"></td>
</tr>
<tr>
<td height="24" width="897" colspan="3">
<p align="center">
<?php
$spa ->show();
?>
</td>
</tr>
<tr>
<td height="24" width="192" colspan="2"> </td>
<td height="24" width="699">
<input type="submit" value="Makaleyi Kaydet"></td>
</tr>
</form>
</table>
<?
sayfakapat();
}
function altkategori(){
global $baglanti;
sayfaac("YÖNETİM PANELİ - MAKALE EKLE - ALT KATEGORİ");
include("spaw2/spaw.inc.php");
$spa = new SpawEditor("icerik");
?>
<table border="1" width="100%" bgcolor="#F5F5F5" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
<form action="?op=makaleekle&tur=altkategorikaydet" method="post">
<tr>
<td height="24" width="160"><b> Kategori Seç</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><select size="1" name="kategori">
<?php
$kategoricek=@mysql_query("select id, katadi from "._BURAK."altkategori");
while(list($id, $katadi)=mysql_fetch_row($kategoricek))
echo "<option value=$id>$katadi</option>";
?>
</select></td>
</tr>
<tr>
<td height="24" width="160"><b> Makale Başlığı</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><input type="text" name="baslik" size="45"></td>
</tr>
<tr>
<td height="24" width="897" colspan="3">
<p align="center">
<?php
$spa ->show();
?>
</td>
</tr>
<tr>
<td height="24" width="192" colspan="2"> </td>
<td height="24" width="699">
<input type="submit" value="Makaleyi Kaydet"></td>
</tr>
</form>
</table>
<?
sayfakapat();
}
function altkategori2(){
global $baglanti;
sayfaac("YÖNETİM PANELİ - MAKALE EKLE - ALT KATEGORİ 2");
include("spaw2/spaw.inc.php");
$spa = new SpawEditor("icerik");
?>
<table border="1" width="100%" bgcolor="#F5F5F5" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
<form action="?op=makaleekle&tur=altkategori2kaydet" method="post">
<tr>
<td height="24" width="160"><b> Kategori Seç</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><select size="1" name="kategori">
<?php
$kategoricek=@mysql_query("select id, katadi from "._BURAK."altkategoriiki");
while(list($id, $katadi)=mysql_fetch_row($kategoricek))
echo "<option value=$id>$katadi</option>";
?>
</select></td>
</tr>
<tr>
<td height="24" width="160"><b> Makale Başlığı</b></td>
<td height="24" width="26">
<p align="center"><b>:</b></td>
<td height="24" width="699"><input type="text" name="baslik" size="45"></td>
</tr>
<tr>
<td height="24" width="897" colspan="3">
<p align="center">
<?php
$spa ->show();
?>
</td>
</tr>
<tr>
<td height="24" width="192" colspan="2"> </td>
<td height="24" width="699">
<input type="submit" value="Makaleyi Kaydet"></td>
</tr>
</form>
</table>
<?
sayfakapat();
}
function anakategorikaydet($kategori, $icerik, $baslik){
global $baglanti;
sayfaac("YÖNETİM PANELİ - ALT KATEGORİ KAYIT EDİLİYOR");
if(! $icerik){
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/reddet.gif" width="46" height="47"><br>
<br>
<b>Makale İçeriğini Boş Geçemezsiniz...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}else{
$tarih=date("Y-m-d");
$kaydetbakalim=@mysql_query("insert into "._BURAK."makaleler (anakatid, baslik, icerik, tarih) values ('$kategori', '$baslik', '$icerik', '$tarih')");
if(! $kaydetbakalim){
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/reddet.gif" width="46" height="47"><br>
<br>
<b>Makale Eklenirken Bir Hata Meydana Geldi - Lütfen Tekrar Deneyiniz...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}else
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/onay.gif" width="46" height="47"><br>
<br>
<b>Makale Sisteme Başarıyla Eklenmiştir...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}
sayfakapat();
}
function altkategorikaydet($kategori, $icerik, $baslik){
global $baglanti;
sayfaac("YÖNETİM PANELİ - ALT KATEGORİ KAYIT EDİLİYOR");
if(! $icerik){
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/reddet.gif" width="46" height="47"><br>
<br>
<b>Makale İçeriğini Boş Geçemezsiniz...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}else{
$tarih=date("Y-m-d");
$kaydetbakalim=@mysql_query("insert into "._BURAK."makaleler (altkatid, baslik, icerik, tarih) values ('$kategori', '$baslik', '$icerik', '$tarih')");
if(! $kaydetbakalim){
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/reddet.gif" width="46" height="47"><br>
<br>
<b>Makale Eklenirken Bir Hata Meydana Geldi - Lütfen Tekrar Deneyiniz...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}else
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/onay.gif" width="46" height="47"><br>
<br>
<b>Makale Sisteme Başarıyla Eklenmiştir...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}
sayfakapat();
}
function altkategori2kaydet($kategori, $icerik, $baslik){
global $baglanti;
sayfaac("YÖNETİM PANELİ - ALT KATEGORİ KAYIT EDİLİYOR");
if(! $icerik){
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/reddet.gif" width="46" height="47"><br>
<br>
<b>Makale İçeriğini Boş Geçemezsiniz...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}else{
$tarih=date("Y-m-d");
$kaydetbakalim=@mysql_query("insert into "._BURAK."makaleler (altaltid, baslik, icerik, tarih) values ('$kategori', '$baslik', '$icerik', '$tarih')");
if(! $kaydetbakalim){
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/reddet.gif" width="46" height="47"><br>
<br>
<b>Makale Eklenirken Bir Hata Meydana Geldi - Lütfen Tekrar Deneyiniz...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}else
?>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#E6E6E6" width="100%">
<tr>
<td width="100%" bgcolor="#F3F3F3">
<p align="center"><br>
<img border="0" src="Resimler/onay.gif" width="46" height="47"><br>
<br>
<b>Makale Sisteme Başarıyla Eklenmiştir...</b></p>
<p align="center"><b>Lütfen Bekleyiniz <font color="#FF0000">5 Saniye </font>
Sonra Yönlendirileceksiniz...</b><br>
</td>
</tr>
</table>
<meta http-equiv="Refresh" content="0; URL=?op=makaleekle">
<?
}
sayfakapat();
}
if(!isset($tur)) $tur="anasayfa";
switch ($tur) {
case "anasayfa": anasayfa($kategori, $altkategori);break;
case "anakategori": anakategori();break;
case "altkategori": altkategori();break;
case "altkategori2": altkategori2();break;
case "anakategorikaydet": anakategorikaydet($kategori, $icerik, $baslik);break;
case "altkategorikaydet": altkategorikaydet($kategori, $icerik, $baslik);break;
case "altkategori2kaydet": altkategori2kaydet($kategori, $icerik, $baslik);break;
case "makalekaydet": makalekaydet($kategori, $altkategori, $altaltkategori, $icerik, $baslik, $tag);break;
}
?> Httacces Kodlarım...
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> Options +FollowSymlinks RewriteEngine On RewriteRule ^anasayfa.html$ index.php [L] RewriteRule ^kategoriler.html$ kategoriler.php [L] RewriteRule ^(.*)/$ kategorilist.php?id=$1 [L] RewriteRule ^(.*)-([0-9]+)$ kategori1.php?id=$2 [L] RewriteRule ^(.*)/([0-9]+)/(.*).html$ makaledetay.php?makale_id=$2 [L] RewriteRule ^tag/(.*)$ Arama.php?q=$1 [L] RewriteRule ^(.*)/(.*).html$ kategori2.php?id=$1 [L]