OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress_backup
/
assets
/
php
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
01/06/2025 08:00:13 AM
rwxr-xr-x
📁
PHPMailer
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
backup-navbar.php
27.29 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
backupnavbar.php
21.23 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
blockAccount.php
2.23 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
bnavbar.php
35.82 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
bottom_navbar.php
6.18 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
common.js
46.89 KB
01/06/2025 08:00:16 AM
rw-r--r--
📄
config.php
9.38 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
db_config.php
3.43 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
db_connect.php
293 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
delete_account.php
3.5 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
edit_post.php
2.23 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
footer.php
1.25 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
function.php
20.12 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
go_backbar.php
4.01 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
handler.php
3.46 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
indexFooter.php
597 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
mail.php
2.67 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
navbar.php
24.1 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
process_data.php
3.87 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
readert_validate.logged.php
481 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
report_account.php
1.42 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
report_stream.php
2.08 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
savePost.php
2.38 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
siginupProcess.php
5.24 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
simplepie
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
stream_post_handler.php
3.68 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
validate.logged.php
1.01 KB
05/19/2025 10:07:17 AM
rw-r--r--
Editing: go_backbar.php
Close
<?php // go_backbar.php // Optionally, you could check if the referrer exists, but let's assume it's there. $referrer = $_SERVER['HTTP_REFERER'] ?? '#'; // Default to "#" if no referrer ?> <style> /* Style for the go-back bar */ .go-back-bar { /* /* background-color: #f8f9fa; */ padding: 10px 20px; text-align: center; /* border: 1px solid #ddd; */ /* position: fixed; */ top: 0; left: 0; width: 100%; z-index: 1000; } .go-back-btn { background-color: #007bff; color: white; /* border: none; */ /* margin: 10px 10px; */ /* padding: 10px 20px; */ /* font-size: 16px; */ cursor: pointer; border-radius: 4px; display: flex; align-items: center; } .go-back-bar { /* background-color: #f8f9fa; */ padding: 10px 20px; /* text-align: center; */ border: none !important; /* position: fixed; */ top: 100px; left: 100px; width: 100%; z-index: 1000; } .go-back-btn { background-color: transparent; color: white; border: none !important; border-radius: 4px !important; /* display: flex; */ /* align-items: center; */ } @media screen and (max-width:540px) { .go-back-bar { /* background-color: #f8f9fa; */ margin: 10px 0px; padding: 0px 20px; /* text-align: center; */ border: none !important; /* position: fixed; */ top: 50px; left: -15px; width: 100%; z-index: 1000; } } @media screen and (min-width:541px) { .go-back-bar { display: none; /* background-color: #f8f9fa; */ margin: 10px 10px; padding: 10px 20px; /* text-align: center; */ border: none !important; /* position: fixed; */ top: 50px; left: -15px; width: 100%; z-index: 1000; } } .go-back-bar button { background-color: transparent; } body.dark-mode .go-back-btn i { margin-right: 8px; color: white; /* Space between icon and text */ } body.light-mode .go-back-btn i { margin-right: 8px; color: black; /* Space between icon and text */ } .go-back-btn:hover { background-color: transparent; } </style> <div class="go-back-bar"> <button class="go-back-btn" onclick="goBack()"> <!-- Font Awesome 'Arrow Left' icon --> <i class="fas fa-arrow-left"></i> </button> </div> <script> // Store the referrer in localStorage when the page is loaded if (!localStorage.getItem('referrer')) { var referrer = document.referrer; // Get the referrer from the browser // Ensure the referrer is valid and not the same as the current URL if (referrer && referrer !== window.location.href) { localStorage.setItem('referrer', referrer); // Store the referrer } } function goBack() { // Retrieve the stored referrer from localStorage var referrer = localStorage.getItem('referrer'); // If a valid referrer exists, navigate to it if (referrer && referrer !== '#') { window.location.href = referrer; // Redirect to the referrer } else { // If no referrer or it's the '#' symbol, fallback to history.back() if (window.history.length > 1) { window.history.back(); // Go back in history } else { // If history length is 1 or less (no history), redirect to the homepage or fallback URL window.location.href = '/'; // Or choose any other fallback URL } } } </script>