Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
LiteSpeed
Server IP : 198.54.121.189 & Your IP : 216.73.216.47
Domains :
Cant Read [ /etc/named.conf ]
User : waldicsm
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
waldicsm /
ng.waldoksolutions.net /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
administrator
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
api
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
cache
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
cgi-bin
[ DIR ]
drwxr-xr-x
2026-05-16 17:16
cli
[ DIR ]
drwxr-xr-x
2026-05-14 22:32
components
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
docs
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
files
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
images
[ DIR ]
drwxr-xr-x
2026-05-11 00:37
includes
[ DIR ]
drwxr-xr-x
2026-05-11 00:37
install_fragments
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
language
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
layouts
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
libraries
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
media
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
modules
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
plugins
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
templates
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
tmp
[ DIR ]
drwxr-xr-x
2026-05-17 05:00
tools
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
.htaccess
1.99
KB
-r--r--r--
2026-05-11 00:37
LICENSE.txt
17.67
KB
-rw-r--r--
2026-05-01 04:20
README.txt
5.53
KB
-rw-r--r--
2026-05-01 04:20
admin.php
496.7
KB
-rw-r--r--
2026-05-09 02:48
build_site.php
43.61
KB
-rw-r--r--
2026-05-05 16:05
bump_media.php
912
B
-rw-r--r--
2026-05-02 02:24
configuration.bak.php
2.88
KB
-rw-r--r--
2026-05-06 01:57
configuration.php
4.04
KB
-rw-r--r--
2026-05-06 01:57
debug_all_images.php
1.58
KB
-rw-r--r--
2026-05-02 01:52
debug_assets_table.php
1.85
KB
-rw-r--r--
2026-05-02 01:52
debug_compare.php
2.14
KB
-rw-r--r--
2026-05-02 01:52
debug_css.php
1.8
KB
-rw-r--r--
2026-05-02 01:52
debug_ext.php
1.52
KB
-rw-r--r--
2026-05-02 01:52
debug_hero.php
1.49
KB
-rw-r--r--
2026-05-02 01:52
debug_version.php
1.93
KB
-rw-r--r--
2026-05-02 01:52
debug_wa.php
766
B
-rw-r--r--
2026-05-02 01:52
ensure_ng_about_article.php
12.13
KB
-rw-r--r--
2026-05-03 18:45
ensure_ng_footer_modules.php
5.51
KB
-rw-r--r--
2026-05-05 16:09
ensure_ng_leadership_module.php
2.29
KB
-rw-r--r--
2026-05-05 14:15
ensure_ng_team_module.php
3.19
KB
-rw-r--r--
2026-05-05 15:29
fix_age_cards.php
2.9
KB
-rw-r--r--
2026-05-02 02:55
fix_age_cards2.php
4.61
KB
-rw-r--r--
2026-05-05 14:54
fix_assets.php
2.37
KB
-rw-r--r--
2026-05-02 01:52
fix_hero_images.php
1.73
KB
-rw-r--r--
2026-05-02 01:52
fix_menu_module.php
3.7
KB
-rw-r--r--
2026-05-02 02:05
fix_ng_phone_placeholders.php
5.12
KB
-rw-r--r--
2026-05-03 23:19
fix_services_age.php
2.72
KB
-rw-r--r--
2026-05-02 02:45
fix_sidebar_menu.php
436
B
-rw-r--r--
2026-05-02 02:14
fix_template.php
3.35
KB
-rw-r--r--
2026-05-02 01:52
htaccess.txt
6.74
KB
-rw-r--r--
2026-05-01 04:20
index.php
22.65
KB
-r--r--r--
2026-05-11 00:37
patch_contacts_article_form.php
3.47
KB
-rw-r--r--
2026-05-05 16:09
patch_hero_fullbleed_slide.php
1.33
KB
-rw-r--r--
2026-05-03 06:14
revert_hero_fullbleed.php
1.2
KB
-rw-r--r--
2026-05-03 06:40
robots.txt
102
B
-rw-r--r--
2026-05-11 00:37
strip_ng_stats_from_custom_modules.php
3.23
KB
-rw-r--r--
2026-05-05 14:43
txets.php
5.12
KB
-r--r--r--
2026-05-09 01:10
update_age_images_nigeria.php
1.19
KB
-rw-r--r--
2026-05-02 03:03
web.config.txt
2.9
KB
-rw-r--r--
2026-05-01 04:20
Save
Rename
<?php require_once __DIR__ . '/configuration.php'; $config = new JConfig(); $conn = new mysqli($config->host, $config->user, $config->password, $config->db); $conn->set_charset('utf8mb4'); $p = $config->dbprefix; echo "=== Current mod_menu modules ===\n"; $r = $conn->query("SELECT id, title, position, published FROM {$p}modules WHERE module='mod_menu' AND client_id=0"); while ($row = $r->fetch_assoc()) { echo " ID:{$row['id']} | Title:{$row['title']} | Position:{$row['position']} | Published:{$row['published']}\n"; } echo "\n=== Menu items in mainmenu ===\n"; $r2 = $conn->query("SELECT id, title, alias, home, published FROM {$p}menu WHERE menutype='mainmenu' AND client_id=0 AND parent_id=1"); while ($row = $r2->fetch_assoc()) { echo " ID:{$row['id']} | Title:{$row['title']} | Alias:{$row['alias']} | Home:{$row['home']} | Published:{$row['published']}\n"; } // Create the Main Menu module in the 'menu' position $params = json_encode([ 'menutype' => 'mainmenu', 'startLevel' => '1', 'endLevel' => '0', 'showAllChildren' => '1', 'tag_id' => '', 'class_sfx' => '', 'layout' => '_:default', 'module_tag' => 'div', 'bootstrap_size' => '0', 'header_tag' => 'h3', 'header_class' => '', 'style' => '0' ]); $exists = $conn->query("SELECT id FROM {$p}modules WHERE module='mod_menu' AND position='menu' AND client_id=0")->fetch_assoc(); if ($exists) { $conn->query("UPDATE {$p}modules SET published=1, params='" . $conn->real_escape_string($params) . "' WHERE id={$exists['id']}"); echo "\nMenu module already exists (ID:{$exists['id']}), ensured it's published.\n"; } else { $conn->query("INSERT INTO {$p}modules (title, module, position, published, access, showtitle, client_id, language, params, ordering) VALUES ('Main Menu', 'mod_menu', 'menu', 1, 1, 0, 0, '*', '" . $conn->real_escape_string($params) . "', 0)"); $modId = $conn->insert_id; // Assign to all pages $conn->query("INSERT INTO {$p}modules_menu (moduleid, menuid) VALUES ($modId, 0)"); echo "\nMenu module created (ID:$modId) in 'menu' position, assigned to all pages.\n"; } // Also check if there's a Home menu item - if not, set one $homeCheck = $conn->query("SELECT id FROM {$p}menu WHERE menutype='mainmenu' AND home=1 AND client_id=0")->fetch_assoc(); if (!$homeCheck) { // Create a Home menu item that points to featured articles or a specific article $comId = $conn->query("SELECT extension_id FROM {$p}extensions WHERE element='com_content' AND type='component'")->fetch_assoc()['extension_id']; $maxRgt = $conn->query("SELECT MAX(rgt) as m FROM {$p}menu WHERE menutype='mainmenu' AND client_id=0")->fetch_assoc(); $lft = ($maxRgt['m'] ?? 0) + 1; $homeParams = json_encode(['show_page_heading' => '0']); $conn->query("INSERT INTO {$p}menu (menutype, title, alias, path, link, type, published, parent_id, level, component_id, access, language, params, lft, rgt, client_id, home) VALUES ('mainmenu', 'Home', 'home', 'home', 'index.php?option=com_content&view=featured', 'component', 1, 1, 1, $comId, 1, '*', '" . $conn->real_escape_string($homeParams) . "', $lft, " . ($lft + 1) . ", 0, 1)"); echo "Home menu item created and set as default.\n"; } else { echo "Home menu item already exists (ID:{$homeCheck['id']}).\n"; } // Clear cache $cacheDir = __DIR__ . '/administrator/cache'; if (is_dir($cacheDir)) { $it = new RecursiveIteratorIterator( new RecursiveDirectoryIterator($cacheDir, RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::CHILD_FIRST ); foreach ($it as $file) { if ($file->isDir()) @rmdir($file->getRealPath()); else @unlink($file->getRealPath()); } } echo "Cache cleared.\n"; $conn->close();