<?php
include "ayar.php";
$id=$_GET['id'];
$reklam_adi=$_POST['reklam_adi'];
$reklam_kodu=$_POST['reklam_kodu'];
$guncelle = mysql_query("UPDATE reklam SET reklam_adi='$reklam_adi',reklam_kodu='$reklam_kodu' WHERE id='$_GET[id]' ");
if (!$guncelle){
echo "<br><br><br><table width='600' border='0' align='center' cellpadding='4' cellspacing='1' class='tbl' id='table1'>
<tr>
<td class='tbbaslik' style='background-image: url('url(')'../images/bg_kose.gif')' width='589' colspan='3'>
<p align='center'><b>Reklam Düzenle</b></td>
</tr>
<tr>
<td width='588' colspan='3'><br>
<p align='left'><font color='#E158A1'>
<span style='font-size:10pt;font-family:Tahoma;font-weight:700'>
<center>Güncellenemedi<center></span></font></p>
</td>
</tr>
</table><META http-equiv=refresh content=\"1;url=reklamlar.php\">";
} else {
echo "<br><br><br><table width='600' border='0' align='center' cellpadding='4' cellspacing='1' class='tbl' id='table1'>
<tr>
<td class='tbbaslik' style='background-image: url('url(')'../images/bg_kose.gif')' width='589' colspan='3'>
<p align='center'><b>Reklam Düzenle</b></td>
</tr>
<tr>
<td width='588' colspan='3'><br>
<p align='left'><font color='#E158A1'>
<span style='font-size:10pt;font-family:Tahoma;font-weight:700'>
<center>Güncellendi<center></span></font></p>
</td>
</tr>
</table><META http-equiv=refresh content=\"1;url=reklamlar.php\">";
}
?><body bgcolor="#000000" background="images/arkaplan.jpg" style="background-color: #F9F0F9; background-image: url('')">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<meta http-equiv="Content-Language" content="tr">
<link rel="stylesheet" type="text/css" href="css/panel.css">
<style type="text/css">
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0;
font-size: 80%;
font-weight: bold;
SCROLLBAR-BASE-COLOR: #FFFFFF;
SCROLLBAR-FACE-COLOR: #E158A1;
SCROLLBAR-ARROW-COLOR: #EEEEEE;
SCROLLBAR-SHADOW-COLOR: #FFFFFF;
SCROLLBAR-TRACK-COLOR: #EEEEEE;
SCROLLBAR-HIGHLIGHT-COLOR: #AC9E91};
SCROLLBAR-DARKSHADOW-COLOR: #444488;
}
</style>