| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/webroot/news/components/com_jfusion/plugins/smf/js/ |
Upload File : |
function jfusion_doQuote(messageid, cursessionid) {
if (quickReplyCollapsed) {
window.location.href = jf_scripturl + "&action=post;quote=" + messageid + ";topic=" + smf_topic + "." + smf_start + ";sesc=" + cursessionid;
} else {
if (window.XMLHttpRequest) {
if (typeof window.ajax_indicator == "function") {
ajax_indicator(true);
}
getXMLDocument(jf_scripturl + "&action=quotefast;quote=" + messageid + ";sesc=" + cursessionid + ";xml", onDocReceived);
} else {
reqWin(jf_scripturl + "&action=quotefast;quote=" + messageid + ";sesc=" + cursessionid, 240, 90);
}
if (navigator.appName === "Microsoft Internet Explorer") {
window.location.hash = "quickreply";
} else {
window.location.hash = "#quickreply";
}
}
}
function jfusion_modify_msg(msgid, cursessionid) {
var load = true;
if (window.XMLHttpRequest) {
if (typeof (window.opera) != "undefined") {
var test = new XMLHttpRequest();
if (typeof (test.setRequestHeader) != "function") {
load = false;
}
}
if (load) {
if (in_edit_mode == 1) {
modify_cancel();
}
in_edit_mode = 1;
if (typeof window.ajax_indicator == "function") {
ajax_indicator(true);
}
getXMLDocument(jf_scripturl + '&action=quotefast;quote=' + msgid + ';sesc=' + cursessionid + ';modify;xml', onDocReceived_modify);
}
}
}
function jfusion_modify_save(cursessionid) {
var r = true;
if (in_edit_mode) {
var x = [];
x[x.length] = 'subject=' + escape(textToEntities(document.forms.quickModForm.subject.value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
x[x.length] = 'message=' + escape(textToEntities(document.forms.quickModForm.message.value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
x[x.length] = 'topic=' + parseInt(document.forms.quickModForm.elements.topic.value);
x[x.length] = 'msg=' + parseInt(document.forms.quickModForm.elements.msg.value);
if (typeof window.ajax_indicator === "function") {
ajax_indicator(true);
}
sendXMLDocument(jf_scripturl + "&action=jsmodify;topic=" + smf_topic + ";sesc=" + cursessionid + ";xml", x.join("&"), modify_done);
r = false;
}
return r;
}