Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/admin/murunbak.php
<?php include 'header.php'; ?>
<div align="center">
<?php

include '../ayar.php';

$kisi = $_POST['murun'];

function guvenlik($suz) {
$sansurle = array('CREATE','DELETE','SELECT','FROM','LIMIT','TABLE','MYISAM','*','ORDER','ASC','JOIN','BINARY','WHERE','<','>');
$editle = array('---','---','---','---','---','---','---','---','---','---','---','---','---','---','---');
$isle = str_replace($sansurle,$editle,$suz);

$safhal = mysql_real_escape_string($isle);

if(empty($safhal)){
@mysql_close();
}

return $safhal;

}

$gkisi = guvenlik($kisi);

$listeisl = mysql_query("SELECT * FROM musterialanadlari WHERE musteribil='$gkisi'");
while($listele = mysql_fetch_array($listeisl))
{
$ahid = $listele['id'];
$mbil = $listele['musteribil'];
$aad = $listele['alanadi'];
$aad2 = $listele['alanadiu'];
$bastar = $listele['baslamatarihi'];
$bittar = $listele['bitistarihi'];

echo "<b>$gkisi Adlý Müþterinin Alan Adý Hesaplarý;</b><br />";

echo "
<b>Hesap No:</b> $ahid<br />
<b>Müþteri Ad Soyad:</b> $mbil<br/>
<b>Alan Adý:</b> $aad.$aad2<br />
<b>Baþlama Tarihi:</b> $bastar<br />
<b>Bitiþ Tarihi:</b> $bittar<br />
";
}

$listeisl2 = mysql_query("SELECT * FROM musterihostingleri WHERE musteribil='$gkisi'");
while($listele = mysql_fetch_array($listeisl2))
{
$hhid = $listele['id'];
$madsoyad = $listele['musteribil'];
$hpaket = $listele['hostingpaket'];
$halanadi = $listele['alanadi'];
$hbastar = $listele['baslamatarihi'];
$hbittar = $listele['bitistarihi'];

echo "<b>$gkisi Adlý Müþterinin Hosting Hesaplarý;</b><br />";

echo "
<b>Hesap No:</b> $hhid<br />
<b>Müþteri Ad Soyad:</b> $madsoyad<br />
<b>Hosting Paketi:</b> $hpaket<br />
<b>Alan Adý:</b> $halanadi<br />
<b>Baþlama Tarihi:</b> $hbastar<br />
<b>Bitiþ Tarihi:</b> $hbittar<br />
";
}
?>
</div>
<?php include 'footer.php'; ?>
Return current item: MythPHP