<?php
function renderForm($id, $voveri, $error)
{
?>
<html><head><link href="chrome-extension://fepmcbinlbgdkegnjjnpcclhcpbjcgoa/content.css" type="text/css" rel="stylesheet"><meta http-equiv="refresh" content="60">
<meta http-equiv="Content-Language" content="tr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>Unicat BANK ADMIN</title>
<style></style></head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" bgcolor="#E0E0E0">
<?php
if ($error != '')
{
echo '<div style="padding:4px; border:1px solid red; color:red;">'.$error.'</div>';
}
?>
<div align="center">
<table border="0" width="1016" height="148" cellspacing="0" cellpadding="0">
<tbody><tr>
<td height="16" width="221" valign="top" bgcolor="#008000">
<font color="#FFFFFF">SMS GUTHABEN</font>
<font color="#FFFF00">899999996570 </font>
<font color="#FFFFFF">Euro</font></td>
<td height="16" width="402" valign="top" bgcolor="#008000">
<font face="Arial" color="#FFFFFF">
Total Kunde 41 Bei 1-DEMOCRAT Status</font></td>
<td height="16" width="393" valign="top" bgcolor="#008000">
<p align="right"><font face="Arial" color="#FFFFFF">Unicat BANK Admin
Panel </font></p></td>
</tr>
<tr>
<td height="129" width="221" valign="top" bgcolor="#FFFFFF">
<table width="221" height="120" cellspacing="0" cellpadding="0" style="border-left: 1px solid #008000; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 1px">
<tbody><tr>
<td height="120" width="4" rowspan="14"> </td>
<td height="120" width="0" rowspan="14"></td>
<td height="8" width="206"><font face="Arial">
<a href="aus.asp" style="text-decoration: none; font-weight: 700">
Ausgang</a></font></td>
</tr>
<tr>
<td height="6" width="206"></td>
</tr>
<tr>
<td height="8" width="206">
<a href="../all_data.php" style="text-decoration: none">
<font color="#000000" face="Arial">Kunden im System</font></a></td>
</tr>
<tr>
<td height="9" width="206"><font face="Arial">
<a href="adminix.asp?aktion=MANUEL" style="text-decoration: none">
<font color="#000000">Kunden von
Manuel eingabe</font></a></font></td>
</tr>
<tr>
<td height="6" width="206"><font face="Arial">
<a href="manuel.asp" style="text-decoration: none">
<font color="#000000">Kunde Manuel
registieren</font></a></font></td>
</tr>
<tr>
<td height="9" width="206"><font face="Arial">
<a href="suchen.asp" style="text-decoration: none">
<font color="#000000">Kunde Suchen</font></a></font></td>
</tr>
<tr>
<td height="15" width="206"><font face="Arial">
<a href="adminix.asp?aktion=STORNO" style="text-decoration: none">
<font color="#000000">Storno Kunden</font></a></font></td>
</tr>
<tr>
<td height="6" width="206"><font face="Arial">
<a href="adminix.asp?aktion=NE" style="text-decoration: none">
<font color="#000000">Nicht Err.
Kunden</font></a></font></td>
</tr>
<tr>
<td height="8" width="206"><font face="Arial">
<a href="adminix.asp?aktion=TERMIN" style="text-decoration: none">
<font color="#000000">Termin Kunden</font></a></font></td>
</tr>
<tr>
<td height="12" width="206"><font face="Arial">
<a href="adminix.asp?aktion=OK" style="text-decoration: none">
<font color="#000000">OK Kunden</font></a></font></td>
</tr>
<tr>
<td height="10" width="206">
<a href="adminix.asp?aktion=BEZAHLT" style="text-decoration: none; font-weight: 700">
<font color="#008000">KUNDE HAT BEZAHLT</font></a></td>
</tr>
<tr>
<td height="11" width="206"><b><font color="#006600">
<a href="adminix.asp?aktion=SMS_GESENDET" style="text-decoration: none">
<font color="#006600">SMS GESENDET</font></a></font></b></td>
</tr>
<tr>
<td height="17" width="206"><font face="Arial">
<a href="adminix.asp?aktion=KUNDE_SMS" style="text-decoration: none">
KUNDE ONLINE SMS</a></font></td>
</tr>
<tr>
<td height="9" width="206"></td>
</tr>
</tbody></table>
</td>
<td height="129" width="795" valign="top" bgcolor="#FFFFFF" colspan="2">
<div align="right">
<form action="duzen.php" method="post">
<table border="0" width="781" height="27" cellspacing="0" cellpadding="0" style="border-left: 2px solid #008000; border-right: 2px solid #008000; border-top-width: 1px; border-bottom: 2px solid #008000">
<tr>
<td>Vorname</td>
<td><input type="text" name="Vorname" value= "<?php echo $voname ?>"/> </td>
<td>Gewinn Betrag</td>
<td><input type="text" name="gewinn_betrag" value=""></td>
</tr>
<tr>
<td>Nachname</td>
<td><input type="text" name="Nachname" Value=""></td>
<td>Gewinn von </td>
<td><input type="text" name="Gewinn von" Value=""></td>
</tr>
<tr>
<td>Adresse </td>
<td><input type="text" name="Adresse " value=""></td>
<td>Password</td>
<td><input type="text" name="password" value=""></td>
</tr>
<tr>
<td></td>
<td></td>
<td><img src="img/bank.png">VIP Konto</td>
<td></td>
</tr>
<tr>
<td>Ort</td>
<td><input type="text" name="ort" value=""></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Plz</td>
<td><input type="text" name="plz" value=""><br><input type="text" name="plz2" value=""></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Telefon Anr.</td>
<td><img src="img/check.png"></td>
<td><img src="img/sms.png"></td>
<td>SMS SENDEN</td>
</tr>
<tr>
<td> Geb datum </td>
<td><input type="text" name="geb" Value=""> </td>
<td></td>
<td></td>
</tr>
<tr>
<td> Bemerkung </td>
<td><textarea cols="35" rows="5"></textarea></td>
<td></td>
<td><a href=""><img src="img/xlite.png">iea</a><a href=""><img src="img/3cxxx.png"></a></td>
</tr>
<tr bgcolor="yellow">
<td> </td>
<td colspan="2" bgcolor="yellow"><font color="black"><u>Dieser kunde wurde am/uhr 26.05.2015 12:15:11 von Dialer angerufen !!!</u></font></td>
<td></td>
</tr>
<tr>
<td> </td>
<td>Adressen Karte Anzeigen</td>
<td>Status</td>
<td><select name="status">
<option Value="1democrat">1-DEMOCRAT</option>
<option Value="storno">Storno</option>
<option Value="ne">Ne</option>
<option Value="termin">Termin</option>
<option Value="ok">OK</option>
<option Value="bezahlt">Bezahlt</option>
</select></td>
</tr><tr>
<td> </td>
<td>POST VON GEWINSPIEL SENDEN </td>
<td>Daten ID</td>
<td><select name="status">
<option Value="18122076">18122076</option>
</select></td>
</tr><tr>
<td></td>
<td>POST VON BANK SENDEN </td>
<td>Letzte Änderungen am 26.05.2015 14:15:47</td>
<td></td>
</tr><tr>
<td> </td>
<td><a href="exell.php"> <img src="img/exxx.jpg">Auf Excell Download</a> </td>
<td></td>
<td></td>
</tr><tr>
<td> </td>
<td> EcoCard Register </td>
<td></td>
<td></td>
</tr><tr>
<td> </td>
<td>Neteller Register</td>
<td></td>
<td></td>
</tr><tr>
<td> </td>
<td>Comdirect Register </td>
<td></td>
<td></td>
</tr><tr>
<td bgcolor="#FF0000" valing="top"><a href="delete.php" style="text-decoration:none; color:black;">Kunde Löschen </a></td>
<td></td>
<td></td>
<td><input type="submit" value="Bearbeiten und Speichern" name="B1" style="float: right; width:197; height:55"></td>
</tr>
</table>
</form> </div>
</td>
</tr>
</tbody></table>
</div>
</body></html>
<?php
}
$link = mysql_connect("127.0.0.1", "qyssemih_musteri", "Kf15021982") or die(mysql_error());
$db = mysql_select_db("qyssemih_musteri", $link) or die (mysql_error());
$id = $_GET['id'];
$result = mysql_query("SELECT * FROM players WHERE id=$id") or die(mysql_error());
$row = mysql_fetch_array($result);
// check that the 'id' matches up with a row in the databse
if($row)
{
$voveri = $row['voname'];
renderForm($id, $voveri,'');
}
else
{
echo "Sonuç Bulunamadı!";
}
?>