redirect

<?php 
/*
	Template Name: Redirect Page
*/
$url  = $_GET['url'];
if (!isset($_GET['url'])) {
    die('Sorry is not a valid URL');
}
?>
<!DOCTYPE html>
<html dir="rtl" lang="ar">
<head>
<meta charset="UTF-8">
<title><?php echo substr($url, strrpos($url, '/') + 1); ?></title>
<style>
body {
	margin:0;
	padding:0;
}
.wrap {
	font-weight:400;
	font-size:20px;
	font-family:tahoma;
	line-height:21px;
	color:#000;
	margin:0 0;
	text-align:center;
	padding:50px;
	border:1px solid #ccc;
	background-color:#f5f5f5
}
.wrap p {
	vertical-align:middle;
}
.wrap strong {
	font:700 20px arial;
	vertical-align:middle;
}

.button {
  background-color: #0080ff;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
}

</style>
</head>
<body>
	<div class="wrap">
	
<center>

<!-- TOP ADS banner -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: "ca-pub-7574055800924267",
          enable_page_level_ads: true
     });
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- banner -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-7574055800924267"
     data-ad-slot="2913760239"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>

<!-- TOP ADS banner -->

</center>	
		<p>جارى تحويلك الي الرابط المطلوب اضغط على الرابط التالي للتحميل</p>
		
		<br>
		<a href="<?php echo $url; ?>" class="button">اضغط هنا للأنتقال للرابط المطلوب</a>
		<br>
		<br>
		
<!-- DOWN ADS banner -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ads1 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:600px"
     data-ad-client="ca-pub-7574055800924267"
     data-ad-slot="2044413033"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- DOWN ADS banner -->
		
	</div>
</body>
</html>