OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
assets
/
php
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/17/2025 09:15:05 AM
rwxrwxr-x
📄
11-02-25navbar.php
23.94 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
12-03-25social_navbar.php
25.06 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
29-01-2025function.php
24.17 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
3-21-25-validate.logged.php
2.08 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
3-4-25function.php
29.26 KB
05/19/2025 10:07:15 AM
rw-r--r--
📁
PHPMailer
-
05/19/2025 10:07:15 AM
rwxr-xr-x
📄
arvind_go_backbar.php
3.01 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
backfunction.php
24.17 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
backup-navbar.php
27.29 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
backupnavbar.php
21.23 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
bemerge_stream.php
3.75 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
blockAccount.php
2.23 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
bnavbar.php
35.82 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
bottom_navbar.php
6.67 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
bvalidate.logged.php
1.06 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
common.js
48.26 KB
06/16/2025 08:09:52 AM
rw-rw-r--
📄
config.php
9.37 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
db_config.php
3.43 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
db_connect.php
296 bytes
05/19/2025 10:07:15 AM
rw-rw-r--
📄
db_gallery.php
294 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete_account.php
3.5 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
edit_post.php
3.18 KB
06/13/2025 01:02:54 PM
rw-r--r--
📄
event_scrollbar.php
4.7 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
footer.php
1.12 KB
05/19/2025 10:07:15 AM
rw-rw-r--
📄
function.php
38.66 KB
06/05/2025 12:05:13 PM
rw-r--r--
📄
getEditContent.php
860 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
go_backbar.php
2.32 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
handler.php
3.51 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
indexFooter.php
1.05 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
mail.php
2.67 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
navbar.php
22.77 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
new_social_navbar.php
1.07 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
new_social_sidebar.php
5.59 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
process_data.php
3.87 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
readert_validate.logged.php
481 bytes
05/19/2025 10:07:15 AM
rw-rw-r--
📄
report_account.php
1.42 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
report_stream.php
2.08 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
savePost.php
2.38 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
sidebar.php
19.67 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
siginupProcess.php
5.24 KB
05/19/2025 10:07:15 AM
rw-rw-r--
📁
simplepie
-
05/19/2025 10:07:15 AM
rwxr-xr-x
📄
social_navbar.php
26.04 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
stream_post_handler.php
3.68 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
validate.logged-status.php
424 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
validate.logged.php
1.31 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
vvalidate.logged.php
1.01 KB
05/19/2025 10:07:15 AM
rw-rw-r--
Editing: report_stream.php
Close
<? include 'validate.logged.php'; include 'db_config.php'; include 'mail.php'; header('Content-Type: application/json'); function report_account_mail($toName, $toEmail, $reason, $postId) { $reportPostLink = "https://knoblycream.com/post-details.php?id=" . $postId; $emailSubject = "Content Abuse Report"; $emailBody = " Dear $toName ,<br><br> You reported a post with following reason:$reason. <br><a href='" . $reportPostLink . "'>Reported post</a> <br> We will examine this and take necessary action.<br><br> Thank You<br> Knobly Cream "; sendEmail($toName, $toEmail, '', $emailSubject, $emailBody); } function report_stream($userId, $streamId, $reason) { global $readerdb; try { mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); $stmt = $readerdb->prepare("INSERT INTO report_stream (userId, streamId, reason) VALUES (?, ?, ?)"); $stmt->bind_param("iis", $userId, $streamId, $reason); if ($stmt->execute()) { echo json_encode(['status' => 'success', 'message' => 'You Have Reported the Content..']); } else { throw new mysqli_sql_exception("Unknown :("); } } catch (mysqli_sql_exception $e) { echo json_encode(['status' => 'error', 'message' => 'Could not report the Content. Reason: ' . $e->getMessage()]); } finally { if ($stmt) { $stmt->close(); } } } if ($_SERVER['REQUEST_METHOD'] == 'POST') { // echo $_POST['streamId']."<br>".$_POST['reason']."<br>"; if (!isset($_POST['streamId']) || !isset($_POST['reason'])) { echo json_encode(['status' => 'error', 'message' => "Missing required inputs"]); exit; } else { report_account_mail($gUserName, $gUserEmail, $_POST['reason'], $_POST['streamId']); report_stream($gUserId, $_POST['streamId'], $_POST['reason']); } exit; } else { echo json_encode(['status' => 'error', 'message' => "Unknown Request"]); exit; }