Daha önceden sdemirkeser tarafından hazırlanan teknik servis scriptine eklenti yaptıralacaktır.Örnek olsun diye bir kod yapısını ekledim.Online demo pm olarak atılacaktır.
<?php
include_once('baglan.php');
$adminId = adminIsLogedIn();
if($adminId === false){
    header("Location: gir.php");
    die();
}
if(yetkiKontrol($adminId, 'ariza')==false){
    header("Location: yetkihatasi.php");
    die();    
}
include_once('ust.php');
$adet = 30;
$kriter = array('durum' => '1');
$toplam = arizaListe($kriter,true);

if($_GET['imei']!=''){
    $kriter['imei'] = $_GET['imei'];
}
if($_GET['bayiMusteriId']!=''){
    $kriter['bayiMusteriId'] = $_GET['bayiMusteriId'];
}
$kriter['limit'] = $adet;
$kriter['top'] = $_GET['top'];
$kriter['orderBy'] = 'id DESC';
$kriter['orderBy'] = 'id DESC';
$arizalar = arizaListe($kriter);

?>
<script language="javascript" type="text/javascript">
function secBayi(id){
    $('#bayiMusteriId').val(id);    
    $('#btnAra').click();
}
function secMusteri(id){
    $('#bayiMusteriId').val(id);
    $('#btnAra').click();
}
$(document).ready(function (){
    $('#btnAra').click(function (){
        window.location = 'arizaliste.php?top=0&imei=' + $('#imei').val() + '&bayiMusteriId=' + $('#bayiMusteriId').val();    
    });
});
</script>
<span class="baslik">Cihaz Listesi</span><br />
Imei 
<input type="text" name="imei" id="imei" value="<?php echo $_GET['imei'];?>" class="inputMetin" />
Müşteri/Bayi Kodu
<input type="text" name="bayiMusteriId" id="bayiMusteriId" class="inputMetin" style="width:30px;" value="<?php echo $_GET['bayiMusteriId'];?>" /><a href="bayilistepopup.php?KeepThis=true&TB_iframe=true&height=400&width=600" title="Bayi Listesi" class="thickbox"><img src="adminTema/bayi.png" border="0" id="imgBayi" /></a> <a href="musterilistepopup.php?KeepThis=true&TB_iframe=true&height=400&width=600" title="Müşteri Listesi" class="thickbox"><img src="adminTema/musteri.png" border="0" id="imgMusteri" /></a>
<input type="button" name="btnAra" id="btnAra" value="Ara" class="inputButon" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th width="5%">Id</th>
    <th width="10%">Marka</th>
    <th width="10%">Model</th>
    <th width="10%">Cihaz</th>
    <th width="10%">M/B</th>
    <th width="10%">Adı</th>
    <th width="10%">Soyadı</th>
    <th width="5%">Tarih</th>
    <th width="15%">Durumu</th>    
    <th width="5%"><div align="center">Düzenle</div></th>
    <th width="5%"><div align="center">Sil</div></th>
<?php if(yetkiKontrol($adminId, 'teknik')==true){ ?>    
    <th width="5%"><div align="center">T.Servis</div></th>
<?php } ?>
</tr>
<?php
foreach($arizalar as $ariza){
?>
  <tr>
    <td>&nbsp;<?php echo $ariza["id"];?></td>
    <td>&nbsp;<?php echo $ariza["model"]["adi"];?></td>
    <td>&nbsp;<?php echo $ariza["marka"]["adi"];?></td>
    <td>&nbsp;<?php echo $ariza["cihazTuru"]["adi"];?></td>
    <td>&nbsp;<?php if($ariza["bayimiMusterimi"]=='0'){ echo 'Bayi';}else{echo 'Müşteri';}?></td>
    <td>&nbsp;<?php echo $ariza["bayiMusteri"]["adi"];?></td>
    <td>&nbsp;<?php echo $ariza["bayiMusteri"]["soyadi"];?></td>
    <td>&nbsp;<?php echo $ariza["kayitTarih"];?></td>
    <td>&nbsp;<?php echo $ariza["servisDurumu"]["adi"];?></td>
    <td><div align="center"><a href="arizaduzenle.php?id=<?php echo $ariza["id"];?>"><img src="adminTema/ok.png" alt="düzenle" width="16" height="16" border="0" /></a></div></td>
    <td><div align="center"><a href="arizasil.php?id=<?php echo $ariza["id"];?>"><img src="adminTema/hata.png" alt="sil" width="16" height="16" border="0" /></a></div></td>
<?php if(yetkiKontrol($adminId, 'teknik')==true){ ?>    
    <td><div align="center"><a href="teknikduzenle.php?id=<?php echo $ariza["id"];?>"><img src="adminTema/detay.png" alt="Teknik Servis Düzenle" width="16" height="16" border="0" /></a></div></td>
<?php } ?>    
  </tr>
<?php
}
?>
</table>
Sayfa 
<?php
$sayfa = ceil($toplam / $adet);
for($i = 1; $i<=$sayfa; $i++){
?>
<a href="arizaliste.php?top=<?php echo (($i-1)*$adet)?>&imei=<?php echo $_GET["imei"]?>&bayiMusteriId=<?php echo $_GET["bayiMusteriId"];?>">[<?php echo ($i);?>]</a>
<?php
}
?>
<br />
<input type="button" name="button" id="button" value="Yeni Arız Kaydı" class="inputButon" onclick="window.location='arizayeni.php';" />
<?php
include_once('alt.php');
?>