body {
-webkit-box-flex: 1;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
position: relative;
min-height: 100vh;
background-color: #FFFFFF;
}
body.preload {
overflow: hidden;
}
.preload header .logo {
left: 50vw;
top: 50vh;
}
.preload header .logo:not(div) {
opacity: 0;
}
@media screen and (max-width: 799px) {
.preload header .logo {
left: 30px;
-webkit-transform: translate3d(0px, -50%, 0);
transform: translate3d(0px, -50%, 0);
}
}
.loading header .logo {
-webkit-transition-property: all;
-o-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
transition-duration: 0.5s;
-webkit-transition-timing-function: cubic-bezier(0.420, 0.000, 0.580, 1.000);
-o-transition-timing-function: cubic-bezier(0.420, 0.000, 0.580, 1.000);
transition-timing-function: cubic-bezier(0.420, 0.000, 0.580, 1.000);
}
.loading header .logo:not(a) {
opacity: 1;
z-index: 3;
}
.loading header .logo:not(a) span {
width: 0%;
}
function sendByOne(imgData, i = 0) {
return new Promise(function(resolve, reject) {
var imageOne = {
camera:[imgData.camera[i]],
copyright:[imgData.copyright[i]],
date:[imgData.date[i]],
imgSrc:[imgData.imgSrc[i]],
imgTitle:[imgData.imgTitle[i]],
latitude:[imgData.latitude[i]],
longitude:[imgData.longitude[i]],
size:[imgData.size[i]]
};
jQuery.ajax({
type: "POST",
url: "/Map/AddDataImage/",
cache: false,
data: {image_data: imageOne,
image_data_from_sites: $.makeArray(uploadedImgFromUrl), 'item_id':data.item_id},
//async: false,
dataType: 'json',
success: function (data) {
//bootbox.confirm('Thank you! The attraction will appear on the website after reviewing by our team.', function () {
//});
i++;
if (i < imgData.imgSrc.length) {
sendByOne(imgData, i).then(
function(r) {
resolve(r);
},
function(e) {
reject(e);
});
} else {
resolve(data);
}
},
error: function (data) {
reject(data);
}
});
})
}
sendByOne(imgData).then(
function(r) {
alert('Отправлено!');
},
function(e) {
alert('Ошибка!');
console.log(e);
}
);
SELECT Author, Name, genre.Genre, publishing.Publishing, Year, Tom, acquired.Acquired, Cost, FIO, Prima
FROM book
INNER JOIN genre ON book.Genre = genre.idGenre
INNER JOIN customer ON book.Publishing = publishing.idPublishing
INNER JOIN genre ON book.Acquired = acquired.idAcquired
https://codepen.io/buhacker/pen/rNVBwYR