OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress
/
vendor
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
_get.section.collection.php
58.55 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
_get.section.create.php
21.82 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
_get.section.general.php
8.06 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
autoload.php
771 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📁
aws
-
03/05/2025 10:51:54 AM
rwxr-xr-x
📁
bin
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
bounceViewList.php
5.86 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
chk.logged.in.php
1.16 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
chk.login.php
1.31 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
composer
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
d_get.section.collection.php
57.93 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
d_get.section.create.php
21.87 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.account.php
8.47 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.analytics.php
11.46 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
get.section.collection.php
58.52 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.community.php
5.89 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.create.php
22.41 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.curated.php
5.07 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.dashboard.php
3.31 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.feed.php
6.87 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.general.php
9.31 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.newsletter.php
9.25 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.request.article.php
5.82 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.settings.php
21.15 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.team.php
6.73 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
get.section.utils.php
4.1 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
guzzlehttp
-
03/05/2025 10:51:57 AM
rwxr-xr-x
📄
logout.php
428 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📁
mtdowling
-
03/05/2025 10:51:58 AM
rwxr-xr-x
📁
phpmailer
-
03/05/2025 10:51:58 AM
rwxr-xr-x
📁
psr
-
03/05/2025 10:52:00 AM
rwxr-xr-x
📁
ralouphie
-
03/05/2025 10:52:01 AM
rwxr-xr-x
📄
sendgrid.php
3.62 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
symfony
-
03/05/2025 10:52:01 AM
rwxr-xr-x
📄
upload.php
2.4 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
verify.php
3.12 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
verify_email.php
7.13 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
wildbit
-
03/05/2025 10:52:02 AM
rwxr-xr-x
📄
z.get.section.feed.php
6.88 KB
05/19/2025 10:07:17 AM
rw-r--r--
Editing: get.section.dashboard.php
Close
<? // Cream: Dashboard require_once '../inc/validate.logged.php'; require_once '../inc/config.php'; $act = ''; // Default if ($act == '') { $sql = "SELECT COUNT(id) AS countArticle FROM user_collection WHERE user_id=$gUserId"; $result = mysqli_query($db, $sql); $row = mysqli_fetch_assoc($result); $countArticle = $row['countArticle']; $sql = "SELECT COUNT(user_id) AS countFeed FROM user_feeds WHERE user_id=$gUserId"; $result = mysqli_query($db, $sql); $row = mysqli_fetch_assoc($result); $countFeed = $row['countFeed']; $sql = "SELECT COUNT(user_id) AS countNewsletter FROM user_newsletter WHERE user_id=$gUserId"; $result = mysqli_query($db, $sql); $row = mysqli_fetch_assoc($result); $countNewsletter = $row['countNewsletter']; $sql = "SELECT COUNT(A.article_id) AS countVisit FROM metrics A INNER JOIN user_collection B ON A.article_id=B.id AND B.user_id=$gUserId"; $result = mysqli_query($db, $sql); $row = mysqli_fetch_assoc($result); $countVisit = $row['countVisit']; ?> <ol class="breadcrumb my-3"> <li class="breadcrumb-item"><h4 class="m-0">Dashboard</h4></li> </ol> <div class="row"> <div class="col-12 col-md-6 col-xl-3"> <div class="card bg-primary text-white mb-4"> <div class="card-body">Articles</div> <div class="card-footer text-right"><h3><?=$countArticle?></h3></div> </div> </div> <div class="col-12 col-md-6 col-xl-3"> <div class="card bg-success text-white mb-4"> <div class="card-body">Feeds</div> <div class="card-footer text-right"><h3><?=$countFeed?></h3></div> </div> </div> <div class="col-12 col-md-6 col-xl-3"> <div class="card bg-warning text-white mb-4"> <div class="card-body">Newsletter</div> <div class="card-footer text-right"><h3><?=$countNewsletter?></h3></div> </div> </div> <div class="col-12 col-md-6 col-xl-3"> <div class="card bg-danger text-white mb-4"> <div class="card-body">Visits</div> <div class="card-footer text-right"><h3><?=$countVisit?></h3></div> </div> </div> </div> <ol class="breadcrumb my-3"> <li class="breadcrumb-item"><h4 class="m-0">Top 5 Visited Articles</h4></li> </ol> <? $sql = "SELECT B.id,B.title,count(A.article_id) AS totalVisits FROM metrics A INNER JOIN user_collection B ON (A.article_id=B.id AND B.user_id=$gUserId) GROUP BY B.url,B.id ORDER BY totalVisits DESC LIMIT 5"; $result = mysqli_query($db, $sql); $numRows = mysqli_num_rows($result); if ($numRows == 0) { echo '<div class="px-3">No articles to show!</div>'; } else { ?> <table class="table table-striped"> <thead> <tr> <th width="20">#</th> <th>Title</th> <th>Views</th> <th></th> </tr> </thead> <tbody> <? $i = 1; while($row = mysqli_fetch_assoc($result)) { $topArticleId = $row['id']; $topArticleTitle = $row['title']; $topArticleVisit = $row['totalVisits']; ?> <tr> <td><?=$i?>.</td> <td><a href="https://www.knoblycream.com/view/<?=$topArticleId?>/<?=createArticleURL($topArticleTitle)?>" target="_blank"><?=$topArticleTitle?></a></td> <td><?=$topArticleVisit?></td> <td align="right"><a href="#" title="View Details"><i data-id="<?=$topArticleId?>" class="viewRowA far fa-chart-bar fa-lg text-muted"></i></a></td> </tr> <? $i += 1; } ?> </tbody> </table> <? } ?> <script type="text/javascript"> $(function() { }); </script> <? } ?>