Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/admin/index2.php
<?php include 'header.php'; ?>
		<div id="tabledata" class="section">
			<h2 class="ico_mug">Son 5 Müþteri</h2>
		<table id="table">
			<thead>
			<tr>
				<th>Müþteri No.</th>
				<th>Müþteri Ad Soyad</th>
				<th>Mail Adresi</th>
				<th>T.C. No.</th>
				<th>Telefon Numarasý</th>
				<th></th>
			</tr>
			</thead>
			<tbody>
<?php
include '../ayar.php';

$listeisl = mysql_query("SELECT * FROM musteriler ORDER BY id DESC LIMIT 0,5");
while($listele = mysql_fetch_array($listeisl))
{
$mid = $listele['id'];
$madsoyad = $listele['adsoyad'];
$mtelno = $listele['telno'];
$mmail = $listele['mail'];
$tcnobas = $listele['tcno'];
$mnotlar = $listele['notlar'];


			echo "<tr>
				<td class=\"table_date\">$mid</td>
				<td class=\"table_title\"><span class=\"approved\">$madsoyad</span></td>
				<td>$mmail</td> 
				<td><span class=\"approved\">$tcnobas</span></td>
				<td>$mtelno</td>
				<td><span class=\"approved\"><a href=\"mailgonder.php?mid=$mid\">Mail Gönder</a>  -  <a href=\"musteriduzenle.php?mid=$mid\">Düzenle</a>  -  <a href=\"musterisilindi.php?mid=$mid\">Sil</a>  -  <a href=\"musteriayrinti.php?mid=$mid\">Ayrýntýlar</a></span></td>
			</tr>";
}
?>
</form>

			</tbody>
		</table>
<div align="right">Son 5 Kayýt.</div>

		</div>

<div id="tabledata" class="section">
			<h2 class="ico_mug">Son 5 Hosting Sipariþi</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 ORDER BY id DESC LIMIT 0,5");
while($listele = mysql_fetch_array($listeisl))
{
$sid = $listele['id'];
$madsoyad = $listele['musteriadisoyadi'];
$mpaket= $listele['almakistedigipaket'];
$malanadi = $listele['alanadi'];
$mnot = $listele['musterinotu'];
$siptar = $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>$siptar</td>
				<td><span class=\"approved\"><a href=\"siparisiptal.php?sid=$sid\">Sil</a> - <a href=\"siparisayrinti.php?sid=$sid\">Ayrýntýlar</a></span></td>
			</tr>";
}
?>
			</tbody>
		</table>
		<div align="right">Son 5 Kayýt.</div>
		</div>  

<div id="tabledata" class="section">
			<h2 class="ico_mug">Son 5 Alan Adý Sipariþi</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 ORDER BY id DESC LIMIT 0,5");
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=\"asparisiptal.php?asid=$asid\">Sil</a>  -  <a href=\"asiparisayrinti.php?asid=$asid\">Ayrýntýlar</a></span></td>
			</tr>";
}
?>
			</tbody>
		</table>
		<div align="right">Son 5 Kayýt.</div>
		</div>  

<div id="tabledata" class="section">
			<h2 class="ico_mug">Son 5 Destek Talebi</h2>
		<table id="table">
			<thead>
			<tr>
				<th>Destek No.</th>
				<th>Müþteri</th>
				<th>Destek Talebi</th>
				<th>Aciliyet</th>
				<th>Açýlýþ Tarihi - Saati</th>
				<th></th>
			</tr>
			</thead>
			<tbody>
<?php
include '../ayar.php';

$listeisl = mysql_query("SELECT * FROM ticket ORDER BY id DESC LIMIT 0,5");
while($listele = mysql_fetch_array($listeisl))
{
$dtid = $listele['id'];
$dtmus = $listele['kimden'];
$dtad = $listele['baslik'];
$dtacil = $listele['aciliyet'];
$dttarih = $listele['tarih'];

			echo "<tr>
				<td class=\"table_date\">$dtid</td>
				<td>$dtmus</td>
				<td class=\"table_title\"><span class=\"approved\">$dtad</span></td>
				<td>$dtacil</td> 
				<td><span class=\"approved\">$dttarih</span></td>
				<td><span class=\"approved\"><a href=\"dtsil.php?dtid=$dtid\">Talebi Sil</a>  -  <a href=\"dtayrinti.php?dtid=$dtid\">Ayrýntýlar</a></span></td>
			</tr>";
}
?>
			</tbody>
		</table>
		<div align="right">Son 5 Kayýt.</div>
		</div>  

		<div id="tabledata" class="section">
			<h2 class="ico_mug">Son 5 Duyuru</h2>
		<table id="table">
			<thead>
			<tr>
				<th>Duyuru No.</th>
				<th>Eklenme Tarihi</th>
				<th>Duyuru Baþlýðý</th>
				<th></th>
			</tr>
			</thead>
			<tbody>
<?php
include '../ayar.php';

$listeisl = mysql_query("SELECT * FROM duyurular ORDER BY id DESC LIMIT 0,5");
while($listele = mysql_fetch_array($listeisl))
{
$did = $listele['id'];
$dbaslik = $listele['baslik'];
$dtarih = $listele['tarih'];

			echo "<tr>
				<td class=\"table_date\">$did</td>
				<td class=\"table_title\"><span class=\"approved\">$dtarih</span></td>
				<td>$dbaslik</td> 
				<td><span class=\"approved\"><a href=\"duyuruduzenle.php?did=$did\">Düzenle</a>  -  <a href=\"duyurusilindi.php?did=$did\">Sil</a>  -  <a href=\"duyuruayrinti.php?did=$did\">Ayrýntýlar</a></span></td>
			</tr>";
}
?>
			</tbody>
		</table>
		<div align="right">Son 5 Kayýt.</div>
		</div>
		
<?php include 'footer.php'; ?>
Return current item: MythPHP