HEX
Server: LiteSpeed
System: Linux server315.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
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/diasporameetsafrica.com/wp-content/themes/DA10/framework/design/text/text158.php
<?php
 
add_filter( 'ppt_blocks_args', 	array('block_text158',  'data') );
add_action( 'text158',  		array('block_text158', 'output' ) );
add_action( 'text158-css',  	array('block_text158', 'css' ) );
add_action( 'text158-js',  	array('block_text158', 'js' ) );

class block_text158 {

	function __construct(){}		

	public static function data($a){  global $CORE;
  
		$a['text158'] = array(
			"name" 		=> "Style 158",
			"image"		=> "text158.jpg",
			"cat"		=> array("text","contact"),
			"desc" 		=> "", 
			"order" 	=> 0, 
			"widget" => "ppt-text",	
			"data" 	=> array( ),	
			
			"defaults" => array( ), 
			
					
		);		
		
		return $a;
	
	} public static function output(){ global $CORE, $CORE_UI, $text_settings;
	 	
		 
		 // ALL DEFAULT FIELDS
		 $df = ppt_theme_blocks_defaults("text"); 
		  
		$cc = array();		
		$df = array_merge($df, $cc);
		
		// APPLY ELEMENTOR
		if(!empty($text_settings)){
			foreach($df as $k => $v){				
				if(isset($text_settings[$k]) && $text_settings[$k] != "" ){
					$df[$k] = $text_settings[$k];
				}
			}		
		}   
		  
 
// LOGO
ob_start();
_ppt_template( 'framework/design/parts/contactform' );
$contactform = ob_get_contents();
ob_end_clean();

 
	ob_start();
	
	?>

<section class="border-top section-100 ppt-block-text">
  <div class="container ">
    <div class="row y-middle">
      <div class="col-lg-7 mx-auto">
        <div class="rounded-lg shadow-sm p-4 bg-white" ppt-border1>
          
          <div ppt-icon-48 data-ppt-icon-size="48" class="text-primary mb-3 hide-mobile">
            <?php echo $CORE_UI->icons_svg['envelope']; ?>
          </div>
          
          <h2 class="mb-3" data-ppt-title>If you like what you see, let's work
            together.</h2>
          
          <p class="lead mb-4" data-ppt-subtitle>Lorem ipsum dolor sit amet,
            consectetur adipiscing elit. Praesent tempus eleifend risus ut congue.
            Pellentesque nec lacus elit. Pellentesque convallis nisi ac augue
            pharetra eu tristique.</p>
            
            
          <div> %contactform% </div>
          
          
        </div>
      </div>
    </div>
  </div>
</section>
<?php
 

		$output = ob_get_contents();
		ob_end_clean();
echo str_replace("%contactform%", $contactform, ppt_theme_block_output($output, $df, array("text", "text158")));
	
	}
		public static function css(){
return "";
		ob_start();
 
		$output = ob_get_contents();
		ob_end_clean();
		echo $output;
		}	
		public static function js(){
		return "";
		ob_start();
		?>
<?php	
		$output = ob_get_contents();
		ob_end_clean();
		echo $output;
		}	
}

?>