";return$Md;}function
+bold($Ia,$Ta=""){return($Ia?" class='active $Ta'":($Ta?" class='$Ta'":""));}function
+odd($K=' class="odd"'){static$r=0;if(!$K)$r=-1;return($r++%2?$K:'');}function
+js_escape($tg){return
+addcslashes($tg,"\r\n'\\/");}function
+json_row($x,$X=null){static$Bc=true;if($Bc)echo"{";if($x!=""){echo($Bc?"":",")."\n\t\"".addcslashes($x,"\r\n\t\"\\/").'": '.($X!==null?'"'.addcslashes($X,"\r\n\"\\/").'"':'null');$Bc=false;}else{echo"\n}\n";$Bc=true;}}function
+ini_bool($kd){$X=ini_get($kd);return(preg_match('~^(on|true|yes)$~i',$X)||(int)$X);}function
+sid(){static$K;if($K===null)$K=(SID&&!($_COOKIE&&ini_bool("session.use_cookies")));return$K;}function
+set_password($Ah,$O,$V,$G){$_SESSION["pwds"][$Ah][$O][$V]=($_COOKIE["adminer_key"]&&is_string($G)?array(encrypt_string($G,$_COOKIE["adminer_key"])):$G);}function
+get_password(){$K=get_session("pwds");if(is_array($K))$K=($_COOKIE["adminer_key"]?decrypt_string($K[0],$_COOKIE["adminer_key"]):false);return$K;}function
+q($tg){global$f;return$f->quote($tg);}function
+get_vals($I,$c=0){global$f;$K=array();$J=$f->query($I);if(is_object($J)){while($L=$J->fetch_row())$K[]=$L[$c];}return$K;}function
+get_key_vals($I,$g=null,$dg=true){global$f;if(!is_object($g))$g=$f;$K=array();$J=$g->query($I);if(is_object($J)){while($L=$J->fetch_row()){if($dg)$K[$L[0]]=$L[1];else$K[]=$L[0];}}return$K;}function
+get_rows($I,$g=null,$l="
"){global$f;$ib=(is_object($g)?$g:$f);$K=array();$J=$ib->query($I);if(is_object($J)){while($L=$J->fetch_assoc())$K[]=$L;}elseif(!$J&&!is_object($g)&&$l&&defined("PAGE_HEADER"))echo$l.error()."\n";return$K;}function
+unique_array($L,$v){foreach($v
+as$u){if(preg_match("~PRIMARY|UNIQUE~",$u["type"])){$K=array();foreach($u["columns"]as$x){if(!isset($L[$x]))continue
+2;$K[$x]=$L[$x];}return$K;}}}function
+escape_key($x){if(preg_match('(^([\w(]+)('.str_replace("_",".*",preg_quote(idf_escape("_"))).')([ \w)]+)$)',$x,$B))return$B[1].idf_escape(idf_unescape($B[2])).$B[3];return
idf_escape($x);}function
-where($Z,$o=array()){global$g,$w;$I=array();foreach((array)$Z["where"]as$x=>$X){$x=bracket_escape($x,1);$d=escape_key($x);$I[]=$d.($w=="sql"&&is_numeric($X)&&preg_match('~\.~',$X)?" LIKE ".q($X):($w=="mssql"?" LIKE ".q(preg_replace('~[_%[]~','[\0]',$X)):" = ".unconvert_field($o[$x],q($X))));if($w=="sql"&&preg_match('~char|text~',$o[$x]["type"]??null)&&preg_match("~[^ -@]~",$X))$I[]="$d = ".q($X)." COLLATE ".charset($g)."_bin";}foreach((array)$Z["null"]as$x)$I[]=escape_key($x)." IS NULL";return
-implode(" AND ",$I);}function
-where_check($X,$o=array()){parse_str($X,$cb);remove_slashes(array(&$cb));return
-where($cb,$o);}function
-where_link($r,$d,$Y,$Bf="="){return"&where%5B$r%5D%5Bcol%5D=".urlencode($d)."&where%5B$r%5D%5Bop%5D=".urlencode(($Y!==null?$Bf:"IS NULL"))."&where%5B$r%5D%5Bval%5D=".urlencode($Y);}function
-convert_fields($e,$o,$L=array()){$I="";foreach($e
-as$x=>$X){if($L&&!in_array(idf_escape($x),$L))continue;$Ha=convert_field($o[$x]);if($Ha)$I.=", $Ha AS ".idf_escape($x);}return$I;}function
-cookie($C,$Y,$De=2592000){global$ba;return
-header("Set-Cookie: $C=".urlencode($Y).($De?"; expires=".gmdate("D, d M Y H:i:s",time()+$De)." GMT":"")."; path=".preg_replace('~\?.*~','',$_SERVER["REQUEST_URI"]).($ba?"; secure":"")."; HttpOnly; SameSite=lax",false);}function
+where($Z,$n=array()){global$f,$w;$K=array();foreach((array)$Z["where"]as$x=>$X){$x=bracket_escape($x,1);$c=escape_key($x);$K[]=$c.($w=="sql"&&is_numeric($X)&&preg_match('~\.~',$X)?" LIKE ".q($X):($w=="mssql"?" LIKE ".q(preg_replace('~[_%[]~','[\0]',$X)):" = ".unconvert_field($n[$x],q($X))));if($w=="sql"&&preg_match('~char|text~',$n[$x]["type"]??null)&&preg_match("~[^ -@]~",$X))$K[]="$c = ".q($X)." COLLATE ".charset($f)."_bin";}foreach((array)$Z["null"]as$x)$K[]=escape_key($x)." IS NULL";return
+implode(" AND ",$K);}function
+where_check($X,$n=array()){parse_str($X,$Oa);remove_slashes(array(&$Oa));return
+where($Oa,$n);}function
+where_link($r,$c,$Y,$Ae="="){return"&where%5B$r%5D%5Bcol%5D=".urlencode($c)."&where%5B$r%5D%5Bop%5D=".urlencode(($Y!==null?$Ae:"IS NULL"))."&where%5B$r%5D%5Bval%5D=".urlencode($Y);}function
+convert_fields($d,$n,$N=array()){$K="";foreach($d
+as$x=>$X){if($N&&!in_array(idf_escape($x),$N))continue;$wa=convert_field($n[$x]);if($wa)$K.=", $wa AS ".idf_escape($x);}return$K;}function
+cookie($E,$Y,$Ld=2592000){global$ba;return
+header("Set-Cookie: $E=".urlencode($Y).($Ld?"; expires=".gmdate("D, d M Y H:i:s",time()+$Ld)." GMT":"")."; path=".preg_replace('~\?.*~','',$_SERVER["REQUEST_URI"]).($ba?"; secure":"")."; HttpOnly; SameSite=lax",false);}function
restart_session(){if(!ini_bool("session.use_cookies"))session_start();}function
-stop_session($ld=false){$Vi=ini_bool("session.use_cookies");if(!$Vi||$ld){session_write_close();if($Vi&&@ini_set("session.use_cookies",false)===false)session_start();}}function&get_session($x){return$_SESSION[$x][DRIVER][SERVER][$_GET["username"]];}function
+stop_session($Ec=false){$vh=ini_bool("session.use_cookies");if(!$vh||$Ec){session_write_close();if($vh&&@ini_set("session.use_cookies",false)===false)session_start();}}function&get_session($x){return$_SESSION[$x][DRIVER][SERVER][$_GET["username"]];}function
set_session($x,$X){$_SESSION[$x][DRIVER][SERVER][$_GET["username"]]=$X;}function
-auth_url($dj,$M,$V,$k=null){global$nc;preg_match('~([^?]*)\??(.*)~',remove_from_uri(implode("|",array_keys($nc))."|username|".($k!==null?"db|":"").session_name()),$A);return"$A[1]?".(sid()?SID."&":"").($dj!="server"||$M!=""?urlencode($dj)."=".urlencode($M)."&":"")."username=".urlencode($V).($k!=""?"&db=".urlencode($k):"").($A[2]?"&$A[2]":"");}function
+auth_url($Ah,$O,$V,$j=null){global$Pb;preg_match('~([^?]*)\??(.*)~',remove_from_uri(implode("|",array_keys($Pb))."|username|".($j!==null?"db|":"").session_name()),$B);return"$B[1]?".(sid()?SID."&":"").($Ah!="server"||$O!=""?urlencode($Ah)."=".urlencode($O)."&":"")."username=".urlencode($V).($j!=""?"&db=".urlencode($j):"").($B[2]?"&$B[2]":"");}function
is_ajax(){return($_SERVER["HTTP_X_REQUESTED_WITH"]=="XMLHttpRequest");}function
-redirect($Fe,$Te=null){if($Te!==null){restart_session();$_SESSION["messages"][preg_replace('~^[^?]*~','',($Fe!==null?$Fe:$_SERVER["REQUEST_URI"]))][]=$Te;}if($Fe!==null){if($Fe=="")$Fe=".";header("Location: $Fe");exit;}}function
-query_redirect($G,$Fe,$Te,$Ig=true,$Mc=true,$Wc=false,$li=""){global$g,$m,$b;if($Mc){$Kh=microtime(true);$Wc=!$g->query($G);$li=format_time($Kh);}$Fh="";if($G)$Fh=$b->messageQuery($G,$li,$Wc);if($Wc){$m=error().$Fh.script("messagesPrint();");return
-false;}if($Ig)redirect($Fe,$Te.$Fh);return
-true;}function
-queries($G){global$g;static$Cg=array();static$Kh;if(!$Kh)$Kh=microtime(true);if($G===null)return
-array(implode("\n",$Cg),format_time($Kh));$Cg[]=(preg_match('~;$~',$G)?"DELIMITER ;;\n$G;\nDELIMITER ":$G).";";return$g->query($G);}function
-apply_queries($G,$S,$Ic='table'){foreach($S
-as$Q){if(!queries("$G ".$Ic($Q)))return
+redirect($A,$D=null){if($D!==null){restart_session();$_SESSION["messages"][preg_replace('~^[^?]*~','',($A!==null?$A:$_SERVER["REQUEST_URI"]))][]=$D;}if($A!==null){if($A=="")$A=".";header("Location: $A");exit;}}function
+query_redirect($I,$A,$D,$_f=true,$oc=true,$vc=false,$Og=""){global$f,$l,$b;if($oc){$pg=microtime(true);$vc=!$f->query($I);$Og=format_time($pg);}$lg="";if($I)$lg=$b->messageQuery($I,$Og,$vc);if($vc){$l=error().$lg.script("messagesPrint();");return
+false;}if($_f)redirect($A,$D.$lg);return
+true;}function
+queries($I){global$f;static$vf=array();static$pg;if(!$pg)$pg=microtime(true);if($I===null)return
+array(implode("\n",$vf),format_time($pg));$vf[]=(preg_match('~;$~',$I)?"DELIMITER ;;\n$I;\nDELIMITER ":$I).";";return$f->query($I);}function
+apply_queries($I,$S,$kc='table'){foreach($S
+as$Q){if(!queries("$I ".$kc($Q)))return
false;}return
true;}function
-queries_redirect($Fe,$Te,$Ig){list($Cg,$li)=queries(null);return
-query_redirect($Cg,$Fe,$Te,$Ig,false,!$Ig,$li);}function
-format_time($Kh){return
-lang(1,max(0,microtime(true)-$Kh));}function
+queries_redirect($A,$D,$_f){list($vf,$Og)=queries(null);return
+query_redirect($vf,$A,$D,$_f,false,!$_f,$Og);}function
+format_time($pg){return
+lang(1,max(0,microtime(true)-$pg));}function
relative_uri(){return
str_replace(":","%3a",preg_replace('~^[^?]*/([^?]*)~','\1',$_SERVER["REQUEST_URI"]));}function
-remove_from_uri($Wf=""){return
-substr(preg_replace("~(?<=[?&])($Wf".(SID?"":"|".session_name()).")=[^&]*&~",'',relative_uri()."&"),0,-1);}function
-pagination($E,$Pb){return" ".($E==$Pb?$E+1:''.($E+1)."");}function
-get_file($x,$Yb=false){$cd=$_FILES[$x];if(!$cd)return
-null;foreach($cd
-as$x=>$X)$cd[$x]=(array)$X;$I='';foreach($cd["error"]as$x=>$m){if($m)return$m;$C=$cd["name"][$x];$ti=$cd["tmp_name"][$x];$Db=file_get_contents($Yb&&preg_match('~\.gz$~',$C)?"compress.zlib://$ti":$ti);if($Yb){$Kh=substr($Db,0,3);if(function_exists("iconv")&&preg_match("~^\xFE\xFF|^\xFF\xFE~",$Kh,$Og))$Db=iconv("utf-16","utf-8",$Db);elseif($Kh=="\xEF\xBB\xBF")$Db=substr($Db,3);$I.=$Db."\n\n";}else$I.=$Db;}return$I;}function
-upload_error($m){$Qe=($m==UPLOAD_ERR_INI_SIZE?ini_get("upload_max_filesize"):0);return($m?lang(2).($Qe?" ".lang(3,$Qe):""):lang(4));}function
-repeat_pattern($ig,$Be){return
-str_repeat("$ig{0,65535}",$Be/65535)."$ig{0,".($Be%65535)."}";}function
+remove_from_uri($Te=""){return
+substr(preg_replace("~(?<=[?&])($Te".(SID?"":"|".session_name()).")=[^&]*&~",'',relative_uri()."&"),0,-1);}function
+pagination($F,$tb){return" ".($F==$tb?$F+1:''.($F+1)."");}function
+get_file($x,$Ab=false){$zc=$_FILES[$x];if(!$zc)return
+null;foreach($zc
+as$x=>$X)$zc[$x]=(array)$X;$K='';foreach($zc["error"]as$x=>$l){if($l)return$l;$E=$zc["name"][$x];$Wg=$zc["tmp_name"][$x];$jb=file_get_contents($Ab&&preg_match('~\.gz$~',$E)?"compress.zlib://$Wg":$Wg);if($Ab){$pg=substr($jb,0,3);if(function_exists("iconv")&&preg_match("~^\xFE\xFF|^\xFF\xFE~",$pg,$Ff))$jb=iconv("utf-16","utf-8",$jb);elseif($pg=="\xEF\xBB\xBF")$jb=substr($jb,3);$K.=$jb."\n\n";}else$K.=$jb;}return$K;}function
+upload_error($l){$Vd=($l==UPLOAD_ERR_INI_SIZE?ini_get("upload_max_filesize"):0);return($l?lang(2).($Vd?" ".lang(3,$Vd):""):lang(4));}function
+repeat_pattern($df,$Jd){return
+str_repeat("$df{0,65535}",$Jd/65535)."$df{0,".($Jd%65535)."}";}function
is_utf8($X){return(preg_match('~~u',$X)&&!preg_match('~[\0-\x8\xB\xC\xE-\x1F]~',$X));}function
-shorten_utf8($P,$Be=80,$Rh=""){if(!preg_match("(^(".repeat_pattern("[\t\r\n -\x{10FFFF}]",$Be).")($)?)u",$P,$A))preg_match("(^(".repeat_pattern("[\t\r\n -~]",$Be).")($)?)",$P,$A);return
-h($A[1]).$Rh.(isset($A[2])?"":"…");}function
+shorten_utf8($tg,$Jd=80,$xg=""){if(!preg_match("(^(".repeat_pattern("[\t\r\n -\x{10FFFF}]",$Jd).")($)?)u",$tg,$B))preg_match("(^(".repeat_pattern("[\t\r\n -~]",$Jd).")($)?)",$tg,$B);return
+h($B[1]).$xg.(isset($B[2])?"":"…");}function
format_number($X){return
strtr(number_format($X,0,".",lang(5)),preg_split('~~u',lang(6),-1,PREG_SPLIT_NO_EMPTY));}function
friendly_url($X){return
preg_replace('~[^a-z0-9_]~i','-',$X);}function
-hidden_fields($zg,$Pd=array(),$rg=''){$I=false;foreach($zg
-as$x=>$X){if(!in_array($x,$Pd)){if(is_array($X))hidden_fields($X,array(),$x);else{$I=true;echo'';}}}return$I;}function
+hidden_fields($tf,$gd=array(),$mf=''){$K=false;foreach($tf
+as$x=>$X){if(!in_array($x,$gd)){if(is_array($X))hidden_fields($X,array(),$x);else{$K=true;echo'';}}}return$K;}function
hidden_fields_get(){echo(sid()?'':''),(SERVER!==null?'':""),'';}function
-table_status1($Q,$Xc=false){$I=table_status($Q,$Xc);return($I?$I:array("Name"=>$Q));}function
-column_foreign_keys($Q){global$b;$I=array();foreach($b->foreignKeys($Q)as$p){foreach($p["source"]as$X)$I[$X][]=$p;}return$I;}function
-enum_input($T,$Ja,$n,$Y,$Bc=null){global$b;preg_match_all("~'((?:[^']|'')*)'~",$n["length"],$B);$I=($Bc!==null?"":"");foreach($B[1]as$r=>$X){$X=stripcslashes(str_replace("''","'",$X));$eb=(is_int($Y)?$Y==$r+1:(is_array($Y)?in_array($r+1,$Y):$Y===$X));$I.=" ';}return$I;}function
-input($n,$Y,$q){global$U,$b,$w;$C=h(bracket_escape($n["field"]));echo"
".($X!=array_values($X)?"".h($ne):"")." | ".select_value($W,$z,$n,$ki);return"";}if(!$z)$z=$b->selectLink($X,$n);if($z===null){if(is_mail($X))$z="mailto:$X";if(is_url($X))$z=$X;}$I=$b->editVal($X,$n);if($I!==null){if(!is_utf8($I))$I="\0";elseif($ki!=""&&is_shortable($n))$I=shorten_utf8($I,max(0,+$ki));else$I=h($I);}return$b->selectVal($I,$z,$n,$X);}function
-is_mail($zc){$Ia='[-a-z0-9!#$%&\'*+/=?^_`{|}~]';$mc='[[:alnum:]](?:[-[:alnum:]]{0,61}[[:alnum:]])';$ig="$Ia+(?:\\.$Ia+)*@(?:$mc?\\.)+$mc";return
-is_string($zc)&&preg_match("(^$ig(?:,\\s*$ig)*\$)i",$zc);}function
-is_url($P){return(bool)preg_match('~^
+select_value($X,$z,$m,$Ng){global$b;if(is_array($X)){$K="";foreach($X
+as$wd=>$W)$K.=" |