Файл: bite/uyeler.php
Строк: 405
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Breakistan.com Server 1 - Giris</title>
<link rel="stylesheet" type="text/css" href="http://bitefight.net/bite/game.css">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type=text/css>
<!--
.style1 {color: #FFFFFF}
.style24 {font-size: 10px}
-->
</style><body bgcolor="#220202" >
<div id="container">
<img src="img/header.jpg" width="1035" height="294" style="position:absolute; left:-37; top:0;" alt="Bite Fight" />
<div style="position:absolute; left:222; top:158px; width:728px; height:90px;"><script type="text/javascript"><!--
google_ad_client = "pub-3759951865941485";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="1058123408";
google_color_border = "660000";
google_color_bg = "7D2626";
google_color_link = "FFFFFF";
google_color_url = "DAA520";
google_color_text = "BDB76B";
//--></script>
</div> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width:20px; background-image:url(img/border.gif); background-repeat:repeat-y; background-position:right;"> </td>
<td style="width:156px; background-image:url(img/sidebg.jpg); background-repeat:repeat-y; background-position:left; vertical-align:top;">
<div id="menu" style="width:156px; background-image:url('img/menubg.jpg'); background-repeat:repeat-y; background-position: left 50%;; height:150px">
<a href="addmin.php">Yцnetici Ekle</a>
<a href="uyesil.php" target="_top">Ьye Sil</a> <a href="uyeler.php">Ьye Listesi</a>
<a href="uebersicht.php" target="_blank">Oyuna Giriş</a>
<a href="logout.php" target="_top">Panelden Зıkş</a><br> </div>
<img src="img/menudivider.gif" width="156" height="17" alt="" />
<div class="side_more">
<br> </div>
</td>
<td style="width:16px; background-image:url(img/border.gif); background-repeat:repeat-y;"> </td>
<td style="background-image:url(img/darkstone.jpg); vertical-align:top; text-align:center;">
<img src="img/content_top.jpg" width="784" height="38" alt="" />
<div id="content" style="position:relative; top:-30px; width:720px; margin-left:auto; margin-right:auto;">
<div style="width:468px; margin-left:auto; margin-right:auto;"><script type="text/javascript"><!--
google_ad_client = "pub-3759951865941485";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al";
google_ad_channel ="0187582851";
google_color_border = "0F0F0F";
google_color_bg = "0F0F0F";
google_color_link = "DAA520";
google_color_url = "DAA520";
google_color_text = "DAA520";
//--></script>
</div><form action="anmelden.php" method="POST">
<input type="hidden" name="uid" value="0">
<input type="hidden" name="race" value="2">
<input type="hidden" name="action" value="save">
<input name="olay" type="hidden" id="olay" value="islem">
Ьyeler
<?if($olay == "islem"){
$tarih = date("Ymd");
if($secenekler == "1"){
$ubound = count($_POST['secim']);
for ($i = 0; $i < $ubound; $i++){
$queryx = "update users set durum='1' where id = ".$_POST['secim'][$i];
mysql_query($queryx);
}
}
if($secenekler == "9"){
$ubound = count($_POST['secim']);
for ($i = 0; $i < $ubound; $i++){
$queryx = "update users set durum='9' where id = ".$_POST['secim'][$i];
mysql_query($queryx);
}
}
/////////////////////////////
if($secenekler == "8"){
$ubound = count($_POST['secim']);
for ($i = 0; $i < $ubound; $i++){
$queryx = "update users set durum='8' where id = ".$_POST['secim'][$i];
mysql_query($queryx);
}
}
if($secenekler == "a"){
$ubound = count($_POST['secim']);
for ($i = 0; $i < $ubound; $i++){
$query = "select id from chatbans where banid = ".$_POST['secim'][$i];
$varmidir = @mysql_num_rows(@mysql_query($query));
if($varmidir == "0"){$tablo = "INSERT INTO chatbans (id, banid) VALUES (NULL, '".$_POST['secim'][$i]."')";mysql_query($tablo);}
}
}
if($secenekler == "x"){
$ubound = count($_POST['secim']);
for ($i = 0; $i < $ubound; $i++){
$tablo = "delete from users where id = ".$_POST['secim'][$i];
mysql_query($tablo);
$query2 = "SELECT resim FROM resim where iid = ".$_POST['secim'][$i];
$result2 = mysql_query ($query2) or die ("hata");
while ($line2 = mysql_fetch_array($result2)) {
@unlink("../uyeler/$line2[resim]");
}
$tablo = "delete from resim where iid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from arkadaslar where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from arkadaslar where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from carpildiklarim where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from carpildiklarim where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from forum where kimden = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from haberler where iid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from istekler where iid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from mesajlar where uyeid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from rapor where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from rapor where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from talepler where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from talepler where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from yasaklilar where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from yasaklilar where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
}
}
if($secenekler == "x2"){
$ubound = count($_POST['secim']);
for ($i = 0; $i < $ubound; $i++){
$query2 = "SELECT email FROM users where id = ".$_POST['secim'][$i];
$result2 = mysql_query ($query2) or die ("hata");
while ($line2 = mysql_fetch_array($result2)) {
$u_email = $line2[email];
}
$query2 = "SELECT edenid FROM davet where email = '$u_email'";
$result2 = mysql_query ($query2) or die ("hata");
while ($line2 = mysql_fetch_array($result2)) {
$u_edenid = $line2[edenid];
}
///////////////////////////////////////
$tablo = "delete from users where id = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from users where id = $u_edenid";
mysql_query($tablo);
$query2 = "SELECT resim FROM resim where iid = ".$_POST['secim'][$i];
$result2 = mysql_query ($query2) or die ("hata");
while ($line2 = mysql_fetch_array($result2)) {
@unlink("../uyeler/$line2[resim]");
}
$query2 = "SELECT resim FROM resim where iid = $u_edenid";
$result2 = mysql_query ($query2) or die ("hata");
while ($line2 = mysql_fetch_array($result2)) {
@unlink("../uyeler/$line2[resim]");
}
$tablo = "delete from resim where iid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from resim where iid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from arkadaslar where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from arkadaslar where yourid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from arkadaslar where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from arkadaslar where fid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from carpildiklarim where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from carpildiklarim where yourid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from carpildiklarim where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from carpildiklarim where fid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from forum where kimden = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from forum where kimden = $u_edenid";
mysql_query($tablo);
$tablo = "delete from haberler where iid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from haberler where iid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from istekler where iid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from istekler where iid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from mesajlar where uyeid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from mesajlar where uyeid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from rapor where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from rapor where yourid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from rapor where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from rapor where fid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from talepler where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from talepler where yourid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from talepler where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from talepler where fid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from yasaklilar where yourid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from yasaklilar where yourid = $u_edenid";
mysql_query($tablo);
$tablo = "delete from yasaklilar where fid = ".$_POST['secim'][$i];
mysql_query($tablo);
$tablo = "delete from yasaklilar where fid = $u_edenid";
mysql_query($tablo);
///////////////////////////////////////
}
}
}
?>
<br>
<div align="center">
<br>
<a href="?sc=hepsi">[Hepsi]</a> <a href="?sc=a">[A]</a> <a href="?sc=b">[B]</a> <a href="?sc=c">[C]</a> <a href="?sc=c2">[З]</a> <a href="?sc=d">[D]</a> <a href="?sc=e">[E]</a> <a href="?sc=f">[F]</a> <a href="?sc=g">[G]</a> <a href="?sc=h">[H]</a> <a href="?sc=i">[I]</a> <a href="?sc=i2">[İ]</a> <a href="?sc=j">[J]</a> <a href="?sc=k">[K]</a> <a href="?sc=l">[L]</a> <a href="?sc=m">[M]</a> <a href="?sc=n">[N]</a> <a href="?sc=o">[O]</a> <a href="?sc=o2">[Ц]</a> <a href="?sc=p">[P]</a> <a href="?sc=r">[R]</a> <a href="?sc=s">[S]</a> <a href="?sc=s2">[Ş]</a> <a href="?sc=t">[T]</a> <a href="?sc=u">[U]</a> <a href="?sc=u2">[Ь]</a> <a href="?sc=v">[V]</a> <a href="?sc=y">[Y]</a> <a href="?sc=z">[Z]</a> <br>
<br>
<a href="../devilsss/admin/mesaj.php">[Bьtьn Ьyelere Mesaj Gцnder]</a></div>
<?if($s != "detay"){?>
<table cellpadding=2 cellspacing=0 width=100% id="table7" class="Mtable">
<tr bgcolor="#336699">
<td width="1%" bgcolor="#000000">-</td>
<td width="3%" height=23 bgcolor="#000000"> <font color="#000000" face="MS Sans Serif" size="1">
<input name="allbox" type="checkbox" onClick="CA();" title="Select or de-select all messages" tabindex="105"></font><font face="MS Sans Serif" size="1">
</font></td>
<td bgcolor="#000000" width="16%"><b>
<font face="MS Sans Serif" size="1"><nobr>Kullanıcı Adı</nobr></font></b></td>
<td bgcolor="#000000" width="17%">
<font face="MS Sans Serif" size="1">Şifre</font></td>
<td bgcolor="#000000" width="28%" >
<font face="MS Sans Serif" size="1"><nobr>Adı Soyadı</nobr></font></td>
<td bgcolor="#000000" width="21%" ><span class="style1">
<font color="#C00C0C">E-posta</font></span></td>
<td bgcolor="#000000" width="14%" ><span class="style1">
<font color="#C00C0C">Statь</font></span></td>
</tr>
<?
$goruntuleme = "500";
if($sayfa == ""){$sinir = 0;}else{$sinir = $sayfa*$goruntuleme;}
if($sayfa == ""){$sayfax = 1;}else{$sayfax = $sayfa+1;}
$goruntulemex = $goruntuleme;
if($sayfax == ""){$sinirx = 0;}else{$sinirx = $sayfax*$goruntulemex;}
if($sc != "hepsi"){
$sorgumuz = "where ad LIKE '$sc%'";
}
$query = "SELECT id, login, password, ad, soyad, email, durum FROM users $sorgumuz order by id desc limit $sinir, $goruntuleme";
$result = mysql_query ($query) or die ("hata");
while ($line = mysql_fetch_array($result)) {
if($line[kullaniciadi] == "admin"){continue;}
?>
<tr bgcolor="#FFFFFF">
<td width="1%" height="30" bgcolor="#000000"> </td>
<td width="3%" height="30" bgcolor="#000000">
<input name="secim[]" type="checkbox" id="secim[]" onClick="CCA(this);" value="<?=$line[id];?>">
</td>
<td width="16%" height="30" bgcolor="#000000">
<a href="?id=<?=$line[id];?>&s=detay"><?=$line[login];?></a></td>
<td width="17%" height="30" bgcolor="#000000"><a href="?id=<?=$line[id];?>&s=detay">
<?=$line[password];?>
</a></td>
<?$sifreemail = md5($line[email]);?>
<td width="28%" height="30" bgcolor="#000000"><a href="?id=<?=$line[id];?>&s=detay">
<?=$line[ad];?> <?=$line[soyad];?>
</a> </td>
<td width="21%" bgcolor="#000000"><a href="?id=<?=$line[id];?>&s=detay"><?=$line[email];?></a></td>
<td width="14%" bgcolor="#000000"><a href="?id=<?=$line[id];?>&s=detay"><?
if($line[durum] == "1"){echo "Standart Ьye";}
if($line[durum] == "8"){echo "<b>Forum Moderatцr'ь</b>";}
if($line[durum] == "9"){echo "<b>Admin</b>";}
?></a></td>
</tr>
<?}?>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="table8">
<tr>
<td width="60%">
<div align="left"><?
if($sayfa == ""){$sayfa = 0;}
$sinir = ($sayfa-1)*$goruntuleme;
$varmidir = @mysql_num_rows(@mysql_query("SELECT id FROM users $sorgumuz order by id desc limit $sinir, $goruntuleme"));
//$varmidir = 2;
if($varmidir != "0"){
?>
<div align="left">
<input name="Button1" type="button" class="style5" value="<<< Цnceki sayfa <<<" onClick="javascript:top.location = '?sc=<?=$sc;?>&sayfa=<?=$sayfa-1;?>'">
</div> <?}?></td>
<td width="40%"><?
if($sayfa == ""){$sayfa = 0;}
$sinir = ($sayfa+1)*$goruntuleme;
$varmidir = @mysql_num_rows(@mysql_query("SELECT id FROM users $sorgumuz order by id desc limit $sinir, $goruntuleme"));
//$varmidir = 2;
if($varmidir != "0"){
?>
<div align="right">
<input name="Button" type="button" class="style5" value=">>> Sonraki Sayfa >>>" onClick="javascript:top.location = '?sc=<?=$sc;?>&sayfa=<?=$sayfa+1;?>'">
<?}?>
</div></td>
</tr>
</table>
<br>
<select name="secenekler" id="secenekler">
<option value="1">Seзilileri normal ьye olarak ata</option>
<option value="9">Seзili ьyeleri yцnetici ata</option>
<option value="8">Seзili ьyeleri forum moderatцr'ь ata</option>
<option value="a">Seзili ьyeleri forumdan odasından banla</option>
<option value="x">Seзili ьyeleri sil</option>
<option value="x2">Seзili ьyeleri ve yarattıklarını sil</option>
</select>
<input type="submit" name="Submit" value="TAMAM">
<p><?}else{?>
<?
$query = "SELECT * FROM users where id = '$id'";
$result = mysql_query ($query) or die ("olmadı");
while ($line = mysql_fetch_array($result)) {
?>
<br>
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="table9">
<tr>
<td width="82%" valign="top">
<TABLE cellSpacing=1 cellPadding=1 width=100% align=center bgColor=#cccccc
border=0 id="table10">
<TBODY>
<TR class=tr1 bgColor=#0099ff>
<TD colSpan=2 bgcolor="#C00C0C"> </TD>
</TR>
<TR class=tr1 bgColor=#f0f0f0>
<TD width=194 bgcolor="#000000">Kullanıcı adı </TD>
<TD width="613" bgColor=#000000>
<?=$line[login];?></TD>
</TR>
<TR class=tr1 bgColor=#f0f0f0>
<TD width=194 bgcolor="#000000">Şifre </TD>
<TD width="613" bgColor=#000000>
<?=$line[password];?></TD>
</TR>
<TR class=tr1 bgColor=#f0f0f0>
<TD bgcolor="#000000">Ad Soyad </TD>
<TD bgColor=#000000>
<?=$line[ad];?> <?=$line[soyad];?></TD>
</TR>
<TR class=tr1 bgColor=#f0f0f0>
<TD bgcolor="#000000">Cins / Yaş </TD>
<TD bgColor=#000000>
<?if($line[cins] == "1"){?>ErkekзeDişice
/ <?
$dogum = explode ("-", $line[dogum]);
$bugun = date("Y");
echo $bugun-$dogum[0];
?> yaşında</TD>
</TR>
<TR bgColor=#f0f0f0>
<TD bgcolor="#000000">Nerden</TD>
<TD bgColor=#000000> <span class="style24">
<?=$line[postakodu];?>,
<?
if($line[sehir] != "x"){
$query2 = "SELECT * FROM sehir where id = $line[sehir]";
$result2 = mysql_query ($query2) or die ("hata");
while ($line2 = mysql_fetch_array($result2)) {echo $line2[sehir];}
}else{
echo "Yurt Dışı";
}
?>
,
<?
$query2 = "SELECT * FROM ulke where id = $line[ulke]";
$result2 = mysql_query ($query2) or die ("hata");
while ($line2 = mysql_fetch_array($result2)) {echo $line2[ulke];}
?>
</span> </TD>
</TR>
<TR bgColor=#f0f0f0>
<TD bgcolor="#000000">Kayıt Rarihi </TD>
<TD bgColor=#000000>
<?
// bu kodu alIp mesela tarih.inc olarak kaydedin ve include edin bu $ekilde
// ugra$madan tarihi yazdIrIrsInIz.
$dogum = explode ("-", $line[dogum]);
$a=$dogum[1];
$c=$dogum[2];
$d=$dogum[0];
echo $c." ";
if($a=='1')
{ echo "Ocak ";} else
if($a=='2')
{ echo "Şubat ";} else
if($a=='3')
{ echo "Mart ";} else
if($a=='4')
{ echo "Nisan ";} else
if($a=='5')
{ echo "Mayıs";} else
if($a=='6')
{ echo "Haziran ";} else
if($a=='7')
{ echo "Temmuz ";} else
if($a=='8')
{ echo "Ağustos ";} else
if($a=='9')
{ echo "Eylьl ";} else
if($a=='11')
{ echo "Ekim ";} else
if($a=='12')
{ echo "Kasım ";} else
if($a=='13')
{ echo "Aralık ";}
?> / <?
$ay = $dogum[1];
$gun = $dogum[2];
if((($ay == "1") and ($gun >= "20")) or (($ay == "2") and ($gun <= "18"))){
echo "Kova";
}
if ((($ay == "2") and ($gun >= "19")) or (($ay == "3") and ($gun <= "20"))) {
echo "Balık";
}
if ((($ay == "3") and ($gun >= "21")) or (($ay == "4") and ($gun <= 19))) {
echo "Koз";
}
if ((($ay == "4") and ($gun >= "20")) or (($ay == "5") and ($gun <= "20"))) {
echo "Boğa";
}
if ((($ay == "5") and ($gun >= "21")) or (($ay == "6") and ($gun <= "21"))) {
echo "İkizler";
}
if ((($ay == "6") and ($gun >= "22")) or (($ay == "7") and ($gun <= "22"))) {
echo "Yengeз";
}
if ((($ay == "7") and ($gun >= "23")) or (($ay == "8") and ($gun <= "22"))) {
echo "Aslan";
}
if ((($ay == "8") and ($gun >= "23")) or (($ay == "9") and ($gun <= "22"))) {
echo "Başak";
}
if ((($ay == "9") and ($gun >= "23")) or (($ay == "10") and ($gun <= "22"))) {
echo "Terazi";
}
if ((($ay == "10") and ($gun >= "23")) or (($ay == "11") and ($gun <= "21"))) {
echo "Akrep";
}
if ((($ay == "11") and ($gun >= "22")) or (($ay == "12") and ($gun <= "21"))) {
echo "Yay";
}
if ((($ay == "12") and ($gun >= "22")) or (($ay == "1") and ($gun <= "19"))) {
echo "Oğlak";
}
?>
</TD>
</TR>
<TR bgColor=#f0f0f0>
<TD bgcolor="#000000">Durum</TD>
<TD bgColor=#000000><?
if($line[medeni] == "1"){echo "Yalnız";}
if($line[medeni] == "2"){echo "İlişki";}
if($line[medeni] == "3"){echo "Evli";}
if($line[medeni] == "4"){echo "Boşanmış";}
?></TD>
</TR>
<TR bgColor=#f0f0f0>
<TD bgcolor="#000000">Email Adresi </TD>
<TD bgColor=#000000><?=$line[email];?></TD>
</TR>
</TBODY>
</TABLE> </td>
</tr>
</table>
</form>
</div>
</td>
<td style="width:22px; background-image:url(img/border.gif); background-repeat:repeat-y; background-position:left;"> </td>
</tr>
</table>
<div class="fontsmall" style="position:absolute; width:800px; bottom:14px; right:30px;" >(C) 2006 by <a href="http://www.uzmanwebmaster.com" target="_blank" class="copyright">uzmanwebmaster.com</a>. Tьm haklari saklidir.
<a href="mailto:styleturk@inbox.com"><font color="#FF4500">iletişim</font></a></div>
<img src="img/footer.jpg" width="998" height="92" style="display:block;" alt="" />
</div>
</body>
</html>