OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
reels
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/17/2025 10:17:24 AM
rwxrwxr-x
📁
assets
-
01/20/2025 08:39:05 AM
rwxr-xr-x
📄
comment.php
441 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
db.php
261 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
fetch_videos.php
639 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
index.php
2.11 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
like.php
285 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
upload.php
1.52 KB
05/19/2025 10:07:13 AM
rwxrwxrwx
📁
uploads
-
01/20/2025 08:39:07 AM
rwxrwxrwx
Editing: index.php
Close
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Reels</title> <style> .video-container { margin-bottom: 20px; text-align: center; } video { width: 100%; max-width: 500px; margin-bottom: 10px; } .actions button { margin: 5px; } .comments { margin-top: 10px; } </style> </head> <body> <h1>Reels</h1> <form action="upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="video" required> <button type="submit">Upload</button> </form> <div id="reels"> <?php include 'fetch_videos.php'; ?> </div> <script> function likeVideo(videoId) { fetch('like_video.php', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: 'video_id=' + videoId }).then(response => response.text()) .then(data => alert(data)); } function showCommentBox(videoId) { const commentBox = document.createElement('div'); commentBox.innerHTML = ` <input type="text" id="comment-input-${videoId}" placeholder="Write a comment..."> <button onclick="postComment(${videoId})">Post</button> `; document.getElementById(`comments-${videoId}`).appendChild(commentBox); } function postComment(videoId) { const comment = document.getElementById(`comment-input-${videoId}`).value; fetch('comment_video.php', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: 'video_id=' + videoId + '&comment=' + encodeURIComponent(comment) }).then(response => response.text()) .then(data => alert(data)); } </script> </body> </html>