$W){unset($qg[$z][$de]);if(is_array($W)){$qg[$z][stripslashes($de)]=$W;$qg[]=&$qg[$z][stripslashes($de)];}else$qg[$z][stripslashes($de)]=($Vc?$W:stripslashes($W));}}}}function bracket_escape($v,$Oa=false){static$ti=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return strtr($v,($Oa?array_flip($ti):$ti));}function min_version($Yi,$Ce="",$i=null){global$h;if(!$i)$i=$h;$lh=$i->server_info;if($Ce&&preg_match('~([\d.]+)-MariaDB~',$lh,$B)){$lh=$B[1];$Yi=$Ce;}return(version_compare($lh,$Yi)>=0);}function charset($h){return(min_version("5.5.3",0,$h)?"utf8mb4":"utf8");}function script($wh,$si="\n"){return"$wh$si";}function script_src($Mi){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($C,$Y,$fb,$ke="",$sf="",$kb="",$le=""){$I="".($sf?script("qsl('input').onclick = function () { $sf };",""):"");return($ke!=""||$kb?"$I".h($ke)."":$I);}function optionlist($yf,$fh=null,$Qi=false){$I="";foreach($yf as$de=>$W){$zf=array($de=>$W);if(is_array($W)){$I.='';$zf=$W;}foreach($zf as$z=>$X)$I.=''.h($X);if(is_array($W))$I.='';}return$I;}function html_select($C,$yf,$Y="",$rf=true,$le=""){if($rf)return"".(is_string($rf)?script("qsl('select').onchange = function () { $rf };",""):"");$I="";foreach($yf as$z=>$X)$I.="";return$I;}function select_input($Ka,$yf,$Y="",$rf="",$cg=""){$Xh=($yf?"select":"input");return"<$Xh$Ka".($yf?">