⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
psa-horde
/
lib
/
Block
/
Edit File: Iframe.php
<?php /** * @package Horde */ class Horde_Block_Iframe extends Horde_Core_Block { /** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->_name = _("View an external web page"); } /** */ protected function _params() { return array( 'iframe' => array( 'type' => 'text', 'name' => _("URL"), 'default' => '' ), 'title' => array( 'type' => 'text', 'name' => _("Title") ), 'height' => array( 'type' => 'enum', 'name' => _("Height"), 'default' => '600', 'values' => array( '480' => _("Small"), '600' => _("Medium"), '768' => _("Large"), '1024' => _("Extra Large") ) ) ); } /** */ protected function _title() { $title = !empty($this->_params['title']) ? $this->_params['title'] : $this->_params['iframe']; $url = new Horde_Url(Horde::externalUrl($this->_params['iframe'])); return htmlspecialchars($title) . $url->link(array('target' => '_blank')) . Horde_Themes_Image::tag('external.png', array( 'attr' => array( 'style' => 'vertical-align:middle;padding-left:.3em' ) )) . '</a>'; } /** */ protected function _content() { global $browser; if (!$browser->hasFeature('iframes')) { return _("Your browser does not support this feature."); } if (empty($this->_params['height'])) { $height = ($browser->isBrowser('msie') || $browser->isBrowser('webkit')) ? '' : ' height="100%"'; } else { $height = ' height="' . htmlspecialchars($this->_params['height']) . '"'; } return '<iframe src="' . htmlspecialchars($this->_params['iframe']) . '" width="100%"' . $height . ' marginheight="0" scrolling="auto" frameborder="0"></iframe>'; } }
Simpan