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/cards/es/mobile.php
<?php
/* 
* Theme: PREMIUMPRESS CORE FRAMEWORK FILE
* Url: www.premiumpress.com
* Author: Mark Fail
*
* THIS FILE WILL BE UPDATED WITH EVERY UPDATE
* IF YOU WANT TO MODIFY THIS FILE, CREATE A CHILD THEME
*
* http://codex.wordpress.org/Child_Themes
*/
if (!defined('THEME_VERSION')) {	header('HTTP/1.0 403 Forbidden'); exit; }

global $post, $CORE_UI, $userdata, $CORE;

   // ADMIN PREVIEW
    if(!isset($post->ID)){
		$post = new stdClass();
		$post->ID 			= 1;
		$post->post_title 	= "This is a sample title."; 
		$post->post_author 	= 1; 
		$post->post_excerpt = "";
		$post->post_content = "";
		$post->comment_count = 0;
		$post->thistheme = THEME_KEY;
		$post->carddata = "";
	}
	
  $age = get_post_meta($post->ID,"daage",true);

///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
 
?>

<div class="show-mobile">
 
<?php if( isset($post->boosted) || ( $post->featured && $post->featured != "no" ) ){ ?>
<div class="button-featured-new-wrap es" style="left: 5px;">
<div class="button-featured-new"><?php echo __("Featured","premiumpress"); ?></div>
</div>
<?php } ?>
  <div class="position-relative mb-3">
    <a href="%link%">
    <div  class="position-relative"  ppt-border1 >
      <div class="h-100 position-relative">
        <figure style="min-height:190px;">
          <?php _ppt_template( 'cards/search_badges' ); ?>
          <div class="bg-image z-0" data-bg="%image%" style="min-height:190px;">&nbsp;</div>
        </figure>
      </div>
    </div>
    </a>
    <div class="lh-20 text-700 " style="margin-top:20px;">
      <?php if(isset($post->online) && $post->online){ ?>
      <span class="text-online">&bull;</span>
      <?php } ?>
      <a href="%link%" class="<?php if(_ppt(array('searchcustom','perrow')) == 5){ echo "fs-sm"; } ?>text-light text-dark">%title%
      <?php if(strlen($age) > 0){ ?>
      <span class="float-right opacity-5 fs-sm"><?php echo $age; ?></span>
      <?php } ?>
    
    </a>
    </div>
  </div>
</div>