home
/
aioutajg
/
watermelongame.site
/
admin
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] assets
N/A
[DIR] functions
N/A
[DIR] includes
N/A
add-ads.php
2.77 KB
Rename
Delete
add-category.php
2.58 KB
Rename
Delete
add-game.php
6.34 KB
Rename
Delete
add-page.php
3.12 KB
Rename
Delete
add-users.php
7.57 KB
Rename
Delete
advertisement.php
1.67 KB
Rename
Delete
api-settings.php
160.89 KB
Rename
Delete
categories.php
2.42 KB
Rename
Delete
comments.php
2.87 KB
Rename
Delete
games.php
5.18 KB
Rename
Delete
index.php
4.91 KB
Rename
Delete
login.php
2.54 KB
Rename
Delete
logout.php
124 bytes
Rename
Delete
pages.php
2.49 KB
Rename
Delete
settings.php
7.06 KB
Rename
Delete
tools.php
2.83 KB
Rename
Delete
users.php
2.67 KB
Rename
Delete
<?php $page = "Add Ads"; ?> <?php require "../includes/function_general.php"; ?> <?php include "includes/header.php"; ?> <?php include "includes/config.php"; ?> <?php if (!empty($_GET['token_id']) && isset($_GET['action'])) { $token_id = $_GET['token_id']; $action_type = $_GET['action']; } if (isset($token_id) && isset($action_type) && !empty($token_id)) { $sql = "select * from zon_ads where id=$token_id"; $run = mysqli_query($con, $sql); $data = mysqli_fetch_assoc($run); } ?> <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="games-list mt-6"> <form action="functions/functions.php" method="POST" enctype="multipart/form-data" id="add-page" class="tab"> <?php if(!empty($token_id)) { ?> <input hidden type="text" name="ad_id" value="<?php echo $data['id']; ?>"> <?php } ?> <div class="flex gap-6"> <div class="input-form w-full"> <div class="input-group flex flex-column"> <label class="text-gray-500 uppercase text-[10px] mb-2">Name</label> <input id="category_name" value="<?php if(!empty($token_id)) { echo $data['ad_name']; } ?>" required name="ad_name" class="py-[15px] text-gray-500 outline-none focus:outline focus:outline-blue-500 transition-sm px-3 text-xs" type="text" placeholder="Ad Name"> </div> <div class="input-group flex flex-column mt-6"> <label class="text-gray-500 uppercase text-[10px] mb-2">Advertise Code</label> <textarea name="ad_code" class="outline-none px-2 py-2 focus:outline-blue-500 transition-sm text-gray-500 text-sm" cols="30" rows="10"><?php if(!empty($token_id)) { echo $data['code']; } ?></textarea> </div> <div class="input-group mt-4"> <input id="ad_contr" <?php if($data['status'] == 1) { echo "checked"; } ?> type="checkbox" value="off" name="ad_contr" class="mr-2"> <label for="ad_contr" class="text-xs text-gray-600 ml-3 select-none">off Advertisement</label> </div> </div> <div class="other-inputs w-80"></div> </div> <button name="ads_up_add" class="bg-blue-600 text-white uppercase mt-4 text-sm rounded-sm py-2 px-3 ">Save</button> </form> </div> </main> <?php include "includes/footer.php"; ?> </body> </html>
Save