<?php
if (!$eVoSecurity) header("Location: ../");
?>
<?
if(!isset($_SESSION["giris"]))
{
?>
<html>
<body>
<p>
<table width="100%">
<form action="?p=login" method="post">
<input type="hidden" name="_process_login" value="true">
<div id="login-overlay" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Ticket Destek Giriş</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-xs-6">
<div class="well">
<div class="form-group">
<label for="email" class="control-label">E-posta</label>
<input type="text" id="email" name="email" value="" class="form-control" title="Please enter you username" placeholder="
[email protected]">
<span class="help-block"></span>
</div>
<div class="form-group">
<label for="password" class="control-label">Şifre</label>
<input type="password" id="pass" name="pass" value="" class="form-control" title="Please enter your password" placeholder="*****">
<span class="help-block"></span>
</div>
<center>
<div style="margin-bottom: 10px" class="input-group">
<img src="php_captcha.php?width=150&height=25&characters=5" alt="gvenlik" width="150" height="25" border="0" style="float:left;">
</div> </center>
<div style="margin-bottom: 10px" class="input-group">
<input type="text" class="form-control" id="gvenlik" name="gvenlik" value="" placeholder="Resimdeki Rakamlar" />
</div>
<center>
<button type="submit" class="btn btn-success btn-block">Giriş Yap </button>
<a href="index.php?p=yeni_kayit" class="btn btn-default btn-block">Üye değilim?</a>
</center>
</form>
</div>
</div>
<div class="col-xs-6">
<p class="lead">Ticket Sistemine <span class="text-success">HOŞGELDİNİZ</span></p>
<ul class="list-unstyled" style="line-height: 2">
<li><font color="red">Yapabilecekleriniz</font> </li>
<br>
<li><span class="fa fa-check text-success"></span> Merak ettiğiniz soruları sorma.</li>
<li><span class="fa fa-check text-success"></span> Adminlik Satın Alma</li>
<li><span class="fa fa-check text-success"></span> Unuttuğunuz takdirde nick pw nize bakma</li>
<li><span class="fa fa-check text-success"></span> Server sorunları bildirme</li>
<li><span class="fa fa-check text-success"></span> Ve daha bir çok işlem!</li>
</ul>
<p><a href="index.php?p=yeni_kayit" class="btn btn-info btn-block">Üye Ol!</a></p>
</div>
</center>
</table>
</form>
<!-- Facebook -->
<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fmrclancs&tabs=timeline&width=340&height=500&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=true&appId=150785151632155" width="340" height="500" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
<!-- Facebook bitir -->
</p>
<?php }else{?>
<h2>Bilgileriniz</h2>
<script type="text/javascript">
function toggleview(element1) {
element1 = document.getElementById(element1);
if (element1.style.display == 'block' || element1.style.display == '')
element1.style.display = 'none';
else
element1.style.display = 'block';
return;
}
</script>
<center><?
$set = v_oku("setinfo_pw");
if($set == "0"){
}else{
?><bR /> <?
} ?>
<font size="2">Merhaba <? echo v_oku("ad"); ?> <? echo v_oku("soyad"); ?> Destek Sistemine Hoşgeldin! </font>
<table width="50%" border="1" cellspacing="0" cellpadding="2" class="table table-bordered" align="center" style="width:50%;margin-left:auto; margin-right:auto;">
<tr class="title">
<th colspan="2" align="center"><center>Mevcut Bilgileriniz</center></th>
</tr>
<tr>
<td width="13%"><b>İsim - Soyİsim :</b></td>
<td width="37%"><? echo v_oku("ad"); ?> <? echo v_oku("soyad"); ?></td>
</tr>
<tr>
<td><b>E-mail Adresi :</b></td>
<td><? echo v_oku("email"); ?></td>
</tr>
<tr>
<td><b>Telefon :</b></td>
<td><? echo v_oku("tel"); ?></td>
</tr>
<tr>
<td colspan="2" align="center"><br>
<font size="3"> <b>Adminlik Bilgileriniz...
<tr>
<td><b>Adminlik Nick:</b></td>
<td><?
$nick = v_oku("nick");
if($nick == "0"){
?> <span style="color:#666666">Size ait adminlik bulunamadı!</span> <?
}else{
echo v_oku("nick");
} ?></td>
</tr>
<tr>
<td><b>Adminlik Şifresi :</b></td>
<td><?
if($set == "0"){
?> <span style=" color:#666666"><span style="color:#666666">Size ait adminlik bulunamadı!</span>! </span> <?
}else{
?> <a onclick="toggleview('setpw')">Göster / Gizle</a> <div style="display:none" id="setpw" ><b><? echo $set; ?></b> </div> <?
} ?></td>
</tr>
<tr>
<td><b>MR CLAN $:</b></td>
<td><?
$dolar= v_oku("dolar");
if($dolar == "0"){
?> <span style="color:#666666">Maalesef MR CLAN $ ınız yok!</span> <?
}else{
echo v_oku("dolar");
} ?></td>
</tr>
<tr>
<td colspan="2" align="center"><font size="1"> Bakiye bildirimi ve diğer değişimle riçin Ticket göndermeniz lazım.</font></td>
</tr>
</table>
<br><br>
<form action="" method="post">
<table width="50%" border="1" cellspacing="0" cellpadding="2" class="table table-bordered" align="center" style="width:50%;margin-left:auto; margin-right:auto;">
<tr class="title">
<th colspan="2" align="center"><center>Bilgi Değiştir & Güncelle</center></th>
</tr>
<tr>
<td><b>İsim:</b></td>
<td><input type="text" class="input-group" name="real_name" id="real_name" size="40" value="<? echo v_oku("ad"); ?>" /></td>
</tr>
<tr>
<td><b>Soy İsim:</b></td>
<td><input type="text" class="input-group" name="real_sname" id="real_sname" size="40" value="<? echo v_oku("soyad"); ?>" /></td>
</tr>
<tr>
<td><b>E-mail Adresi [Değişmez]:</b></td>
<td><? echo v_oku("email"); ?></td>
</tr>
<tr>
<td><b>Telefon :</b></td>
<td><input type="text" class="input-group" name="phone" id="phone" value="<? echo v_oku("tel"); ?>" /></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="bilgidegiscem" id="bilgidegiscem" value="Güncelle" class="btn btn-success">
<br><br><hr><br>
</td>
</tr>
</form>
<form action="index.php?p=degis" method="post">
<tr>
<td colspan="2" align="center"><b>Eğer Şifrenizide değiştirecekseniz, aşağıdaki bilgileride doldurunuz.</b></td>
</tr>
<tr>
<td> <b>Mevcut Sifre :</b></td>
<td><input type="password" name="pas" id="pas" value=""></td>
</tr>
<tr>
<td><b>Yeni Sifre :</b></td>
<td><input type="password" name="pasy" id="pasy" value=""></td>
</tr>
<tr>
<td><b>Tekrar Yeni Sifreniz :</b></td>
<td><input type="password" name="pasy2" id="pasy2" value=""></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="bilgidegiscem" id="bilgidegiscem" value="Güncelle" class="btn btn-success">
</td>
</tr>
<div id="footer">TheFlash Destek Sistemi v1 Alpha Sürüm. Design </> TheFlash</div>
<?
$_POST or die("");
// post veri
$isim = $_POST['real_name'];
$soyisim = $_POST['real_sname'];
$tel = $_POST['phone'];
$pas = $_POST['pas'];
$pasy = md5($_POST['pasy']);
$pasy2 = md5($_POST['pasy2']);
$pass= v_oku("pass");
$uid= v_oku("id");
// ***
if($pas = $pass){
$_SESSION['hata'] = "realpas_fark";
echo '<meta http-equiv="refresh" content="0;URL=index.php">';
}elseif($pass != $pass2){
$_SESSION['hata'] = "pas_fark";
echo '<meta http-equiv="refresh" content="0;URL=index.php">';
}// kontroller bitimi
$sqlkomut = "UPDATE `users` SET `ad` = '$isim', `soyad` = '$soyisim', `tel` = '$tel' WHERE `id` =$uid;";
$sonuc = mysql_query($sqlkomut);
if ( $sonuc ){
$_SESSION['hata'] = "bilgi_guncel";
echo '<meta http-equiv="refresh" content="0;URL=index.php">';
}
?> <? }?>