Файловый менеджер - Редактировать - /www/wwwroot/clodys.biz.id/static/img/logo/index.php.tar
Ðазад
www/wwwroot/clodys.biz.id/index.php 0000644 00000007447 15014542546 0013435 0 ustar 00 <?php // +------------------------------------------------------------------------+ // | @author: coder_mvn // | @name: Zontal - The Arcade Online HTML5 Game Playing Platform // | @author_email: mvk62015@gmail.com // | @version: 1.0v // +------------------------------------------------------------------------+ // | Zontal - The Arcade Online HTML5 Game Playing Platform // | Copyright (c) 2023 Zontal. All rights reserved. // +------------------------------------------------------------------------+ require_once 'app/init.php'; include ("auto-fetch.php"); if ($zon['config']['theme'] === 'dorado') { $zon['content'] = LoadFile2("home/content"); define("DEFAULT_IMG", $site_url . "static/skeleton.png"); define("POPULAR_GAMES", count(runner("SELECT * FROM zon_games WHERE game_played > " . $zon['config']['popular_views']))); define("NEW_GAMES", count(runner("SELECT * FROM zon_games WHERE game_played=0"))); define("BLOGS", count(runner("SELECT * FROM zon_blog"))); define("LIKES", 0); define("GAME_HISTORY", count(runner("SELECT * FROM zon_recent_play WHERE user_ip='" . $_SERVER['REMOTE_ADDR'] . "'"))); define("IS_DEV", ""); $page = $zon['page']; $zon['title'] = $zon['config']['site_title']; if (strlen($page[0]) != 0 && IsGame($page[0])) { $game_name = $zon['page'][0]; $data = runner("SELECT * FROM zon_games WHERE game_slug='$game_name'")[0]; $play_title = $zon['config']['play_title']; $title = str_replace("[name]", $data['game_name'], $play_title); $zon['title'] = $title; $zon['content'] = LoadFile2("game/content"); } else if ($page[0] === 'page') { $page = getPageById($zon['page'][1]); $zon['title'] = $page['title']; $zon['content'] = LoadFile2("page/content"); } else if ($page[0] === 'popular-games') { $zon['title'] = $zon['config']['games_title']; $zon['content'] = LoadFile2("popular-games/content"); } else if ($page[0] === 'new-games') { $zon['title'] = $zon['config']['games_title']; $zon['content'] = LoadFile2("newest-games/content"); } else if ($page[0] === 'blogs') { $zon['title'] = "Blogs"; $zon['content'] = LoadFile2("blogs/content"); } else if ($page[0] === 'blog') { $blog = blogById($zon['page'][2]); $zon['title'] = $blog['blog_title']; $zon['content'] = LoadFile2("blog-post/content"); } else if ($page[0] === 'login') { $zon['title'] = "Login"; $zon['content'] = LoadFile2("login/content"); } else if ($page[0] === 'register') { $zon['title'] = "Register"; $zon['content'] = LoadFile2("register/content"); } else if (strlen($page[0]) != 0 && IsCategory($page[0])) { $category_title = $zon['config']['category_title']; $category_name = $zon['page'][0] ?? $_GET['u']; $category = CategoryDataBySlug($category_name); $title = str_replace("[name]", $category['name'] ?? '', $category_title); $zon['title'] = $title; $zon['content'] = LoadFile2("category/content"); } else if (strlen($page[0]) == 11 && $page[0] === 'liked-games') { $zon['title'] = "Liked Games"; $zon['content'] = LoadFile2("user-profile/content"); } else if ($page[0] === 'recent-play-games') { $zon['title'] = "Recent Play Games"; $zon['content'] = LoadFile2("recent-play-games/content"); } else if ($page[0] === 'search') { $zon['title'] = ms_secure($_GET['s'] ?? ''); $zon['content'] = LoadFile2("search-page/content"); } else if ($page[0] === 'random-play') { $zon['title'] = "Random Play - Play Random Games"; $zon['content'] = LoadFile2("autoplay/content"); } } echo LoadFile2("container"); www/wwwroot/clodys.biz.id/admin/index.php 0000644 00000013275 15014544166 0014521 0 ustar 00 <?php require "../app/includes/function_general.php"; ?> <?php include "includes/header.php"; ?> <body class="dark:bg-[#121317]"> <main class="d-flex"> <?php include "includes/sidebar.php"; ?> <div class="main w-full px-12 py-6"> <div class="flex gap-6"> <div class="box bg-[white] dark:bg-zinc-900 rounded-md w-full p-4"> <span class="uppercase text-gray-500 text-xs ">user</span> <div class="flex justify-between"> <span class="font-bold text-2xl dark:text-gray-100"> <?php echo Total_Items("zon_users") ?> </span> <span class="bi-activity text-3xl text-gray-400"></span> </div> <span class="text-gray-500 text-xs whitespace-nowrap">There are total user</span> </div> <div class="box bg-[white] dark:bg-zinc-900 rounded-md w-full p-4"> <span class="uppercase text-gray-500 text-xs ">comment</span> <div class="flex justify-between"> <span class="font-bold text-2xl dark:text-gray-100"> <?php echo Total_Items("zon_comments") ?> </span> <span class="bi-activity text-3xl text-gray-400"></span> </div> <span class="text-gray-500 text-xs whitespace-nowrap">There are total comment</span> </div> </div> <div class="flex gap-6"> <div class="box bg-[white] mt-6 dark:bg-zinc-900 rounded-md p-4 w-full"> <span class="uppercase text-gray-500 text-xs ">Game</span> <div class="flex justify-between"> <span class="font-bold text-2xl dark:text-gray-100"> <?php echo Total_Items("zon_games") ?> </span> <span class="bi-activity text-3xl text-gray-400"></span> </div> <span class="text-gray-500 text-xs ">There are total games</span> </div> <div class="box bg-[white] mt-6 dark:bg-zinc-900 rounded-md p-4 w-full"> <span class="uppercase text-gray-500 text-xs ">category</span> <div class="flex justify-between"> <span class="font-bold text-2xl dark:text-gray-100"> <?php echo Total_Items("zon_category") ?> </span> <span class="bi-activity text-4xl text-gray-400"></span> </div> <span class="text-gray-500 text-xs whitespace-nowrap">There are total category</span> </div> </div> <div class="games-list"> <table class="w-full mt-10 rounded-md"> <thead class="border-b-2 dark:border-zinc-800 px-16 border-gray-200 py-2"> <td class="py-2 text-xs text-gray-600 px-4">ID</td> <td class="py-2 text-xs text-gray-600 px-4 w-full">Name</td> <td class="py-2 text-xs text-right"></td> </thead> <tbody class="rounded-md "> <?php $run = mysqli_query($con, 'select * from zon_games order by id desc limit 10') ?> <?php while ($row = mysqli_fetch_assoc($run)) { ?> <?php if ($row['game_status'] == 0) { ?> <tr class="bg-[white] dark:bg-zinc-900 px-16 "> <td class="text-xs text-gray-500 px-4 "># <?= $row['id'] ?> </td> <td class="text-gray-500 px-4 text-sm flex items-center py-3"><img class="object-cover h-12 w-12 rounded-lg mr-4 overflow-hidden" src="<?= $row['game_image_url'] ?>"> <a href="add-game.php?action=update&token_id=<?= $row['id'] ?>"> <?= $row['game_name'] ?> </a></td> <td class="text-right relative px-6"> <button data-target="#dc_<?= $row['id'] ?>" class="bi-three-dots-vertical text-gray-500 drop_btn"></button> <div id="dc_<?= $row['id'] ?>" style="z-index: 99;" class="dropdown absolute bg-white text-right right-0 hidden flex-column "> <a href="functions/functions.php?action=delete&token_id=<?= $row['id'] ?>&content_type=game&url=<?php echo $site_url ?>admin/index" class="text-xs px-4 py-2 text-red-700">Delete</a> <a href="add-game.php?action=update&token_id=<?= $row['id'] ?>&content_type=game" class="text-xs px-4 py-2">Edit</a> </div> </td> </tr> <?php } ?> <?php } ?> </tbody> </table> </div> </div> </main> </body> <?php include "includes/footer.php"; ?> </html>