Skip to content

Commit 5059f84

Browse files
committed
Fixed the panel bug
1 parent 7121d37 commit 5059f84

33 files changed

+3201
-1097
lines changed

webpanel/.htaccess

Lines changed: 0 additions & 15 deletions
This file was deleted.

webpanel/add-volume.php

Lines changed: 83 additions & 60 deletions
Large diffs are not rendered by default.

webpanel/assets/fonts/index.html

Whitespace-only changes.

webpanel/assets/js/alpine.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@
534534
style: "eslint .",
535535
pretest: "npm run generate",
536536
test: "jest",
537-
"test:integrations": "npm run test --prefix ./integrations",
537+
"test:integrations": "npm run langs --prefix ./integrations",
538538
"install:integrations": "node scripts/install-integrations.js",
539539
"generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js",
540540
"generate:types": "node -r @swc/register scripts/generate-types.js",
@@ -596,7 +596,7 @@
596596
jest: {
597597
testTimeout: 3e4,
598598
setupFilesAfterEnv: ["<rootDir>/jest/customMatchers.js"],
599-
testPathIgnorePatterns: ["/node_modules/", "/integrations/", "/standalone-cli/", "\\.test\\.skip\\.js$"],
599+
testPathIgnorePatterns: ["/node_modules/", "/integrations/", "/standalone-cli/", "\\.langs\\.skip\\.js$"],
600600
transformIgnorePatterns: ["node_modules/(?!lightningcss)"],
601601
transform: {"\\.js$": "@swc/jest", "\\.ts$": "@swc/jest"}
602602
},

webpanel/assets/wizwiz.js

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,28 @@ $(document).ready(function () {
5454
});
5555
});
5656
$(document).ready(function () {
57-
$("#insert_plans").submit(function (event) {
57+
$("#insert_plans1").submit(function (event) {
5858
event.preventDefault();
5959
var formData = $(this).serialize();
6060
$.ajax({
61-
url: "plans.php",
61+
url: "singleplans.php",
6262
type: "POST",
63-
data: $(this).serialize() + "&action=insert_plans",
63+
data: $(this).serialize() + "&action=insert_plans1",
64+
success: function (response) {
65+
$("#result").html(response);
66+
}
67+
});
68+
});
69+
});
70+
71+
$(document).ready(function () {
72+
$("#insert_plans2").submit(function (event) {
73+
event.preventDefault();
74+
var formData = $(this).serialize();
75+
$.ajax({
76+
url: "multipleplans.php",
77+
type: "POST",
78+
data: $(this).serialize() + "&action=insert_plans2",
6479
success: function (response) {
6580
$("#result").html(response);
6681
}

webpanel/backupnutif.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
include 'includ/db.php';
33
include 'includ/jdf.php';
4-
include '../wizwizxui-timebot-main/baseInfo.php';
4+
include '../wizwizxui-timebot/baseInfo.php';
55

66
$sql_servers = "SELECT * FROM servers where status=1";
77
$result_servers = $conn->query($sql_servers);

webpanel/category.php

Lines changed: 81 additions & 57 deletions
Large diffs are not rendered by default.

webpanel/discount.php

Lines changed: 85 additions & 62 deletions
Large diffs are not rendered by default.

webpanel/exit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
include './login.php';
33
session_start();
44
session_destroy();
5-
setcookie('cookie_username',$encryptedValue ,time() - (604800));
5+
//setcookie('cookie_username',$encryptedValue ,time() - (604800));
66
header("location: login.php");
77

88
?>

webpanel/gift.php

Lines changed: 81 additions & 56 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)