function checkLoginLang($lgn, $lng, $src) { global $metin; global $adi; global $taraDili; global $_defaultLang; if ($lng) { $taraDili = isset($_COOKIE["lng"]) ? $_COOKIE["lng"] : ""; if (!($taraDili == "TR" || $taraDili == "EN")) { $taraDili = $_defaultLang; } dilCevir($taraDili); } if ($lgn) { $adi = temizle(substr(isset($_SESSION["usern"]) ? $_SESSION["usern"] : "", 0, 15)); $par = temizle(isset($_SESSION["userp"]) ? $_SESSION["userp"] : ""); if ($adi == "" || $par == "") { //EMPTY? @header("Location: error.php?error=2"); die("<font id='hata'> " . $metin[403] . "</font><br/>" . $metin[402]); } $tur = checkRealUser($adi, $par); if ($tur <= -1 || $tur > 2) { sessionDestroy(); @header("Location: error.php?error=7"); die("<font id='hata'> " . $metin[404] . " (0)</font><br/>" . $metin[402]); } else { $_SESSION["tur"] = $tur; $_SESSION["usern"] = $adi; $_SESSION["userp"] = $par; } } if (!empty($src)) { currentFileCheck($src); } }
<div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner"> <h2 class="PostHeaderIcon-wrapper"> <span class="PostHeader"><img src="img/logo1.png" border="0" style="vertical-align: middle;" alt="main" title="<?php echo $metin[286]; ?> "/> - <?php echo $metin[243]; ?> </span> </h2> <div class="PostContent"> <?php echo "<div id='lgout'><a href='#' onclick='window.close();'>" . $metin[34] . "</a></div><br/>"; ?> <?php currentFileCheck("help.php"); ?> <div id="menu"> <h4><?php echo $metin[271]; ?> </h4> <ul> <li><a href="#1" onclick="yardimGoster(1);return false;"><?php echo $metin[261]; ?> </a></li> <li><a href="#2" onclick="yardimGoster(2);return false;"><?php echo $metin[262]; ?> </a></li>
$allowed = array(); $allowed[] = 'form'; $allowed[] = 'userN'; $allowed[] = 'userP'; $allowed[] = 'sumb'; $allowed[] = 'remUser'; $sent = array_keys($_POST); if ($allowed != $sent) { die("<font id='hata'> " . $metin[400] . " (1)</font><br/>" . $metin[402]); //form data? exit; } break; } } currentFileCheck("login.php"); $seciliTema = temaBilgisi(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> <link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" /> <meta http-equiv="cache-control" content="no-cache"/> <meta http-equiv="pragma" content="no-cache"/> <meta http-equiv="Expires" content="-1"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>eOgr -<?php echo $metin[60]; ?> </title>