HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //opt/cloudlinux/alt-php54/root/usr/share/pear/RVSeagullMod/modules/default/blocks/Sample1.php
<?php
/**
 * Sample block 1.
 *
 * @package block
 * @author  Demian Turner <demian@phpkitchen.com>
 * @version $Revision: 1.1 $
 */
class Default_Block_Sample1
{
    function init()
    {
        return $this->getBlockContent();
    }

    function getBlockContent()
    {
        $baseUrl = SGL_BASE_URL;
        $text = <<< HTML
<div class="alignCenter">
<iframe width="1" height="1" marginwidth="0" marginheight="0"
        id="async_frame" style="float:left;" frameborder="0" scrolling="no"
        src="{$baseUrl}/iframe.html" onload="async_load();">.</iframe>
<div id="async_demo">&#xA0;</div>
<img src="{$baseUrl}/images/seagull.png" alt="Seagull PHP Framework" />
<img src="{$baseUrl}/images/sgl-framework.png" alt="Seagull PHP Framework" />
</div>
HTML;
        return $text;
    }
}
?>