$x){foreach($X as$de=>$W){unset($qg[$y][$de]);if(is_array($W)){$qg[$y][stripslashes($de)]=$W;$qg[]=&$qg[$y][stripslashes($de)];}else$qg[$y][stripslashes($de)]=($Vc?$W:stripslashes($W));}}}}function bracket_escape($u,$Oa=false){static$si=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return strtr($u,($Oa?array_flip($si):$si));}function min_version($Yi,$Be="",$h=null){global$g;if(!$h)$h=$g;$lh=$h->server_info;if($Be&&preg_match('~([\d.]+)-MariaDB~',$lh,$A)){$lh=$A[1];$Yi=$Be;}return(version_compare($lh,$Yi)>=0);}function charset($g){return(min_version("5.5.3",0,$g)?"utf8mb4":"utf8");}function script($wh,$ri="\n"){return"$wh$ri";}function script_src($Li){return"\n";}function nonce(){return' nonce="'.get_nonce().'"';}function target_blank(){return' target="_blank" rel="noreferrer noopener"';}function h($P){return str_replace("\0","�",htmlspecialchars($P,ENT_QUOTES,'utf-8'));}function nl_br($P){return str_replace("\n","
",$P);}function checkbox($B,$Y,$fb,$ke="",$sf="",$kb="",$le=""){$H="".($sf?script("qsl('input').onclick = function () { $sf };",""):"");return($ke!=""||$kb?"$H".h($ke)."":$H);}function optionlist($yf,$fh=null,$Qi=false){$H="";foreach($yf as$de=>$W){$zf=array($de=>$W);if(is_array($W)){$H.='';$zf=$W;}foreach($zf as$y=>$X)$H.=''.h($X);if(is_array($W))$H.='';}return$H;}function html_select($B,$yf,$Y="",$rf=true,$le=""){if($rf)return"".(is_string($rf)?script("qsl('select').onchange = function () { $rf };",""):"");$H="";foreach($yf as$y=>$X)$H.="";return$H;}function select_input($Ja,$yf,$Y="",$rf="",$cg=""){$Wh=($yf?"select":"input");return"<$Wh$Ja".($yf?">