Server IP : 213.176.29.180  /  Your IP : 3.22.74.25
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/webtaragh/public_html/whmcs/feeds/../modules/servers/cpanel/../centovacast/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/whmcs/feeds/../modules/servers/cpanel/../centovacast/client_area.html
<!--
Customize your client area display here.

Valid element IDs include:

centovacast_hostname, centovacast_servertype, centovacast_sourcetype, centovacast_serverstate, centovacast_sourcestate,
centovacast_ipaddress, centovacast_port, centovacast_username, centovacast_maxclients, centovacast_transferlimit,
centovacast_diskquota, centovacast_mountlimit, centovacast_channels, centovacast_samplerate, centovacast_crossfade,
centovacast_maxbitrate, centovacast_url, centovacast_title, centovacast_email, centovacast_organization,
centovacast_cachedtransfer, centovacast_cacheddiskusage, centovacast_status
-->
<div id="centovacast_details" style="display: none">
    <div class="col2half">
        <h4>Server host:</h4> <span id="centovacast_hostname"></span>
    </div>
    <div class="col2half">
        <h4>Server port:</h4> <span id="centovacast_port"></span>
    </div>
    <div class="col2half">
        <h4>Server type:</h4> <span id="centovacast_servertype"></span>
    </div>
    <div class="col2half">
        <h4>AutoDJ type:</h4> <span id="centovacast_sourcetype"></span>
    </div>
    <div class="col2half">
        <h4>Server status:</h4> <span id="centovacast_serverstate"></span>
    </div>
    <div class="col2half">
        <h4>AutoDJ status:</h4> <span id="centovacast_sourcestate"></span>
    </div>
</div>
<div class="clear"></div>

<!-- don't modify anything below this line -->
<script language="javascript">
if (jQuery !== undefined) {
	jQuery(document).ready(function($) {
        $.ajax({
            url: "[CCURL]/external/rpc.php?callback=?",
            dataType: "jsonp",
            data: {
                m: "accountinfo.get",
                j: 1,
                jq: 1,
                username: "[USERNAME]",
                time: [TIME],
                auth: "[AUTH]"
            },
            success: function(json){
                if (json.type=="result") {
                    for (f in json.data[0]) {
                        $("#centovacast_"+f).text(json.data[0][f]);
                    }
                    $("#centovacast_details").show();
                }
            }
        });
    });
}
</script>