Arkadaşlar admin panelinden içerik ekleyebiliyorum. Fakat düzenleme yapamıyorum...
Düzeltiyorum. Kayıt ettikten sonra bakıyorum ama değişmiyor. aynı yine...
duzenle bölümünün kodları; acaba nerede hata var?
<?php header("Content-Type: text/html; charset=windows-1254"); header("Content-language: TR;"); ?>
<?include("../inc.php");?><html>
<head>
<title>Yönetim Paneline Ho$ Geldiniz..</title>
<meta http-equiv="Content-Language" content="tr">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1254">
<meta name="title" content="">
</head>
<body style="background-color: #E1E1E1">
<TABLE id=table39 cellSpacing=0 cellPadding=0 width=923 align=center>
<TBODY>
<TR>
<TD width=923 height=13>
<IMG src="back_top.gif" width="922" height="23"></TD></TR>
<TR>
<TD>
<TABLE id=table40 cellSpacing=0 cellPadding=0 bgColor=#ffffff width="923">
<TBODY>
<TR>
<TD width=12> </TD>
<TD vAlign=top width=911>
<TABLE style="WIDTH: 904px" cellSpacing=0 cellPadding=0 border=0 id="table46">
<TBODY>
<TR>
<TD style="WIDTH: 904px"
vAlign=top>
<p><font size="7" face="Arial"><b>YÖNETİM PANELİNE
HOŞGELDİNİZ</b></font></p>
<p> </TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD align=middle width=923 bgColor=#ffffff height=16>
<table border="1" width="100%" id="table64" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px dotted #006666">
<tr>
<td>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254" />
<title>Sprite Menu</title>
<link rel="stylesheet" href="menu_style.css" type="text/css" media="all" />
</head>
<body>
<div>
<ul id='menu'>
<li class="button"><a href="admin.php">Anasayfa</a></li>
<li class="button"><a target="frame_ismi" href="acikliseduyru.php">Açık Lise Duyuruları</a></li>
<li class="button"><a target="frame_ismi" href="acikilkduyru.php">Açık İlkÖğretim Duyuruları</a></li>
<li class="button"><a target="frame_ismi" href="acikmeslekduyru.php">Açık Meslek Lisesi Duyuruları</a></li>
<li class="button"><a target="frame_ismi" href="genel.php">Kurum Duyuruları</a></li>
</ul>
</div><!-- End of Nav Div -->
</body>
</html>
</td>
</tr>
</table>
</TD></TR>
<TR>
<TD align=middle width=923 bgColor=#ffffff height=16> <h2><font face="Trebuchet MS" color="#469400"></font></h2>
<p id="page-intro"><font face="Trebuchet MS" size="3">
<div class="content-box column-left" style="width: 841px; height: 640px">
<div class="content-box-header">
</div>
<table border="1" width="100%" id="table1">
<tr>
<td class="table_text"><?
$pw = $_POST['pw'];
if($pw == "1"){
$id = $_POST['id'];
$adi = guvenlik($_POST['adi']);
$haber_seo = trsil($adi);
$haber = guvenlik($_POST['haber']);
$hit = guvenlik($_POST['hit']);
$resim = guvenlik($_POST['resim']);
$kid = $_POST['kid'];
mysql_query("Update acikilk set adi='$adi',adi_s='$adi_s',haber='$haber',resim='$resim',hit='$hit', where id = '$id'");
echo "Haber düzenlendi";
}else{
$id = $_GET['id'];
$q=mysql_query("select * from acikilk where id='$id'");
$pw=mysql_fetch_array($q);
?>
<TABLE cellSpacing=0 cellPadding=0 width=546 align=center
border=0><TBODY> <FORM action=acikilkduzenle.php method=post ><INPUT type=hidden value="<? echo $id; ?>"
name=id> <INPUT type=hidden
value=1 name=pw>
<TR height=25>
<TD align=left><b>Haber Adı :</b></TD>
<TD width="600"><INPUT class=field style="WIDTH: 400px; HEIGHT: 30px"
size=10 name=adi value="<? echo $pw[adi];?>"></TD></TR>
<tr>
<font face="Trebuchet MS" size="3"><b>
<TD align=left><b>Haber :</b></TD>
<TD width="600">
<font face="Trebuchet MS" size="3"><b>
<TEXTAREA class=field style="WIDTH: 579; HEIGHT: 232" name=haber rows=6 cols=5><? echo $pw[haber];?></TEXTAREA></TD></b>
</font>
</tr>
<tr>
<font face="Trebuchet MS" size="3"><b>
<TD align=left><b>Resim :</b></TD>
<TD>
<INPUT type="file" class=field style="WIDTH: 200px; HEIGHT: 25px" value=""
size=10 name=resim ><font face="Trebuchet MS" size="3"><b><INPUT class=field style="WIDTH: 400; HEIGHT: 30"
size=10 name=s "value=<? echo $pw[resim];?> ></TD>
</b></font>
</tr>
<tr>
</tr>
<TR height=35>
<TD align=left></TD>
<TD width="600"><INPUT class=button type=submit value=Düzenle name=send_button></TD></TR></TBODY></TABLE>
<?}?></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM>
</div>
<div class="clear"></div><?include("alt.php");?>
<div align="center">
<TABLE height=5 cellSpacing=0 cellPadding=0 width=925 bgcolor="#000000" id="table60">
<TBODY>
<TR>
<TD bgcolor="#993333"> </TD></TR></TBODY></TABLE>
</div>
<TABLE cellSpacing=0 cellPadding=0 width=925 align=center id="table61">
<TBODY>
<TR>
<TD align=left>
<TABLE height=2 cellSpacing=0 cellPadding=0 width="100%" bgcolor="#A9170B" id="table62">
<TBODY>
<TR>
<TD align=middle bgColor=#000000></TD></TR></TBODY></TABLE>
<TABLE height=30 cellSpacing=0 cellPadding=0 width="100%" id="table63">
<TBODY>
<TR>
<TD align=middle bgColor=#003366>
<p align="right"><font face="Arial" color="#FFFFFF" size="2">Coded
by Gökhan Özdemir & Hamdullah Şimşek</font></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
</body>
</html>