@sinfulls; bu şekilde deneyin.
<?php function session_is_registered($key) { return isset($_SESSION[$key]); } session_start(); if (!session_is_registered("yonetici")){ header ("Location:giris.php"); die(""); } ?>
<html><head>
<meta http-equiv="Cache-Control" content="no-store">
<meta http-equiv="Expires" content="0">
<title>Seonus | Yönetim Paneli</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<link href="css/stil.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js"></script>
<script type="text/javascript" src="js/builder.js"></script>
<script type="text/javascript" src="js/effects.js"></script>
<script type="text/javascript" src="js/dragdrop.js"></script>
<script type="text/javascript" src="js/controls.js"></script>
<script type="text/javascript" src="js/slider.js"></script>
<script type="text/javascript" src="js/global.js"></script>
<script type="text/javascript">
function IEHoverPseudo() {
var navItems = document.getElementById("primary-nav").getElementsByTagName("li");
for (var i=0; i<navItems.length; i++) {
if(navItems[i].className == "menubar") {
navItems[i].onmouseover=function() { this.className += " over"; }
navItems[i].onmouseout=function() { this.className = "menubar"; }
}
}
}
window.onload = IEHoverPseudo;
/*]]>*/
</script>
<script type="text/javascript" src="tinymce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Example word content CSS (should be your site CSS) this one removes paragraph margins
content_css : "css/word.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "lists/template_list.js",
external_link_list_url : "lists/link_list.js",
external_image_list_url : "lists/image_list.js",
media_external_list_url : "lists/media_list.js",
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
</head>
<?php include ('../inc/db.php'); include ('../inc/fonksiyon.php'); include ('panelfonk.php'); ?>
<body>
<div align="center">
<table align="center" bgcolor="#ffffff" border="0" bordercolor="#fbfbfb" cellpadding="0" cellspacing="1" width="900">
<tbody><tr>
<td><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td height="500" valign="top"><table bgcolor="#efeef0" border="0" cellpadding="1" cellspacing="0" width="900">
<tbody><tr>
<td height="80"><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" height="93" width="100%">
<tbody><tr>
<td valign="top"><table background="img/ustbar.gif" border="0" cellpadding="0" cellspacing="0" width="900">
<tbody><tr>
<td height="25"> </td>
<td width="30%" align="center"><span class="style1"><strong><span class="style5" style='cursor:pointer'><?php echo date("d.m.Y H:s");?></span> </strong></span><strong>||<span class="style3" onClick="window.location.href='cikis.php'" style='cursor:pointer'><img src="img/cikis.gif" width="7" height="8" hspace="3">Güvenli Çıkış </span></strong></td>
</tr>
</tbody></table>
<table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="70%"><a href="index.php"><img src="img/logo.png" width="267" height="80" border="0"></a></td>
<td align="center"><table border="0" cellpadding="0" cellspacing="0" width="210">
<tbody><tr>
<td width="37"><img src="img/sol.gif" height="47" width="37"></td>
<td background="img/orta.gif"><table border="0" cellpadding="2" cellspacing="2" width="175">
<tbody><tr>
<td align="center"> <strong>Merhaba : </strong> <?php echo $kullaniciadi; ?> </td>
</tr>
<tr>
<td align="center"><a href="mailto:<?php echo $eposta; ?>"><?php echo $eposta; ?></a></td>
</tr>
</tbody></table></td>
<td width="4"><img src="img/sag.gif" height="47" width="4"></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table>
</td></tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="900">
<tbody><tr>
<td align="center" background="img/menubar.gif" height="22"> </td>
</tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0" height="500" width="900">
<tbody><tr>
<td align="center" bgcolor="#efeef0" valign="top" width="190"><br>