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 | : 3.149.214.28
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 /
tests /
handlers /
[ HOME SHELL ]
Name
Size
Permission
Action
views_handler_area_text.test
1.75
KB
-rw-r--r--
views_handler_argument_null.te...
2.05
KB
-rw-r--r--
views_handler_argument_string....
3.46
KB
-rw-r--r--
views_handler_field.test
15.29
KB
-rw-r--r--
views_handler_field_boolean.te...
4.22
KB
-rw-r--r--
views_handler_field_counter.te...
1.94
KB
-rw-r--r--
views_handler_field_custom.tes...
1.12
KB
-rw-r--r--
views_handler_field_date.test
3.65
KB
-rw-r--r--
views_handler_field_file_exten...
2.04
KB
-rw-r--r--
views_handler_field_file_size....
1.89
KB
-rw-r--r--
views_handler_field_math.test
1.04
KB
-rw-r--r--
views_handler_field_url.test
1.43
KB
-rw-r--r--
views_handler_field_xss.test
1.27
KB
-rw-r--r--
views_handler_filter_combine.t...
2.3
KB
-rw-r--r--
views_handler_filter_date.test
8.21
KB
-rw-r--r--
views_handler_filter_equality....
4.16
KB
-rw-r--r--
views_handler_filter_in_operat...
4.69
KB
-rw-r--r--
views_handler_filter_numeric.t...
9.88
KB
-rw-r--r--
views_handler_filter_string.te...
21.97
KB
-rw-r--r--
views_handler_sort.test
3.27
KB
-rw-r--r--
views_handler_sort_date.test
5.84
KB
-rw-r--r--
views_handler_sort_random.test
2.56
KB
-rw-r--r--
views_handlers.test
1.77
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : views_handler_argument_string.test
<?php /** * @file * Definition of ViewsHandlerArgumentNullTest. */ /** * Tests the core views_handler_argument_string handler. */ class ViewsHandlerArgumentStringTest extends ViewsSqlTest { public static function getInfo() { return array( 'name' => 'Argument: String', 'description' => 'Test the core views_handler_argument_string handler.', 'group' => 'Views Handlers', ); } /** * Tests the glossary feature. */ function testGlossary() { // Setup some nodes, one with a, two with b and three with c. $counter = 1; foreach (array('a', 'b', 'c') as $char) { for ($i = 0; $i < $counter; $i++) { $edit = array( 'title' => $char . $this->randomName(), ); $this->drupalCreateNode($edit); } } $view = $this->viewGlossary(); $view->init_display(); $this->executeView($view); $count_field = 'nid'; foreach ($view->result as &$row) { if (strpos($row->node_title, 'a') === 0) { $this->assertEqual(1, $row->{$count_field}); } if (strpos($row->node_title, 'b') === 0) { $this->assertEqual(2, $row->{$count_field}); } if (strpos($row->node_title, 'c') === 0) { $this->assertEqual(3, $row->{$count_field}); } } } /** * Provide a test view for testGlossary. * * @see testGlossary * @return view */ function viewGlossary() { $view = new view(); $view->name = 'test_glossary'; $view->description = ''; $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'test_glossary'; $view->core = 7; $view->api_version = '3.0'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['access']['type'] = 'perm'; $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['exposed_form']['type'] = 'basic'; $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['row_plugin'] = 'fields'; /* Field: Content: Title */ $handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; /* Contextual filter: Content: Title */ $handler->display->display_options['arguments']['title']['id'] = 'title'; $handler->display->display_options['arguments']['title']['table'] = 'node'; $handler->display->display_options['arguments']['title']['field'] = 'title'; $handler->display->display_options['arguments']['title']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['title']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['title']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['title']['summary_options']['items_per_page'] = '25'; $handler->display->display_options['arguments']['title']['glossary'] = TRUE; $handler->display->display_options['arguments']['title']['limit'] = '1'; return $view; } }
Close