/var/rusite/web/public/model.php(122)
110 // get last postu 111 112 $sqlstring = "SELECT `barcode`,`name`,`marka`,`model`,`price_r` FROM `repairs` WHERE (`model`='$modelname') AND (`sale`='no') AND (`inprogress`= 'no') AND (`sklad` <> 'Дефект') 113 AND (`sklad` <> 'Резерв') AND (`reserv` <> 'yes') ORDER BY `internal_id` DESC LIMIT 20"; 114 $rec_sqlCommand = $connection->CreateCommand($sqlstring); 115 $detaillist = $rec_sqlCommand->query(); 116 117 ?> 118 <?php foreach ($detaillist as $detail) { 119 $barcode = $detail['barcode']; 120 /// 121 $JSONimagePath = 'https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=' . $barcode; 122 $getImagesListJSON = file_get_contents($JSONimagePath); 123 $imageListArray = json_decode($getImagesListJSON, true); 124 if(isset($imageListArray['error'])){ 125 $imageListArray[0] = ''; 126 } 127 /// 128 ?> 129 <div class="uk-width-medium-1-3"> 130 <div class="md-card-head head_background" 131 style="background-image: url('//autobrit.by/imageload.php?path=<?php echo $barcode; ?>&site=27e73')"></div> 132 <ul class="md-list"> 133 <li> 134 <div class="md-list-content">
#0 |
+
–
/var/rusite/web/public/model.php(122): file_get_contents("https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=440001039...") 117 ?> 118 <?php foreach ($detaillist as $detail) { 119 $barcode = $detail['barcode']; 120 /// 121 $JSONimagePath = 'https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=' . $barcode; 122 $getImagesListJSON = file_get_contents($JSONimagePath); 123 $imageListArray = json_decode($getImagesListJSON, true); 124 if(isset($imageListArray['error'])){ 125 $imageListArray[0] = ''; 126 } 127 /// |