This file contains 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 | |
global $loader, $registry; | |
$loader->model('module/kolesadpua'); | |
$model_kolesadpua = $registry->get('model_module_kolesadpua'); | |
$articles_product =$loader->controller('module/articles_product',$product_id); | |
$videos_product =$loader->controller('module/videos_product',$product_id); | |
?> | |
<?php echo $header; ?> | |
<style> | |
.page-product .wrap-img { |
This file contains 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 myFunction() { | |
var t1 = SpreadsheetApp.getActive(), // получили доступ к текущей таблице | |
t2 = SpreadsheetApp.openById("1_9snuJs2glBYHbkq5C8f6PeeA0DGrIyn1MTHa9Hi4ro"); // получили доступ к другой таблице по id | |
var list1 = t1.getSheetByName("finish") ; // получили достпу к листу | |
var list2 = t2.getSheetByName("Отчет") ; // получили достпу к листу | |
var data = list1.getRange('M4:Q7').getValues() ; // получили значения ячееек текущей таблицы | |
var lastRow = list2.getLastRow()+2 ; // получили последнюю заполненную строку +2 пустая | |
// ЛИСТ.getRange(СтрокаСтарт,КолонкаСтарт,Строка финиш,Колонка финиш).setValues(data) |
This file contains 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
<video id="video_bg" autoplay="autoplay" loop="loop" video autoplay loop muted playsinline webkit-playinginline> | |
<source src="video/Blind Cornering !!!.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> | |
<!-- <source src="video/background.webm" type="video/webm"></source> --> | |
</video> |
This file contains 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 | |
class CsvIterator { | |
protected $file; | |
public function __construct($file) { | |
$this->file = fopen($file, 'r'); | |
} | |
public function parse() { |
This file contains 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
$('#button').on('click',function(){ | |
$('#element').toggleClass('discription_open'); | |
}); |
This file contains 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 | |
if((isset($_POST['name'])&&$_POST['name']!="")){ | |
$to = '[email protected]' ; | |
$subject = 'Отзыв на вакансию' ; | |
$name = trim(urldecode(htmlspecialchars($_POST['name']))) ; | |
$email = trim(urldecode(htmlspecialchars($_POST['email']))) ; | |
$section = trim(urldecode(htmlspecialchars($_POST['postiton']))) ; |
This file contains 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
<? | |
$UA = array('067', '096', '097', '098', '050', '066', '095', '099', '063', '073', '093' ); | |
$start = array('+38','38','8',''); | |
for($i=0; $i < 100;){ | |
usleep(4000); | |
$str = $start[rand(0,3)] . $UA[rand(0,10)] . rand(0000000,9999999); | |
echo $str . '<br><hr>'; | |
} |
This file contains 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
$Fname = array('Иван', 'Роман', "Иоан", "Давид", "Авель", "Лилид", "Тор", "Фрейя", "Чайф", "Валерий", "Александр", "Святослав", "Виктор", "Константин"); | |
$a = mb_strtoupper(mb_substr(mb_strtolower(utf8_strrev($Fname[rand(0,14)])),0,1), 'UTF-8').mb_substr(mb_strtolower(utf8_strrev($Fname[rand(0,14)])), 1) ; |
This file contains 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
$('.no-link').on('click', function(evt){ | |
evt.preventDefault(); | |
var link = $(this).attr('data-href'); | |
window.open(link, '_blank') ; | |
}); |
This file contains 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
.INS-slider { | |
max-width: 600px; | |
} | |
.INS-slider .mainIMG { | |
height: 400px; | |
} | |
.INS-slider .mainIMG > img { | |
height: 100%; | |
object-fit: cover; | |
} |