[İstek] panele uyarlanmasi gerek bİ kod

  • Konbuyu başlatan Konbuyu başlatan s7eve7n
  • Başlangıç tarihi Başlangıç tarihi
Konu Yazar

s7eve7n

Active Member
Şub
3,049
4
IP ÖĞRENME
Kod:
Select * from currentuser
where strcharid = 'NİCK'



İPDEN KAÇ KİŞİ ONLİNE ÖĞRENME
Kod:
Select * from currentuser
where strclientip = 'İP ADRESİ'

Bu Kodları Panele Göre Uyarlayabilirmiyiz? Örneğin ben panelden biyere tıklıcam Nick Girin dicek Yazacam Nicki Tamam Dicem ip adresi cıkacak ve o ip den kac kişi oyunda görebileceğim. Mümkünmü Acaba?
 
Cevap: [İstek] panele uyarlanmasi gerek bİ kod

Kullanıcının ip numarasını görüntüleme:
PHP:
<?
$charid = $_POST['charid'];

$bul= odbc_exec($conn,"SELECT strclientip FROM currentuser
 WHERE strcharid= '$charid");
$sonuc = odbc_result($bul,1);
if ($sonuc <> '') {
echo 'Oyundaki kullanıcının ip numarası '.odbc_result($msresults,1).'';
}
else { 
echo 'Kullanıcı oyunda değil.';
?>
İp numarasında kaç kullanıcı var öğrenme:
PHP:
<?
$ip = $_POST['ip'];
	$msquery="SELECT COUNT(strclientip) FROM currentuser
 WHERE strclientip= '$ip''";
$msresults=odbc_exec($conn,$msquery) or die("error");
odbc_fetch_row($msresults);
$msresults2=odbc_exec($conn,"SELECT strcharid FROM currentuser where strclientip = '$ip'");

if (odbc_result($msresults,1) > 0) {
echo 'İp adresine ait kullanıcı bulunamadı.';
}
else {
echo 'İp numarasına ait '.odbc_result($msresults,1).' oyuncu bulunmaktadır.';
echo 'İsimleri';
while (odbc_fetch_row($msresults2)) {
$strchar = odbc_result($results,1);
echo $strchar;
}
}
?>

Kod sql injection'a açıktır. Kendin güvenliğini alırsın.
Şeklinde olabilir ancak konuyu yanlış yere açmışsın...
 
Cevap: [İstek] panele uyarlanmasi gerek bİ kod

Bide nasıl calıstıracaz bunu ona göre bi index olasaydı :)
Nicki nereye yazacaz sorgula butonu yok nebilim cıktı ip adresi diyelim o ipi nereye yazıpta sorgulatacaz tekrar:S Ne karısık bişi bu ya :)
 
Moderatör tarafında düzenlendi:
Cevap: [İstek] panele uyarlanmasi gerek bİ kod

Mesela 1. yi kaydet ipbul.php diye. Html'den bir form oluştur ipbul.php ye göndert.

Örnek:
HTML:
	<form id="login" method="post" action="./ipbul.php">
       <strong>Kullanıcı Adı: </strong>  
        <br />
        <input name="charid" type="text" id="charid" tabindex="1" value="" maxlength="12" />
          <input name="Submit" type="submit" id="Submit" value="IP Bul" />
		  </form>

gibi yapabilirsin.
 
Son düzenleme:
Cevap: [İstek] panele uyarlanmasi gerek bİ kod

tesekkürler biraz uğraşayım hocam herşeyi hazır yapmayalim değilmi :) yapamazsam yazarım brudan sana,

Yapamadım Hocam ya :S

Bu benim Sitenin index.php si doğukan bu indexin admin kısmı var oraya ekleyebilirmiyiz? Eklersen cok güzel olur üstat.. Sitenin ip Adreside ReaL Network! Bi Göz At istersen.

PHP:
<?
ob_start();
session_start();
include("config.php");
include("function.php");
include ('_inc/security.php');
?>
<!-- Kayıt Ol -->
<div id="kayit" style="visibility:hidden;"> 
  <div id="pencere">
    <div class="popup">
      <table>
        <tbody>
          <tr> 
            <td class="tl"/><td class="b"/><td class="tr"/>
          </tr> 
          <tr> 
            <td class="b"/> 
            <td class="body"> 
              <div class="content"> 



<form name="form1" method="post" action="index.php?act=kayit&islem=sonuc">
  <table class="sample2" align="center">
    <tr>
      <td  align="right" Width="50%"><b>Account </td>
      <td><input name="kulad" type="text" id="kulad"></td>
    </tr>
    <tr>
      <td  align="right"><b>Sifre </td>
      <td><input name="pass" type="password" id="pass"></td>
    </tr>
    <tr>
      <td  align="right"><b>Sifre Tekrar </td>
      <td><input name="pass2" type="password" id="pass2"></td>
    </tr>
    <tr>
      <td  align="right"><b>E-Mail </td>
      <td><input name="mail" type="text" id="mail"></td>
    </tr>
	<tr>
      <td  align="right"><b>Gizli Soru </td>
      <td><label>
          <select name="gsoru" id="gsoru">
            
            <option value="cizgikahraman">En Sevdiğiniz Çizgi Film Kahramanı ?</option>
            <option value="ensevdigidizi">En Sevdiğiniz Dizi ? </option>
            <option value="herhangibirsayı">Herhangi Bir Sayı ? </option>
            <option value="annesinindogumyeri">Annenizin Doğum Yeri ? </option>
            <option value="dogumyeri">Doğum Yerim ? </option>
            <option value="diger">Diğer ? </option>
          </select>
        </label></td>
    </tr>
    <tr>
      <td  align="right"><b>Cevap</td>
      <td><input name="gcvp" type="text" id="gcvp"></td>
    </tr>
    <tr>
    <tr>
      <td  align="right"><b>Code</td>
      <td><img src="include/img.php" /></td>
    </tr>
    <tr>
      <td align="right"><b>Code Yaz</td>
      <td><input name="formHC" type="text" id="formHC"></td>
    </tr>
    <tr>
    <td align="center" colspan="2"><input type="submit" name="button" id="button" value="Yeni Üyeliğimi Oluştur"/>
    </td>
    </tr>
  </table>
</form>

              </div> 
              <div class="footer"> 
                <a onClick="gizle('kayit')" class="close"> 
                  <img src="images/pencere/closelabel.gif" title="Kapat" class="close_image" /> 
                </a> 
              </div> 
            </td> 
            <td class="b"/> 
          </tr> 
          <tr> 
            <td class="bl"/><td class="b"/><td class="br"/> 
          </tr> 
        </tbody> 
      </table> 
    </div> 
  </div>
</div>

<!-- Kayıt Ol -->
<!-- Giriş -->

<div id="login" style="visibility:hidden;">
  <div id="pencere">
    <div class="popup">
      <table>
        <tbody>
          <tr> 
            <td class="tl"/><td class="b"/><td class="tr"/>
          </tr> 
          <tr> 
            <td class="b"/> 
            <td class="body"> 
              <div class="content"> 

<form name="giris" method="post" action="index.php?act=login">
  <table class="sample2" align="center">
    <tr>
      <td align="right">Account </td>
      <td><input type="text" name="kulad" name="kulad"></td>
    </tr>
    <tr>
      <td align="right">Şifre </td>
      <td><input type="password" id ="kulpass" name="kulpass"></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><input name="submit" type="submit" id="submit" value="Giriş Yap"></td>
    </tr>
  </table>
</form>
              </div> 
              <div class="footer"> 
                <a onClick="gizle('login')" class="close"> 
                  <img src="images/pencere/closelabel.gif" title="Kapat" class="close_image" /> 
                </a> 
              </div> 
            </td> 
            <td class="b"/> 
          </tr> 
          <tr> 
            <td class="bl"/><td class="b"/><td class="br"/> 
          </tr> 
        </tbody> 
      </table> 
    </div> 
  </div>
</div>
<!-- Giriş Finitoo -->



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-9">
<title><? echo $title; ?></title>
<meta name="keywords" content="">
<meta name="description" content="">
<link href="css/default.css" rel="stylesheet" type="text/css">
<link href="css/facebox.css" media="screen" rel="stylesheet" type="text/css" />
<link href="css/faceplant.css" media="screen" rel="stylesheet" type="text/css" />



<script type="text/javascript"> 
function goster(id)
{
document.getElementById(id).style.visibility="visible"
}
function gizle(id)
{
document.getElementById(id).style.visibility="hidden"
}
</script>

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body onLoad="gizle('login'),gizle('kayit'),gizle('mesaj'),gizle('anket'),gizle('haber')">
<table width="982" border="0" align="center" cellpadding="0" cellspacing="0" class="bg1">
	<tr>
		<td><table width="982" border="0" align="center" cellpadding="0" cellspacing="0" class="bg2">
				<tr>
					<td><table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td width="273"><img src="images/homepage06_.JPG" width="273" height="28"></td>
								<td width="677"><img src="images/homepage07_.JPG" width="677" height="28"></td>
							</tr>
							<tr>
								<td colspan="2" align="center"><img src="images/banner2.jpg" width="950" height="250" title="ReaL Network"></td>
							</tr>
							<tr>
								<td colspan="2" class="bg3" style="height:50px;"><table width="950" border="0" cellspacing="0" cellpadding="0" style="height:50px;">
										<tr>
											<td width="33"></td>
											<td width="732" valign="middle" class="text2"><a href="#." class="link"></a><a href="#" class="link"></a><img src="images/spacer.gif" alt="" width="1" height="1" hspace="15"><a href="#" class="link"></a><img src="images/spacer.gif" alt="" width="1" height="1" hspace="15"><a href="#" class="link"></a><img src="images/spacer.gif" alt="" width="1" height="1" hspace="15"><a href="#" class="link"></a><img src="images/spacer.gif" alt="" width="1" height="1" hspace="15"><a href="#" class="link"></a>
												<table border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td><a href="index.php" class="link"><b>ANASAYFA</a></td>
														<td><img src="images/subpage1_02.jpg" alt="" width="2" height="16" hspace="15"></td>
        <!-- KAYIT OL KAYIT DIŞI xD -->
																<?
				 if($_SESSION['enqinuser'] == '' ) {echo '
														<td><a href="#kayit" onclick="goster(\'kayit\')" class="link"><b>KAYIT OL</b></a></td>
                            <td><img src="images/subpage1_02.jpg" alt="" width="2" height="16" hspace="15"></td>
        ';}
				?>		
				<!-- KAYIT OL KAYIT DIŞI xD FiNiTO -->

														<td><a href="index.php?act=kullanici" class="link"><b>KULLANICI SIRALAMASI</a></td>
														<td><img src="images/subpage1_02.jpg" alt="" width="2" height="16" hspace="15"></td>
														<td><a href="index.php?act=clan" class="link"><b>CLAN SIRALAMASI</a></td>
														<td><img src="images/subpage1_02.jpg" alt="" width="2" height="16" hspace="15"></td>
														<td><a href="index.php?act=arama_yap" class="link"><b>ARA</a></td>
														<td><img src="images/subpage1_02.jpg" alt="" width="2" height="16" hspace="15"></td>
				<!-- Cıkıs Bölümü -->							<td><a href="index.php?act=iletisim" class="link"><b>İLETİŞİM</a></td>
				<?
				 if(!$_SESSION['enqinuser'] == '' ) {echo '
<td><img src="images/subpage1_02.jpg" alt="" width="2" height="16" hspace="15"></td>
<td><a href="index.php?act=cikis_yap" class="link"><b>('.$_SESSION['enqinuser'].') ÇIKIŞ</a></td>
';}
				?>
							
				<!--Cıkıs bölümü finito-->
						</tr>
												</table></td>
											<td width="153" align="right" class="text1"><script language="JavaScript" type="text/javascript" src="date.js"></script></td>
											<td width="32"></td>
										</tr>
									</table></td>
							</tr>
						</table>
						<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr valign="top">
								<td width="181"><table width="181" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td class="text2" style="background-image:url(images/homepage09.jpg); height:40px;"><table width="181" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
														<td width="166" class="text2">Oyun Denetim Paneli </td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php" class="link">Anasayfa</a></td>
													</tr>
												</table></td>
										</tr>
										
										        <!-- KAYIT OL KAYIT DIŞI xD -->
																<?
				 if($_SESSION['enqinuser'] == '' ) {echo '
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><span class="link"><b>&gt;</b></span> <a href="#kayit" onclick="goster(\'kayit\')" class="link"><b>Kayıt Ol</b></a></td>
													</tr>
												</table></td>
										</tr>
        ';}
				?>		
				<!-- KAYIT OL KAYIT DIŞI xD FiNiTO -->
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=kullanici&islem=oyundaki_kullanicilar" class="link">Oyundaki Kullanıcılar</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=kullanici" class="link">Kullanıcı Sıralaması </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=clan" class="link">Clan Sıralaması </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=kullanici&islem=np_bagis" class="link">National Point Bağışlayanlar</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=kullanici&islem=np_icon_kutusuz" class="link">Kutusuz National Point Sıralaması </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=kullanici&islem=np_icon_kutulu" class="link">Kutulu National Point Sıralaması</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=kullanici&islem=banli" class="link">Oyuna Girme Yasaklılar </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=kullanici&islem=muteli" class="link">Konusma Yasaklılar </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=oyun_bilgileri" class="link">Oyun Bilgileri </a></td>
													</tr>
												</table></td>
										</tr>
									</table>
									<table width="180" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="180" style="background-image:url(images/homepage20.jpg); height:40px;"><table width="180" border="0" cellpadding="0" cellspacing="0">
													<tr>
														<td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
														<td width="165" class="text2">Genel Denetim Paneli</td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="<?  echo ($forum);  ?>"  target="_blank" class="link">Forum</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=gerekli_dosyalar" class="link">Gerekli Dosyalar</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=haber" class="link">Güncel Haberler</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=sözlük" class="link">Kullanıcı Sözlüğü</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=droplist" class="link">Drop Listesi </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=power_up_store" class="link">Power Up Store </a></td>
													</tr>
												</table>
										</tr> 
										<tr>
											<td><img src="images/homepage11.jpg" alt="" width="181" height="8"></td>
										</tr>
									</table>
									
<!-- Anket Başlıyorrr -->
<?
if(!$_SESSION['enqinuser'] == '') {

$enqin = odbc_exec($conn,"select * from anket order by anket_id desc");
$id = odbc_result($enqin,1);
$k = odbc_result($enqin,2);
$m1 = odbc_result($enqin,3);
$m2 = odbc_result($enqin,4);
$m3 = odbc_result($enqin,5);
$yer = odbc_result($enqin,11);

if($yer == 'M'){
if($id <> ''){ 
  echo'
<form action="index.php?act=anket&is=anket_ac&id='.$id.'" method="post"		name="anket">							
									<table width="180" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="180" style="background-image:url(images/homepage20.jpg); height:40px;"><table width="180" border="0" cellpadding="0" cellspacing="0">
													<tr>
														<td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
														<td width="165" class="text2">Anket</td>
													</tr>
												</table></td>
										</tr>
                    <tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%">'.$k.'</td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><input class="none" type="radio" name="madde" value="Oy1" checked>&nbsp;&nbsp;'.$m1.'</td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><input class="none" type="radio" name="madde" value="Oy2">&nbsp;&nbsp;'.$m2.'</td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><input class="none" type="radio" name="madde" value="Oy3">&nbsp;&nbsp;'.$m3.'</td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%" align="center"><input type="submit" name="submit" id="submit" value="Oyumu Gönder"></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td><img src="images/homepage11.jpg" alt="" width="181" height="8"></td>
										</tr>
									</table>
									</form>';
									
}//id
}//yer
}//session
?>								
<!-- Anket Bitti :( -->

								</td>
							  <td width="589"><table width="589" border="0" cellspacing="0" cellpadding="0">
										<tr>
										  <td style="background-image:url(images/homepage13.jpg); height:40px;"><table width="560" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="15"><img src="images/spacer.gif" alt="" width="26" height="40"></td>
														<td class="text2">
<!--Sayfa Adı-->

<?php
$syf = $_GET['act'];
$islm = $_GET['islem'];
$i = $_GET['is'];
$ayr = ' > ';

$syfc = array("_" => " ","usercp" => "Kullanıcı Paneli","admin" => "Admin Paneli");
$sayfa = strtr($syf,$syfc);

$islmc = array("_" => " ");
$islem = strtr($islm,$islmc);

$isc = array("_" => " ");
$is = strtr($i,$isc);

if($sayfa == ''){$sayfa = 'Anasayfa';}

if($islem == '') {echo ucwords($sayfa);}
elseif($is == '') {echo ucwords($sayfa.$ayr.$islem);}
else{echo ucwords($sayfa.$ayr.$islem.$ayr.$is);}




 ?>

<!-- Sayfa Adı Bitiş-->
</td>
												    </tr>
												</table></td>
										</tr>
										<tr>
<!--Index-->
				<td><p><br> 			
                      <?php //3nqin
				
				$name = $_GET['act'];
$uz = ".php";			
	if($name=='') {
include ('anasayfa.php');	

	} elseif(!empty($name) && (file_exists('include/' . $_GET['act'] . '.php'))) {
		include("include/$name.php");
	}
elseif($name==$name&&$uz) {
include('include/'.$name.'');
} else {
					 echo 'Aradiginiz Sayfayi Bulamadim Üzgünüm';
					 }					 
					 ?>
  </p>
				  </td>
                <!-- End -->
										</tr>
									</table>
									<br>
									<br></td>
								<td width="180">
									<table width="180" border="0" cellspacing="0" cellpadding="0">
										
<!-- Admin Paneli-->
<?

if($_SESSION['enqinauth'] == '5') { 
echo '
										<tr>
										<table width="180" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="180" style="background-image:url(images/homepage20.jpg); height:40px;"><table width="180" border="0" cellpadding="0" cellspacing="0">
													<tr>
														<td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
														<td width="165" class="text2">Admin Site Yönetim Paneli</td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=admin&islem=sql" class="link">SQL Query Analyzer</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=admin&islem=power_up_store" class="link">Power Up Store</a></td>
													</tr>
													
												</table>
										</tr> 
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=admin&islem=haber" class="link">Haber İşlemleri</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=admin&islem=sikayet" class="link">Şikayetleri Değerlendir</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=admin&islem=kullanici_islemleri" class="link">Karakter İşlemleri</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=admin&islem=gerekli_dosyalar" class="link">Gerekli Dosyalar</a></td>
													</tr>
													
												</table>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=admin&islem=anket" class="link">Anket Sistemi</a></td>
													</tr>
												</table>
										</tr>  
										'; }

					?>

<!--Admin Paneli Bitiş-->

<!--Kullanici Yönetim Paneli -->
		
									<?php									
									
									if($_SESSION['enqinuser']) {
									
									echo'
																		   <tr>
									<table width="181" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td style="background-image:url(images/homepage09.jpg); height:40px;"><table width="181" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
														<td width="166" class="text2">Kullanıcı Yönetim Paneli </td>
													</tr>
												</table></td>
										</tr>';
									
									          $sor = odbc_exec($conn,"select strsoru,stryanit from tb_user where straccountid='".$_SESSION['enqinuser']."'"); 
            $soru = odbc_result($sor,1);
            $yanit = odbc_result($sor,2);
            
            if(($soru && $yanit) == ''){
            
            echo'										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=usercp&islem=mykol" class="link">MY-KOL Bilgilerin Eksik!</a></td>
													</tr>
												</table></td>';
            
            }else{
									echo'
									


										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=account" class="link">Karakter Bilgileri</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=anket" class="link">Anket</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=sikayet" class="link">Şikayet Et</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=usercp&islem=sifre_degistir" class="link">Şifre Değiştir </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=usercp&islem=imza" class="link">Karakter İmza </a></td>
													</tr>
												</table></td>
										</tr>										
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=usercp&islem=gizli_soru" class="link">Gizli Soru Değiştir </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=usercp&islem=avatar" class="link">Avatar Düzenle </a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=mail&islem=gelen_mail" class="link">E-Posta '.$gelenler.'</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=ticket&islem=siteden_ticket_at" class="link">Ticket At</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=usercp&islem=ncs" class="link">Name Change</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=usercp&islem=clan" class="link">Clan Devret</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="92%"><a href="index.php?act=usercp&islem=np_bagis" class="link">Clan\'a National Point Bağışla</a></td>
													</tr>
												</table></td>
										</tr>
										<tr>
											<td><img src="images/homepage11.jpg" alt="" width="181" height="8"></td>
										</tr>
									</table>
									<table width="180" border="0" cellspacing="0" cellpadding="0">'; 
									
									}// Mykol Kontrolü
									}//Giriş Kontrolü
									
									?>
									
<!--Kullanici Yönetim Paneli Finito-->	
<!-- LOGIN-->
								  <?php
											 if($_SESSION['enqinuser'] == '' ) {
											 echo '
											 									<table width="180" border="0" cellspacing="0" cellpadding="0">
						   				 <tr>
											<td width="180" style="background-image:url(images/homepage20.jpg); height:40px;"><table width="180" border="0" cellpadding="0" cellspacing="0">
													<tr>
														<td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
														<td width="165" class="text2">Giris Yap</td>
													</tr>
												</table></td>
										</tr>

										<tr>
											<td><form name="form1" method="post" action="index.php?act=login">
											  <table border="0">
                                                <tr>
                                                  <td align="right">Account</td>
                                                  <td><input name="kulad" type="text" id="kulad" size="18"></td>
                                                </tr>
                                                <tr>
                                                  <td align="right">Şifre</td>
                                                  <td><input name="kulpass" type="password" id="kulpass" size="18"></td>
                                                </tr>
                                                  <td height="30" colspan="2">
                                                    <div align="center">
                                                      <input type="submit" name="Submit" value="Giriş Yap"> 
&nbsp;&nbsp;&nbsp;&nbsp;                                                      
<input type="reset" name="Submit2" value="Temizle">                                                
                                                      </div></td>
                                                </tr>



												</table>
                                            </form>
										</tr>
										<tr>
											<td><img src="images/homepage11.jpg" alt="" width="180" height="8"></td>
										</tr>'; 
?>


<!-- LOGIN FINITO -->
<!-- GM LİST-->

						   				 <tr>
											<td width="180" style="background-image:url(images/homepage20.jpg); height:40px;"><table width="180" border="0" cellpadding="0" cellspacing="0">
													<tr>
														<td width="15"><img src="images/spacer.gif" alt="" width="15" height="40"></td>
														<td width="165" class="text2">Game Master</td>
													</tr>
												</table></td>
										</tr>
<?
$enqin = odbc_exec($conn,"select struserid from userdata where authority= '0'");
while(odbc_fetch_row($enqin)){
$gm = odbc_result($enqin,1);

	$engin = odbc_exec($conn,"select count(*) from CURRENTUSER where strCharID='".$gm."'");
		$drmm = odbc_result($engin,1);
	if($drmm == 1) {$drm = '<img src="images/panel/online.gif" alt="" />'; }
	else{$drm = '<img src="images/panel/offline.gif" alt="" />'; } 

echo'				  						<tr>
											<td style="background-image:url(images/homepage10.jpg); height:29px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="8%" colspan="2"><img src="images/spacer.gif" alt="" width="15" height="29"></td>
														<td width="90%">'.$gm.'</td><td width="2%">'.$drm.'</td>
													</tr>
												</table></td>
										</tr>
';

}


}

?>
<!--GM LİST FINITO-->
											  


										<tr>
										  <td>&nbsp;</td>
									</tr>
									</table></td>
							</tr>
						</table></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="style2"  style="height:40px;">&nbsp;</td>
				</tr>
			</table></td>
	</tr>
</table>
<table width="982" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td class="style2">Copyright &copy; 2021 Coder by 3nqiN & seneRioR <a href="mailto:[email protected]">E-Mail</a> | <a href="index.php?act=panel">Panel</a></td>
	</tr>
	<tr>
		<td class="style2">&nbsp;</td>
	</tr>
	<tr>
		<td class="style2">&nbsp;</td>
	</tr>
	<tr>
		<td class="style2">&nbsp;</td>
	</tr>
</table>
</body>
</html>

<!-- Açılır Menü -->
  <div id="" style="display:none;">
    <div class="popup">
      <table>
        <tbody>
          <tr> 
            <td class="tl"/><td class="b"/><td class="tr"/>
          </tr> 
          <tr> 
            <td class="b"/> 
            <td class="body"> 
              <div class="content"> 
              </div> 
              <div class="footer"> 
                <a onclick="gizle('pencere');" class="close"> 
                  <img src="images/pencere/closelabel.gif" title="close" class="close_image" /> 
                </a> 
              </div> 
            </td> 
            <td class="b"/> 
          </tr> 
          <tr> 
            <td class="bl"/><td class="b"/><td class="br"/> 
          </tr> 
        </tbody> 
      </table> 
    </div> 
  </div>
<!-- Finitooo -->
 
Moderatör tarafında düzenlendi:
Cevap: [İstek] panele uyarlanmasi gerek bİ kod

biraz uğraşmak gerek
 
Cevap: [İstek] panele uyarlanmasi gerek bİ kod

PHP iden anlayan yardımcı olabilecek biri varmı ?
 
Cevap: [İstek] panele uyarlanmasi gerek bİ kod

aksama tamamen kodlayıp veririm ;) cok basit ama acil dısarı cıkmam gerekiyor ondan aksama
 
Geri
Üst Alt