Авторизуйтесь по паролю
TEDII 25.06.2022 DLE Все вопросы » Хаки 888
dj-avtosh - 2022-06-2527 июня 2022 10:58 - #81003
number_format($number, 2, ',', ' ');
TEDII - 2022-06-254 июля 2022 17:41 - #81041
var number = 12354987, output = [], sNumber = number.toString(); for (var i = 0, len = sNumber.length; i < len; i += 1) { output.push(+sNumber.charAt(i)); }
TeraMoune - 2022-06-255 июля 2022 02:56 - #81043
TEDII - 2022-06-254 августа 2022 16:01 - #81138
<script> $('input').val(String([xfvalue_price]).replace(/(\d)(?=(\d{3})+([^\d]|$))/g, '$1 ')); </script> <input></input>
rewenas - 2022-06-2528 июня 2022 16:53 - #81025
TEDII - 2022-06-254 августа 2022 16:05 - #81139
Dark5ider - 2022-06-254 августа 2022 16:27 - #81140
if ($config['image_lazy'] AND $view_template != "print") $xfieldsdata[$value[0]] = preg_replace_callback ( "#<(img|iframe)(.+?)>#i", "enable_lazyload", $xfieldsdata[$value[0]] );
if ( preg_match( "#\\[xfvalue_{$preg_safe_name} type=['\"](.+?)['\"]\\]#i", $tpl->copy_template, $matches ) ) { if ($matches[1] == 'price') { $xfieldsdata[$value[0]] = number_format($xfieldsdata[$value[0]], 0, ',', ' '); $tpl->set( $matches[0], $xfieldsdata[$value[0]] ); } }
[xfvalue_myxfname type="price"]
TEDII - 2022-06-254 августа 2022 16:38 - #81141
TeraMoune - 2022-06-254 августа 2022 22:03 - #81153
TEDII - 2022-06-254 августа 2022 16:42 - #81142
TEDII - 2022-06-254 августа 2022 18:13 - #81146
TEDII - 2022-06-254 августа 2022 18:14 - #81147
TeraMoune - 2022-06-254 августа 2022 22:22 - #81154
TEDII - 2022-06-254 августа 2022 22:33 - #81155
Dark5ider - 2022-06-254 августа 2022 22:59 - #81156
if ($config['image_lazy']) $xfieldsdata[$value[0]] = preg_replace_callback ( "#<(img|iframe)(.+?)>#i", "enable_lazyload", $xfieldsdata[$value[0]] );
TEDII - 2022-06-254 августа 2022 23:44 - #81157
Dark5ider - 2022-06-255 августа 2022 11:47 - #81160
header('Location: ' . $config['http_home_url'] );
header("Location: ".($config['allow_alt_url'] ? $config['http_home_url'] .'user/'.urlencode($member_id['name']).'/' : $PHP_SELF.'?subaction=userinfo&user='.urlencode($member_id['name'])));
CREATE TABLE `dle_views` ( `id` int(11) NOT NULL, `news_id` int(11) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;