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
Обновление суммы в строчке корзины miniShop2 | |
Javascript: | |
--------------------------------- | |
change: function () { | |
var callbacks = miniShop2.Cart.callbacks; | |
callbacks.change.response.success = function (response) { | |
var num_v = $('#'+response.data.key).find('input[name=count]').val(); | |
var pri = $('#'+response.data.key).find('input[name=price]').val(); | |
var td_pri = parseFloat(pri)*num_v; |
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 | |
class SixtyCoder { | |
public $table = '0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ'; | |
public function to60($number = 0) { | |
$number = (int) $number; | |
$output = ''; | |
return $this->divide($number); | |
} | |
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 | |
$url = 'https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap'; | |
$opts = [ | |
'http' => [ | |
'method' => 'GET', | |
'header' => 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36' | |
] | |
]; |