
<div id="debug"> 
<?php

ini_set('display_errors', ERRORS);   
if ($gets_data) { 	
global $opt_themes;  
$urlX							= $url; 
?>

<link rel="stylesheet" href="<?php echo EX_THEMES_URI; ?>/libs/addons/assets/css_2/aps-admin.css"> 

<style>
th.has-text-align-left {text-transform: capitalize;padding:10px;}
td.has-text-align-left {padding:10px 0px ;}
table.app-box-info ul, table.app-box-info ol {
  margin: unset; 
}
table.app-box-info ol > li { 
  padding: 0;
  display:list-item; 
  list-style-type: square;
}
</style>
<div style="clear:both"></div>  
 

<?php
if ( !empty($gets_data['images_GP']) ) { 
$images_GP	= $gets_data['images_GP'];                    
$nb			= 0;
?> 
  
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css'>
  
<style>
img.gallery {height: 100%;object-fit: cover;}.owl-nav button {position: absolute;top: 50%;background-color: #000;color: #fff;margin: 0;transition: all 0.3s ease-in-out;}.owl-nav button.owl-prev {left: 0;}.owl-nav button.owl-next {right: 0;}.owl-dots {text-align: center;padding-top: 15px;}.owl-dots button.owl-dot {width: 15px;height: 15px;border-radius: 50%;display: inline-block;background: #ccc;margin: 0 3px;}.owl-dots button.owl-dot.active {background-color: #000;}.owl-dots button.owl-dot:focus {outline: none;}.owl-nav button {position: absolute;top: 50%;transform: translateY(-50%);background: rgba(255, 255, 255, 0.38) !important;}span.gl {font-size: 70px;position: relative;top: -5px;}.owl-nav button:focus {outline: none;}.owl-item {height: 200px !important;display: flex;}.item.gl {width: 100%;}
</style>

<div class="owl-slider">
<div id="carousel" class="owl-carousel">

<?php
foreach ( (array) $images_GP as $key => $img ) {  ?>
<div class="item gl"><img class="gallery" src="<?php echo $img; ?>" alt="Gallery <?php echo $nb; ?>"></div>   
<?php $nb++; } ?>
	
</div>
</div>
 
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js'></script>
<script id="rendered-js" >
jQuery("#carousel").owlCarousel({autoplay:true,rewind:false,margin:20,loop:true,responsiveClass:true,autoHeight:true,autoplayTimeout:7000,smartSpeed:800,nav:true,navText:['<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"/></svg>','<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"/></svg>'],responsive:{0:{items:1},600:{items:3},1024:{items:4},1366:{items:4}}});
</script>
<?php } ?>


<div style="clear:both"></div>

 
<div class="play_menu" style="padding: unset;margin: 10px 0;">
	<h3 style="color:black;text-align: center;font-size: x-large!important;">Showing Information "<b style="font-size: <?php echo font_size; ?> !important;color: <?php echo colors_url; ?> !important; font-family: josefin sans,Sans-serif !important;  !important; font-weight: 700 !important; line-height: 1.4em !important; letter-spacing: .2px !important; text-shadow: 1px 1px 1px <?php echo colors2; ?> !important;"><?php print_r( $gets_data['title_GP']) ?></b>" from <b style="font-size: <?php echo font_size; ?> !important;color: <?php echo colors_url; ?> !important; font-family: josefin sans,Sans-serif !important;  !important; font-weight: 700 !important; line-height: 1.4em !important; letter-spacing: .2px !important; text-shadow: 1px 1px 1px <?php echo colors2; ?> !important;"><a href='<?php echo $url; ?>' target="_blank"  style="text-transform:uppercase!important;color: <?php echo colors_url; ?>;">en.aptoide.com</a></b>
	</h3>
</div>
  

<div class="admin-inside-box clearfix">
<div class="aps-wrap">
<div id="aps-tb-features" class="aps-tab-content active">
<ul class="aps-features">


	<li class="aps-field-box">	
	
	<?php if ( !empty($gets_data['GP_ID']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>Package ID </label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['GP_ID']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['title_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>App Name</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['title_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['version_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>version</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['version_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['sizes_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>sizes</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['sizes_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['genres_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>category</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['genres_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['developers_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>developers</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['developers_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['installs_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>totall installs</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['installs_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['updates_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>latest updates</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['updates_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['requires_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>os require</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['requires_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['rated_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>rated</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['rated_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['ratings_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>voted</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['ratings_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['youtube_GP']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>youtube id</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['youtube_GP']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['paid_GP1']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>paid 1</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['paid_GP1']; ?>"/>
	</div>
	<?php } ?>
	
	<?php if ( !empty($gets_data['paid_GP2']) ) { ?> 
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>paid 2</label>
	<input onclick="this.select()" readonly type="text" class=" aps-text-input" value="<?php echo $gets_data['paid_GP2']; ?>"/>
	</div>
	<?php } ?>
	
	</li> 	 
 
    <?php if ( !empty($gets_data['desck_GP']) ) { ?> 
	<li class="aps-field-box">
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>Summary </label>
	</div>				
	<div class="aps-col-4">
    <textarea onclick="this.select()" readonly id="auto_expand" class="aps-textarea" rows="2"><?php print_r( $gets_data['desck_GP']) ?></textarea>    
	</div>
	</li> 
    <?php } ?>	
     
 
    <?php if ( !empty($gets_data['whatnews_GP']) ) { ?> 
	<li class="aps-field-box">
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>whats news </label>
	</div>				
	<div class="aps-col-4">
    <textarea onclick="this.select()" readonly id="auto_expand" class="aps-textarea" rows="5"><?php print_r( $gets_data['whatnews_GP']) ?></textarea>    
	</div>
	</li> 
    <?php } ?>	
     
    <?php if ( !empty($gets_data['articlebody_GP']) ) { ?> 
	<li class="aps-field-box">
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>content </label>
	</div>				
	<div class="aps-col-4">
    <textarea onclick="this.select()" readonly id="auto_expand" class="aps-textarea" rows="6"><?php print_r( $gets_data['articlebody_GP']) ?></textarea>    
	</div>
	</li> 
    <?php } ?>	
     
	
	<?php if ( !empty($gets_data['link_download_gps']) ) { ?>  
	<li class="aps-field-box">
	<?php    
	$count			= count($gets_data['link_download_gps']);
	for ($i = 0; $i < $count; $i++) {  	
	$get_link		= $gets_data['link_download_gps'][$i];   
	$get_name		= $gets_data['name_download_gps'][$i]; 
	$get_size		= $gets_data['size_download_gps'][$i]; 
	?>  
	
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>#<?php echo $i; ?> - <?php echo $get_name; ?> - <?php echo $get_size; ?> </label>
	</div>	 
	
	<div class="aps-col-4" style="text-transform:uppercase"> 
    <textarea onclick="this.select()" readonly id="auto_expand" class="aps-textarea" rows="6"><?php echo $get_link; ?></textarea>    
	</div>     
	<?php } ?> 
	</li>  
	<?php } ?>    
	
    <?php if ( !empty($gets_data['link_download_aptoide']) ) { ?> 
	<li class="aps-field-box">
	<div class="aps-col-2" style="text-transform:uppercase">
	<label>file link aptoide   </label>
	</div>				
	<div class="aps-col-4">
    <textarea onclick="this.select()" readonly id="auto_expand" class="aps-textarea" rows="6"><?php print_r( $gets_data['link_download_aptoide']) ?></textarea>    
	</div>
	</li> 
    <?php } ?>	
	
</ul>
</div>
</div>
</div>
     

<?php } ?>  
<script> 
$(function(){
   $("a.toggle.dt-app-tag").click(function () {
      $(this).text(function(i, text){
          return text === "Show Debug" ? "Hide Debug" : "Show Debug";
      })
   });
})
$(function(){
   $("li a.toggle").click(function () {
      $(this).text(function(i, text){
          return text === "Show Debug" ? "Hide Debug" : "Show Debug";
      })
   });
})
</script>
</div>