$arr[1]['one']="1";
$arr[1]['two']="2";
$foo = 1;
$bar = 'one';
foreach( $arr as $k => $sub_arr ) {
foreach( $sub_arr as $sub_k => $sub_v ) {
if( $k === $foo && $sub_k === $bar)
unset($arr[$k][$sub_k]);
}
}
<input type="checkbox" value="1" name="svfilter_category_62" checked>
<input type="checkbox" value="1" name="svfilter_category_63" checked>
<input type="checkbox" value="1" name="svfilter_category_64" checked>
public static function GetUserTypeDescription()
{
return array(
"PROPERTY_TYPE" =>"S",
"USER_TYPE" =>"MyDateTime",
"DESCRIPTION" =>"Дата/Время",
...
);
}
function touchToScroll(selector) {
const el = document.querySelector(selector);
if (!el) return;
let touchX,
touchY,
scrollLeft,
scrollTop,
touched = false;
el.addEventListener("touchstart", touchIsDown);
el.addEventListener("touchend", touchUp);
el.addEventListener("touchcancel", touchUp);
el.addEventListener("touchmove", touchMove);
...
}
<div class="container fig">
...content
</div>
.container {
position: relative;
border: 1px solid #000;
width: 800px;
height: 400px;
overflow: hidden;
}
.fig::before {
content: "";
display: block;
position: absolute;
top: 0;
left: -105%;
width: 150%;
height: 150%;
transform: skew(-20deg, -25deg);
background: linear-gradient(180deg, #C91C04 0%, #4B0900 100%);
}