Created
May 7, 2018 04:03
-
-
Save Loetfi/f432e7ecc07be047ae2fb76058540c09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// nanti ambil dari adms menggunakan curl | |
$dari_ims = '{"draw":2,"recordsTotal":320,"recordsFiltered":320,"data":[["10","<a href=\"map_lot_list_detail.php?id=3218&item=38580\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/103.7.1.36\/blue-t\/ImageShare\/38580\/img\/photo\/1.jpg\"><\/a>","MEDAN","BK1896DU","2017","TOYOTA CALYA 1.2 G MINIBUS MT","09-05-2018<br>0","SILVER METALIK","BENSIN","E","0"],["42","<a href=\"map_lot_list_detail.php?id=3218&item=38564\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/103.7.1.36\/blue-t\/ImageShare\/38564\/img\/photo\/1.jpg\"><\/a>","MEDAN","BK1997PJ","2016","DAIHATSU XENIA 1.3 X MINIBUS MT","09-05-2018<br>35,496","HITAM METALIK","BENSIN","B","0"],["41","<a href=\"map_lot_list_detail.php?id=3218&item=39300\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/103.7.1.36\/blue-t\/ImageShare\/39300\/img\/photo\/1.jpg\"><\/a>","MEDAN","BK1006DP","2017","TOYOTA AVANZA 1.3 G GRAND MINIBUS MT","09-05-2018<br>10,160","HITAM METALIK","BENSIN","B","0"],["40","<a href=\"map_lot_list_detail.php?id=3218&item=40363\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/103.7.1.36\/blue-t\/ImageShare\/40363\/img\/photo\/1.jpg\"><\/a>","MEDAN","BK1115BP","2017","TOYOTA AVANZA 1.3 G GRAND MINIBUS AT","09-05-2018<br>47,632","PUTIH","BENSIN","B","0"],["39","<a href=\"map_lot_list_detail.php?id=3218&item=38680\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/ims\/uploaded\/LampiranItemDaftar\/38680\/1.jpg\"><\/a>","MEDAN","BK897R","2007","HONDA CRV 2.4 JEEP AT","09-05-2018<br>","HITAM METALIK","BENSIN",null,"0"],["38","<a href=\"map_lot_list_detail.php?id=3218&item=40641\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BK1703VR","2016","TOYOTA AGYA 1.0 G TRD MINIBUS MT","09-05-2018<br>","","BENSIN",null,"0"],["37","<a href=\"map_lot_list_detail.php?id=3218&item=40640\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BK510YA","2006","TOYOTA KIJANG INNOVA 2.0 V MINIBUS MT","09-05-2018<br>","","BENSIN",null,"0"],["36","<a href=\"map_lot_list_detail.php?id=3218&item=40639\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BL831EE","2015","DAIHATSU XENIA 1.0 D STANDARD MINIBUS MT","09-05-2018<br>","","BENSIN",null,"0"],["35","<a href=\"map_lot_list_detail.php?id=3218&item=40638\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BL1576LC","2017","DAIHATSU XENIA 1.3 R MINIBUS MT","09-05-2018<br>","","BENSIN",null,"0"],["34","<a href=\"map_lot_list_detail.php?id=3218&item=40637\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BL1620EE","2017","DAIHATSU AYLA 1.0 X MINIBU MT","09-05-2018<br>","","BENSIN",null,"0"]]}'; | |
$dari_adms = '{"draw":2,"recordsTotal":320,"recordsFiltered":320,"data":[["adms10","<a href=\"map_lot_list_detail.php?id=3218&item=38580\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/103.7.1.36\/blue-t\/ImageShare\/38580\/img\/photo\/1.jpg\"><\/a>","MEDAN","BK1896DU","2017","TOYOTA CALYA 1.2 G MINIBUS MT","09-05-2018<br>0","SILVER METALIK","BENSIN","E","0"],["adms42","<a href=\"map_lot_list_detail.php?id=3218&item=38564\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/103.7.1.36\/blue-t\/ImageShare\/38564\/img\/photo\/1.jpg\"><\/a>","MEDAN","BK1997PJ","2016","DAIHATSU XENIA 1.3 X MINIBUS MT","09-05-2018<br>35,496","HITAM METALIK","BENSIN","B","0"],["adms41","<a href=\"map_lot_list_detail.php?id=3218&item=39300\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/103.7.1.36\/blue-t\/ImageShare\/39300\/img\/photo\/1.jpg\"><\/a>","MEDAN","BK1006DP","2017","TOYOTA AVANZA 1.3 G GRAND MINIBUS MT","09-05-2018<br>10,160","HITAM METALIK","BENSIN","B","0"],["adms40","<a href=\"map_lot_list_detail.php?id=3218&item=40363\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/103.7.1.36\/blue-t\/ImageShare\/40363\/img\/photo\/1.jpg\"><\/a>","MEDAN","BK1115BP","2017","TOYOTA AVANZA 1.3 G GRAND MINIBUS AT","09-05-2018<br>47,632","PUTIH","BENSIN","B","0"],["adms39","<a href=\"map_lot_list_detail.php?id=3218&item=38680\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/ims\/uploaded\/LampiranItemDaftar\/38680\/1.jpg\"><\/a>","MEDAN","BK897R","2007","HONDA CRV 2.4 JEEP AT","09-05-2018<br>","HITAM METALIK","BENSIN",null,"0"],["38","<a href=\"map_lot_list_detail.php?id=3218&item=40641\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BK1703VR","2016","TOYOTA AGYA 1.0 G TRD MINIBUS MT","09-05-2018<br>","","BENSIN",null,"0"],["adms37","<a href=\"map_lot_list_detail.php?id=3218&item=40640\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BK510YA","2006","TOYOTA KIJANG INNOVA 2.0 V MINIBUS MT","09-05-2018<br>","","BENSIN",null,"0"],["adms36","<a href=\"map_lot_list_detail.php?id=3218&item=40639\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BL831EE","2015","DAIHATSU XENIA 1.0 D STANDARD MINIBUS MT","09-05-2018<br>","","BENSIN",null,"0"],["adms35","<a href=\"map_lot_list_detail.php?id=3218&item=40638\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BL1576LC","2017","DAIHATSU XENIA 1.3 R MINIBUS MT","09-05-2018<br>","","BENSIN",null,"0"],["adms34","<a href=\"map_lot_list_detail.php?id=3218&item=40637\">\r\n\t\t\t\t\t\t<image width=\"60%\" src=\"http:\/\/ibid.astra.co.id\/map\/side\/error.png\"><\/a>","MEDAN","BL1620EE","2017","DAIHATSU AYLA 1.0 X MINIBU MT","09-05-2018<br>","","BENSIN",null,"0"]]}'; | |
$res_ims = json_decode($dari_ims,true); | |
$res_adms = json_decode($dari_adms,true); | |
// respon | |
$respon = array_merge($res_ims['data'],$res_adms['data']); | |
// result | |
echo json_encode($respon); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
respon begini.
[["10","<a href="map_lot_list_detail.php?id=3218&item=38580">\r\n\t\t\t\t\t\t<image width="60%" src="http://103.7.1.36/blue-t/ImageShare/38580/img/photo/1.jpg"></a>","MEDAN","BK1896DU","2017","TOYOTA CALYA 1.2 G MINIBUS MT","09-05-2018
0","SILVER METALIK","BENSIN","E","0"],["42","<a href="map_lot_list_detail.php?id=3218&item=38564">\r\n\t\t\t\t\t\t<image width="60%" src="http://103.7.1.36/blue-t/ImageShare/38564/img/photo/1.jpg"></a>","MEDAN","BK1997PJ","2016","DAIHATSU XENIA 1.3 X MINIBUS MT","09-05-2018
35,496","HITAM METALIK","BENSIN","B","0"],["41","<a href="map_lot_list_detail.php?id=3218&item=39300">\r\n\t\t\t\t\t\t<image width="60%" src="http://103.7.1.36/blue-t/ImageShare/39300/img/photo/1.jpg"></a>","MEDAN","BK1006DP","2017","TOYOTA AVANZA 1.3 G GRAND MINIBUS MT","09-05-2018
10,160","HITAM METALIK","BENSIN","B","0"],["40","<a href="map_lot_list_detail.php?id=3218&item=40363">\r\n\t\t\t\t\t\t<image width="60%" src="http://103.7.1.36/blue-t/ImageShare/40363/img/photo/1.jpg"></a>","MEDAN","BK1115BP","2017","TOYOTA AVANZA 1.3 G GRAND MINIBUS AT","09-05-2018
47,632","PUTIH","BENSIN","B","0"],["39","<a href="map_lot_list_detail.php?id=3218&item=38680">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/ims/uploaded/LampiranItemDaftar/38680/1.jpg"></a>","MEDAN","BK897R","2007","HONDA CRV 2.4 JEEP AT","09-05-2018
","HITAM METALIK","BENSIN",null,"0"],["38","<a href="map_lot_list_detail.php?id=3218&item=40641">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BK1703VR","2016","TOYOTA AGYA 1.0 G TRD MINIBUS MT","09-05-2018
","","BENSIN",null,"0"],["37","<a href="map_lot_list_detail.php?id=3218&item=40640">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BK510YA","2006","TOYOTA KIJANG INNOVA 2.0 V MINIBUS MT","09-05-2018
","","BENSIN",null,"0"],["36","<a href="map_lot_list_detail.php?id=3218&item=40639">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BL831EE","2015","DAIHATSU XENIA 1.0 D STANDARD MINIBUS MT","09-05-2018
","","BENSIN",null,"0"],["35","<a href="map_lot_list_detail.php?id=3218&item=40638">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BL1576LC","2017","DAIHATSU XENIA 1.3 R MINIBUS MT","09-05-2018
","","BENSIN",null,"0"],["34","<a href="map_lot_list_detail.php?id=3218&item=40637">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BL1620EE","2017","DAIHATSU AYLA 1.0 X MINIBU MT","09-05-2018
","","BENSIN",null,"0"],["adms10","<a href="map_lot_list_detail.php?id=3218&item=38580">\r\n\t\t\t\t\t\t<image width="60%" src="http://103.7.1.36/blue-t/ImageShare/38580/img/photo/1.jpg"></a>","MEDAN","BK1896DU","2017","TOYOTA CALYA 1.2 G MINIBUS MT","09-05-2018
0","SILVER METALIK","BENSIN","E","0"],["adms42","<a href="map_lot_list_detail.php?id=3218&item=38564">\r\n\t\t\t\t\t\t<image width="60%" src="http://103.7.1.36/blue-t/ImageShare/38564/img/photo/1.jpg"></a>","MEDAN","BK1997PJ","2016","DAIHATSU XENIA 1.3 X MINIBUS MT","09-05-2018
35,496","HITAM METALIK","BENSIN","B","0"],["adms41","<a href="map_lot_list_detail.php?id=3218&item=39300">\r\n\t\t\t\t\t\t<image width="60%" src="http://103.7.1.36/blue-t/ImageShare/39300/img/photo/1.jpg"></a>","MEDAN","BK1006DP","2017","TOYOTA AVANZA 1.3 G GRAND MINIBUS MT","09-05-2018
10,160","HITAM METALIK","BENSIN","B","0"],["adms40","<a href="map_lot_list_detail.php?id=3218&item=40363">\r\n\t\t\t\t\t\t<image width="60%" src="http://103.7.1.36/blue-t/ImageShare/40363/img/photo/1.jpg"></a>","MEDAN","BK1115BP","2017","TOYOTA AVANZA 1.3 G GRAND MINIBUS AT","09-05-2018
47,632","PUTIH","BENSIN","B","0"],["adms39","<a href="map_lot_list_detail.php?id=3218&item=38680">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/ims/uploaded/LampiranItemDaftar/38680/1.jpg"></a>","MEDAN","BK897R","2007","HONDA CRV 2.4 JEEP AT","09-05-2018
","HITAM METALIK","BENSIN",null,"0"],["38","<a href="map_lot_list_detail.php?id=3218&item=40641">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BK1703VR","2016","TOYOTA AGYA 1.0 G TRD MINIBUS MT","09-05-2018
","","BENSIN",null,"0"],["adms37","<a href="map_lot_list_detail.php?id=3218&item=40640">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BK510YA","2006","TOYOTA KIJANG INNOVA 2.0 V MINIBUS MT","09-05-2018
","","BENSIN",null,"0"],["adms36","<a href="map_lot_list_detail.php?id=3218&item=40639">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BL831EE","2015","DAIHATSU XENIA 1.0 D STANDARD MINIBUS MT","09-05-2018
","","BENSIN",null,"0"],["adms35","<a href="map_lot_list_detail.php?id=3218&item=40638">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BL1576LC","2017","DAIHATSU XENIA 1.3 R MINIBUS MT","09-05-2018
","","BENSIN",null,"0"],["adms34","<a href="map_lot_list_detail.php?id=3218&item=40637">\r\n\t\t\t\t\t\t<image width="60%" src="http://ibid.astra.co.id/map/side/error.png"></a>","MEDAN","BL1620EE","2017","DAIHATSU AYLA 1.0 X MINIBU MT","09-05-2018
","","BENSIN",null,"0"]]