fix akadmy access issue

This commit is contained in:
2025-10-13 12:15:30 +00:00
parent 1c9cf33900
commit 67fc13a6ea
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
// $phone = $_POST['phone'];
// $password = md5($_POST['pass']);
try {
$select_access = ['beanstalk', 'inhouse', 'teenybeans', 'iimtt', 'buzzapp', 'atheneum', 'teenybeans_curriculum'];
$select_access = ['beanstalk', 'inhouse', 'teenybeans', 'iimtt', 'buzzapp', 'atheneum', 'teenybeans_curriculum', 'akadmy'];
$access_values_array = [];
foreach ($select_access as $access) {
if (isset($_POST[$access])) {

View File

@@ -110,8 +110,8 @@
<td class="border-y-2 p-2"><?php echo $row['email']; ?></td>
<td class="border-y-2 p-2"><?php echo $row['mobile']; ?></td>
<td class="border-y-2 p-2"><?php echo $row['time']; ?></td>
<td class="border-y-2 p-2"><?php echo $row['access']; ?></td>
<td class="border-y-2 p-2"><?php echo $row['states']; ?></td>
<td title="<?php echo $row['access']; ?>" class="border-y-2 p-2 max-w-[150px] truncate overflow-hidden text-ellipsis whitespace-nowrap"><?php echo $row['access']; ?></td>
<td title="<?php echo $row['states']; ?>" class="border-y-2 p-2 max-w-[150px] truncate overflow-hidden text-ellipsis whitespace-nowrap"><?php echo $row['states']; ?></td>
<td class="border-y-2 p-2">
<div class="flex flex-row justify-center">
<a href="/admin/edit-user/?id=<?php echo $row['id']; ?>">Edit</a> &nbsp; | &nbsp;