15 декабря 2020
Нет комментариев
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button{ -webkit-appearance:none; } input[type=number]{ -moz-appearance:textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button{ -webkit-appearance:none; } input[type=number]{ -moz-appearance:textfield; }
.catalog{ .item{ .photo{ a{ display:inline-block; height:100%; img{ display:inline-block; vertical-align:middle; max-width:100%; max-height:100%; width:auto; } &:after{ content:''; display:inline-block; vertical-align:middle; height:100%; } } } } }
new Date(new Date().getTime()+172800000)
При ошибке Classic styles are no longer supported; see https://blog.mapbox.com/deprecating-studio-classic-styles-d8892ac38cb4 for more information
Заменить
L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}',{ attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>', maxZoom:18, id:'mapbox.streets', accessToken:'YOUR_MAPBOX_ACCESS_TOKEN' }).addTo(mymap);
на
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}',{ attribution: '© <a href="https://www.mapbox.com/about/maps/">Mapbox</a> © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback/" target="_blank" rel="noopener noreferrer">Improve this map</a></strong>', tileSize:512, maxZoom:18, zoomOffset:-1, id:'mapbox/streets-v11', accessToken:'YOUR_MAPBOX_ACCESS_TOKEN' }).addTo(mymap);
$('.form_cabinet .photo input[type=file]').on('change',function(){ var file=this.files[0]; var reader=new FileReader(); reader.onloadend=function(){ $('.form_cabinet .photo .image').css('background-image','url("'+reader.result+'")'); } if(file){ reader.readAsDataURL(file); } });
$zip=new ZipArchive; $zip->open(ROOT_DIR.IMPORT_DIR.'import.zip'); for($i=0;$i<$zip->numFiles;$i++){ $stat=$zip->statIndex($i); $import_file=basename($stat['name']); echo $import_file."\r\n"; } $zip->extractTo(ROOT_DIR.IMPORT_DIR); $zip->close();
function remove_bom($str=""){ if(substr($str,0,3)==pack('CCC',0xef,0xbb,0xbf)){ $str=substr($str,3); } return $str; }