mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
temp removing chanbug
This commit is contained in:
@@ -2,11 +2,17 @@
|
|||||||
if(isset($_GET['chan'])) header('Location: '.$_GET['chan']);
|
if(isset($_GET['chan'])) header('Location: '.$_GET['chan']);
|
||||||
$list = explode("/", htmlspecialchars(strtolower($_SERVER["REQUEST_URI"])));
|
$list = explode("/", htmlspecialchars(strtolower($_SERVER["REQUEST_URI"])));
|
||||||
if($list[1]==""||!isset($list[1])||count($list)<=1){$list="";include('php/nochan.php');die();}
|
if($list[1]==""||!isset($list[1])||count($list)<=1){$list="";include('php/nochan.php');die();}
|
||||||
|
else $list=$list[1];
|
||||||
|
|
||||||
|
/*
|
||||||
|
if(isset($_GET['chan'])) header('Location: '.$_GET['chan']);
|
||||||
|
$list = explode("/", htmlspecialchars(strtolower($_SERVER["REQUEST_URI"])));
|
||||||
|
if($list[1]==""||!isset($list[1])||count($list)<=1){$list="";include('php/nochan.php');die();}
|
||||||
else if ($list[1] != preg_replace('/[^\da-z]/i', '', urldecode($list[1]))){
|
else if ($list[1] != preg_replace('/[^\da-z]/i', '', urldecode($list[1]))){
|
||||||
header('Location: ../'.preg_replace('/[^\da-z]/i', '', urldecode($list[1])));
|
header('Location: ../'.preg_replace('/[^\da-z]/i', '', urldecode($list[1])));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
else $list=$list[1];
|
else $list=$list[1];*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ foreach($fil as $files){
|
|||||||
document.getElementById("zicon").style.transform = "rotate("+deg+"deg)";
|
document.getElementById("zicon").style.transform = "rotate("+deg+"deg)";
|
||||||
document.getElementById("zicon").style.width = pr+"%";
|
document.getElementById("zicon").style.width = pr+"%";
|
||||||
if(pr >= 60)
|
if(pr >= 60)
|
||||||
window.location.href = 'https://www.youtube.com/watch?v=mK2fNG26xFg';
|
window.location.href = 'https://www.youtube.com/v/mK2fNG26xFg?autoplay=1&showinfo=0&autohide=1';
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user