Notes
Notes - notes.io |
require_once "../sistem/ayar.php";
require_once "../sistem/fonksiyon.php";
##session_destroy();
##print_r ($_SESSION);
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Admin Panel</title>
<link rel="stylesheet" href="css/layout.css" type="text/css" media="screen" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" />
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="js/jquery-1.5.2.min.js" type="text/javascript"></script>
<script src="js/hideshow.js" type="text/javascript"></script>
<script src="js/jquery.tablesorter.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.equalHeight.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(".tablesorter").tablesorter();
}
);
$(document).ready(function() {
//When page loads...
$(".tab_content").hide(); //Hide all content
$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content
//On Click Event
$("ul.tabs li").click(function() {
$("ul.tabs li").removeClass("active"); //Remove any "active" class
$(this).addClass("active"); //Add "active" class to selected tab
$(".tab_content").hide(); //Hide all tab content
var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
$(activeTab).fadeIn(); //Fade in the active ID content
return false;
});
});
</script>
<script type="text/javascript">
$(function(){
$('.column').equalHeight();
});
</script>
</head>
<body>
<?php ## Oturum kontrolü Sorunlu kısım
if (session("login") && session("uye_rutbe")==1){
require_once "/inc/default.php";
}else{
if($_POST){
$kadi = p("kadi");
$sifre= md5(p("sifre"));
if(!$kadi|| !$sifre){
echo "Kullancı ve Şifre Boş bırakılamaz...!";
}else{
$query = query("select * from uyeler where uye_kadi='$kadi' && uye_sifre='$sifre' && uye_rutbe =1");
if(mysql_affected_rows()){
$row= row($query);
$session = array(
"login" => true,
"uye_id" => $row["uye_id"],
"uye_rutbe" => $row["uye_rutbe"],
"uye_kadi" => $row["uye_kadi"]
);
session_olustur($session);
go(URL."/blog/admin"); ## düzeltilecek
}else{
echo "<font color='red'> Böyle Bir Üye bulunmuyor...!</font>";
}
}
}
?>
<div id="giris_yap">
<form action="" method="POST">
<table cellpadding="0" cellspacing="0">
<tr>
<td>Kullancı Adı:</td>
<td><input type="text" name="kadi"/></td>
</tr>
<tr>
<td>Şifre:</td>
<td><input type="password" name="sifre"/></td>
</tr>
<tr>
<td></td>
<td><button type="submit">Giriş yap</button></td>
</table>
</form>
</div>
<?php
}
?>
</body>
</html>
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team