OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
3-31-025chanakya
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2025 11:18:49 AM
rwxr-xr-x
📄
.htaccess
860 bytes
03/26/2025 03:47:46 AM
rw-r--r--
📁
.vscode
-
03/26/2025 03:47:57 AM
rwxr-xr-x
📁
CreateLeadPage
-
03/26/2025 04:16:47 AM
rwxr-xr-x
📄
ImageMagick-7.1.1-45-Q16-HDRI-x64-dll.exe
22.2 MB
03/26/2025 03:47:54 AM
rw-r--r--
📁
Xpress
-
03/26/2025 04:21:24 AM
rwxr-xr-x
📄
XpressPage.php
47.13 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
about.html
3.26 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
account.php
47.77 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
activate.php
2.19 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
add_channel.php
9.7 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
add_to_channel.php
980 bytes
03/26/2025 03:47:46 AM
rw-r--r--
📁
admin
-
03/26/2025 04:16:40 AM
rwxr-xr-x
📄
analytics.php
37.71 KB
03/26/2025 03:47:46 AM
rw-r--r--
📁
assets
-
03/26/2025 04:16:41 AM
rwxr-xr-x
📁
audio
-
03/26/2025 03:48:03 AM
rwxr-xr-x
📄
businessLp.php
46.33 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
bussLp.php
57.87 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
card-news.php
6.2 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
channel.php
36.21 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
chattest.php
8.66 KB
03/26/2025 03:47:46 AM
rw-r--r--
📁
clients
-
03/26/2025 03:48:03 AM
rwxr-xr-x
📄
collections.php
94.62 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
comments.php
1.67 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
composer.json
65 bytes
03/26/2025 03:47:46 AM
rw-r--r--
📄
composer.lock
4.03 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
contact.html
3.01 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
cookie.php
750 bytes
03/26/2025 03:47:46 AM
rw-r--r--
📄
copytest.html
4.04 KB
03/26/2025 03:47:46 AM
rw-r--r--
📁
creamAdmin
-
03/26/2025 04:07:42 AM
rwxr-xr-x
📄
cream_dashboard.php
25.87 KB
03/26/2025 03:47:46 AM
rw-r--r--
📁
creamapi
-
03/26/2025 03:48:04 AM
rwxr-xr-x
📄
create.php
42.93 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
created_magazine.html
11.96 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
dashboard.php
55.52 KB
03/26/2025 03:47:46 AM
rw-r--r--
📁
data
-
03/26/2025 04:16:48 AM
rwxr-xr-x
📄
down.html
829 bytes
03/26/2025 03:47:46 AM
rw-r--r--
📁
education-podcasts
-
03/31/2025 06:36:42 AM
rwxr-xr-x
📁
featured_channels
-
03/26/2025 03:48:04 AM
rwxr-xr-x
📄
featured_channels.php
32.48 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
featured_topics.php
26.59 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
fetch_articles.php
1.83 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
fetch_liked_users.php
1.55 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
filter.php
4.91 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
follow_action.php
1.75 KB
03/26/2025 03:47:46 AM
rw-r--r--
📄
follow_dash.php
33.76 KB
03/26/2025 03:47:46 AM
rw-r--r--
📁
form-builder
-
03/26/2025 03:48:04 AM
rwxr-xr-x
📄
function.php
20.61 KB
03/26/2025 03:47:47 AM
rw-r--r--
📁
genai
-
03/26/2025 04:20:06 AM
rwxr-xr-x
📄
generated_article.php
11.86 KB
03/26/2025 03:47:47 AM
rw-r--r--
📄
get_recent_items.php
1.37 KB
03/26/2025 03:47:47 AM
rw-r--r--
📄
handle_channel.php
856 bytes
03/26/2025 03:47:47 AM
rw-r--r--
📁
hindiConverter
-
03/26/2025 04:15:50 AM
rwxr-xr-x
📄
homePin.php
68.38 KB
03/26/2025 03:47:47 AM
rw-r--r--
📁
hps
-
03/26/2025 03:48:05 AM
rwxr-xr-x
📄
impmy_collection.php
124.17 KB
03/26/2025 03:47:47 AM
rw-r--r--
📁
inc
-
03/26/2025 04:15:50 AM
rwxr-xr-x
📄
index.php
30.55 KB
03/26/2025 03:47:48 AM
rw-r--r--
📄
index1.php
61.34 KB
03/26/2025 03:47:50 AM
rw-r--r--
📄
influencer.php
11.72 KB
03/26/2025 03:47:54 AM
rw-r--r--
📁
interface
-
03/26/2025 03:48:05 AM
rwxr-xr-x
📁
kannada
-
03/26/2025 04:20:06 AM
rwxr-xr-x
📄
knobly_logo.png
9.45 KB
03/26/2025 03:47:54 AM
rw-r--r--
📄
landing_page.php
17.27 KB
03/26/2025 03:47:54 AM
rw-r--r--
📄
landing_signin.php
5.11 KB
03/26/2025 03:47:54 AM
rw-r--r--
📁
leadpage
-
03/26/2025 04:15:53 AM
rwxr-xr-x
📄
link.php
5.63 KB
03/26/2025 03:47:54 AM
rw-r--r--
📄
logInCheck.php
4.41 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
loggedInCheck.php
1.15 KB
03/26/2025 03:47:54 AM
rw-r--r--
📄
logo (1).svg
814 bytes
03/26/2025 03:47:55 AM
rw-r--r--
📄
logout.php
503 bytes
03/26/2025 03:47:55 AM
rw-r--r--
📄
magazine.html
4.46 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
magazine.php
23.57 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
more.php
9.21 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
my_collection.php
153.03 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
my_settings.php
17.44 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
navbar.php
3.36 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
new-page.php
10.46 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
newEditor.php
17.04 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
newsletter.php
24.31 KB
03/26/2025 03:47:55 AM
rw-r--r--
📁
pageLanding
-
03/26/2025 04:20:07 AM
rwxr-xr-x
📁
pages
-
03/26/2025 04:15:53 AM
rwxr-xr-x
📄
payment.php
29.86 KB
03/26/2025 03:47:55 AM
rw-r--r--
📁
pdf
-
03/26/2025 03:48:06 AM
rwxr-xr-x
📄
pdftk_server-2.02-win-setup.exe
2.91 MB
03/26/2025 03:47:56 AM
rw-r--r--
📄
post-details.php
37.75 KB
03/26/2025 03:47:55 AM
rw-r--r--
📄
premium.php
21.79 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
privacy.html
12.1 KB
03/26/2025 03:47:56 AM
rw-r--r--
📁
process
-
03/26/2025 03:48:11 AM
rwxr-xr-x
📄
process-plan.php
1.44 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
process.php
1.52 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
process_data.php
5.02 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
profile.php
37.8 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
profile_pic_upload.php
4.83 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
profile_test.php
19.78 KB
03/26/2025 03:47:56 AM
rw-r--r--
📁
reels
-
03/26/2025 04:20:08 AM
rwxr-xr-x
📄
refund.html
9.04 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
replyPost.php
3.93 KB
03/26/2025 03:47:56 AM
rw-r--r--
📁
report
-
03/26/2025 03:48:11 AM
rwxr-xr-x
📄
request_article.php
22.76 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
reset.html
4.7 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
save_profile.php
2.78 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
saved.php
34.28 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
saved_posts.php
49.25 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
search_bar.php
16.95 KB
03/26/2025 03:47:56 AM
rw-r--r--
📁
sendy
-
03/26/2025 04:21:20 AM
rwxr-xr-x
📄
settings.php
81.93 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
sharemarket.php
3.88 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
showcase.php
10.34 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
signInProcess.php
13.83 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
signInProcess_backup.php
11.18 KB
03/26/2025 03:47:56 AM
rw-r--r--
📁
social_media
-
03/26/2025 04:16:12 AM
rwxr-xr-x
📄
start.html
3.99 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
store_articles.php
1.04 KB
03/26/2025 03:47:56 AM
rw-r--r--
📄
stream.php
62.31 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
streamPush.php
29.82 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
streamb.php
40.75 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
streambb.php
47.34 KB
03/26/2025 03:47:57 AM
rw-r--r--
📁
texttovoice
-
03/26/2025 03:48:13 AM
rwxr-xr-x
📁
thumbsUp
-
03/26/2025 03:48:13 AM
rwxr-xr-x
📄
toggle_channel.php
2.28 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
udupi_sign_up.php
34.5 KB
03/26/2025 03:47:57 AM
rw-r--r--
📁
uploads
-
03/26/2025 04:06:46 AM
rwxr-xr-x
📄
usage.html
37.76 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
userActivity.php
9.79 KB
03/26/2025 03:47:57 AM
rw-r--r--
📁
vendor
-
03/26/2025 04:20:23 AM
rwxr-xr-x
📄
verify.php
744 bytes
03/26/2025 03:47:57 AM
rw-r--r--
📄
view.php
13.36 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
view_newsletter.php
1.58 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
xpress_landing_page.php
78.63 KB
03/26/2025 03:47:57 AM
rw-r--r--
📄
xpress_landingpage.html
11.15 KB
03/26/2025 03:47:57 AM
rw-r--r--
Editing: view.php
Close
<!doctype html> <? error_reporting(E_ALL & ~E_WARNING); ini_set('display_errors', '0'); // Hide errors from the browser include 'inc/config.php'; // include 'conversations/functions.php'; $chat = []; function createArticleURL($title) { if ($title <> '') { $title = str_replace(' ', '-', $title); $title = str_replace('%', '', $title); $title = str_replace("'", "", $title); return $title; } else { return ''; } } $id = isset($_GET["id"]) ? $_GET["id"] : ''; if ($id <> '') { $sql = "SELECT * FROM user_collection WHERE id=$id"; $result = mysqli_query($db, $sql); $row = $result->fetch_assoc(); $numRows = mysqli_num_rows($result); if ($numRows == 0) die(); // $serverName = "knoblycream.com"; $serverName = $_SERVER['SERVER_NAME']; $collectionUserId = $row['user_id']; $sql = "SELECT subdomain,is_side_panel,side_panel_content FROM user WHERE id=$collectionUserId"; $resultInner = mysqli_query($db, $sql); $rowInner = mysqli_fetch_assoc($resultInner); $userSubdomain = $rowInner['subdomain']; $userSidePanel = $rowInner['is_side_panel']; $userSidePanelContent = $rowInner['side_panel_content']; $userSidePanelContent = str_replace('<img src="data/', '<img src="https://' . $serverName . '/data/', $userSidePanelContent); // $chat = fetch_messages($conn1, $id); // $chat = fetch_messages($db, $id); $ip = getenv('HTTP_CLIENT_IP') ?: getenv('HTTP_X_FORWARDED_FOR') ?: getenv('HTTP_X_FORWARDED') ?: getenv('HTTP_FORWARDED_FOR') ?: getenv('HTTP_FORWARDED') ?: getenv('REMOTE_ADDR'); $response = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip=' . $ip)); if ($response === false) { $visitCity = ''; $visitCountry = ''; } else { $visitCity = $response['geoplugin_city']; $visitCountry = $response['geoplugin_countryName']; } $sql = "INSERT INTO metrics(article_id,ip,visit_city,visit_country,date_visited,category) VALUES($id,'$ip','$visitCity','$visitCountry',Now(), 'Anonymous')"; mysqli_query($db, $sql); $collectionURL = $row['url']; if ($collectionURL <> '') { header("Location: " . $collectionURL); die(); } $collectionTitle = $row['title']; $collectionDesc = $row['description']; $collectionDesc = preg_replace('/<img[^>]+src="data\/([^"]+)"/', '<img src="https://' . $serverName . '/data/$1"', $collectionDesc); // $collectionDesc = str_replace('<img src="data/', '<img src="https://' . $serverName . '/data/', $collectionDesc); $collectionDesc = str_replace('\n', '<br>', $collectionDesc); $collectionDesc = str_replace('\\', '', $collectionDesc); $collectionShareUserId = $row['share_user_id']; $collectionPublisher = substr($collectionURL, strpos($collectionURL, ".") + 1); $collectionPublisher = ucfirst(strtok($collectionPublisher, '.')); if ($collectionPublisher == '') $collectionPublisher = 'Cream'; $collectionDate = date('d M, Y', strtotime($row['date_added'])); $collectionLink = 'https://' . $serverName . '/view/' . $id . '/' . createArticleURL($collectionTitle); $collectionImgCover = $row['cover_img']; $collectionIsReadMore = $row['is_read_more']; $collectionReadMoreTxt = $row['read_more_txt']; if ($collectionReadMoreTxt == '') $collectionReadMoreTxt = "Read More"; if ($collectionShareUserId <> '') { $sql = "SELECT full_name,company,website,news_title,news_logo FROM user WHERE id=$collectionShareUserId"; } else { $sql = "SELECT full_name,company,website,news_title,news_logo FROM user WHERE id=$collectionUserId"; } $result = mysqli_query($db, $sql); $row = mysqli_fetch_assoc($result); $user = $row['full_name']; $companyName = $row['company']; $website = strtolower($row['website']); $newsTitle = $row['news_title']; $newsLogo = $row['news_logo']; if (strpos($website, 'http') === false) $website = "http://$website"; ?> <html lang="en"> <head> <title><?= $collectionTitle ?></title> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- Facebook Meta Tags --> <meta property="og:url" content="<?= $collectionLink ?>" /> <meta property="og:type" content="website" /> <meta property="og:title" content="<?= $collectionTitle ?>" /> <meta property="og:description" content="<?= $collectionTitle ?>" /> <? if ($collectionImgCover <> '') { ?> <meta property="og:image" content="https://<?= $serverName ?>/data/covers/<?= $collectionImgCover ?>" /> <meta property="og:image:secure-url" itemprop="image" content="https://<?= $serverName ?>/data/covers/<?= $collectionImgCover ?>" /> <? } else { ?> <meta property="og:image" content="https://<?= $serverName ?>/data/logos/<?= $newsLogo ?>" /> <meta property="og:image:secure-url" itemprop="image" content="https://<?= $serverName ?>/data/logos/<?= $newsLogo ?>" /> <? } ?> <!-- Twitter Meta Tags --> <meta property="twitter:url" content="<?= $collectionLink ?>" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:title" content="<?= $companyName ?>" /> <meta name="twitter:description" content="" /> <? if ($collectionImgCover <> '') { ?> <meta name="twitter:image" content="https://<?= $serverName ?>/data/covers/<?= $collectionImgCover ?>" /> <? } else { ?> <meta name="twitter:image" content="https://<?= $serverName ?>/data/logos/<?= $newsLogo ?>" /> <? } ?> <link rel="shortcut icon" href="https://<?= $serverName ?>/data/logos/<?= $newsLogo ?>" type="image/x-icon" /> <link rel="stylesheet" href="assets/css/bootstrap.min.4.5.0.css" /> <link rel="stylesheet" href="inc/fontawesome/css/all.min.css" /> <link rel="stylesheet" href="/inc/style.css" /> <link rel="icon" type="image/x-icon" href="/img/logo.ico"> <script src="assets/js/jquery-3.5.1.min.js" ></script> <style> body { font-size: 16px; } .panelContent img { width: auto; height: auto; max-width: 100%; } </style> <style> .conversations { max-height: 300px; overflow-y: scroll; } .comments-section { margin-top: 40px; margin-bottom: 80px; margin-left: 90px; margin-right: 90px; } .comment-form { margin-bottom: 20px; } .comment-form textarea { width: 100%; height: 100px; margin-bottom: 10px; } .comment { width: fit-content; margin-bottom: 20px; padding: 10px 20px; /* border: 1px solid #ccc; */ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); border-radius: 5px; } .comment .author { font-weight: bold; } .conversation-form { display: flex; width: 100%; column-gap: 8px; justify-content: left; margin: 10px 0px; margin-bottom: 20px; } .comment-text { border-radius: 6px; padding: 5px 10px; width: 80%; height: 40px; } .conversation-btn { border-radius: 5px; } .author span { padding-left: 10px; } .login-redirect { display: flex; justify-content: center; max-width: 100%; } .login-redirect span { border: 0.2px solid black; padding: 8px 16px; border-radius: 10px; margin: 10px 20px; width: 600px; display: flex; justify-content: center; } .login-redirect a:hover { text-decoration: none; color: #000; } .login-redirect span:hover { background-color: #d9d9e18f; } </style> </head> <body> <div class="container"> <? if ($newsLogo <> '' && $user <> '' && $companyName <> '') { ?> <header class="blog-header py-3 border-bottom"> <div class="row flex-nowrap justify-content-between align-items-center"> <div class="col-8 pt-1"> <? if ($newsLogo <> '') { ?> <a class="text-muted" href="<?= $website ?>"><img class="mx-auto" width="256px" src="https://<?= $serverName ?>/data/logos/<?= $newsLogo ?>" /></a> <? } ?> <h6 class="mt-1" style="color:#9e9e9e"><?= $user ?> | <?= $companyName ?></h6> </div> <div class="col-4 text-right"> </div> </div> </header> <? } ?> <div class="row mt-3 pb-5"> <div class="panelContent col-12 col-md pb-3"> <h1><?= $collectionTitle ?></h1> <h6 style="color:#9e9e9e"><?= $collectionDate ?></h6> <? if ($collectionImgCover <> '') { ?> <div class="my-2"><img src="https://<?= $serverName ?>/data/covers/<?= $collectionImgCover ?>" /></div> <? } ?> <p><?= $collectionDesc ?></p> <? if ($collectionIsReadMore <> '') { ?> <center> <a href="https://<?= $serverName ?>/more.php?id=<?= $id ?>" target="_blank"> <div class="btn btn-warning py-2"><?= $collectionReadMoreTxt ?></div> </a> </center> <br> <? } ?> <? if ($newsLogo <> '' && $user <> '' && $companyName <> '') { ?> <p class="small" style="color:#189eb5;">Publisher: <?= $user ?> | <?= $companyName ?></p> <? } ?> </div> <? if ($userSidePanel == 1) { ?> <div style="width:300px;"><?= $userSidePanelContent ?></div> <? } ?> </div> </div> <!-- <div class="comments-section" style="padding:0 15px;"> <h3>Comments<span style="font-size: 12px; font-style: italic; color: grey; margin-left: 10px;"><? //noOfComments($db, $id) ?> Comments</span></h3> <div class="conversations"> <div id="comments"> <?php // display_comments($chat); ?> </div> </div> --> <div class="login-redirect"> <span><a href="/signup.html?type=login&article_Id=<?= $id ?>">Login to Give your comment</a></span> </div> </div> <div class="container fixed-bottom pb-3" style="background-color:#fff"> <div class="row no-gutters" style="border-top:1px solid #eb5e31"> <div class="col mt-2 text-right"> <small>Powered by</small> <a href="" target="_blank"><img src="/assets/img/logo.black.png" width="100" /></a> </div> </div> </div> </body> <script> function sendMessageAndRefresh(articleId, user_id) { // Place your sendMessage functionality here sendMessage(articleId, userName); // Refresh the page location.reload(); } function sendMessage(article_id, user_name) { var messageText = $('#comment-text1').val().trim(); var now = new Date(); // Get current date and time in user's local time zone var posted_on = now.getFullYear() + '-' + ('0' + (now.getMonth() + 1)).slice(-2) + '-' + ('0' + now.getDate()).slice(-2) + ' ' + ('0' + now.getHours()).slice(-2) + ':' + ('0' + now.getMinutes()).slice(-2) + ':' + ('0' + now.getSeconds()).slice(-2); // Format as 'YYYY-MM-DD HH:MM:SS' if (messageText === '') { return; } $.ajax({ url: 'conversations/save_conversations.php', method: 'POST', data: { article_id: article_id, user_id: user_id, message: messageText, posted_on: posted_on }, success: function(response) { // Handle the response alert('Message sent successfully!'); console.log(response); // Log response to console location.reload(); // Reload the page after successful message post }, error: function(xhr, status, error) { // Handle errors console.error(xhr.responseText); } }); } function saveComments(comments) { localStorage.setItem('comments', JSON.stringify(comments)); } function addComment() { const text = $('#comment-text').val(); // const author = $('#comment-author').val(); const author = '<?php echo $user_name; ?>'; if (!text || !author) { alert('Please enter your name and comment.'); return; } const comments = getComments(); comments.push({ text: text, author: author, date: new Date().toLocaleString() }); saveComments(comments); $('#comment-text').val(''); $('#comment-author').val(''); renderComments(); } function renderComments() { const comments = getComments(); const commentsDiv = $('#comments'); comments.forEach(comment => { const commentDiv = $('<div></div>').addClass('comment'); commentDiv.html(` <div class="author">${comment.author} <span style="font-size: 0.8em; color: #555;">${comment.date}</span></div> <div class="text">${comment.text}</div> `); commentsDiv.append(commentDiv); }); } $(document).ready(renderComments); </script> </html> <? } ?>