Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/admin/gelensiparis.php
<?php include 'header.php'; ?>
		<div id="tabledata" class="section">
			<h2 class="ico_mug">Hosting Sipariþleri</h2>
		<table id="table">
			<thead>
			<tr>
				<th>Sipariþ No.</th>
				<th>Müþteri Ad Soyad</th>
				<th>Almak Ýstediði Paket</th>
				<th>Alan Adý</th>
				<th>Sipariþ Tarihi - Saati</th>
				<th></th>
			</tr>
			</thead>
			<tbody>
<?php
include '../ayar.php';

$listeisl = mysql_query("SELECT * FROM siparisler");
while($listele = mysql_fetch_array($listeisl))
{
$sid = $listele['id'];
$madsoyad = $listele['musteriadisoyadi'];
$mpaket = $listele['almakistedigipaket'];
$malanadi = $listele['alanadi'];
$mnot = $listele['musterinotu'];
$starih = $listele['tarih'];

			echo "<tr>
				<td class=\"table_date\">$sid</td>
				<td class=\"table_title\"><span class=\"approved\">$madsoyad</span></td>
				<td>$mpaket</td> 
				<td><span class=\"approved\">$malanadi</span></td>
				<td>$starih</td>
				<td><span class=\"approved\"><a href=\"siparisiptal.php?sid=$sid\">Ýptal Et</a> - <a href=\"siparisayrinti.php?sid=$sid\">Ayrýntýlar</a></span></td>
			</tr>";
}
?>
			</tbody>
		</table>
		</div> 
		<div id="tabledata" class="section">
			<h2 class="ico_mug">Alan Adý Sipariþleri</h2>
		<table id="table">
			<thead>
			<tr>
				<th>Sipariþ No.</th>
				<th>Müþteri Ad Soyad</th>
				<th>Alan Adý</th>
				<th>Uzantý</th>
				<th>Sipariþ Tarihi - Saati</th>
				<th></th>
			</tr>
			</thead>
			<tbody>
<?php
include '../ayar.php';

$listeisl = mysql_query("SELECT * FROM asiparisler");
while($listele = mysql_fetch_array($listeisl))
{
$asid = $listele['id'];
$asadsoyad = $listele['musteribil'];
$asaad1 = $listele['alanadi1'];
$asaad2 = $listele['alanadi2'];
$mnot = $listele['nots'];
$astarih = $listele['tarih'];

			echo "<tr>
				<td class=\"table_date\">$asid</td>
				<td class=\"table_title\"><span class=\"approved\">$asadsoyad</span></td>
				<td>$asaad1.$asaad2</td> 
				<td><span class=\"approved\">$asaad2</span></td>
				<td>$astarih</td>
				<td><span class=\"approved\"><a href=\"asiparisiptal.php?asid=$asid\">Ýptal Et</a>  -  <a href=\"asiparisayrinti.php?asid=$asid\">Ayrýntýlar</a></span></td>
			</tr>";
}
?>
			</tbody>
		</table>
		</div> 
		
<?php include 'footer.php'; ?>
Return current item: MythPHP