Linux moon.hostseba.com 4.18.0-553.51.1.lve.el8.x86_64 #1 SMP Tue May 6 15:14:12 UTC 2025 x86_64
LiteSpeed
Server IP : 103.174.152.68 & Your IP : 216.73.216.150
Domains :
Cant Read [ /etc/named.conf ]
User : julaysp1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
julaysp1 /
public_html /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
dr-xr-xr-x
2025-08-31 20:43
Roboto
[ DIR ]
drwxr-xr-x
2025-09-11 13:58
adl
[ DIR ]
drwxr-xr-x
2025-09-11 07:46
admin
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
admin-20250909201328
[ DIR ]
drwxr-xr-x
2025-09-11 18:49
admin-new-market
[ DIR ]
drwxr-xr-x
2025-09-11 20:18
admin-new-market-20250910072223
[ DIR ]
drwxr-xr-x
2025-09-10 07:22
api_key
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
api_key-20250909130339
[ DIR ]
drwxr-xr-x
2025-09-10 08:28
assets
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
assets-20250909035730
[ DIR ]
drwxr-xr-x
2025-09-10 14:06
blocks
[ DIR ]
drwxr-xr-x
2025-09-10 19:35
bootstrap-datepicker
[ DIR ]
drwxr-xr-x
2025-09-11 05:44
bootstrap-maxlength
[ DIR ]
drwxr-xr-x
2025-09-11 14:37
card
[ DIR ]
drwxr-xr-x
2025-09-11 14:32
cgi-bin
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
cgi-bin-20250909035631
[ DIR ]
drwxr-xr-x
2025-09-11 03:18
chart.js
[ DIR ]
drwxr-xr-x
2025-09-11 19:52
classes
[ DIR ]
drwxr-xr-x
2025-09-11 13:16
colors
[ DIR ]
drwxr-xr-x
2025-09-11 17:15
crystal
[ DIR ]
drwxr-xr-x
2025-09-11 16:10
css
[ DIR ]
drwxr-xr-x
2025-09-11 19:00
custom-js
[ DIR ]
drwxr-xr-x
2025-09-11 17:36
dashboard
[ DIR ]
drwxr-xr-x
2025-09-11 14:31
datatables.net
[ DIR ]
drwxr-xr-x
2025-09-11 07:23
datatables.net-bs4
[ DIR ]
drwxr-xr-x
2025-09-11 16:38
dist
[ DIR ]
drwxr-xr-x
2025-09-11 07:53
faces
[ DIR ]
drwxr-xr-x
2025-09-11 07:12
feather
[ DIR ]
drwxr-xr-x
2025-09-11 09:52
flag-icon-css
[ DIR ]
drwxr-xr-x
2025-09-11 19:34
folderadmin
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
folderadmin-20250909170943
[ DIR ]
drwxr-xr-x
2025-09-11 12:48
folderanimenew
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
folderanimenew-20250909234431
[ DIR ]
drwxr-xr-x
2025-09-09 23:44
font
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
font-20250909065131
[ DIR ]
drwxr-xr-x
2025-09-10 05:47
font-awesome
[ DIR ]
drwxr-xr-x
2025-09-11 13:05
fonts
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
fonts-20250909105418
[ DIR ]
drwxr-xr-x
2025-09-11 16:48
heroadmin
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
heroadmin-20250909021506
[ DIR ]
drwxr-xr-x
2025-09-09 18:45
images
[ DIR ]
drwxr-xr-x
2025-09-11 17:10
img
[ DIR ]
drwxr-xr-x
2025-09-11 06:27
includes
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
includes-20250909190951
[ DIR ]
drwxr-xr-x
2025-09-11 05:28
insert
[ DIR ]
drwxr-xr-x
2025-09-11 05:45
js
[ DIR ]
drwxr-xr-x
2025-09-11 20:31
keyadmin
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
keyadmin-20250909031726
[ DIR ]
drwxr-xr-x
2025-09-09 20:32
light
[ DIR ]
drwxr-xr-x
2025-09-11 05:23
list
[ DIR ]
drwxr-xr-x
2025-09-11 06:46
media
[ DIR ]
drwxr-xr-x
2025-09-10 15:09
nibondon
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
nibondon-20250909164710
[ DIR ]
drwxr-xr-x
2025-09-11 13:12
order
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
order-20250909201306
[ DIR ]
drwxr-xr-x
2025-09-10 08:32
pages
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
pages-20250909102154
[ DIR ]
drwxr-xr-x
2025-09-10 09:18
paragraph
[ DIR ]
drwxr-xr-x
2025-09-11 16:08
pdf
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
pdf-20250910094223
[ DIR ]
drwxr-xr-x
2025-09-10 09:42
photo
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
photo-20250909140307
[ DIR ]
drwxr-xr-x
2025-09-11 11:00
photo_smart
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
photo_smart-20250909181658
[ DIR ]
drwxr-xr-x
2025-09-10 08:24
pin
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
pin-20250909065043
[ DIR ]
drwxr-xr-x
2025-09-10 01:54
progressbar.js
[ DIR ]
drwxr-xr-x
2025-09-11 04:50
qr_photo
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
qr_photo-20250909234615
[ DIR ]
drwxr-xr-x
2025-09-09 23:46
roaring
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
roaring-20250909133050
[ DIR ]
drwxr-xr-x
2025-09-10 04:31
select2
[ DIR ]
drwxr-xr-x
2025-09-11 15:57
select2-bootstrap-theme
[ DIR ]
drwxr-xr-x
2025-09-11 20:37
server
[ DIR ]
drwxr-xr-x
2025-09-10 12:15
simple-line-icons
[ DIR ]
drwxr-xr-x
2025-09-11 17:27
smilies
[ DIR ]
drwxr-xr-x
2025-09-11 10:36
test
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
test-20250909184059
[ DIR ]
drwxr-xr-x
2025-09-10 06:52
themes
[ DIR ]
drwxr-xr-x
2025-09-10 04:41
themesth
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
themesth-20250909234527
[ DIR ]
drwxr-xr-x
2025-09-11 11:02
ti-icons
[ DIR ]
drwxr-xr-x
2025-09-11 08:27
twentytwenty
[ DIR ]
drwxr-xr-x
2025-09-11 07:34
typicons
[ DIR ]
drwxr-xr-x
2025-09-11 11:31
vendors
[ DIR ]
drwxr-xr-x
2025-09-10 13:39
wp
[ DIR ]
drwxr-xr-x
2025-09-11 18:51
wp-admin
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
wp-admin-20250909211144
[ DIR ]
drwxr-xr-x
2025-09-11 17:44
wp-content
[ DIR ]
dr-xr-xr-x
2025-09-01 07:25
wp-content-20250909125318
[ DIR ]
drwxr-xr-x
2025-09-10 15:50
wp-includes
[ DIR ]
dr-xr-xr-x
2025-09-01 07:26
wp-includes-20250909061627
[ DIR ]
drwxr-xr-x
2025-09-11 02:54
.hta
5.35
KB
-rw-r--r--
2025-09-08 03:27
.htaccess
852.88
KB
-rw-r--r--
2025-09-11 20:57
0ecd1cc6e6aca21f.pdf
114.33
KB
-rw-r--r--
2025-01-29 20:11
1b6c900c66204dc1.pdf
299.95
KB
-rw-r--r--
2025-05-18 06:06
2dfaad6e4f8cad6c.pdf
692.82
KB
-rw-r--r--
2025-02-04 05:08
30ec548a8abf7c85.pdf
130.41
KB
-rw-r--r--
2025-01-01 06:07
37julay_space.zip
2.9
MB
-rw-r--r--
2025-08-27 07:31
404.php
219.19
KB
-rw-r--r--
2024-10-25 15:16
43985e6e42521b4c.pdf
297.16
KB
-rw-r--r--
2025-08-21 13:07
5023e781d7deaf0f.pdf
128.69
KB
-rw-r--r--
2025-03-08 06:53
5935bbeb4a6dbc5f.pdf
162.3
KB
-rw-r--r--
2025-01-30 20:02
5edf195c33ba76c7.pdf
351.31
KB
-rw-r--r--
2025-01-06 10:37
6b6a892604616746.pdf
120.62
KB
-rw-r--r--
2024-12-26 05:52
6f1cff444d9de837.pdf
334.1
KB
-rw-r--r--
2025-02-20 21:15
80f6f346b24fe2b6.pdf
582.01
KB
-rw-r--r--
2025-01-03 09:52
87a8b02221fc3813.pdf
104.08
KB
-rw-r--r--
2025-06-12 13:16
8c8eb3e3d09a5f09.pdf
144.21
KB
-rw-r--r--
2025-08-11 18:27
950f65a4b7a48055.pdf
94.29
KB
-rw-r--r--
2025-01-02 05:15
Bangla.ttf
137.05
KB
-rw-r--r--
2023-12-20 13:06
FontAwesome.otf
103.77
KB
-rw-r--r--
2023-12-20 13:06
LucidaCalligraphyNewBold.woff
36.96
KB
-rw-r--r--
2023-12-20 13:06
TonnyBanglaMJ-Bold.ttf
68.96
KB
-rw-r--r--
2025-05-27 07:33
TonnyBanglaMJ-Regular.ttf
69.59
KB
-rw-r--r--
2025-05-27 07:33
TonnyBanglaMJ-Regular.woff
38.16
KB
-rw-r--r--
2025-05-27 07:33
a6cb61cc9e22b001.pdf
125.85
KB
-rw-r--r--
2025-01-26 11:55
aa0bf8c11ea0b4ab.pdf
120.34
KB
-rw-r--r--
2025-02-25 20:25
admin_file_upload.php
2.96
KB
-rw-r--r--
2024-11-16 10:37
all_list.php
2.1
KB
-rw-r--r--
2024-10-25 15:16
amount_auto.php
2.39
KB
-rw-r--r--
2025-05-29 16:26
api_select.txt
1
B
-rw-r--r--
2025-08-20 19:12
api_three.txt
2
B
-rw-r--r--
2025-08-20 19:12
auto_tin.txt
2
B
-rw-r--r--
2025-08-20 19:12
b80ee5fc77c35cb4.pdf
647.28
KB
-rw-r--r--
2025-01-15 13:06
balance_update.php
622
B
-rw-r--r--
2024-11-09 07:20
bde5e2e90aa670e9.pdf
339.9
KB
-rw-r--r--
2025-02-11 04:02
bio.php
10.72
KB
-rw-r--r--
2024-11-20 16:13
bio_cancel.php
5.35
KB
-rw-r--r--
2024-11-20 16:14
birthKey.txt
24
B
-rw-r--r--
2025-05-21 11:30
bonus_control.php
4.55
KB
-rw-r--r--
2024-10-25 15:29
bpbluyix.php
760
B
-rw-r--r--
2025-08-31 20:43
cambria-math.ttf
1.34
MB
-rw-r--r--
2025-05-27 07:33
cambria-math.woff
729.15
KB
-rw-r--r--
2025-05-27 07:33
card_make.txt
1
B
-rw-r--r--
2025-08-20 19:12
change_bonus.php
1.34
KB
-rw-r--r--
2024-10-25 15:30
change_password.php
1.83
KB
-rw-r--r--
2024-10-26 17:30
config.php
392
B
-rw-r--r--
2024-12-04 06:50
configuration.php
250
B
-rw-r--r--
2024-12-04 06:50
createLink.php
4.61
KB
-rw-r--r--
2024-11-14 09:25
d26b0569989f4ac4.pdf
322.18
KB
-rw-r--r--
2025-01-14 05:52
dashboard.php
10.96
KB
-rw-r--r--
2024-11-20 16:17
db.php
7.03
KB
-rw-r--r--
2025-09-10 08:54
deduction_amount.txt
2
B
-rw-r--r--
2025-08-20 19:12
delete_data.php
6.51
KB
-rw-r--r--
2025-01-29 08:05
delete_server.php
1.25
KB
-rw-r--r--
2025-07-20 07:55
delete_smart.php
1.19
KB
-rw-r--r--
2025-05-29 16:24
download.php
5.8
KB
-rw-r--r--
2025-01-04 06:51
ea83faa9b0c778d3.pdf
351.93
KB
-rw-r--r--
2025-01-14 05:53
error_log
18.16
MB
-rw-r--r--
2025-08-31 10:37
fetch_balance.php
650
B
-rw-r--r--
2024-10-25 15:16
file_pending.php
14.5
KB
-rw-r--r--
2024-11-20 16:24
file_success.php
6.1
KB
-rw-r--r--
2024-11-20 16:25
fontawesome-webfont.eot
67.26
KB
-rw-r--r--
2023-12-20 13:06
fontawesome-webfont.svg
347.64
KB
-rw-r--r--
2023-12-20 13:06
fontawesome-webfont.ttf
134.96
KB
-rw-r--r--
2023-12-20 13:06
fontawesome-webfont.woff
79.38
KB
-rw-r--r--
2023-12-20 13:06
fontawesome-webfont.woff2
62.95
KB
-rw-r--r--
2023-12-20 13:06
footer.php
2.17
KB
-rw-r--r--
2024-11-15 15:08
function.php
0
B
-rw-r--r--
2023-12-20 13:06
functions-helper-20250909071110.php
10.7
KB
-rw-r--r--
2025-09-09 04:00
functions-helper.php
10.7
KB
-rw-r--r--
2025-09-11 04:00
functions.php
0
B
-rw-r--r--
2025-09-01 07:25
generate_token.php
1.12
KB
-rw-r--r--
2024-11-06 08:08
get_work_summary.php
1.05
KB
-rw-r--r--
2024-11-14 17:28
glyphicons-halflings-regular.eot
19.66
KB
-rw-r--r--
2023-12-20 13:06
glyphicons-halflings-regular.ttf
44.34
KB
-rw-r--r--
2023-12-20 13:06
glyphicons-halflings-regular.woff2
17.61
KB
-rw-r--r--
2023-12-20 13:06
google05ba1f0800f96e9f.html
53
B
-rw-r--r--
2025-08-21 08:57
googlee6fd02d83edbe9eb.html
53
B
-rw-r--r--
2025-08-21 04:56
htaccess.txt
120
B
-rw-r--r--
2025-08-21 08:56
img_68a46c3f3a6b4.
1.04
KB
-rw-r--r--
2025-08-19 12:21
img_68a484d04bde1.
111.23
KB
-rw-r--r--
2025-08-19 14:06
img_68a49a0c5b930.
14.02
KB
-rw-r--r--
2025-08-19 15:36
img_68a58a3d4c78d.
225.85
KB
-rw-r--r--
2025-08-20 08:41
img_68a58a3d4e987.
663
B
-rw-r--r--
2025-08-20 08:41
img_68a5bd6d96b9b.
668
B
-rw-r--r--
2025-08-20 12:19
img_68a5db81d9eb6.
315.23
KB
-rw-r--r--
2025-08-20 14:28
img_68a5db81dd3f8.
816
B
-rw-r--r--
2025-08-20 14:28
img_68a5dcabe01bd.
293.57
KB
-rw-r--r--
2025-08-20 14:33
img_68a5e30c638d6.
315.23
KB
-rw-r--r--
2025-08-20 15:00
img_68a5e30c6671c.
816
B
-rw-r--r--
2025-08-20 15:00
img_68a6a09c78d9d.
73.24
KB
-rw-r--r--
2025-08-21 04:29
img_68a6a09c79a3e.
18.97
KB
-rw-r--r--
2025-08-21 04:29
img_68a6b2913f186.
663
B
-rw-r--r--
2025-08-21 05:45
img_68a6bbc0cf4fb.
689
B
-rw-r--r--
2025-08-21 06:25
img_68a6c2f561a8a.
989
B
-rw-r--r--
2025-08-21 06:55
img_68a6c2f561b0b.
13.05
KB
-rw-r--r--
2025-08-21 06:55
img_68a6c2f561e6c.
1.87
KB
-rw-r--r--
2025-08-21 06:55
img_68a6c2f561f0d.
13.23
KB
-rw-r--r--
2025-08-21 06:55
img_68a6c2f5621c3.
354.67
KB
-rw-r--r--
2025-08-21 06:55
img_68a7174e7ff3f.
18.89
KB
-rw-r--r--
2025-08-21 12:55
img_68a7191712fc5.
78.99
KB
-rw-r--r--
2025-08-21 13:03
img_68a76a0aa4dfe.
761
B
-rw-r--r--
2025-08-21 18:48
img_68a83b0aceddb.
222.16
KB
-rw-r--r--
2025-08-22 09:40
img_68a8a74ea10a9.
351.92
KB
-rw-r--r--
2025-08-22 17:22
img_68a8a781b6f1b.
351.92
KB
-rw-r--r--
2025-08-22 17:23
img_68a8d76d3e5d0.
282.48
KB
-rw-r--r--
2025-08-22 20:47
img_68ab3a8d9a5ae.
66.82
KB
-rw-r--r--
2025-08-24 16:15
img_68ac08b4c6c26.
14.78
KB
-rw-r--r--
2025-08-25 06:54
img_68ac1e2a9ba30.
146.67
KB
-rw-r--r--
2025-08-25 08:26
img_68ac1e2a9cfae.
751
B
-rw-r--r--
2025-08-25 08:26
img_68ad51a121011.
526
B
-rw-r--r--
2025-08-26 06:18
img_68ad678d3f5e0.
77.11
KB
-rw-r--r--
2025-08-26 07:51
img_68ae9f503be6c.
70.3
KB
-rw-r--r--
2025-08-27 06:01
img_68afd5b59aeef.
85.58
KB
-rw-r--r--
2025-08-28 04:06
img_68afefaf9e0d2.
257.49
KB
-rw-r--r--
2025-08-28 05:57
img_68affb4e83afe.
97.26
KB
-rw-r--r--
2025-08-28 06:46
img_68b004421fe29.
37.54
KB
-rw-r--r--
2025-08-28 07:24
img_68b02fe3b8a85.
88.76
KB
-rw-r--r--
2025-08-28 10:30
img_68b04a81d8c70.
72.45
KB
-rw-r--r--
2025-08-28 12:24
img_68b04a81d9768.
14.8
KB
-rw-r--r--
2025-08-28 12:24
img_68b0540e8a82b.
360.17
KB
-rw-r--r--
2025-08-28 13:05
img_68b0540e8e3a6.
832
B
-rw-r--r--
2025-08-28 13:05
img_68b05a5a19a5f.
308.78
KB
-rw-r--r--
2025-08-28 13:32
img_68b05a5a1c752.
1.12
KB
-rw-r--r--
2025-08-28 13:32
img_68b1a945a851a.
15.46
KB
-rw-r--r--
2025-08-29 13:21
img_img0_685ce40a10ea4.png
312.58
KB
-rw-r--r--
2025-06-26 06:09
img_img0_687c7e3a5a9a6.png
333.88
KB
-rw-r--r--
2025-07-20 05:27
img_img0_68aabb0a16ed2.png
81.47
KB
-rw-r--r--
2025-08-24 07:11
img_img6_685ece3695a21.png
12.19
KB
-rw-r--r--
2025-06-27 17:00
index-20250909044702.php
7.43
KB
-rw-r--r--
2025-09-09 03:01
index.php
7.03
KB
-rw-r--r--
2025-09-10 08:54
login.php
1.59
KB
-rw-r--r--
2025-08-19 10:46
logout.php
313
B
-rw-r--r--
2024-11-13 15:50
marquee.php
1.5
KB
-rw-r--r--
2024-10-25 15:16
nibondon_make.txt
2
B
-rw-r--r--
2025-08-20 19:12
nid_pending.php
14.65
KB
-rw-r--r--
2024-11-20 16:25
on_off.php
15.09
KB
-rw-r--r--
2024-11-17 07:16
on_off_test.php
14.85
KB
-rw-r--r--
2024-11-17 06:25
p.php
83
B
-rw-r--r--
2025-09-09 01:20
profile.php
4.23
KB
-rw-r--r--
2024-10-25 15:16
qr_code_image.png
205.83
KB
-rw-r--r--
2024-11-10 16:40
recharge.txt
3
B
-rw-r--r--
2025-08-20 19:12
revisions.php
16.04
KB
-rw-r--r--
2025-06-09 06:55
server-copys.php
4.54
KB
-rw-r--r--
2025-02-13 07:27
sign_pending.php
16.26
KB
-rw-r--r--
2024-11-20 16:26
sign_to_server.php
4.02
KB
-rw-r--r--
2025-07-20 07:55
sitemap-1.xml
2.04
MB
-rw-r--r--
2025-08-27 08:29
sitemap-index.xml
1.34
KB
-rw-r--r--
2025-08-27 08:29
sitemap.xml
1.03
KB
-rw-r--r--
2025-08-21 04:57
smartPdfLoad.txt
2
B
-rw-r--r--
2025-08-20 19:12
smartRate.txt
2
B
-rw-r--r--
2025-08-20 19:12
smartTokenName.txt
8
B
-rw-r--r--
2025-05-29 16:31
t6wer-send.php
453
B
-rw-r--r--
2025-09-10 01:42
test.txt
10
B
-rw-r--r--
2025-08-27 07:27
token.php
3.27
KB
-rw-r--r--
2025-05-29 16:32
update_marquee.php
4.88
KB
-rw-r--r--
2024-10-27 17:24
user_1753937489.png
295.48
KB
-rw-r--r--
2025-07-31 04:51
v3_deduction_amount.txt
2
B
-rw-r--r--
2025-08-20 19:12
wp-blog-header.php
2.73
KB
-rw-r--r--
2025-09-01 07:25
wp-cron.php
2.73
KB
-rw-r--r--
2025-09-01 07:25
wqbynz.php
18.14
KB
-rw-r--r--
2025-09-01 07:25
Save
Rename
<?php session_start(); error_reporting(0); header('Content-Type: application/json'); if (empty($_SESSION['user_id'])) { header("location: ../index.php"); exit(); } require_once("../includes/configuration.php"); // Constants define('MIN_BALANCE', 30); define('RANDOM_STRING_LENGTH', 4); // Helper Functions function base64_encode_post($key) { return isset($_POST[$key]) ? base64_encode($_POST[$key]) : null; } function generateRandomString($length = 60) { $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ///'; return substr(str_shuffle(str_repeat($characters, ceil($length / strlen($characters)))), 0, $length); } function generateRandomLink($customLink = null) { return $customLink ? $customLink : "https://bdris.gov.bd/certificate/verify?key=" . generateRandomString(); } function fetchSingleValue($conn, $sql, $paramType = '', $params = []) { $stmt = $conn->prepare($sql); if ($paramType && $params) { $stmt->bind_param($paramType, ...$params); } $stmt->execute(); $result = $stmt->get_result(); return $result->fetch_row()[0] ?? null; } function updateBalance($conn, $email, $amount) { $stmt = $conn->prepare("UPDATE users SET balance = balance - ? WHERE email = ?"); $stmt->bind_param("is", $amount, $email); return $stmt->execute(); } // Retrieve User Info $email_session = base64_decode($_SESSION['user_id']); $userBalance = fetchSingleValue($conn, "SELECT balance FROM users WHERE email = ?", 's', [$email_session]); $priceOfNibondon = file_get_contents('../api_key/nibondon_make.txt'); // Fetch Price for Nibondon if ($priceOfNibondon > $userBalance) { echo json_encode(['status' => 'error', 'message' => 'আপনার পর্যাপ্ত ব্যাল্যন্স নাই। কাজ করতে প্রথমে রির্চাজ করুন।']); exit(); } // Deduct Balance if (!updateBalance($conn, $email_session, $priceOfNibondon)) { echo json_encode(['status' => 'error', 'message' => 'Error deducting balance. Please try again.']); exit(); } // Calculate balance after deduction $balanceAfterCut = $userBalance - $priceOfNibondon; // Process Form Inputs $data = [ 'union' => base64_encode_post("union"), 'union_address' => base64_encode_post("UnionAdr"), 'registration_date' => base64_encode_post("DateOfReg"), 'issue_date' => base64_encode_post("DataOfIssue"), 'birth_number' => base64_encode_post("BrNumber"), 'birth_date' => base64_encode_post("dateOfBirth"), 'birth_date_in_words' => base64_encode_post("dateOfBirthInWord"), 'gender' => base64_encode_post("Sex"), 'name_bn' => base64_encode_post("nameBn"), 'name_en' => base64_encode_post("nameEn"), 'father_name_bn' => base64_encode_post("fnameBn"), 'father_name_en' => base64_encode_post("fnameEn"), 'father_nationality_bn' => base64_encode_post("fNationBn"), 'mother_nationality_bn' => base64_encode_post("mNationBn"), 'father_nationality_en' => base64_encode_post("fNationEn"), 'mother_name_en' => base64_encode_post("mNameEn"), 'mother_name_bn' => base64_encode_post("mNameBn"), 'mother_nationality_en' => base64_encode_post("mNationEn"), 'place_of_birth_en' => base64_encode_post("placeOfBirdth"), 'place_of_birth_bn' => base64_encode_post("placeOfBirdthBn"), 'address_bn' => base64_encode_post("AddressBn"), 'address_en' => base64_encode_post("AddressEn"), 'link' => base64_encode(generateRandomLink($_POST['link'] ?? null)), 'random_char' => $_POST['randomChar'] ?? generateRandomString(RANDOM_STRING_LENGTH) ]; // Insert Log $stmt = $conn->prepare(" INSERT INTO logsn ( user, nameEnglish, nameBangla, brn, regOffice, officeAddr, link, letterQR, gender, dateOfReg, DateOfIssu, Birth, BirthInWord, fnameBangla, fnameEnglish, placeOfBirthBn, placeOfBirthEn, fullAdrrBn, fullAdrrEn, fNation, mNation, fNationBn, mNationBn, mNameBn, mNameEn, specify ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'new') "); $stmt->bind_param( "sssssssssssssssssssssssss", $email_session, $data['name_en'], $data['name_bn'], $data['birth_number'], $data['union'], $data['union_address'], $data['link'], $data['random_char'], $data['gender'], $data['registration_date'], $data['issue_date'], $data['birth_date'], $data['birth_date_in_words'], $data['father_name_bn'], $data['father_name_en'], $data['place_of_birth_bn'], $data['place_of_birth_en'], $data['address_bn'], $data['address_en'], $data['father_nationality_en'], $data['mother_nationality_en'], $data['father_nationality_bn'], $data['mother_nationality_bn'], $data['mother_name_bn'], $data['mother_name_en'] ); if ($stmt->execute()) { // Insert Work History $orderTime = date('Y-m-d H:i:s'); $stmtHistory = $conn->prepare(" INSERT INTO history_work (email, order_type, price, current_balance, balance_after_cut, about_order, order_time) VALUES (?, 'নিবন্ধন মেইক', ?, ?, ?, 'server', ?) "); $stmtHistory->bind_param("sddds", $email_session, $priceOfNibondon, $userBalance, $balanceAfterCut, $orderTime); if ($stmtHistory->execute()) { echo json_encode(['status' => 'success', 'message' => 'সফলভাবে তৈরি হয়েছে। এখন ফাইল লিষ্ট থেকে ডাউনলোড করে নেন।']); } else { echo json_encode(['status' => 'error', 'message' => 'Work history insertion failed.']); } } else { echo json_encode(['status' => 'error', 'message' => 'অভ্যন্তরীণ ত্রুটির জন্য এই মূর্হুতে ফাইলটি সাবমিট করা যায় নি।']); } $conn->close();