Linux host2.homegym.sg 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
Apache
Server IP : 159.223.38.192 & Your IP : 159.223.38.192
Domains : 20 Domain
User : eachadea
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
home /
eachadea /
public_html /
maintenance /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2019-10-09 06:45
ajaxcall
[ DIR ]
drwxr-xr-x
2019-10-09 08:39
assets
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
css
[ DIR ]
drwxr-xr-x
2019-10-25 02:53
js
[ DIR ]
drwxr-xr-x
2019-10-25 02:52
pdf
[ DIR ]
drwxr-xr-x
2019-10-15 12:31
phpMailer
[ DIR ]
drwxr-xr-x
2016-03-30 06:50
signatures
[ DIR ]
drwxr-xr-x
2016-03-20 05:27
.htaccess
279
B
-rw-r--r--
2020-12-01 10:37
calendar.php
12.63
KB
-rw-r--r--
2019-10-25 03:18
config.php
384
B
-rw-r--r--
2016-03-19 12:15
edit-customer.php
10.61
KB
-rw-r--r--
2019-10-25 03:52
email-reminder.php
1.88
KB
-rw-r--r--
2019-11-14 09:08
error_log
1.19
MB
-rw-r--r--
2025-10-31 00:51
footer.php
48
B
-rw-r--r--
2016-03-19 12:21
header.php
2.9
KB
-rw-r--r--
2020-12-01 10:45
index.php
62
B
-rw-r--r--
2019-10-09 06:47
maintenance-form-unique-key.php
12.55
KB
-rw-r--r--
2019-10-09 06:28
maintenance-form.php
11.19
KB
-rw-r--r--
2019-10-09 16:21
new-customer.php
1.3
KB
-rw-r--r--
2016-03-31 13:37
new-form.php
2.14
KB
-rw-r--r--
2019-10-09 09:32
phpinfo.php
69
B
-rw-r--r--
2019-10-08 09:21
post-maintenance.php
4.77
KB
-rw-r--r--
2019-10-25 09:33
uniquekey.php
964
B
-rw-r--r--
2019-10-09 06:49
wp.php
18
B
-rw-r--r--
2025-10-28 12:36
Save
Rename
<?php require 'header.php'; ?> <div class="container"> <form name="hongkiat" id="hongkiat-form" method="post" action="post-maintenance.php"> <div class="form-group"> <label for="customer">Select Customer: </label> <?php $sql = "SELECT id, name FROM customer"; $result = mysqli_query($conn, $sql); echo '<select id="customer" name="customer" tabindex="6" class="form-control">'; echo '<option value="new">New Customer</option>'; if (mysqli_num_rows($result) > 0) { // output data of each row while($row = mysqli_fetch_assoc($result)) { echo '<option value="'.$row["id"].'">'.$row["name"].'</option>'; } } echo '</select>'; ?> </div> <div class="form-group"> <label for="maintenance-form">Select Maintenance Form: </label> <select id="maintenance-form" name="maintenance-form" tabindex="6" class="form-control"> </select> </div> <input class="btn btn-default" type="submit" value="Create / Edit" name="edit"> <input class="btn btn-default" type="submit" value="View" name="view"> <input class="btn btn-default" type="submit" value="Download PDF" name="download"> <input class="btn btn-default" type="submit" value="Email PDF" name="email"> <input class="btn btn-default" type="submit" value="Generate Unique Key" name="uniquekey"> <input class="btn btn-default" type="submit" value="Delete" name="delete" onclick="return confirm('Are you sure you want to delete this item?');"> </form> </div> <script> $('#customer').change(function() { //Check condition here $('#maintenance-form').empty().append('<option value="edit">Edit Customer</option><option value="new">New Form</option>'); $.ajax({ url: 'ajaxcall/loadForm.php', dataType: 'json', type: 'POST', data: {"customer": $("#customer").val()}, success: function(response) { if (response != '') { for (i in response) { $("#maintenance-form").append("<option>"+response[i].id+"</option>"); } } }, error: function(x, e) { } }); }) </script> <?php require 'footer.php'; ?>