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/Debug.php
<?php
/**
 * Debug block.
 *
 * @package seagull
 * @subpackage block
 * @author  Demian Turner <demian@phpkitchen.com>
 * @version $Revision: 1.1 $
 */
class Default_Block_Debug
{
    var $webRoot = SGL_BASE_URL;

    function init()
    {
        return $this->getBlockContent();
    }

    function getBlockContent()
    {
        $url = SGL_Output::makeUrl('', 'maintenance', 'default');
        $text = <<< HTML
<form name="rebuildSeagull" method="post" action="$url" id="rebuildSeagull">
    <p class="center">
        <input type="hidden" name="action" value="rebuildSeagull" />
        <input type="submit" class="sgl-button"name="submit" value="Rebuild Seagull" /><br />
        <input type="checkbox" name="frmSampleData" id="sampleData" value="1" />
        <label for="sampleData">with sample data</label>
    </p>
</form>
HTML;
        return $text;
    }
}
?>