<?php
/**
*
* @ This file is created by http://DeZender.Net
* @ deZender (PHP7 Decoder for SourceGuardian Encoder)
*
* @ Version			:	5.0.1.0
* @ Author			:	DeZender
* @ Release on		:	22.04.2022
* @ Official site	:	http://DeZender.Net
*
*/

function my_error_handler($code, $message)
{
	echo sprintf('Something goes wrong. Error code %s. ', $code);
	echo '<p> Please contact <a href=\'https://realmofapknpanels.com\'>Realm Of APK n PANELS</a>';
}

function function_added_to_every_file()
{
}

ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
error_reporting(E_ALL);
$folder_name = 'img/';
$videoban = 'no';

if ($Tag == 'banner') {
	if ($videoban == 'yes') {
		echo '      <div class="show video-container">' . "\r\n" . '    <a target="_blank" href="' . $bg_img . '">' . "\r\n" . '    <video autoplay muted loop id="video" controls="" preload="none" poster="../img/corp.png" style="width:100%; height:100%">' . "\r\n" . '    <source src="../intro/intro.mp4?' . time() . '" type="video/mp4" />' . "\r\n" . '  </video>' . "\r\n" . '    </a>' . "\r\n" . '  </div> ';
	}
	else {
		echo "\r\n" . '  <style>' . "\r\n" . 'ul, li { list-style: none; }' . "\r\n\r\n" . '.gg_btn {' . "\r\n" . '  overflow: hidden;' . "\r\n" . '  cursor: pointer;' . "\r\n" . '  position: absolute;' . "\r\n" . '}' . "\r\n\r\n" . '.gg_left { background: url(../img/btn_l.png) no-repeat center center; left: 0px;}' . "\r\n\r\n" . '.gg_right {' . "\r\n" . '  background: url(../img/btn_r.png) no-repeat center center;' . "\r\n" . '  right: 0px;' . "\r\n" . '}' . "\r\n\r\n" . '.wrap {' . "\r\n" . '  width: 600px;' . "\r\n" . '  height: 400px;' . "\r\n" . '  position: relative;' . "\r\n" . '  margin: 0px auto;' . "\r\n" . '  overflow: hidden;' . "\r\n" . '}' . "\r\n\r\n" . '.wrap ul {' . "\r\n" . '  width: 400px;' . "\r\n" . '  height: 300px;' . "\r\n" . '}' . "\r\n\r\n" . '.wrap ul li { position: absolute; }' . "\r\n\r\n" . '/*# sourceMappingURL=css.css.map */' . "\r\n\r\n\r\n" . '  </style>' . "\r\n\r\n" . '   ' . "\r\n" . '     ' . "\t" . '<div class="wrap" id="wrap" data-setting=\'{' . "\r\n\t\t\t\t\t\t\t\t\t\t\t" . '"width":580,' . "\r\n\t\t\t\t\t\t\t\t\t\t" . ' ' . "\t" . '"heihgt":300,' . "\r\n\t\t\t\t\t\t\t\t\t\t" . ' ' . "\t" . '"firstPicWidth":380,' . "\r\n\t\t\t\t\t\t\t\t\t" . ' ' . "\t\t" . '"firstPicHeight":300,' . "\r\n\t\t\t\t\t\t\t\t\t\t" . ' ' . "\t" . '"scale":0.9,' . "\r\n\t\t\t\t\t\t\t\t\t\t" . ' ' . "\t" . '"speed":3500' . "\r\n\t\t\t\t\t\t\t\t\t\t\t\t" . '}\'>' . "\r\n\t\t" . '<div class="gg_left gg_btn"></div>' . "\r\n\t\t" . '<div class="gg_right gg_btn"></div>' . "\r\n\t\t" . '<ul class="wrap_ul">' . "\r\n\t" . '  ';

		while ($rowads = $resads->fetchArray()) {
			$imagepath = $rowads['thumbpath'] . '?' . time();
			echo '<li class="li_item"><a href=""><img src="' . $imagepath . '" width="100%"  height="100%"  alt=""></a></li>';
		}

		echo "\r\n\t\t" . '</ul>' . "\r\n\t" . '</div>' . "\r\n\t" . '<script>' . "\r\n\t\t" . '$(function(){' . "\r\n\t\t\t" . 'Carrousel.init($(\'#wrap\'));' . "\r\n\t\t" . '})' . "\r\n\t" . '</script>' . "\r\n\t\r\n\r\n\r\n" . '<script type="text/javascript" src="widgets/data/js/jquery.js"></script>' . "\r\n" . '<script type="text/javascript" src="widgets/data/js/js.js"></script>' . "\r\n" . '<script>' . "\r\n" . '  $(document).ready(function($) {' . "\r\n" . '    $(".slide").fadeImages({' . "\r\n" . '      time:3000,' . "\r\n" . '            fade: 1000, ' . "\r\n" . '            dots: true, ' . "\r\n" . '            arrows: true,' . "\r\n" . '      complete: function() {' . "\r\n" . '        console.log("Fade Images Complete");' . "\r\n" . '      }' . "\r\n" . '    });' . "\r\n\r\n" . '  });' . "\r\n" . '</script>';
	}
}

?>