Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/admin/hhduzenle.php
<?php include 'header.php'; ?>
<?php 

$idcekctrl = $_GET['hhid']+0;

include '../ayar.php';

?>
<div align="center">
<form method="post" action="hhduzenlendi.php">
<b>Müþteri:</b><br />
<select name="mbilgi">
<?php

$listeisl = mysql_query("SELECT musteribil FROM musterihostingleri WHERE id='$idcekctrl'");
while($listele = mysql_fetch_assoc($listeisl))
{
$madsoyad = $listele['musteribil'];

echo"<option value=\"$madsoyad\">$madsoyad</option>";
}
?>
<?php

$listeisl2 = mysql_query("SELECT adsoyad FROM musteriler");
while($listele2 = mysql_fetch_assoc($listeisl2))
{
$madsoyad2 = $listele2['adsoyad'];

echo"<option value=\"$madsoyad2\">$madsoyad2</option>";
}
?>
</select><br />
<b>Hosting Paketi:</b><br />
<select name="hpaket">
<?php

$listeisl3 = mysql_query("SELECT hostingpaket FROM musterihostingleri WHERE id='$idcekctrl'");
while($listele3 = mysql_fetch_assoc($listeisl3))
{
$hpaket = $listele3['hostingpaket'];

echo"<option value=\"$hpaket\">$hpaket</option>";
}
?>
<?php

$listeisl4 = mysql_query("SELECT paketadi FROM hostingpaketleri");
while($listele4 = mysql_fetch_assoc($listeisl4))
{
$spad = $listele4['paketadi'];

echo "<option value=\"$spad\">$spad</option>";
}
?>
</select><br />
<?php
$listeisl5 = mysql_query("SELECT alanadi, baslamatarihi, bitistarihi FROM musterihostingleri WHERE id='$idcekctrl'");
while($listele5 = mysql_fetch_assoc($listeisl5))
{
$halanadi = $listele5['alanadi'];
$bastar = $listele5['baslamatarihi'];
$bittar = $listele5['bitistarihi'];

echo "
<input name=\"idbil\" type=\"hidden\" class=\"text\" size=\"60\" value=\"$idcekctrl\" />
<b>Alan Adý:</b><br /> 
<input name=\"domain\" type=\"text\" class=\"text\" size=\"60\" value=\"$halanadi\" /><br /> 
<b>Baþlama Tarihi:</b><br /> 
<input name=\"bastarihi\" type=\"text\" class=\"text\" size=\"60\" value=\"$bastar\" /><br /> 
<b>Bitiþ Tarihi</b><br /> 
<input name=\"bittarihi\" type=\"text\" class=\"text\" size=\"60\" value=\"$bittar\" /><br /> 
<input type=\"submit\" value=\"Müþteri Hesabýndaki Hosting Paketini Düzenle\" />
</form>";
}
?>
</div>
<?php include 'footer.php'; ?>
Return current item: MythPHP