This file contains hidden or 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 | |
use PHPMailer\PHPMailer\PHPMailer; | |
use PHPMailer\PHPMailer\Exception; | |
require 'PHPMailer/src/PHPMailer.php'; | |
require 'PHPMailer/src/Exception.php'; | |
require 'PHPMailer/src/SMTP.php'; | |
require_once "recaptchalib.php"; // recaptcha обработчик |
This file contains hidden or 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
$.ajax({ | |
url: "../../get-documents.php", | |
type: "GET", | |
dataType: "json", | |
success: function (data) { | |
var diplomas = data.key1; | |
var certificates = data.key2; | |
var licenses = data.key3; | |
$.each(diplomas, function(i, filename) { | |
$('.js-sl-diplomas').prepend("<div class='sl__slide'><div class='sl__img'><img src='"+ filename +"'></div></div>"); |
This file contains hidden or 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
// $(function() { | |
// 'use strict'; | |
// let offset = $('.header').offset(); | |
// $(window).scroll(function() { | |
// if ($(window).scrollTop() > offset.top) { | |
// $('.header').addClass('fixedHeader'); | |
// } else { |
This file contains hidden or 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
let documentsSlider = document.querySelectorAll('.documents-slider'); | |
let documentsPrevItem = document.querySelectorAll('.documents-prev__item'); | |
let close = document.querySelectorAll('.close'); | |
let jsSl = document.querySelectorAll('.js-sl'); | |
var sliderRefresh = false; | |
jQuery(document).ready(function() { | |
$(documentsSlider).hide(); | |
$(documentsPrevItem).on('click', function() { | |
$(this).children(documentsSlider).css("display", "flex"); |
NewerOlder