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 /
.trash /
Delete
Unzip
Name
Size
Permission
Date
Action
administrator
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
administrator.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
api
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
api.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
cache
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
cache.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
cli
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
cli.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
components
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
components.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
docs
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
files
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
files.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
images
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
images.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
includes
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
includes.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
language
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
language.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
layouts
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
layouts.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
libraries
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
libraries.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
media
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
media.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
modules
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
modules.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
plugins
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
plugins.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
templates
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
templates.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
tmp
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
tmp.1
[ DIR ]
drwxr-xr-x
2026-05-03 17:02
tools
[ DIR ]
drwxr-xr-x
2026-05-03 18:20
.trash_restore
7.88
KB
-rw-r--r--
2026-05-17 08:37
LICENSE.txt
17.67
KB
-rw-r--r--
2026-05-01 04:20
LICENSE.txt.1
17.67
KB
-rw-r--r--
2026-04-26 19:48
README.txt
5.53
KB
-rw-r--r--
2026-05-01 04:20
README.txt.1
5.53
KB
-rw-r--r--
2026-04-26 19:48
add_menu.php
664
B
-rw-r--r--
2026-04-28 04:05
append_css.php
171
B
-rw-r--r--
2026-05-02 01:52
append_js.php
1.84
KB
-rw-r--r--
2026-04-28 05:22
append_js_fixed.php
2.13
KB
-rw-r--r--
2026-04-28 05:38
build_site.php
36.49
KB
-rw-r--r--
2026-05-03 11:04
bump_media.php
912
B
-rw-r--r--
2026-05-02 02:24
bump_media_version.php
1.21
KB
-rw-r--r--
2026-05-02 01:52
check_about.php
1.42
KB
-rw-r--r--
2026-05-02 01:52
check_article_content.php
520
B
-rw-r--r--
2026-05-02 01:52
check_full_html.php
974
B
-rw-r--r--
2026-05-02 01:52
check_headings.php
559
B
-rw-r--r--
2026-05-02 01:52
check_hero.php
488
B
-rw-r--r--
2026-05-02 01:52
check_html_output.php
296
B
-rw-r--r--
2026-05-02 01:52
check_icons.php
492
B
-rw-r--r--
2026-05-02 01:52
check_menu.php
686
B
-rw-r--r--
2026-05-02 02:38
check_services_page.php
1.21
KB
-rw-r--r--
2026-05-02 01:52
check_sidebars.php
895
B
-rw-r--r--
2026-05-02 01:52
configuration.bak.php
2.88
KB
-rw-r--r--
2026-05-03 18:22
configuration.bak.php.1
2.91
KB
-rw-r--r--
2026-05-03 17:05
configuration.php
4.02
KB
-rw-r--r--
2026-05-03 18:22
configuration.php.1
4.01
KB
-rw-r--r--
2026-05-03 17:05
create_about_article.php
13.12
KB
-rw-r--r--
2026-05-02 01:52
create_about_page.php
1012
B
-rw-r--r--
2026-05-02 01:52
create_contact_page.php
10.4
KB
-rw-r--r--
2026-05-02 01:52
create_services_page.php
13.85
KB
-rw-r--r--
2026-05-03 06:02
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_menu.php
1.54
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
fix_age_cards.php
2.9
KB
-rw-r--r--
2026-05-02 02:55
fix_age_cards2.php
4.17
KB
-rw-r--r--
2026-05-02 02:57
fix_assets.php
2.37
KB
-rw-r--r--
2026-05-02 01:52
fix_contact_menu.php
1.3
KB
-rw-r--r--
2026-05-02 01:52
fix_contact_menu2.php
1.16
KB
-rw-r--r--
2026-05-02 01:52
fix_header.php
2.37
KB
-rw-r--r--
2026-04-28 03:29
fix_hero_images.php
1.73
KB
-rw-r--r--
2026-05-02 01:52
fix_home.php
619
B
-rw-r--r--
2026-04-28 04:11
fix_menu.php
770
B
-rw-r--r--
2026-05-02 01:52
fix_menu2.php
1.83
KB
-rw-r--r--
2026-05-02 01:52
fix_menu_items.php
798
B
-rw-r--r--
2026-05-02 02:39
fix_menu_module.php
3.7
KB
-rw-r--r--
2026-05-02 02:05
fix_services_age.php
2.72
KB
-rw-r--r--
2026-05-02 02:45
fix_services_page.php
1.45
KB
-rw-r--r--
2026-05-02 01:52
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
get_colors.php
1.08
KB
-rw-r--r--
2026-04-28 04:30
htaccess.txt
6.74
KB
-rw-r--r--
2026-05-01 04:20
htaccess.txt.1
6.74
KB
-rw-r--r--
2026-04-26 19:48
index.php
1.52
KB
-rw-r--r--
2026-05-01 04:20
index.php.1
1.52
KB
-rw-r--r--
2026-04-26 19:48
install_rmh_modules.php
15.4
KB
-rw-r--r--
2026-05-03 09:56
menu_all.php
452
B
-rw-r--r--
2026-05-02 03:31
menu_children1.php
436
B
-rw-r--r--
2026-05-02 03:22
menu_cols.php
316
B
-rw-r--r--
2026-05-02 03:22
menu_full.php
453
B
-rw-r--r--
2026-05-02 03:21
menu_order_check.php
478
B
-rw-r--r--
2026-05-02 03:21
menu_parents.php
498
B
-rw-r--r--
2026-05-02 03:22
menu_root.php
380
B
-rw-r--r--
2026-05-02 03:21
menu_root2.php
464
B
-rw-r--r--
2026-05-02 03:21
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
764
B
-rw-r--r--
2026-05-01 04:20
robots.txt.1
764
B
-rw-r--r--
2026-04-26 19:49
set_color.php
748
B
-rw-r--r--
2026-04-28 04:31
set_logo.php
863
B
-rw-r--r--
2026-04-28 04:21
update_about_page.php
9.5
KB
-rw-r--r--
2026-05-03 10:20
update_about_treatments.php
2.64
KB
-rw-r--r--
2026-05-02 01:52
update_age_images_nigeria.php
1.19
KB
-rw-r--r--
2026-05-02 03:03
update_all_content.php
17.6
KB
-rw-r--r--
2026-05-03 09:56
update_contact_colors.php
713
B
-rw-r--r--
2026-05-02 01:52
update_contact_icons.php
6.4
KB
-rw-r--r--
2026-05-02 01:52
update_contact_page.php
4.56
KB
-rw-r--r--
2026-05-02 01:52
update_hero.php
3.53
KB
-rw-r--r--
2026-05-03 16:32
web.config.txt
2.9
KB
-rw-r--r--
2026-05-01 04:20
web.config.txt.1
2.9
KB
-rw-r--r--
2026-04-26 19:49
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; $r = $conn->query("SELECT id, introtext FROM {$p}content WHERE alias='our-therapy-services'"); $row = $r->fetch_assoc(); if ($row) { $html = $row['introtext']; // Show what the current age-groups section looks like if (preg_match('/<div class="rmh-age-groups">(.{0,500})/s', $html, $m)) { echo "Found age-groups. Preview:\n" . $m[0] . "\n\n"; } else { echo "No rmh-age-groups found!\n"; } // Use strpos-based replacement $startMarker = '<div class="rmh-age-groups">'; $startPos = strpos($html, $startMarker); if ($startPos !== false) { // Find the closing - count div opens/closes $depth = 0; $pos = $startPos; $endPos = false; $len = strlen($html); while ($pos < $len) { $nextOpen = strpos($html, '<div', $pos); $nextClose = strpos($html, '</div>', $pos); if ($nextOpen === false) $nextOpen = $len; if ($nextClose === false) break; if ($nextOpen < $nextClose) { $depth++; $pos = $nextOpen + 4; } else { $depth--; if ($depth === 0) { $endPos = $nextClose + 6; // length of </div> break; } $pos = $nextClose + 6; } } if ($endPos) { $newAgeSection = '<div class="rmh-age-groups"> <div class="rmh-age-card"> <div class="rmh-age-card__image"> <img src="/joomla/ng2/media/templates/site/wds-rmh/images/service-children.jpg" alt="Children Therapy" loading="lazy"> </div> <div class="rmh-age-card__body"> <h3>Children <span>(Ages 3–12)</span></h3> <p>Children between the ages of 3 and 12 with emotional or behavioural challenges, as well as their families and caregivers, can benefit from treatment provided by our team. We offer play therapy, educational support, and family therapy tailored to this age group.</p> </div> </div> <div class="rmh-age-card"> <div class="rmh-age-card__image"> <img src="/joomla/ng2/media/templates/site/wds-rmh/images/service-adolescent.jpg" alt="Adolescent Therapy" loading="lazy"> </div> <div class="rmh-age-card__body"> <h3>Adolescents <span>(Ages 12–17)</span></h3> <p>Teens from 12 to 17 who face any variety of mental health challenges can benefit from our services. Clients receive individualized treatment plans supervised by qualified professionals, with specializations in trauma, crisis intervention, and peer-related issues.</p> </div> </div> <div class="rmh-age-card"> <div class="rmh-age-card__image"> <img src="/joomla/ng2/media/templates/site/wds-rmh/images/service-adult.jpg" alt="Adult Therapy" loading="lazy"> </div> <div class="rmh-age-card__body"> <h3>Adults & Families <span>(Ages 18+)</span></h3> <p>Adults ages 18 and above benefit from individualized treatment plans led by our multi-disciplinary team. We provide therapy, counselling, coaching, and consultation. We believe true growth occurs in many environments and focus on compassionate healing and positive change.</p> </div> </div> </div>'; $html = substr($html, 0, $startPos) . $newAgeSection . substr($html, $endPos); $conn->query("UPDATE {$p}content SET introtext='" . $conn->real_escape_string($html) . "' WHERE id=" . $row['id']); echo "SUCCESS. Updated age cards with images. Affected: " . $conn->affected_rows . "\n"; } else { echo "Could not find end of age-groups div.\n"; } } else { echo "age-groups section not found in article.\n"; } } else { echo "Article not found!\n"; } $conn->close();