Testpanel klasörüne güncel dosyalar eklendi

This commit is contained in:
2026-04-20 22:28:31 +03:00
commit eb7e1a2b0f
107 changed files with 16317 additions and 0 deletions

36
testpanel/api/tmdb.php Normal file
View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Movie Slider</title>
<link rel="stylesheet" type="text/css" href="betstyle.css">
</head>
<body>
<div class="container">
<!-- Your slider content here -->
</div>
<script>
function adjustBackgroundSize() {
var container = document.querySelector('.container');
var imgAspectRatio = 3840 / 2160; // Aspect ratio of your image
var containerAspectRatio = container.offsetWidth / container.offsetHeight;
if (containerAspectRatio > imgAspectRatio) {
container.style.backgroundSize = '100% auto';
} else {
container.style.backgroundSize = 'auto 100%';
}
}
// Initial adjustment
adjustBackgroundSize();
// Adjust on window resize
window.addEventListener('resize', adjustBackgroundSize);
</script>
<script type="text/javascript" src="movies_script.js"></script>
</body>
</html>