The error is due to an error converting the coordinates of the gradient from double to float and can be fixed by forcing the radial gradient coordinates to be Int32s
Bitwise or with 0 will convert from JS Number to Int32 (signed integer 32bits) and fix the problem.
var gradient = ctx.createRadialGradient(
grad_x0 | 0,
grad_y0 | 0,
options.radius | 0,
options.x0 | 0,
options.y0 | 0,
0
);
$ids = array();
foreach ($users as $row) {
$ids[] = $row['player_id'];
}
$in_set = implode(',' , $ids);
$smtp = $db->query("SELECT * from `plugin_code` WHERE `id` IN ({$in_set})");
$all_users = $smtp->fetchAll();
foreach ($all_users as $row) {
// выводим все что надо
}
SELECT *
и не извлекать тупо все поля, а дёргать строго то, что нам дальше нужно. Оптимальнее получается.INSERT INTO ... FROM (SELECT <fields> FROM ... )
init: function( elem, options, prop, end, easing, unit ) {
this.elem = elem;
this.prop = prop;
this.easing = easing || jQuery.easing._default; // <-- параметр easing задан.
this.options = options;
this.start = this.now = this.cur();
this.end = end;
this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );
},
cur: function() {
var hooks = Tween.propHooks[ this.prop ];
return hooks && hooks.get ?
hooks.get( this ) :
Tween.propHooks._default.get( this );
},
run: function( percent ) {
var eased,
hooks = Tween.propHooks[ this.prop ];
if ( this.options.duration ) {
this.pos = eased = jQuery.easing[ this.easing ]( // <--- BREAK POINT HERE
percent, this.options.duration * percent, 0, 1, this.options.duration
);
} else {
this.pos = eased = percent;
}
keys.ini
наверняка в win1251, а проект в UTF-8. Отсюда и такой "странный" результат