/var/rusite/web/public/aamarka.php(172)
160 <div class="uk-grid uk-grid-divider" data-uk-grid-margin> 161 <?php 162 // get last postu 163 $sqlstring = "SELECT `barcode`,`name`,`marka`,`model`,`price_r` FROM `repairs` WHERE (`marka`='$markaname') AND (`sale`='no') AND (`inprogress`= 'no') AND (`sklad` <> 'Дефект') 164 AND (`sklad` <> 'Резерв') AND (`reserv` <> 'yes')"; 165 $rec_sqlCommand = $connection->CreateCommand($sqlstring); 166 $detaillist = $rec_sqlCommand->query(); 167 ?> 168 <?php foreach ($detaillist as $detail) { 169 $barcode = $detail['barcode']; 170 /// 171 $JSONimagePath = 'https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=' . $barcode; 172 $getImagesListJSON = file_get_contents($JSONimagePath); 173 $imageListArray = json_decode($getImagesListJSON, true); 174 if(isset($imageListArray['error'])){ 175 $imageListArray[0] = ''; 176 } 177 /// 178 ?> 179 <div class="uk-width-medium-1-3"> 180 <div class="md-card-head head_background" 181 style="background-image: url('<?php echo $imageListArray[0]; ?>')"></div> 182 <ul class="md-list"> 183 <li> 184 <div class="md-list-content">
#0 |
+
–
/var/rusite/web/public/aamarka.php(172): file_get_contents("https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=440001003...") 167 ?> 168 <?php foreach ($detaillist as $detail) { 169 $barcode = $detail['barcode']; 170 /// 171 $JSONimagePath = 'https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=' . $barcode; 172 $getImagesListJSON = file_get_contents($JSONimagePath); 173 $imageListArray = json_decode($getImagesListJSON, true); 174 if(isset($imageListArray['error'])){ 175 $imageListArray[0] = ''; 176 } 177 /// |