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 error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE); 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; $base = '/joomla/ng2'; // ============================================================ // 1. FIX SITENAME // ============================================================ echo "DB prefix: $p\n"; // ============================================================ // 2. INSTALL & ACTIVATE TEMPLATE // ============================================================ $tplParams = json_encode([ 'colorPrimary' => '#43b649', 'colorSecondary' => '#2d2d2d', 'phoneNumber' => '+234-XXX-XXX-XXXX', 'emailAddress' => 'nigeria@resilientmentalhealth.com', 'officeAddress' => 'Lagos, Nigeria', 'officeHours' => 'Mon - Fri: 9am - 5pm', 'siteTitle' => 'Resilient Mental Health Nigeria', 'brand' => '1', 'backTop' => '1', 'stickyHeader' => '1', 'appointmentUrl' => "$base/index.php/contacts", 'appointmentText' => 'APPOINTMENT' ]); $tplParamsEsc = $conn->real_escape_string($tplParams); $tplExists = $conn->query("SELECT extension_id FROM {$p}extensions WHERE element='wds-rmh' AND type='template'")->fetch_assoc(); if (!$tplExists) { $conn->query("INSERT INTO {$p}extensions (name, type, element, folder, client_id, enabled, access, protected, locked, manifest_cache, params) VALUES ('wds-rmh', 'template', 'wds-rmh', '', 0, 1, 1, 0, 0, '', '$tplParamsEsc')"); echo "Template extension installed\n"; } else { $conn->query("UPDATE {$p}extensions SET params='$tplParamsEsc', enabled=1 WHERE extension_id={$tplExists['extension_id']}"); echo "Template extension updated\n"; } // Set as default template style $conn->query("UPDATE {$p}template_styles SET home='0' WHERE client_id=0"); $styleExists = $conn->query("SELECT id FROM {$p}template_styles WHERE template='wds-rmh' AND client_id=0")->fetch_assoc(); if (!$styleExists) { $conn->query("INSERT INTO {$p}template_styles (template, client_id, home, title, inheritable, parent, params) VALUES ('wds-rmh', 0, '1', 'wds-rmh - Default', 0, '', '$tplParamsEsc')"); echo "Template style created as default\n"; } else { $conn->query("UPDATE {$p}template_styles SET home='1', params='$tplParamsEsc' WHERE id={$styleExists['id']}"); echo "Template style set as default\n"; } // ============================================================ // 3. GET COMPONENT ID // ============================================================ $comId = $conn->query("SELECT extension_id FROM {$p}extensions WHERE element='com_content' AND type='component'")->fetch_assoc()['extension_id']; echo "com_content ID: $comId\n"; // ============================================================ // 4. HELPER FUNCTIONS // ============================================================ function createModule($conn, $p, $title, $position, $content, $module = 'mod_custom') { $exists = $conn->query("SELECT id FROM {$p}modules WHERE title='" . $conn->real_escape_string($title) . "' AND client_id=0")->fetch_assoc(); $escaped = $conn->real_escape_string($content); if ($exists) { $conn->query("UPDATE {$p}modules SET content='$escaped', published=1, position='$position', module='$module' WHERE id={$exists['id']}"); return $exists['id']; } else { $conn->query("INSERT INTO {$p}modules (title, content, module, position, published, access, showtitle, client_id, language, params, ordering) VALUES ('" . $conn->real_escape_string($title) . "', '$escaped', '$module', '$position', 1, 1, 0, 0, '*', '{}', 0)"); $modId = $conn->insert_id; $conn->query("INSERT INTO {$p}modules_menu (moduleid, menuid) VALUES ($modId, 0)"); return $modId; } } function createArticle($conn, $p, $title, $alias, $content) { $escaped = $conn->real_escape_string($content); $exists = $conn->query("SELECT id FROM {$p}content WHERE alias='$alias'")->fetch_assoc(); if ($exists) { $conn->query("UPDATE {$p}content SET introtext='$escaped', title='" . $conn->real_escape_string($title) . "', state=1 WHERE id={$exists['id']}"); return $exists['id']; } else { $conn->query("INSERT INTO {$p}content (asset_id, title, alias, introtext, state, catid, created, created_by, access, language, metadata, attribs, images, urls) VALUES (0, '" . $conn->real_escape_string($title) . "', '$alias', '$escaped', 1, 2, NOW(), 42, 1, '*', '{\"robots\":\"\",\"author\":\"\",\"rights\":\"\"}', '{}', '{}', '{}')"); return $conn->insert_id; } } function createMenuItem($conn, $p, $title, $alias, $articleId, $comId, $showTitle = '1') { $params = json_encode(['show_page_heading'=>'0','show_title'=>$showTitle,'show_category'=>'0','show_author'=>'0','show_create_date'=>'0','show_modify_date'=>'0','show_publish_date'=>'0','show_item_navigation'=>'0','show_hits'=>'0','show_tags'=>'0','show_info_block'=>'0']); $paramsEsc = $conn->real_escape_string($params); $exists = $conn->query("SELECT id FROM {$p}menu WHERE alias='$alias' AND menutype='mainmenu' AND client_id=0")->fetch_assoc(); if ($exists) { $conn->query("UPDATE {$p}menu SET type='component', component_id=$comId, link='index.php?option=com_content&view=article&id=$articleId', params='$paramsEsc', published=1 WHERE id={$exists['id']}"); return $exists['id']; } else { $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; $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) VALUES ('mainmenu', '" . $conn->real_escape_string($title) . "', '$alias', '$alias', 'index.php?option=com_content&view=article&id=$articleId', 'component', 1, 1, 1, $comId, 1, '*', '$paramsEsc', $lft, " . ($lft+1) . ", 0)"); return $conn->insert_id; } } // ============================================================ // 5. CREATE MODULES // ============================================================ // HERO (paths must use $base — never /joomla/ray on the Nigeria site) $heroImgVer = 'hfix1'; $heroHtml = <<<HTML <div class="rmh-hero-carousel"> <div class="rmh-hero-slide is-active"> <div class="rmh-hero-slide__inner"> <div class="rmh-hero-slide__image"> <img src="{$base}/images/hero-slide1.png?v={$heroImgVer}" alt="Mental Health Support in Nigeria"> </div> <div class="rmh-hero-slide__text"> <h2><em>Resilient Minds,</em> Stronger Communities</h2> <p>Providing compassionate, culturally sensitive mental health care across Nigeria with a multi-disciplinary team of licensed professionals.</p> <a href="$base/index.php/contacts" class="rmh-btn rmh-btn--primary">Book Appointment</a> </div> </div> </div> <div class="rmh-hero-slide"> <div class="rmh-hero-slide__inner rmh-hero--img-right"> <div class="rmh-hero-slide__image"> <img src="{$base}/images/hero-slide2.png?v={$heroImgVer}" alt="Therapy Services Nigeria"> </div> <div class="rmh-hero-slide__text"> <h2><em>Healing Begins</em> With One Step</h2> <p>Individual, family, and group therapy delivered by experienced professionals committed to your well-being.</p> <a href="$base/index.php/our-therapy-services" class="rmh-btn rmh-btn--primary">Our Services</a> </div> </div> </div> <div class="rmh-hero-slide"> <div class="rmh-hero-slide__inner"> <div class="rmh-hero-slide__image"> <img src="{$base}/images/hero-slide3.png?v={$heroImgVer}" alt="Mental Wellness Nigeria"> </div> <div class="rmh-hero-slide__text"> <h2><em>Your Mental Health</em> Matters</h2> <p>Evidence-based treatment supervised by qualified psychiatrists. Accessible, affordable care for all ages.</p> <a href="$base/index.php/about" class="rmh-btn rmh-btn--primary">Learn More</a> </div> </div> </div> <button type="button" class="rmh-hero-arrow rmh-hero-arrow--prev" aria-label="Previous slide"><span>‹</span></button> <button type="button" class="rmh-hero-arrow rmh-hero-arrow--next" aria-label="Next slide"><span>›</span></button> </div> HTML; createModule($conn, $p, 'Hero Banner', 'hero', $heroHtml); echo "Hero created\n"; // WELCOME $welcomeHtml = <<<'HTML' <h2 class="rmh-section__title">Welcome to Resilient Mental Health Nigeria</h2> <p class="rmh-section__subtitle">Providing holistic, culturally sensitive mental health services across Nigeria</p> <div class="rmh-welcome-content" style="max-width:800px; margin:0 auto; text-align:center;"> <p>Resilient Mental Health Agency, Nigeria is dedicated to developing individualized treatment plans that address the unique needs of each patient. Our multi-disciplinary team of licensed professionals provides high-quality, holistic mental health services.</p> <p>We serve individuals, families, and communities with compassion, respect, and evidence-based approaches to healing and growth.</p> </div> HTML; createModule($conn, $p, 'Welcome', 'welcome', $welcomeHtml); echo "Welcome created\n"; // SERVICES (homepage 3×2 grid — custom images in /images/home-services/, Nigerian representation) $servicesImgVer = 'ngpeople1'; $servicesHtml = <<<HTML <h2 class="rmh-section__title">Our Services</h2> <p class="rmh-section__subtitle">Comprehensive mental health care for individuals, families, and communities</p> <div class="rmh-services-grid"> <div class="rmh-service-card"> <img class="rmh-service-card__image" src="{$base}/images/home-services/service-family.jpg?v={$servicesImgVer}" alt="Nigerian family talking together in a comfortable home setting" width="840" height="560" loading="lazy" decoding="async"> <div class="rmh-service-card__body"> <h3 class="rmh-service-card__title">Individual & Family Therapy</h3> <p class="rmh-service-card__text">Personalized therapy sessions tailored to your unique needs and goals.</p> </div> </div> <div class="rmh-service-card"> <img class="rmh-service-card__image" src="{$base}/images/home-services/service-grief.jpg?v={$servicesImgVer}" alt="Nigerian woman reflecting peacefully by a sunlit window" width="840" height="560" loading="lazy" decoding="async"> <div class="rmh-service-card__body"> <h3 class="rmh-service-card__title">Grief & Loss Counseling</h3> <p class="rmh-service-card__text">Compassionate support for healing from grief, loss, and life transitions.</p> </div> </div> <div class="rmh-service-card"> <img class="rmh-service-card__image" src="{$base}/images/home-services/service-trauma.jpg?v={$servicesImgVer}" alt="Welcoming Nigerian counseling room ready for trauma-informed care" width="840" height="560" loading="lazy" decoding="async"> <div class="rmh-service-card__body"> <h3 class="rmh-service-card__title">Trauma & Crisis Counseling</h3> <p class="rmh-service-card__text">Evidence-based treatment for trauma, PTSD, and crisis intervention.</p> </div> </div> <div class="rmh-service-card"> <img class="rmh-service-card__image" src="{$base}/images/home-services/service-cbt.jpg?v={$servicesImgVer}" alt="Nigerian woman writing in a therapy journal for structured CBT work" width="840" height="560" loading="lazy" decoding="async"> <div class="rmh-service-card__body"> <h3 class="rmh-service-card__title">CBT & Psychotherapy</h3> <p class="rmh-service-card__text">Cognitive Behavioral Therapy and other proven modalities for lasting change.</p> </div> </div> <div class="rmh-service-card"> <img class="rmh-service-card__image" src="{$base}/images/home-services/service-positive.jpg?v={$servicesImgVer}" alt="Nigerian friends walking together in a sunny urban park" width="840" height="560" loading="lazy" decoding="async"> <div class="rmh-service-card__body"> <h3 class="rmh-service-card__title">Positive Living Skills</h3> <p class="rmh-service-card__text">Building resilience, self-esteem, and healthy coping strategies.</p> </div> </div> <div class="rmh-service-card"> <img class="rmh-service-card__image" src="{$base}/images/home-services/service-stress.jpg?v={$servicesImgVer}" alt="Nigerian man practising calm breathing and relaxation at home" width="840" height="560" loading="lazy" decoding="async"> <div class="rmh-service-card__body"> <h3 class="rmh-service-card__title">Stress & Anger Management</h3> <p class="rmh-service-card__text">Practical tools and techniques for managing stress, anxiety, and anger.</p> </div> </div> </div> HTML; createModule($conn, $p, 'Our Services', 'services', $servicesHtml); echo "Services created\n"; // CTA BANNER $ctaHtml = <<<HTML <div style="text-align:center; padding:40px 20px;"> <h2 style="color:#fff; font-size:2rem; margin:0 0 10px;">Ready to Begin Your Journey?</h2> <p style="color:rgba(255,255,255,0.9); font-size:1.1rem; max-width:600px; margin:0 auto 20px;">Take the first step toward healing. Our caring team is here to help you every step of the way.</p> <a href="$base/index.php/contacts" class="rmh-btn" style="background:#fff; color:var(--rmh-primary); padding:14px 35px; border-radius:6px; text-decoration:none; font-weight:700; display:inline-block; border:2px solid #fff; margin-top:10px;">Contact Us Today</a> </div> HTML; createModule($conn, $p, 'CTA Banner', 'cta-banner', $ctaHtml); echo "CTA created\n"; // TEAM $teamHtml = <<<HTML <h2 class="rmh-section__title">Our Team</h2> <p class="rmh-section__subtitle">Meet our dedicated team of mental health professionals</p> <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:25px; max-width:1000px; margin:0 auto;"> <div style="text-align:center; padding:20px; border:1px solid var(--rmh-border); border-radius:10px;"> <img src="$base/images/Godwin Bebia Apostle.jpg" alt="Godwin Bebia Apostle" style="width:120px; height:120px; border-radius:50%; object-fit:cover; margin-bottom:12px;"> <h4 style="margin:0 0 4px; font-size:1rem;">Godwin Bebia Apostle</h4> <p style="margin:0; font-size:0.82rem; color:var(--rmh-primary); font-weight:600;">CBT Psychotherapist</p> </div> <div style="text-align:center; padding:20px; border:1px solid var(--rmh-border); border-radius:10px;"> <img src="$base/images/Folashade Oseni.jpg" alt="Folashade Oseni" style="width:120px; height:120px; border-radius:50%; object-fit:cover; margin-bottom:12px;"> <h4 style="margin:0 0 4px; font-size:1rem;">Folashade Oseni</h4> <p style="margin:0; font-size:0.82rem; color:var(--rmh-primary); font-weight:600;">Mental Health Professional</p> </div> <div style="text-align:center; padding:20px; border:1px solid var(--rmh-border); border-radius:10px;"> <img src="$base/images/Adetomi adewole.jpg" alt="Adetomi Adewole" style="width:120px; height:120px; border-radius:50%; object-fit:cover; margin-bottom:12px;"> <h4 style="margin:0 0 4px; font-size:1rem;">Adetomi Adewole</h4> <p style="margin:0; font-size:0.82rem; color:var(--rmh-primary); font-weight:600;">Wellness Coach</p> </div> <div style="text-align:center; padding:20px; border:1px solid var(--rmh-border); border-radius:10px;"> <img src="$base/images/Prof E S Dangana.jpg" alt="Prof E S Dangana" style="width:120px; height:120px; border-radius:50%; object-fit:cover; margin-bottom:12px;"> <h4 style="margin:0 0 4px; font-size:1rem;">Prof. E.S. Dangana</h4> <p style="margin:0; font-size:0.82rem; color:var(--rmh-primary); font-weight:600;">Christian Counsellor</p> </div> </div> HTML; createModule($conn, $p, 'Our Team', 'gallery', $teamHtml); echo "Team created\n"; // FAQ $faqHtml = <<<'HTML' <h2 class="rmh-section__title">Frequently Asked Questions</h2> <div style="max-width:800px; margin:0 auto;"> <details style="margin-bottom:12px; border:1px solid var(--rmh-border); border-radius:8px; padding:16px 20px;"><summary style="font-weight:700; cursor:pointer; color:var(--rmh-heading);">What services do you offer?</summary><p style="margin:12px 0 0; color:#555; line-height:1.7;">We offer individual, family, and group therapy, grief counseling, CBT, trauma and crisis counseling, stress and anger management, and more.</p></details> <details style="margin-bottom:12px; border:1px solid var(--rmh-border); border-radius:8px; padding:16px 20px;"><summary style="font-weight:700; cursor:pointer; color:var(--rmh-heading);">Who can access your services?</summary><p style="margin:12px 0 0; color:#555; line-height:1.7;">We serve children, adolescents, adults, and families of all ages and backgrounds.</p></details> <details style="margin-bottom:12px; border:1px solid var(--rmh-border); border-radius:8px; padding:16px 20px;"><summary style="font-weight:700; cursor:pointer; color:var(--rmh-heading);">How do I schedule an appointment?</summary><p style="margin:12px 0 0; color:#555; line-height:1.7;">Contact us via phone, email, or our website contact form. We'll respond within 24 hours.</p></details> <details style="margin-bottom:12px; border:1px solid var(--rmh-border); border-radius:8px; padding:16px 20px;"><summary style="font-weight:700; cursor:pointer; color:var(--rmh-heading);">Are sessions confidential?</summary><p style="margin:12px 0 0; color:#555; line-height:1.7;">Absolutely. All sessions are strictly confidential. We adhere to professional ethical standards.</p></details> </div> HTML; createModule($conn, $p, 'FAQ', 'faq', $faqHtml); echo "FAQ created\n"; // FOOTER ABOUT createModule($conn, $p, 'About Us', 'footer-about', '<p>Resilient Mental Health Agency, Nigeria provides compassionate, holistic mental health services across Nigeria.</p>'); echo "Footer created\n"; // ============================================================ // 6. CREATE ARTICLES // ============================================================ // ABOUT PAGE $aboutHtml = <<<HTML <div class="rmh-about-page"> <div class="rmh-page-banner"><h2>About Us</h2><p>Compassionate mental health care rooted in Nigerian communities</p></div> <div class="rmh-about-intro"><p>Resilient Mental Health Agency, Nigeria is dedicated to developing individualized treatment plans to meet the needs of patients by providing high-quality mental health services that is holistic, and identifies problems that interfere with daily functioning. Our multi-disciplinary team of licensed professionals provides evidence-based care.</p></div> <div class="rmh-about-split"> <div class="rmh-about-split__text"> <h2>Who We Are</h2> <p>We are a team of passionate mental health professionals committed to providing the highest quality of care across Nigeria. Our culturally sensitive approach ensures that every client receives treatment that respects their background, values, and unique circumstances.</p> <p>Whether you require therapy, counselling, mentoring, or life-skill consulting, our team is here to help. We work with clients of all ages and backgrounds.</p> <div class="rmh-about-badges"><span class="rmh-about-badge">In-Person Sessions</span><span class="rmh-about-badge">All Ages Welcome</span><span class="rmh-about-badge">Lagos, Nigeria</span></div> </div> <div class="rmh-about-split__side"> <div class="rmh-about-stat"><span class="rmh-about-stat__num">5+</span><span class="rmh-about-stat__label">Licensed Professionals</span></div> <div class="rmh-about-stat"><span class="rmh-about-stat__num">30+</span><span class="rmh-about-stat__label">Years Combined Experience</span></div> <div class="rmh-about-stat"><span class="rmh-about-stat__num">All Ages</span><span class="rmh-about-stat__label">Children to Adults</span></div> </div> </div> <div class="rmh-about-treatments"> <div class="rmh-about-treatments__intro"><h2>Treatment Modalities</h2><p>Treatment modalities are individualized to meet the need of the patient, provided by a multi-disciplinary team using evidence-based approaches.</p></div> <h3 class="rmh-about-treatments__subhead">Treatment Components</h3> <div class="rmh-about-treatments__grid"> <div class="rmh-treatment-item"><span></span>Group, Individual & Family Therapy</div> <div class="rmh-treatment-item"><span></span>Grief & Loss Resolution</div> <div class="rmh-treatment-item"><span></span>Cognitive Behavioural Therapy (CBT)</div> <div class="rmh-treatment-item"><span></span>Stress Management</div> <div class="rmh-treatment-item"><span></span>Depression</div> <div class="rmh-treatment-item"><span></span>Anger Management</div> <div class="rmh-treatment-item"><span></span>Anxiety</div> <div class="rmh-treatment-item"><span></span>Social Isolation</div> <div class="rmh-treatment-item"><span></span>Trauma & Crisis Counselling</div> <div class="rmh-treatment-item"><span></span>Pastoral Counselling</div> <div class="rmh-treatment-item"><span></span>Community Mental Health</div> <div class="rmh-treatment-item"><span></span>Positive Living Skills</div> </div> </div> <div class="rmh-about-mvv-section"> <div class="rmh-about-mvv-row"> <div class="rmh-about-mvv-block"><span class="rmh-about-mvv-num">01</span><h3>Mission</h3><p>To commit ourselves fully to the growth and wellness of individuals and their families, and to the community through prevention, intervention, treatment, and education across Nigerian communities.</p></div> <div class="rmh-about-mvv-block"><span class="rmh-about-mvv-num">02</span><h3>Vision</h3><p>To provide culturally competent, holistic, and wellness-focused services for those affected by mental illness across Nigeria, using evidence-based strategies and proven techniques.</p></div> </div> </div> <div class="rmh-about-values-section"> <h2 class="rmh-section__title">Our Core Values</h2> <div class="rmh-about-values-grid"> <div class="rmh-about-vcard"><span class="rmh-about-vcard__letter">C</span><h4>Compassion</h4><p>Towards the individuals we serve and the communities we cherish</p></div> <div class="rmh-about-vcard"><span class="rmh-about-vcard__letter">A</span><h4>Acceptance</h4><p>Of everyone's right to quality, nonjudgmental, and affordable care</p></div> <div class="rmh-about-vcard"><span class="rmh-about-vcard__letter">R</span><h4>Respect</h4><p>Of everyone's unique path towards their own healing</p></div> <div class="rmh-about-vcard"><span class="rmh-about-vcard__letter">E</span><h4>Education</h4><p>To reduce the stigma of mental illness and encourage authenticity</p></div> </div> </div> <div class="rmh-about-team-section"> <h2 class="rmh-section__title">Our Team</h2> <div class="rmh-about-team-grid"> <div class="rmh-about-team-member"> <div class="rmh-about-team-member__top"><img src="$base/images/Godwin Bebia Apostle.jpg" alt="Godwin Bebia Apostle" class="rmh-about-team-member__photo"><div><h3>Godwin Bebia Apostle</h3><span>CBT Psychotherapist • 30+ Years</span></div></div> <p>Interdisciplinary health practitioner, certified project management professional, and CBT psychotherapist/counsellor with over three decades of experience. Founder and CEO of Psychological Wellbeing Pacesetters (PWP), developer of the Schools Co-curricular Mental Health Education Program (SCuMHEP) implemented in Lagos State public schools.</p> <p>Author of <em>Fighting Through</em> and <em>A Guide to Mental, Emotional and Behavioural Wellbeing</em>. Presenter at the 7th Africa Interdisciplinary Health Conference (AFIHC) 2025.</p> </div> <div class="rmh-about-team-member"> <div class="rmh-about-team-member__top"><img src="$base/images/Folashade Oseni.jpg" alt="Folashade Oseni" class="rmh-about-team-member__photo"><div><h3>Folashade Oseni, MSW</h3><span>Mental Health Professional</span></div></div> <p>Mental health professional with a background in Psychology and a Master's degree in Social Work, specializing in Medical and Psychiatric Social Work. Many years of experience supporting children, adolescents, adults, and families across healthcare, social welfare, and community settings.</p> <p>Her approach is compassionate, client-centred, and culturally sensitive, combining emotional and psychosocial support, crisis intervention, psychoeducation, risk assessment, and strong advocacy.</p> </div> <div class="rmh-about-team-member"> <div class="rmh-about-team-member__top"><img src="$base/images/Adetomi adewole.jpg" alt="Adetomi Adewole" class="rmh-about-team-member__photo"><div><h3>Adetomi Adewole</h3><span>Mental Health & Emotional Wellness Coach</span></div></div> <p>Certified in Mental Health and Marriage & Family Life. Plays an active role in supporting clients to build healthier relationships, deepen emotional awareness, and navigate life with clarity and confidence.</p> <p>With a background in law, she brings structure, analytical thinking, and strong communication skills into her practice, creating a well-rounded and impactful counselling experience.</p> </div> <div class="rmh-about-team-member"> <div class="rmh-about-team-member__top"><img src="$base/images/Prof E S Dangana.jpg" alt="Prof E S Dangana" class="rmh-about-team-member__photo"><div><h3>Rev. Prof. E.S. Dangana, PhD</h3><span>Christian Counsellor • 20+ Years</span></div></div> <p>Erudite scholar, ordained Minister of God, and experienced Christian Counsellor with over two decades of practical experience across all Christian denominations and non-Christians alike. Holds Doctor of Theology (Th.D), Doctor of Education (Ed.D), and Doctor of Clinical Spirituotherapy (D.Sc).</p> <p>Senior Pastor of Light of Faith Gospel Ministry International and Founder/President of Light of Faith Theological Seminary World-Wide, Lagos.</p> </div> </div> <div style="max-width:600px; margin:30px auto 0; text-align:center; padding:24px; background:var(--rmh-light-bg); border-radius:10px;"> <img src="$base/images/Reuben Victoria.jpg" alt="Reuben Victoria" style="width:80px; height:80px; border-radius:50%; object-fit:cover; margin-bottom:10px;"> <h4 style="margin:0 0 4px; font-size:1rem;">Reuben Victoria</h4> <p style="margin:0 0 8px; font-size:0.82rem; color:var(--rmh-primary); font-weight:600;">Secretary / Administration</p> <p style="margin:0; font-size:0.88rem; color:#555; line-height:1.6;">Graduate of Sociology with a deep passion for fostering a healthy and productive society. Maintains high levels of trust, integrity, and confidentiality with clients and office records.</p> </div> </div> <div class="rmh-about-bottom-cta"> <div class="rmh-about-bottom-cta__inner"> <h3>Take the First Step</h3> <p>Contact us today to schedule an appointment. We are here to support you on your journey to mental wellness.</p> <div class="rmh-about-bottom-cta__actions"> <a href="$base/index.php/contacts" class="rmh-abtn rmh-abtn--filled">Get in Touch</a> <a href="$base/index.php/our-therapy-services" class="rmh-abtn rmh-abtn--outline">View Services</a> </div> </div> </div> </div> HTML; $aboutId = createArticle($conn, $p, 'About Us', 'about', $aboutHtml); echo "About page created (ID: $aboutId)\n"; // SERVICES PAGE $servicesPageHtml = <<<HTML <div class="rmh-services-page"> <div class="rmh-page-banner"><h2>Our Therapy Services</h2><p>Comprehensive care tailored to individuals, families, and communities across Nigeria.</p></div> <div class="rmh-services-intro"><p>At Resilient Mental Health Agency, Nigeria, we offer a comprehensive range of mental health services to individuals, families, and communities. Our team of licensed professionals utilizes evidence-based modalities to help you on your journey toward healing and growth.</p></div> <div class="rmh-services-listing"> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-users"></span><h3>Group, Individual & Family Therapy</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-heart"></span><h3>Grief & Loss Resolution</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-star"></span><h3>Positive Living Skills</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-health"></span><h3>Cognitive Behavioural Therapy (CBT)</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-refresh"></span><h3>Stress Management</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-users"></span><h3>Community Mental Health Programs</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-shield"></span><h3>Trauma & Crisis Counselling</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-heart"></span><h3>Depression Treatment</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-star"></span><h3>Anger Management</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-health"></span><h3>Anxiety Treatment</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-users"></span><h3>Low Self-Esteem Support</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-shield"></span><h3>Social Isolation Intervention</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-heart"></span><h3>Bipolar & Mood Disorders</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-star"></span><h3>Pastoral Counselling</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-refresh"></span><h3>Schools Mental Health Programs</h3></div> <div class="rmh-sl-card"><span class="rmh-sl-icon icon-health"></span><h3>Suicidal Ideation Support</h3></div> </div> <h2 class="rmh-section__title" style="margin-top:0;">Who We Serve</h2> <div class="rmh-age-groups"> <div class="rmh-age-card"><h3>Children</h3><p>Age-appropriate therapy to support emotional development, behavioural challenges, and family dynamics.</p></div> <div class="rmh-age-card"><h3>Adolescents</h3><p>Specialized support for navigating the challenges of adolescence.</p></div> <div class="rmh-age-card"><h3>Adults & Families</h3><p>Comprehensive mental health services for individuals, couples, and families seeking healing.</p></div> </div> <div class="rmh-services-cta"><h3>Ready to Begin Your Journey?</h3><p>Contact us today to schedule a consultation.</p><a href="$base/index.php/contacts" class="rmh-btn rmh-btn--primary" style="display:inline-block; padding:14px 35px; text-decoration:none; border-radius:6px; font-weight:700;">Contact Us</a></div> </div> HTML; $servicesId = createArticle($conn, $p, 'Our Therapy Services', 'our-therapy-services', $servicesPageHtml); echo "Services page created (ID: $servicesId)\n"; // CONTACT PAGE $contactHtml = <<<HTML <div class="rmh-contact-page"> <div class="rmh-page-banner"><h2>Contact Us</h2><p>We're here to help you on your journey toward healing and growth. Reach out today.</p></div> <div class="rmh-contact-grid"> <div class="rmh-contact-info"> <div class="rmh-ci-item"><div class="rmh-ci-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" width="36" height="36" fill="#43b649"><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg></div><div class="rmh-ci-text"><h3>Visit Us</h3><p>Lagos, Nigeria</p></div></div> <div class="rmh-ci-item"><div class="rmh-ci-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="38" height="38" fill="#43b649"><path d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"/></svg></div><div class="rmh-ci-text"><h3>Email</h3><p><a href="mailto:nigeria@resilientmentalhealth.com">nigeria@resilientmentalhealth.com</a></p></div></div> <div class="rmh-ci-item"><div class="rmh-ci-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="36" height="36" fill="#43b649"><path d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"/></svg></div><div class="rmh-ci-text"><h3>Call Us</h3><p><a href="tel:+234XXXXXXXXXX">+234-XXX-XXX-XXXX</a></p></div></div> <div class="rmh-ci-item"><div class="rmh-ci-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" width="34" height="34" fill="#43b649"><path d="M32 0C14.3 0 0 14.3 0 32S14.3 64 0 64H64V80.2c0 45-10.7 89.1-31.2 128.8l-4.4 8.5C9.8 253.1 0 292.7 0 333.1V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V333.1c0-40.4-9.8-80-28.4-115.6l-4.4-8.5C330.7 169.3 320 125.2 320 80.2V64h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM128 128V80H256v48c0 33.3 5 66.2 14.8 97H113.2c9.8-30.8 14.8-63.7 14.8-97zm128 240c0 35.3-28.7 64-64 64s-64-28.7-64-64c0-29.8 20.4-54.9 48-62V320h32v6c27.6 7.1 48 32.2 48 62z"/></svg></div><div class="rmh-ci-text"><h3>Hours of Operation</h3><p>Monday – Friday: 9:00 AM – 5:00 PM</p></div></div> </div> <div class="rmh-contact-form-wrap"> <h3>Send Us a Message</h3> <p class="rmh-contact-form__intro">Fill out the form below and we'll get back to you within one business day.</p> <form class="rmh-contact-form" action="#" method="post" onsubmit="event.preventDefault(); alert('Thank you! Your message has been received.');"> <div class="rmh-form-group"><input type="text" name="name" required placeholder="Name"></div> <div class="rmh-form-group"><input type="email" name="email" required placeholder="E-mail"></div> <div class="rmh-form-group"><input type="tel" name="phone" placeholder="Phone"></div> <div class="rmh-form-group"><input type="text" name="subject" placeholder="Subject"></div> <div class="rmh-form-group"><textarea name="message" rows="5" required placeholder="Message"></textarea></div> <button type="submit" class="rmh-btn rmh-btn--primary rmh-contact-submit">Send Message</button> </form> </div> </div> </div> HTML; $contactId = createArticle($conn, $p, 'Contact Us', 'contacts', $contactHtml); echo "Contact page created (ID: $contactId)\n"; // ============================================================ // 7. CREATE MENU ITEMS // ============================================================ createMenuItem($conn, $p, 'About', 'about', $aboutId, $comId, '0'); createMenuItem($conn, $p, 'Our Therapy Services', 'our-therapy-services', $servicesId, $comId, '0'); createMenuItem($conn, $p, 'Contacts', 'contacts', $contactId, $comId, '0'); echo "Menu items created\n"; // Disable breadcrumbs & login $conn->query("UPDATE {$p}modules SET published=0 WHERE module='mod_breadcrumbs' AND client_id=0"); $conn->query("UPDATE {$p}modules SET published=0 WHERE module='mod_login' AND client_id=0"); echo "Breadcrumbs & login disabled\n"; // Clear cache array_map('unlink', glob(__DIR__ . '/cache/*.php') ?: []); echo "\n=== NIGERIA SITE BUILD COMPLETE ===\n"; $conn->close();