php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /var/www/html/fl/android/ |
files >> /var/www/html/fl/android/customer.php |
<?php include "../konfig/koneksi.php"; include "global.php"; $id_staff = $_POST['id_staff']; $result = array(); $customer = mysql_query("SELECT * FROM customer a, status_toko b WHERE a.id_status_toko=b.id_status_toko AND a.id_staff='$id_staff' AND a.id_status_toko='1' OR a.id_status_toko=b.id_status_toko AND a.id_staff='$id_staff' AND a.id_status_toko='2' ORDER BY a.nama_toko ASC"); while($r = mysql_fetch_array($customer)){ $temp = array(); $temp['id_customer'] = $r['id_customer']; $temp['nama_pemilik'] = $r['nama_pemilik']; $temp['phone_pemilik'] = $r['phone_pemilik']; $temp['alamat_pemilik'] = $r['alamat_pemilik']; $temp['titik_lokasi'] = $r['titik_lokasi']; $temp['no_ktp'] = $r['no_ktp']; $temp['foto_ktp'] = $androidLink."/images/img_customer/$r[foto_ktp]"; $temp['nama_toko'] = $r['nama_toko']; $temp['alamat_toko'] = $r['alamat_toko']; $temp['phone_toko'] = $r['phone_toko']; $temp['foto_toko1'] = $androidLink."/images/img_customer/$r[foto_toko1]"; $temp['foto_toko2'] = $androidLink."/images/img_customer/$r[foto_toko2]"; $temp['foto_toko3'] = $androidLink."/images/img_customer/$r[foto_toko3]"; $temp['foto_toko4'] = $androidLink."/images/img_customer/$r[foto_toko4]"; $temp['jumlah_tunggakan'] = $r['jumlah_tunggakan']; $temp['nama_status_toko'] = $r['nama_status_toko']; $temp['tanggal_daftar'] = $r['tanggal_daftar']; array_push($result, $temp); } echo json_encode($result); ?>y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`