<?php
global $wpdb, $post, $opt_themes; 
?>
	
	<div class="list">
	<div class="package_info open_info"> 
	<img width="50" height="50"  src="<?php if (get_the_post_thumbnail( get_the_ID() )) { echo wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'full' )[0]; } elseif(get_post_meta( get_the_ID(), 'wp_poster_GP', true )) { echo get_post_meta( get_the_ID(), 'wp_poster_GP', true ); } else { echo $opt_themes['no_img']['url']; } ?>" class="icon " alt="<?php the_title(); ?>" > 
	 
	<div class="title">
	<span class="name"><?php if($opt_themes['app_name']){ if(get_post_meta( get_the_ID(), 'wp_title_GP', true)){ echo get_post_meta( get_the_ID(), 'wp_title_GP', true); } else { the_title(); }} else { the_title(); } ?></span>
	<span class="version"><?php echo trim(get_post_meta( get_the_ID(), 'wp_version_GP', true ));  ?></span>
	<span class="<?php if(get_post_meta( get_the_ID(), 'wp_mods', true )){ ?><?php _e('mod', TEXT_DOMAIN); ?><?php } else { ?><?php _e('apk', TEXT_DOMAIN); ?><?php } ?>"><?php if(get_post_meta( get_the_ID(), 'wp_mods', true )){ ?><?php _e($opt_themes['exthemes_MODAPK'], TEXT_DOMAIN); ?><?php } else { ?><?php _e('apk', TEXT_DOMAIN); ?><?php } ?></span>
	</div>
	<div class="text">
	<span><?php echo get_the_time('M j, Y'); ?></span>
	<?php if(get_post_meta( get_the_ID(), 'wp_sizes', true )){ ?><span><?php echo get_post_meta( get_the_ID(), 'wp_sizes', true ); ?></span><?php } ?>
	</div>
	</div>
	<div class="info-fix"> 
	<div class="info_box">
	<?php if(get_post_meta( get_the_ID(), 'wp_mods', true )){ ?>
	<p><strong><?php _e($opt_themes['exthemes_whats_mods'], TEXT_DOMAIN); ?></strong></p>
	<div class="whats_new">
	<?php echo get_post_meta( get_the_ID(), 'wp_mods', true ); ?>
	</div>
	<?php } ?>	 
	</div>
	</div> 
	<div class="v_h_button button_down ">
	  <a class="down" href="<?php the_permalink() ?>">
	<span><?php _e($opt_themes['exthemes_Download'], TEXT_DOMAIN); ?></span>
	  </a>
	</div>
	</div>