fix akadmy access issue
This commit is contained in:
@@ -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])) {
|
||||
|
||||
@@ -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> |
|
||||
|
||||
Reference in New Issue
Block a user