HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/crm/custom/include/social/twitter/twitter.js
/*
 * @author Salesagility Ltd <support@salesagility.com>
 * Date: 15/01/14
 * Time: 09:14
 */

$(function () {

    //Grab the twitter user name field.

    var twitter_user = $("#twitter_user_c").text();

    // If twitter user in not blank run the Ajax Call to the entry point to start processing.
    if (twitter_user != '') {

        if (twitter_user) {

            $.ajax({
                type: "POST",
                url: "index.php?entryPoint=social",
                data: { twitter_user: twitter_user, social: "twitter"}
            })
                .done(function (msg) {
                    $("#feed").html(' ');
                    $("#feed").html(msg + $("#feed").html());
                });

        } else {
            return false;
        }

    }
});