⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.97
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 :
~
/
usr
/
share
/
psa-horde
/
lib
/
Block
/
Edit File: Google.php
<?php /** * @package Horde */ class Horde_Block_Google extends Horde_Core_Block { /** */ public function __construct($app, $params = array()) { parent::__construct($app, $params); $this->enabled = isset($GLOBALS['conf']['api']['googlesearch']); $this->_name = _("Google Search"); } /** */ protected function _content() { Horde::startBuffer(); ?> <link href="http://www.google.com/uds/css/gsearch.css" type="text/css" rel="stylesheet"/> <div id="googlesearch">...</div> <script type="text/javascript" src="http://www.google.com/uds/api?file=uds.js&v=1.0&key=<?php echo htmlspecialchars($GLOBALS['conf']['api']['googlesearch']) ?>"></script> <script type="text/javascript"> //<![CDATA[ function GoogleSearchSetup() { // Create a search control var searchControl = new GSearchControl(); // Add in a full set of searchers searchControl.addSearcher(new GwebSearch()); searchControl.addSearcher(new GvideoSearch()); searchControl.addSearcher(new GblogSearch()); searchControl.addSearcher(new GnewsSearch()); searchControl.addSearcher(new GbookSearch()); // create a drawOptions object var drawOptions = new GdrawOptions(); // tell the searcher to draw itself in tabbed mode drawOptions.setDrawMode(GSearchControl.DRAW_MODE_TABBED); searchControl.draw(document.getElementById('googlesearch'), drawOptions); } GSearch.setOnLoadCallback(GoogleSearchSetup); //]]> </script> <?php return Horde::endBuffer(); } }
Simpan