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/themes/search_list_jb.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->showupgrades = 1;
	}
	
	if($post->thistheme == "jb"){
 	    
        $logoimg = do_shortcode("[COMPANYLOGO pid='".$post->ID."']");
        if(strlen($logoimg) > 1){
        $post->image = $logoimg;
        }
	}
 
?>
 
<div ppt-box class="hide-mobile rounded mb-4 p-3" data-pid='%postid%'>  

  <div class="d-sm-flex">
    <div style="min-width:150px;" class="mobile-mb-2">
      <a href="%link%">
      <div class="p-2 <?php if($post->thistheme == "jb"){ ?>bg-white<?php }else{ ?>bg-light<?php } ?>" ppt-border1>
        <div class="bg-light position-relative overflow-hidden <?php if($post->thistheme == "jb"){ ?>bg-image-centered<?php } ?>" style="height:120px;">
          <div class="bg-image bg-white" data-ppt-image-bg>
            &nbsp;
          </div>
        </div>
      </div>
      </a>
    </div>
    <div class="position-relative w-100 pl-lg-4">
      <div class="d-sm-flex flex-sm-column">
        <div class="fs-4 text-600 mb-2">
          <a href="%link%" class="text-dark _adtitle">%title%</a>
        </div>
        <div style="min-height:60px;">
          <?php echo do_shortcode("[EXCERPT limit=150]"); ?>...
        </div> 
         
        <nav ppt-nav class="seperator pl-0 text-muted">
          
        <ul> 
        <li class="<?php echo $CORE->GEO("price_formatting",array()); ?>">%price%</li>  
        <li>%SALARYTYPE%</li> 
        <li>%JOBTYPE%</li> 
        <li class="ml-auto">%city%</li>
        </ul>
    </nav>
      </div>
    </div>
  </div>
</div>

<?php  

 _ppt_template( 'cards/themes/search_mobile' );

 
 

if(isset($post->showupgrades) && $post->showupgrades == 1){  _ppt_template( 'cards/search_list_upgrade' );  }   ?>