diff --git "a/public/editor.php" "b/public/editor.php" new file mode 100644--- /dev/null +++ "b/public/editor.php" @@ -0,0 +1,1513 @@ +$W){unset($Te[$y][$sd]);if(is_array($W)){$Te[$y][stripslashes($sd)]=$W;$Te[]=&$Te[$y][stripslashes($sd)];}else$Te[$y][stripslashes($sd)]=($tc?$W:stripslashes($W));}}}}function +bracket_escape($u,$Ga=false){static$ug=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return +strtr($u,($Ga?array_flip($ug):$ug));}function +min_version($Tg,$Ld="",$i=null){global$h;if(!$i)$i=$h;$Bf=$i->server_info;if($Ld&&preg_match('~([\d.]+)-MariaDB~',$Bf,$A)){$Bf=$A[1];$Tg=$Ld;}return(version_compare($Bf,$Tg)>=0);}function +charset($h){return(min_version("5.5.3",0,$h)?"utf8mb4":"utf8");}function +script($Kf,$tg="\n"){return"$Kf$tg";}function +script_src($Mg){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,$Ua,$wd="",$me="",$Xa="",$xd=""){$H="".($me?script("qsl('input').onclick = function () { $me };",""):"");return($wd!=""||$Xa?"$H".h($wd)."":$H);}function +optionlist($C,$wf=null,$Pg=false){$H="";foreach($C +as$sd=>$W){$re=array($sd=>$W);if(is_array($W)){$H.='';$re=$W;}foreach($re +as$y=>$X)$H.=''.h($X);if(is_array($W))$H.='';}return$H;}function +html_select($B,$C,$Y="",$le=true,$xd=""){if($le)return"".(is_string($le)?script("qsl('select').onchange = function () { $le };",""):"");$H="";foreach($C +as$y=>$X)$H.="";return$H;}function +select_input($Ba,$C,$Y="",$le="",$Ke=""){$cg=($C?"select":"input");return"<$cg$Ba".($C?">